2.2.1.3 FieldSchema

The meaning of FieldSchema is specified by [MS-ADR] section 2.2.4.25. The format of the FieldSchema complex type is specified by this section. The following ABNF references types specified by section 2.2.

 FieldSchema = json-object
 ColumnName = json-quotation-mark "ColumnName" json-quotation-mark json-name-separator json-string
 DataType = json-quotation-mark " DataType" json-quotation-mark json-name-separator json-string
 DefaultValue = json-quotation-mark "DefaultValue" json-quotation-mark json-name-separator json-string
 IsKey = json-quotation-mark "IsKey" json-quotation-mark json-name-separator json-bool
 Required = json-quotation-mark "Required" json-quotation-mark json-name-separator json-bool
 ReadOnly = json-quotation-mark " ReadOnly" json-quotation-mark json-name-separator json-bool
 MaxLength = json-quotation-mark "MaxLength" json-quotation-mark json-name-separator json-int
 DefaultExpression = json-quotation-mark "DefaultExpression" json-quotation-mark json-name-separator json-string
 ValidationScript = json-quotation-mark "ValidationScript" json-quotation-mark json-name-separator  json-string
 ValidationMessage = json-quotation-mark "ValidationMessage" json-quotation-mark json-name-separator ClientMessage
 KeyIndex = json-quotation-mark "KeyIndex" json-quotation-mark json-name-separator json-int
 SourceObject = json-quotation-mark "SourceObject" json-quotation-mark json-name-separator json-string
 DependentFields = json-quotation-mark "DependentFields" json-quotation-mark json-name-separator JsonArrayOfInt
 AllowMultipleValues = json-quotation-mark "AllowMultipleValues" json-quotation-mark json-name-separator json-bool
 FormatString = json-quotation-mark "FormatString" json-quotation-mark json-name-separator json-string
 CurrencySymbol = json-quotation-mark "CurrencySymbol" json-quotation-mark json-name-separator json-string
 DecimalPlaces = json-quotation-mark "DecimalPlaces" json-quotation-mark json-name-separator json-int
 TextType = json-quotation-mark "TextType" json-quotation-mark json-name-separator json-string
 IsTableQueryLookup = json-quotation-mark "IsTableQueryLookup" json-quotation-mark json-name-separator json-bool
 LookupSource = json-quotation-mark "LookupSource" json-quotation-mark json-name-separator json-string
 LookupBoundField = json-quotation-mark "LookupBoundField" json-quotation-mark json-name-separator json-string
 LookupDisplayField = json-quotation-mark "LookupDisplayField" json-quotation-mark json-name-separator json-string

The meanings of ColumnName, DataType, DefaultValue, IsKey, Required, ReadOnly, MaxLength, DefaultExpression, ValidationScript, ValidationMessage, KeyIndex, SourceObject, DependentFields, AllowMultipleValues, FormatString, CurrencySymbol, DecimalPlaces, TextType, IsTableQueryLookup, LookupSource, LookupBoundField, and LookupDisplayField are specified by [MS-ADR] section 2.2.4.25.

FieldSchema MUST contain at least one and no more than twenty two json-member instances, and each instance MUST be different. Each instance MUST be one of the following: ColumnName, DataType, DefaultValue, IsKey, Required, ReadOnly, MaxLength, DefaultExpression, ValidationScript, ValidationMessage, KeyIndex, SourceObject, DependentFields, AllowMultipleValues, FormatString, CurrencySymbol, DecimalPlaces, TextType, IsTableQueryLookup, LookupSource, LookupBoundField, and LookupDisplayField.