diff options
author | 2018-03-13 08:43:40 +0100 | |
---|---|---|
committer | 2018-03-13 08:44:28 +0100 | |
commit | 8536b990542049f4c81e1e616dd8d5c909266a66 (patch) | |
tree | 8a909ddf043d2be561b532bae5e3bb5cf351d962 | |
parent | repositories: Make owner type required, now that we filled it in (diff) | |
download | xml-schema-8536b990542049f4c81e1e616dd8d5c909266a66.tar.gz xml-schema-8536b990542049f4c81e1e616dd8d5c909266a66.tar.bz2 xml-schema-8536b990542049f4c81e1e616dd8d5c909266a66.zip |
metadata.xsd: Support <stabilize-allarches/>, GLEP 68 v1.1
-rw-r--r-- | metadata.xsd | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/metadata.xsd b/metadata.xsd index cad8304..8b8ac0b 100644 --- a/metadata.xsd +++ b/metadata.xsd @@ -20,6 +20,10 @@ <xs:selector xpath='slots'/> <xs:field xpath='@lang'/> </xs:unique> + <xs:unique name='stabilizeAllArchesUniquityConstraint'> + <xs:selector xpath='stabilize-all-arches'/> + <xs:field xpath='@restrict'/> + </xs:unique> <xs:unique name='upstreamSingleConstraint'> <xs:selector xpath='upstream'/> <xs:field xpath='@fake-only-once'/> @@ -60,6 +64,7 @@ <xs:field xpath='@fake-only-once'/> </xs:unique> </xs:element> + <xs:element name='stabilize-allarches' type='stabilizeAllArchesType'/> <xs:element name='upstream' type='upstreamType'> <xs:unique name='upstreamMaintainerUniquityConstraint'> <xs:selector xpath='maintainer'/> @@ -203,6 +208,12 @@ </xs:restriction> </xs:simpleType> + <!-- stabilize-allarches --> + <xs:complexType name='stabilizeAllArchesType'> + <xs:attribute name='restrict' type='restrictAttrType' + default=''/> + </xs:complexType> + <!-- use flags --> <xs:complexType name='useType'> <xs:choice minOccurs='0' maxOccurs='unbounded'> |