ForeignKey inherited from CDIFDataStructure
DiscoveryDataDescriptionStructure::Classes::ForeignKey
Definition
Documentation
Original
Reference
cdi:ForeignKey
Definition
Definition
Role of a set of data structure components for content referencing purposes
Explanatory notes
Equivalent to foreign key in the relational model. It can be used in conjunction with primary key to link data structures and their related data sets.
CDIF
Definition
Role of a set of data structure components for content referencing purposes
Scope
Role of a set of cdi:RepresentedVariables for content referencing. cdi:isComposedOf is a list of RepresentedVariables in this structure; cdi:references is the PrimaryKey in another structure that this foreign key references.
Diagram
Inheritance
No generalization relationships.
Attributes
| Name | Type | Multiplicity | Description |
|---|---|---|---|
| identifier | XsdAnyUri | [0..1] | DocumentationOriginalReferenceschema:identifier DefinitionThe 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. ScopeDomain: Thing (https://schema.org/Thing). Range: PropertyValue (https://schema.org/PropertyValue), Text (https://schema.org/Text), URL (https://schema.org/URL). CDIFDefinitionThe primary identifier for the dataset; other identifiers should be listed in the sameAs field. Schema.org has three ways of encoding identifiers-- a text description, a URL, or by using the schema:PropertyValue field. The Science on Schema.org guidance strongly recommends using the PropertyValue approach. see https://github.com/ESIPFed/science-on-schema.org .... Dataset.md#identifier. Ideally, for any given data provided they would provide identifiers either all as strings or all as identifier_type. Scope@id - resolvable URI for this foreign key. |
Associations
| Role | Target | Multiplicity | Kind |
|---|---|---|---|
| hasForeignKey | ← DataStructure | [0..*] | composition |
| hasForeignKey | ← DimensionalDataStructure | [0..*] | composition |
| hasForeignKey | ← WideDataStructure | [0..*] | composition |
| isComposedOf | → RepresentedVariable | [1..*] | association |
| references | → PrimaryKey | [0..1] | association |