TypeRepr

Top  Previous  Next

Description

Representation of a type in a schema.

 

XML Representation

 

<Type Id="%internal id%" Version="%version number%" LastModified="%date/time%" Address="%type resource uri%">

  <IsTopicType>%boolean%</IsTopicType>

  <IsAssociationType>%boolean%</IsAssociationType>

  <IsRoleType>%boolean%</IsRoleType>

  <IsNameType>%boolean%</IsNameType>

  <IsOccurrenceType>%boolean%</IsOccurrenceType>

  <Labels>

    <Label ...> See LabelRepr </Label>*

  </Labels>

  <Identifiers>

    <SubjectIdentifier>%type si%</SubjectIdentifier>*

  </Identifiers>

  <SubTypes>

    <SubType>%subtype resoure uri%</SubType>*

  </SubTypes>

  <SuperTypes>

    <SuperType>%supertype resource uri%</SuperType>*

  </SuperTypes>

  <Properties>

    <Property> See TypePropertyRepr </Property>*

  </Properties>

</Type>

 

JSON Representation

 

"Address":"%type resource uri%", 

"IsTopicType":%boolean%, 

"IsAssociationType":%boolean%, 

"IsRoleType":%boolean%, 

"IsNameType":%boolean%, 

"IsOccurrenceType":%boolean%, 

"Labels": array of LabelRepr

"Identifiers": array of "%type si%", 

"SubTypes": array of "%subtype resoure uri%", 

"SuperTypes": array of "%supertype resource uri%", 

"Properties": array of TypePropertyRepr

"Id":"%internal id%", 

"Version":%version number%, 

"LastModified":%date/time%

 

 

Notes

 

See Also