Skip to content

Commit

Permalink
[#190] Move datatype to repositorytypes.xsd
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklucas committed Sep 10, 2024
1 parent b05e6da commit c429129
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
21 changes: 0 additions & 21 deletions repository/src/main/resources/xsd/repository.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -108,27 +108,6 @@
<xs:field xpath="@name"/>
</xs:key>
</xs:element>
<xs:element name="datatype">
<xs:complexType>
<xs:sequence>
<xs:element name="mappedDatatype" type="fixr:mappedDatatype" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="annotation" type="fixr:annotation" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="name" type="fixr:Name_t" use="required"/>
<xs:attribute name="scenario" type="fixr:Name_t" default="base">
<xs:annotation>
<xs:documentation>The use case of a datatype by name</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="scenarioId" type="fixr:id_t" default="1">
<xs:annotation>
<xs:documentation>Unique identifier of a scenario. Default is '1' for base scenario.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="baseType" type="fixr:Name_t"/>
<xs:attributeGroup ref="fixr:entityAttribGrp"/>
</xs:complexType>
</xs:element>
<xs:element name="datatypes">
<xs:complexType>
<xs:sequence>
Expand Down
21 changes: 21 additions & 0 deletions repository/src/main/resources/xsd/repositorytypes.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,27 @@
</xs:sequence>
<xs:attribute name="name" type="fixr:Name_t" use="required"/>
</xs:complexType>
<xs:element name="datatype">
<xs:complexType>
<xs:sequence>
<xs:element name="mappedDatatype" type="fixr:mappedDatatype" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="annotation" type="fixr:annotation" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="name" type="fixr:Name_t" use="required"/>
<xs:attribute name="scenario" type="fixr:Name_t" default="base">
<xs:annotation>
<xs:documentation>The use case of a datatype by name</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="scenarioId" type="fixr:id_t" default="1">
<xs:annotation>
<xs:documentation>Unique identifier of a scenario. Default is '1' for base scenario.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="baseType" type="fixr:Name_t"/>
<xs:attributeGroup ref="fixr:entityAttribGrp"/>
</xs:complexType>
</xs:element>
<xs:simpleType name="datatypeStandard_enum">
<xs:restriction base="xs:string">
<xs:enumeration value="ISO11404">
Expand Down

0 comments on commit c429129

Please sign in to comment.