Namespace
No namespace
Diagram
Properties
Used by
Model
name+ ,
desc* ,
copyright+ ,
author* ,
reference{0,1} ,
restURI* ,
defaultElementNamespace{0,1} ,
contact* ,
buildingBlockRepository* , (
version* |
release* )
Children
author , buildingBlockRepository , contact , copyright , defaultElementNamespace , desc , name , reference , release , restURI , version
Instance
<project defaultLanguage= "" experimental= "false" id= "" prefix= "" >
<name language= "en-US" lastTranslated= "" > {1,unbounded} </name>
<desc language= "" lastTranslated= "" mimeType= "" > {0,unbounded} </desc>
<copyright by= "" logo= "" type= "author" years= "" > {1,unbounded} </copyright>
<author active= "true" effectiveDate= "" email= "" expirationDate= "" id= "" notifier= "on" username= "" > {0,unbounded} </author>
<reference logo= "" url= "" > {0,1} </reference>
<restURI for= "" format= "" > {0,unbounded} </restURI>
<defaultElementNamespace ns= "" > {0,1} </defaultElementNamespace>
<contact email= "" > {0,unbounded} </contact>
<buildingBlockRepository displayName= "" format= "decor" ident= "" licenseKey= "" url= "" > {0,unbounded} </buildingBlockRepository>
<version by= "" date= "" statusCode= "" > {0,unbounded} </version>
<release by= "" date= "" implementationguide= "" statusCode= "" versionLabel= "" > {0,unbounded} </release>
</project>
Attributes
Identity constraints
QName
Type
Refer
Selector
Field(s)
project-name-unique
unique
name
@language
project-desc-unique
unique
desc
@language
project-author-unique
unique
author
@id
project-buildingBlockRepository-unique
unique
buildingBlockRepository
@url; @ident
Source
<xs:element name= "project" >
<xs:complexType >
<xs:sequence >
<xs:element name= "name" type= "BusinessNameWithLanguage" minOccurs= "1" maxOccurs= "unbounded" />
<xs:element name= "desc" type= "FreeFormMarkupWithLanguage" minOccurs= "0" maxOccurs= "unbounded" />
<xs:element ref= "copyright" minOccurs= "1" maxOccurs= "unbounded" />
<xs:element name= "author" type= "ProjectAuthorType" minOccurs= "0" maxOccurs= "unbounded" />
<xs:element ref= "reference" minOccurs= "0" maxOccurs= "1" />
<xs:element ref= "restURI" minOccurs= "0" maxOccurs= "unbounded" />
<xs:element ref= "defaultElementNamespace" minOccurs= "0" maxOccurs= "1" />
<xs:element ref= "contact" minOccurs= "0" maxOccurs= "unbounded" />
<xs:element ref= "buildingBlockRepository" minOccurs= "0" maxOccurs= "unbounded" />
<!-- new 2021-05-21 -->
<!--xs:element name="propertyset" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en-US">Set of property types you may use on a DECOR object as indicated by the list of scopes. In the absence of defined scopes, the propertyset is assumed to apply anywhere</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="property">
<xs:complexType>
<xs:sequence>
<xs:element name="desc" type="FreeFormMarkupWithLanguage" minOccurs="1" maxOccurs="unbounded"/>
<xs:element name="enumValue" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation xml:lang="en-US">If the property type is code (and potentially ordinal) then one or more enumValue elements list the options</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="datatype" type="DataSetValueType" use="required"/>
<xs:attribute name="name" type="NonEmptyString" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="href" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en-US">Reference to a property file. This may be a relative or absolute URL</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="scope" use="optional">
<xs:simpleType>
<xs:list itemType="DecorAndOtherObjectTypes"/>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element-->
<xs:choice maxOccurs= "unbounded" >
<xs:element name= "version" type= "ProjectHistory" minOccurs= "0" maxOccurs= "unbounded" />
<xs:element name= "release" type= "ProjectRelease" minOccurs= "0" maxOccurs= "unbounded" />
</xs:choice>
</xs:sequence>
<xs:attribute name= "id" type= "Oid" use= "required" />
<xs:attribute name= "prefix" type= "ShortDescriptiveName" use= "required" />
<xs:attribute name= "defaultLanguage" type= "LanguageCode" use= "required" />
<xs:attribute ref= "experimental" use= "optional" default= "false" />
</xs:complexType>
<xs:unique name= "project-name-unique" >
<xs:selector xpath= "name" />
<xs:field xpath= "@language" />
</xs:unique>
<xs:unique name= "project-desc-unique" >
<xs:selector xpath= "desc" />
<xs:field xpath= "@language" />
</xs:unique>
<xs:unique name= "project-author-unique" >
<xs:selector xpath= "author" />
<xs:field xpath= "@id" />
</xs:unique>
<xs:unique name= "project-buildingBlockRepository-unique" >
<xs:selector xpath= "buildingBlockRepository" />
<xs:field xpath= "@url" />
<xs:field xpath= "@ident" />
</xs:unique>
</xs:element>