-
Notifications
You must be signed in to change notification settings - Fork 0
/
metadata.xsd
132 lines (123 loc) · 5.97 KB
/
metadata.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://DS.Metadaten.LegalDocML.de/1.6/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
targetNamespace="http://DS.Metadaten.LegalDocML.de/1.6/"
version="LegalDocML.de 1.6 (Dezember 2023)">
<!-- ********************************* Hinweis zur Lizensierung ********************************* -->
<xs:annotation>
<xs:appinfo>
<copyright-hinweis>2024 DigitalService GmbH des Bundes</copyright-hinweis>
<lizenz url="https://opensource.org/license/mit/"
kurzbezeichnung="MIT"
langbezeichnung=""/>
<autor organisation="DigitalService GmbH des Bundes"
referat=""
organisatorischer-rahmen=""/>
</xs:appinfo>
</xs:annotation>
<xs:element name="legalDocML.de_metadaten_ds">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="fna" type="SimpleMetadataType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="art" type="SimpleMetadataType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="typ" type="SimpleMetadataType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="subtyp" type="SimpleMetadataType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="bezeichnungInVorlage" type="SimpleMetadataType" minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="normgeber" type="SimpleMetadataType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="beschliessendesOrgan" type="BeschliessendesOrganType" minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="organisationsEinheit" type="SimpleMetadataType" minOccurs="0"
maxOccurs="unbounded"/>
<xs:element name="artDerNorm" type="ArtDerNormFrameType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="einzelelement" type="EinzelelementType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:complexType name="EinzelelementType">
<xs:all>
<xs:element name="artDerNorm" type="ArtDerNormSingleElementType" minOccurs="0"/>
</xs:all>
<xs:attribute name="href" type="eId-verweis"/>
</xs:complexType>
<xs:complexType name="SimpleMetadataType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="start" type="xs:date"/>
<xs:attribute name="end">
<xs:simpleType>
<xs:union memberTypes="xs:date">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="unbestimmt"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="BeschliessendesOrganType">
<xs:simpleContent>
<xs:extension base="SimpleMetadataType">
<xs:attribute name="qualifizierteMehrheit" type="xs:boolean" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name="ArtDerNormFrameContentType">
<xs:restriction base="xs:string">
<xs:pattern value="(SN|ÄN|ÜN|SN,ÄN|SN,ÜN|ÄN,SN|ÄN,ÜN|ÜN,SN|ÜN,ÄN|ÄN,SN,ÜN|ÄN,ÜN,SN|SN,ÄN,ÜN|SN,ÜN,ÄN|ÜN,SN,ÄN|ÜN,ÄN,SN)"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="ArtDerNormFrameType">
<xs:simpleContent>
<xs:extension base="ArtDerNormFrameContentType">
<xs:attribute name="start" type="xs:date"/>
<xs:attribute name="end">
<xs:simpleType>
<xs:union memberTypes="xs:date">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="unbestimmt"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name="ArtDerNormSingleContentType">
<xs:restriction base="xs:string">
<xs:enumeration value="SN"/>
<xs:enumeration value="ÄN"/>
<xs:enumeration value="ÜN"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="ArtDerNormSingleElementType">
<xs:simpleContent>
<xs:extension base="ArtDerNormSingleContentType">
<xs:attribute name="start" type="xs:date"/>
<xs:attribute name="end">
<xs:simpleType>
<xs:union memberTypes="xs:date">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="unbestimmt"/>
</xs:restriction>
</xs:simpleType>
</xs:union>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name="eId-verweis">
<xs:restriction base="xs:string">
<xs:pattern
value="#(([a-zäöüß0-9]+-[a-zäöüß0-9]+(\.[a-zäöüß0-9]+)*)_)*((para|art|preambel|einleitung|schluss)-[a-zäöüß0-9]+(\.[a-zäöüß0-9]+)*)"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>