Skip to content

Commit

Permalink
schema update
Browse files Browse the repository at this point in the history
  • Loading branch information
rsehr committed Dec 12, 2024
1 parent b284288 commit 9cb1d36
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ugh/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.intranda.ugh</groupId>
<artifactId>ugh-core</artifactId>
<version>5.0.29</version>
<version>5.0.30-SNAPSHOT</version>

<repositories>
<repository>
Expand Down
10 changes: 9 additions & 1 deletion ugh/ruleset_schema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@
<xs:element name="LidoTerm" type="xs:string" />
<xs:element name="XPathLogical" type="xs:string" />
<xs:element name="XPathPhysical" type="xs:string" />
<xs:element name="fieldMainTag" type="xs:integer" />
<xs:element name="fieldMainTag" type="tagDataType" />
<xs:element name="fieldMainName" type="xs:string" />
<xs:element name="fieldSubName" type="xs:string" />
<xs:element name="fieldPartName" type="xs:string" />
Expand All @@ -524,4 +524,12 @@
<xs:element name="InternalName" type="xs:NCName" />
<xs:element name="XPath" type="xs:string" />
<xs:element name="exportEmptyNode" type="xs:boolean" />

<xs:simpleType name="tagDataType" id="tag.st">
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="(0([1-9A-Z][0-9A-Z])|0([1-9a-z][0-9a-z]))|(([1-9A-Z][0-9A-Z]{2})|([1-9a-z][0-9a-z]{2}))|00[1-9A-Za-z]{1}"/>
</xs:restriction>
</xs:simpleType>

</xs:schema>

0 comments on commit 9cb1d36

Please sign in to comment.