|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | | -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" |
3 | | - xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" vc:minVersion="1.1" |
4 | | - elementFormDefault="unqualified" xmlns:sawsdl="http://www.w3.org/ns/sawsdl"> |
| 2 | +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" vc:minVersion="1.1" elementFormDefault="unqualified" xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:sawsdl="http://www.w3.org/ns/sawsdl"> |
5 | 3 | <xs:include schemaLocation="../identifier/schema.xsd"/> |
6 | 4 | <xs:include schemaLocation="../contact-details/schema.xsd"/> |
7 | | - <xs:import namespace="http://www.w3.org/XML/1998/namespace" |
8 | | - schemaLocation="http://www.w3.org/XML/1998/namespace"/> |
| 5 | + <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/XML/1998/namespace"/> |
9 | 6 | <xs:include schemaLocation="../organization/schema.xsd"/> |
10 | 7 | <xs:complexType name="agent"> |
11 | 8 | <xs:choice> |
| 9 | + <xs:element name="agent"> |
| 10 | + <xs:complexType sawsdl:modelReference="http://xmlns.com/foaf/0.1/Agent"> |
| 11 | + <xs:annotation> |
| 12 | + <xs:documentation xml:lang="en"> |
| 13 | + Agent - Any entity carrying out actions with respect to the entities Catalogue and the Catalogued Resources. |
| 14 | + </xs:documentation> |
| 15 | + </xs:annotation> |
| 16 | + <xs:sequence> |
| 17 | + <xs:element minOccurs="0" name="iri" type="xs:anyURI"/> |
| 18 | + </xs:sequence> |
| 19 | + </xs:complexType> |
| 20 | + </xs:element> |
12 | 21 | <xs:element name="organization"> |
13 | | - <xs:complexType |
14 | | - sawsdl:modelReference="http://www.w3.org/ns/prov#Organization http://xmlns.com/foaf/0.1/Agent"> |
| 22 | + <xs:complexType sawsdl:modelReference="http://www.w3.org/ns/prov#Organization http://xmlns.com/foaf/0.1/Agent"> |
15 | 23 | <xs:annotation> |
16 | 24 | <xs:documentation xml:lang="en"> |
17 | 25 | Organization - Represents a collection of people organized together into a community or other social, commercial or political structure. The group has some common purpose or reason for existence which goes beyond the set of people belonging to it and can act as an Agent. Organizations are often decomposable into hierarchical structures. |
18 | 26 | </xs:documentation> |
19 | 27 | </xs:annotation> |
20 | 28 | <xs:sequence> |
21 | 29 | <xs:element minOccurs="0" name="iri" type="xs:anyURI"/> |
22 | | - <xs:element name="name" type="xs:string" |
23 | | - sawsdl:modelReference="http://xmlns.com/foaf/0.1/name"> |
| 30 | + <xs:element name="name" type="xs:string" sawsdl:modelReference="http://xmlns.com/foaf/0.1/name"> |
24 | 31 | <xs:annotation> |
25 | 32 | <xs:documentation xml:lang="en"> |
26 | 33 | Name - Name of the agent. |
27 | 34 | </xs:documentation> |
28 | 35 | </xs:annotation> |
29 | 36 | </xs:element> |
30 | | - <xs:element minOccurs="0" maxOccurs="unbounded" name="has_identifier" type="identifier" |
31 | | - sawsdl:modelReference="https://techlib.cz/vocabulary/ccmm/hasIdentifier"> |
| 37 | + <xs:element minOccurs="0" maxOccurs="unbounded" name="has_identifier" type="identifier" sawsdl:modelReference="https://techlib.cz/vocabulary/ccmm/hasIdentifier"> |
32 | 38 | <xs:annotation> |
33 | 39 | <xs:documentation xml:lang="en"> |
34 | 40 | has identifier - has identifier |
35 | 41 | </xs:documentation> |
36 | 42 | </xs:annotation> |
37 | 43 | </xs:element> |
38 | | - <xs:element minOccurs="0" maxOccurs="unbounded" name="contact_point" |
39 | | - type="contact_details" sawsdl:modelReference="http://www.w3.org/ns/dcat#contactPoint"> |
| 44 | + <xs:element minOccurs="0" maxOccurs="unbounded" name="contact_point" type="contact_details" sawsdl:modelReference="http://www.w3.org/ns/dcat#contactPoint"> |
40 | 45 | <xs:annotation> |
41 | 46 | <xs:documentation xml:lang="ar"> |
42 | 47 | عنوان اتصال - تربط قائمة البيانات بعنوان اتصال موصف باستخدام VCard |
|
67 | 72 | </xs:documentation> |
68 | 73 | </xs:annotation> |
69 | 74 | </xs:element> |
70 | | - <xs:element minOccurs="0" maxOccurs="unbounded" name="alternate_name" |
71 | | - sawsdl:modelReference="http://www.w3.org/2006/vcard/ns#organization-name"> |
| 75 | + <xs:element minOccurs="0" maxOccurs="unbounded" name="alternate_name" sawsdl:modelReference="http://www.w3.org/2006/vcard/ns#organization-name"> |
72 | 76 | <xs:annotation> |
73 | 77 | <xs:documentation xml:lang="en"> |
74 | 78 | Alternate name - To specify the organizational name associated with the object |
|
94 | 98 | </xs:annotation> |
95 | 99 | <xs:sequence> |
96 | 100 | <xs:element minOccurs="0" name="iri" type="xs:anyURI"/> |
97 | | - <xs:element name="name" type="xs:string" |
98 | | - sawsdl:modelReference="http://xmlns.com/foaf/0.1/name"> |
| 101 | + <xs:element name="name" type="xs:string" sawsdl:modelReference="http://xmlns.com/foaf/0.1/name"> |
99 | 102 | <xs:annotation> |
100 | 103 | <xs:documentation xml:lang="en"> |
101 | 104 | Name - Name of the agent. |
102 | 105 | </xs:documentation> |
103 | 106 | </xs:annotation> |
104 | 107 | </xs:element> |
105 | | - <xs:element minOccurs="0" maxOccurs="unbounded" name="has_identifier" type="identifier" |
106 | | - sawsdl:modelReference="https://techlib.cz/vocabulary/ccmm/hasIdentifier"> |
| 108 | + <xs:element minOccurs="0" maxOccurs="unbounded" name="has_identifier" type="identifier" sawsdl:modelReference="https://techlib.cz/vocabulary/ccmm/hasIdentifier"> |
107 | 109 | <xs:annotation> |
108 | 110 | <xs:documentation xml:lang="en"> |
109 | 111 | has identifier - has identifier |
110 | 112 | </xs:documentation> |
111 | 113 | </xs:annotation> |
112 | 114 | </xs:element> |
113 | | - <xs:element minOccurs="0" maxOccurs="unbounded" name="contact_point" |
114 | | - type="contact_details" sawsdl:modelReference="http://www.w3.org/ns/dcat#contactPoint"> |
| 115 | + <xs:element minOccurs="0" maxOccurs="unbounded" name="contact_point" type="contact_details" sawsdl:modelReference="http://www.w3.org/ns/dcat#contactPoint"> |
115 | 116 | <xs:annotation> |
116 | 117 | <xs:documentation xml:lang="ar"> |
117 | 118 | عنوان اتصال - تربط قائمة البيانات بعنوان اتصال موصف باستخدام VCard |
|
142 | 143 | </xs:documentation> |
143 | 144 | </xs:annotation> |
144 | 145 | </xs:element> |
145 | | - <xs:element minOccurs="0" maxOccurs="unbounded" name="family_name" type="xs:string" |
146 | | - sawsdl:modelReference="http://www.w3.org/2006/vcard/ns#family-name"> |
| 146 | + <xs:element minOccurs="0" maxOccurs="unbounded" name="family_name" type="xs:string" sawsdl:modelReference="http://www.w3.org/2006/vcard/ns#family-name"> |
147 | 147 | <xs:annotation> |
148 | 148 | <xs:documentation xml:lang="en"> |
149 | 149 | Family name - The family name associated with the object |
150 | 150 | </xs:documentation> |
151 | 151 | </xs:annotation> |
152 | 152 | </xs:element> |
153 | | - <xs:element minOccurs="0" maxOccurs="unbounded" name="given_name" type="xs:string" |
154 | | - sawsdl:modelReference="http://www.w3.org/2006/vcard/ns#given-name"> |
| 153 | + <xs:element minOccurs="0" maxOccurs="unbounded" name="given_name" type="xs:string" sawsdl:modelReference="http://www.w3.org/2006/vcard/ns#given-name"> |
155 | 154 | <xs:annotation> |
156 | 155 | <xs:documentation xml:lang="en"> |
157 | 156 | Given name - The given name associated with the object |
158 | 157 | </xs:documentation> |
159 | 158 | </xs:annotation> |
160 | 159 | </xs:element> |
161 | | - <xs:element minOccurs="0" maxOccurs="unbounded" name="has_affiliation" |
162 | | - type="organization" |
163 | | - sawsdl:modelReference="https://techlib.cz/vocabulary/ccmm/hasAffiliation"> |
| 160 | + <xs:element minOccurs="0" maxOccurs="unbounded" name="has_affiliation" type="organization" sawsdl:modelReference="https://techlib.cz/vocabulary/ccmm/hasAffiliation"> |
164 | 161 | <xs:annotation> |
165 | 162 | <xs:documentation xml:lang="en"> |
166 | 163 | has affiliation - Affiliation of the person to the organization. |
|
0 commit comments