forked from v-ict-or/oslo_xml_schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOSLO-AggregateComponents-1.0.xsd
94 lines (93 loc) · 4.82 KB
/
OSLO-AggregateComponents-1.0.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
<?xml version="1.0" encoding="UTF-8"?>
<!--
Document Type: CommonBasicComponents
Generated On: Tue Oct 03 2:26:38 P3 2006
-->
<!-- ===== xsd:schema Element With Namespaces Declarations ===== -->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:oslo:names:specification:schema:xsd:AggregateComponents-1"
xmlns="urn:oslo:names:specification:schema:xsd:AggregateComponents-1"
xmlns:isoc="urn:iso:names:specification:schema:xsd:ISO-3166-1"
xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2"
xmlns:ccts="urn:un:unece:uncefact:documentation:2"
xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2"
xmlns:cva="http://www.w3.org/ns/corevocabulary/AggregateComponents" elementFormDefault="qualified"
xmlns:ovc="urn:oslo:names:specification:schema:xsd:CommonBasicComponents-1" attributeFormDefault="unqualified"
xmlns:operson="http://purl.org/oslo/ns/vocabulary/person"
xmlns:oorg="http://purl.org/oslo/ns/vocabulary/organization"
xmlns:om="http://purl.org/oslo/ns/vocabulary/membership"
version="1.0"
>
<!-- ===== Imports ===== -->
<xsd:import
namespace="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2"
schemaLocation="common/UnqualifiedDataTypeSchemaModule-2.0.xsd"/>
<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2"
schemaLocation="common/UBL-QualifiedDatatypes-2.0.xsd"/>
<xsd:import namespace="http://www.w3.org/ns/corevocabulary/AggregateComponents"
schemaLocation="corevoc/CoreVocabularyAggregateComponents-v1.00.xsd"/>
<xsd:import namespace="urn:iso:names:specification:schema:xsd:ISO-3166-1"
schemaLocation="common/ISO-3166-CountryCodes.xsd"/>
<xsd:import namespace="http://purl.org/oslo/ns/vocabulary/person"
schemaLocation="OsloPerson.xsd"/>
<xsd:import namespace="http://purl.org/oslo/ns/vocabulary/organization"
schemaLocation="OsloOrganization.xsd"/>
<xsd:import namespace="http://purl.org/oslo/ns/vocabulary/membership"
schemaLocation="OsloMembership.xsd"/>
<xsd:import namespace="urn:oslo:names:specification:schema:xsd:CommonBasicComponents-1"
schemaLocation="OSLO-CommonBasicComponents-1.0.xsd"/>
<!-- ===== Element Declarations ===== -->
<xsd:element name="PersonRelation" type="PersonRelationType"/>
<xsd:element name="OrganinizationRelation" type="OrganizationRelationType"/>
<xsd:element name="PersonRelations" type="PersonRelationsType"/>
<xsd:element name="OrganizationRelations" type="OrganizationRelationsType"/>
<xsd:element name="Role" type="OvRoleType"/>
<xsd:element name="root" type="RootType"/>
<!-- ===== Type Declarations ===== -->
<xsd:complexType name="RootType">
<xsd:sequence>
<xsd:element ref="operson:persons" minOccurs="0" />
<xsd:element ref="PersonRelations" minOccurs="0" />
<xsd:element ref="oorg:organizations" minOccurs="0" />
<xsd:element ref="OrganizationRelations" minOccurs="0" />
<xsd:element ref="om:memberships" minOccurs="0" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PersonRelationsType">
<xsd:sequence>
<xsd:element ref="PersonRelation" minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="OrganizationRelationsType">
<xsd:sequence>
<xsd:element ref="OrganinizationRelation" minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="PersonRelationType">
<xsd:sequence>
<xsd:element name="from" type="operson:OvpersonType"/>
<xsd:element name="to" type="operson:OvpersonType"/>
<xsd:element ref="ovc:relationType" minOccurs="1" maxOccurs="1"/>
<xsd:element ref="ovc:validityPeriod" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="OrganizationRelationType">
<xsd:sequence>
<xsd:element name="from" type="oorg:OvorganizationType"/>
<xsd:element name="to" type="oorg:OvorganizationType"/>
<xsd:element ref="ovc:validityPeriod" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="OvRoleType">
<xsd:sequence>
<xsd:element name="roleType" type="ovc:OvcodeType"/>
<xsd:element name="agent" type="ovc:OvagentType" minOccurs="1" maxOccurs="unbounded" />
<xsd:element name="permission" type="OvPermissionType" minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="OvPermissionType">
<xsd:sequence>
<xsd:element ref="ovc:Rule" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>