KeyRef
Reference to a key defined in an external column set or code list.
Element information
Namespace: None
Schema document: genericode.xsd
Type: gc:KeyRef
Properties: Local, Unqualified
Content
- Sequence [1..1]
- Annotation [0..1] User annotation for the referenced key.
- CanonicalVersionUri [1..1] Canonical URI which serves as a unique identifier for this version.
- LocationUri [0..*] Suggested retrieval location for this version, in genericode format.
from group gc:IdentificationRefUriSet
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
Id | [1..1] | xsd:ID | Unique ID within the document. | from group gc:IdDefinition |
ExternalRef | [1..1] | xsd:NCName | Unique ID within the external document. | from group gc:ExternalReference |
xml:base | [0..1] | xsd:anyURI | Base URL which applies to relative location URIs. |
Used in
- Group gc:KeyChoice
- Group gc:ColumnSetContent via reference to gc:KeyChoice
- Type gc:ColumnSet via reference to gc:ColumnSetContent (Element ColumnSet)
- Type gc:ColumnSetDocument via reference to gc:ColumnSetContent (Element gc:ColumnSet)
Sample instance
<KeyRef Id="codeKey" ExternalRef="codeKey"> <CanonicalVersionUri>http://www.example.com/ubl/codelist/genericode/columnset/1.0/</CanonicalVersionUri> <LocationUri>http://docs.oasis-open.org/ubl/os-ubl-2.0/cl/gc/default/UBLColumnSet.gc</LocationUri> </KeyRef>