Skip to content

Commit

Permalink
Merge pull request #233 from patricklucas/190_move_datatype_type
Browse files Browse the repository at this point in the history
[#190] Move `datatype` to repositorytypes.xsd
  • Loading branch information
kleihan authored Nov 4, 2024
2 parents 1f3e4d9 + c429129 commit 1a70e48
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 @@ -245,6 +245,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 1a70e48

Please sign in to comment.