Changes between Version 96 and Version 97 of CMDI 1.2/Specification
- Timestamp:
- 01/19/16 14:42:34 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CMDI 1.2/Specification
v96 v97 372 372 ||||= Name =||= Valuetype =||= Occurrences =||= Description =|| 373 373 |||| `<ComponentSpec>` || `xs:complexType` || 1 || Root element of the CCSL document || 374 || || `@isProfile` || `xs:boolean` || 1 || Indication about the component's status as a profile || 374 375 || || `<Header>` || `xs:complexType` || 1 || Header of the component specification || 375 376 || || `<Component>` || `xs:complexType` || 1 || Definition of the component's structure || 376 || || `@isProfile` || `xs:boolean` || 1 || Indication about the component's status as a profile ||377 377 378 378 === Examples === … … 390 390 ... 391 391 </Component> 392 </Componen Spec>392 </ComponentSpec> 393 393 }}} 394 394 … … 429 429 430 430 == CMD component definition == 431 Components are defined as a sequence of elements which `MAY` be followed by other components. The latter is allowed because components may be embedded in other components. If an already defined CMD component (i.e. a CMD component with its own identifier) should be referenced, `@ComponentId` `MUST` be used to indicate its identifier. If this is not the case, the specification of a CMD component s`MAY` contain the name of the component, the component's identifier, a concept link, and information about the allowed cardinality of the component. Furthermore documentation texts and further CMD attributes `MAY` be specified.431 Components are defined as a sequence of elements which `MAY` be followed by other components. The latter is allowed because components may be embedded in other components. If an already defined CMD component (i.e. a CMD component with its own identifier) should be referenced, `@ComponentId` `MUST` be used to indicate its identifier. If this is not the case, the specification of a CMD component `MAY` contain the name of the component, the component's identifier, a concept link, and information about the allowed cardinality of the component. Furthermore documentation texts and further CMD attributes `MAY` be specified. 432 432 433 433 … … 438 438 || || `@ConceptLink` || `xs:anyURI` || 0 or 1 || Concept link || 439 439 || || `@CardinalityMin` || `xs:nonNegativeInteger` || 0 or 1 || Minimum number of times this component has to occur || 440 || || `@CardinalityMax` || `xs:nonNegativeInteger` or “unbounded”|| 0 or 1 || Maximum number of times this component may occur ||441 || || ` Documentation` || `xs:string` || 0 to unbounded || Documentation about the purpose of the component ||442 || || ` AttributeList` || `xs:complexType` || 0 or 1 || Additional attributes specified by the component creator ||440 || || `@CardinalityMax` || `xs:nonNegativeInteger` or "unbounded" || 0 or 1 || Maximum number of times this component may occur || 441 || || `<Documentation>` || `xs:string` || 0 to unbounded || Documentation about the purpose of the component || 442 || || `<AttributeList>` || `xs:complexType` || 0 or 1 || Additional attributes specified by the component creator || 443 443 444 444 === Examples === … … 491 491 492 492 == CMD attribute definition == 493 Both the CMD element and component description allow the specification of additional CMD attributes. Every CMD attribute definition `MUST` contain a `@name` attribute and `MAY` contain other attributes or elements for a more detail led description.493 Both the CMD element and component description allow the specification of additional CMD attributes. Every CMD attribute definition `MUST` contain a `@name` attribute and `MAY` contain other attributes or elements for a more detailed description. 494 494 495 495 ||||= Name =||= Valuetype =||= Occurrences =||= Description =|| … … 531 531 || |||||||| `<pattern>` || `xs:string` || 0 or 1 || Specification of a regular expression the element/attribute should comply with. || 532 532 || |||||||| `<Vocabulary>` || `xs:complexType` || 0 or 1 || Specification of a CMD vocabulary || 533 || || |||||| `<Enumeration>` || `xs:complexType` || 0 or 1 || Enumeration of items from a controlled vocabulary || 533 || || |||||| `<enumeration>` || `xs:complexType` || 0 or 1 || Enumeration of items from a controlled vocabulary || 534 || || || |||| `<appinfo>` || `xs:string` || 0 to 1 || End-user guidance about the value of the controlled vocabulary as a whole. Currently not used. || 534 535 || || || |||| `<item>` || `xs:string` || 0 to unbounded || An item from a controlled vocabulary || 535 536 || || || || || `@ConceptLink` || `xs:anyURI` || 0 or 1 || Concept link of item value || 536 537 || || || || || `@AppInfo` || `xs:string` || 0 or 1 || End-user guidance about the value of this controlled vocabulary item. || 537 || || || |||| `<appinfo>` || `xs:string` || 0 to unbounded || End-user guidance about the value of the controlled vocabulary as a whole. Currently not used. ||538 538 || || |||||| `@URI` || `xs:anyURI` || 0 or 1 || URI of an external vocabulary || 539 539 || || |||||| `@ValueProperty` || `xs:string` || 0 or 1 || preferred label in the external vocabulary || … … 567 567 568 568 == Cues attributes == 569 All CMD attribute, element, and component specifications may contain additional attributes with the namespace “http://www.clarin.eu/cmd/cues/1”. These `MAY` be used to give information about how the payload contained in the respective part of the CMD instance should be presented. Cues are grouped in component specific styles. Different styles for the same CMD component `MAY` be developed. The CCSL does not prescribe or suggest a specific set of cue attributes.569 All CMD attribute, element, and component specifications may contain additional attributes in the `cue` namespace. These `MAY` be used to give information about how the payload contained in the respective part of the CMD instance should be presented. Cues are grouped in component specific styles. Different styles for the same CMD component `MAY` be developed. The CCSL does not prescribe or suggest a specific set of cue attributes. 570 570 571 571 === Examples ===