ConstraintRepr |
Top Previous Next |
Description Represents a single constraint in a schema.
XML Representation <?xml version="1.0"?> <Constraint Address="%constraint resource uri%" ConstraintType="%constraint type identifier%"> <TopicTypeSi>%si%</TopicTypeSi> <OtherTopicTypeSi>%si%</OtherTopicTypeSi> <OccurrenceTypeSi>%si%</OccurrenceTypeSi> <NameTypeSi>%si%</NameTypeSi> <RoleTypeSi>%si%</RoleTypeSi> <OtherRoleTypeSi>%si%</OtherRoleTypeSi> <AssociationTypeSi>%si%</AssociationTypeSi> <StatementTypeSi>%si%</StatementTypeSi> <ScopeTopicSi>%si%</ScopeTopicSi> <ScopeTypeSi>%si%</ScopeTypeSi> <CardMin>%integer%</CardMin> <CardMax>%integer%</CardMax> <RegExp>%regular expression string%</RegExp> <DataTypeUri>%data type identifier%</DataTypeUri> </Constraint>
JSON Representation
{ "Address":"%constraint resource uri%", "ConstraintType":"%constraint type identifier%", "TopicTypeSi":"%si%", "OtherTopicTypeSi":"%si%", "OccurrenceTypeSi":"%si%", "NameTypeSi":"%si%", "RoleTypeSi":"%si%", "OtherRoleTypeSi":"%si%", "AssociationTypeSi":"%si%", "StatementTypeSi":"%si%", "ScopeTopicSi":"%si%", "ScopeTypeSi":"%si%", "CardMin":%integer%, "CardMax":%integer%, "RegExp":"%regular expression string%", "DataTypeUri":"%data type identifier%", "Properties": array of ConstraintPropertyRepr }
Notes
See Also
|