Skip to content

Commit

Permalink
Added syntaxVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Jan 24, 2024
1 parent 1e36dec commit ea2579d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions phive-ves-model/src/main/resources/schemas/ves/ves-1.0.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,18 @@ Version: 2023-08-23
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="VesEdifactSyntaxVersionType">
<xs:annotation>
<xs:documentation>
Must be in the form 1 to 4.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:minInclusive value="1" />
<xs:maxInclusive value="4" />
</xs:restriction>
</xs:simpleType>

<xs:complexType name="VesEdifactType">
<xs:sequence>
<xs:element name="directory" type="VesEdifactDirectoryType">
Expand All @@ -369,6 +381,11 @@ Version: 2023-08-23
<xs:documentation>The EDIFACT message type, like 'DESADV'</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="syntaxVersion" type="VesEdifactSyntaxVersionType" minOccurs="0">
<xs:annotation>
<xs:documentation>The EDIFACT syntax version to be used. If none is provided, no special checks will be performed</xs:documentation>
</xs:annotation>
</xs:element>

<!-- Do we need this, or is this handled by follow-up Schematrons??? -->
<xs:element name="subset" type="xs:string" minOccurs="0" maxOccurs="unbounded">
Expand Down

0 comments on commit ea2579d

Please sign in to comment.