checking in some xsd changes
This commit is contained in:
parent
0193f78387
commit
0a23f7f7e4
@ -52,6 +52,18 @@
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<!-- https://semver.org/ -->
|
||||
<!-- Not perfect; it's more permissible than official spec but will do nicely for basic check. -->
|
||||
<!--
|
||||
The XML pattern engine standard is... pretty limited but:
|
||||
https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
||||
-->
|
||||
<xs:simpleType name="t_std_semver">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:pattern value="v?([1-9]+([0-9])*\.){2}\.[1-9]([0-9)*(-[.0-9A-Za-z-]+)?(\+[.0-9A-Za-z-]+)?"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="t_std_uri">
|
||||
<xs:restriction base="xs:anyURI">
|
||||
<xs:pattern value="\s*(https?|ftps?|file)://.+\s*"/>
|
||||
|
@ -21,7 +21,7 @@
|
||||
<!-- <xs:element ref="e_vaultpass_unsealselect" minOccurs="0" maxOccurs="1"/> -->
|
||||
<xs:element name="unseal">
|
||||
<xs:complexType>
|
||||
<xs:choice minOccurs="1" maxOccurs="1">
|
||||
<xs:choice minOccurs="1" maxOccurs="unbounded">
|
||||
<xs:element name="unsealGpg" type="t_vaultpass_star_gpg"/>
|
||||
<xs:element name="unsealPlain" type="t_std_base64"/>
|
||||
</xs:choice>
|
||||
|
Loading…
Reference in New Issue
Block a user