CDIFDataStructure

PrimaryKey

CDIFDataStructure::Classes::PrimaryKey

Definition

Documentation

Original
Reference

cdi:PrimaryKey

Definition

Definition

Role of a set of data structure components for content linkage purposes

Explanatory notes

Equivalent to primary key in the relational model. A primary key essentially indicates which data structure components correspond to key members. It can also be used in conjunction with foreign key to link data structures and their related datasets.

CDIF
Definition

set of Variables that uniquely identify a data instance, expressed as an ordered list of cdi:ComponentPosition wrappers (unified with cdifKey's cdi:ComponentPosition model).

Scope

Role of an ordered set of cdi:RepresentedVariables that uniquely identify each data instance. Position is implicit in cdif:isComposedOf array order; each membership carries a cdif:position integer.

Diagram

Inheritance

No generalization relationships.

Attributes

NameTypeMultiplicityDescription
identifierXsdAnyUri[0..1]

Documentation

Original
Reference

schema:identifier

Definition

The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.

Scope

Domain: Thing (https://schema.org/Thing). Range: PropertyValue (https://schema.org/PropertyValue), Text (https://schema.org/Text), URL (https://schema.org/URL).

CDIF
Definition

Identifier for objects requiring short- or long-lasting referencing and management.

Scope

@id - resolvable URI for this primary key.

Associations

RoleTargetMultiplicityKind
hasPrimaryKeyDataStructure[0..1]composition
hasPrimaryKeyDimensionalDataStructure[0..1]composition
hasPrimaryKeyLongDataStructure[0..1]composition
hasPrimaryKeyWideDataStructure[0..1]composition
isComposedOfRepresentedVariable[1..*]association
referencesForeignKey[0..1]association