Changes between Version 233 and Version 234 of CMDI 1.2/Specification
- Timestamp:
- 10/04/16 09:06:55 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CMDI 1.2/Specification
v233 v234 204 204 ---- 205 205 206 A CMDI file contains the actual metadata of one specific resource (hereafter referred to as the ''described resource''), and might also be referred to as a ''CMD record'' or ''CMD instance''. All CMDI files have the same structure at the top level . At a lower level, parts of its structure are defined by the CMD profile upon which it is based.206 A CMDI file contains the actual metadata of one specific resource (hereafter referred to as the ''described resource''), and might also be referred to as a ''CMD record'' or ''CMD instance''. All CMDI files have the same structure at the top level (the ''CMD instance envelope''). At a lower level, parts of its structure are defined by the CMD profile upon which it is based (the ''CMD instance payload''). 207 207 208 208 == The main structure == … … 211 211 ||||= Name =||= Value type =||= Occurrences =||= Description =|| 212 212 |||| `<cmd:CMD>` || `xs:complexType` || || The root element of the CMDI file. || 213 || || `@CMDVersion` || `xs: String` ("1.2") || 1 || Denotes the CMDI version on which this CMDI file is based. ||213 || || `@CMDVersion` || `xs:string` ("1.2") || 1 || Denotes the CMDI version on which this CMDI file is based. || 214 214 || || `<cmd:Header>` || `xs:complexType` || 1 || Encapsulates core administrative data about the CMDI file. || 215 215 || || `<cmd:Resources>` || `xs:complexType` || 1 || Includes 3 lists containing information about resource proxies and their interrelations. || … … 219 219 The first three elements (`<cmd:Header>`, `<cmd:Resources>` and `<cmd:IsPartOfList>`) constitute the ''CMD instance envelope'' and reside in the `cmd` namespace. The ''CMD instance payload'' is contained in the `<cmd:Components>` element, which (profile specific) substructure exists in the profile-specific namespace (prefix `cmdp`), possibly adorned with attributes in the `cmd` namespace. 220 220 221 In addition to this, foreign attributes (XML attributes of other namespaces than those defined in the [#typography_namespaces Typographic and XML Namespace conventions]) `MAY` occur anywhere in `<cmd:Header>`, `<cmd:Resources>` and `<cmd:IsPartOfList>` elements and on the `<cmd:Components>` element (but not on any of its children). These foreign namespaces SHOULD be ignored by tools unrelated to the party associated with the namespace and therefore MAY be removed during processing. The foreign namespace MUSTbe representative of the party that introduces the extension. Therefore, the namespace `SHOULD NOT` start with `http://www.clarin.eu`, `http://clarin.eu`, etc. unless the foreign namespace is introduced by the owner of the domain ''clarin.eu''.221 In addition to this, foreign attributes (XML attributes of other namespaces than those defined in the [#typography_namespaces Typographic and XML Namespace conventions]) `MAY` occur anywhere in `<cmd:Header>`, `<cmd:Resources>` and `<cmd:IsPartOfList>` elements and on the `<cmd:Components>` element (but not on any of its children). These foreign namespaces `SHOULD` be ignored by tools unrelated to the party associated with the namespace and therefore `MAY` be removed during processing. The foreign namespace `MUST` be representative of the party that introduces the extension. Therefore, the namespace `SHOULD NOT` start with `http://www.clarin.eu`, `http://clarin.eu`, etc. unless the foreign namespace is introduced by the owner of the domain ''clarin.eu''. 222 222 223 223 A detailed specification of the above mentioned parts of a CMD instance is given in the next four sections. … … 259 259 }}} 260 260 == The `<Header>` element == 261 The header of a CMDI instance mainly contains administrative information about the metadata, that is metadata about the CMDI file itself. The included elements MUST follow the structure and order described in this table:261 The header of a CMDI instance mainly contains administrative information about the metadata, that is metadata about the CMDI instance itself. The included elements MUST follow the structure and order described in this table: 262 262 263 263 ||||= Name =||= Value type =||= Occurrences =||= Description =|| … … 310 310 ==== Resource types ==== 311 311 * '''Resource''' 312 * A resource that is described in the present CMD instance, e.g. a text document, media file or tool.312 * A resource that is described in the present CMD instance, e.g., a text document, media file or tool. 313 313 * '''Metadata''' 314 * A metadata resource, i.e. another CMD instance, that is subordinate to the present CMD instance. The media type of this metadata resource `SHOULD` be `application/x-cmdi+xml`.314 * A metadata resource, i.e., another CMD instance, that is subordinate to the present CMD instance. The media type of this metadata resource `SHOULD` be `application/x-cmdi+xml`. 315 315 * '''!SearchPage''' 316 316 * Resource that is a web page that allows the described resource to be queried by an end-user. … … 318 318 * A resource that is a web service that allows the described resource to be queried by means of dedicated software. 319 319 * '''!LandingPage''' 320 * A resources that is a web page that provides the original context of the described resource, e.g. a "deep link" into a repository system.320 * A resources that is a web page that provides the original context of the described resource, e.g., a "deep link" into a repository system. 321 321 322 322 === The list of journal files === … … 404 404 </cmd:Resource> 405 405 <cmd:Resource ref="rp2"> 406 <cmd:Role ConceptLink="http://hdl.handle.net/11459/CCR_C -">target</cmd:Role> <!--TODO: register in the CCR -->406 <cmd:Role ConceptLink="http://hdl.handle.net/11459/CCR_C_c4e689ff-3724-10f7-8eb5-aee00b313f5f">target</cmd:Role> 407 407 </cmd:Resource> 408 408 </cmd:ResourceRelation> … … 420 420 421 421 === Example 6 The !IsPartOf List === 422 This example shows an IsPartOf referring to another CMD instance, which describes the collection this instance is a part of. 423 422 424 {{{ 423 425 #!xml … … 426 428 </cmd:IsPartOfList> 427 429 }}} 430 428 431 == The components == 429 432 This section of the CMDI file forms what may be referred to as descriptive metadata about the described resource. 430 433 431 The CMD Profile referenced by the XML element `<cmd:MdProfile>` in `<cmd:Header>` defines what XML elements and XML attributes are mandatory or optional in this section. Some attributes `MAY` appear universally in XML elements contained in any CMD instance payload section regardless of the profile, but rather depending on the corresponding level in the matching CMD Profile, i.e. whether the XML element is reflecting a CMD Component or CMD element. The next table describes the mandatory structure and order of this section as a function of the definition of a specific CMD Profile:434 The CMD Profile referenced by the XML element `<cmd:MdProfile>` in `<cmd:Header>` defines what XML elements and XML attributes are mandatory or optional in this section. Some attributes `MAY` appear universally in XML elements contained in any CMD instance payload section regardless of the profile, but rather depending on the corresponding level in the matching CMD Profile, i.e., whether the XML element is reflecting a CMD Component or CMD element. The next table describes the mandatory structure and order of this section as a function of the definition of a specific CMD Profile: 432 435 433 436 ||||||||= Name =||= Value type =||= Occurrences =||= Description =||