Skip to content

Slot: identifier

True means that the slot is the identifier slot of its class. Such a slot uniquely identifies instances of the class throughout an entire document, meaning there cannot be two (or more) instances of the class (or instances of any of its descendants) with the same value for the identifier slot anywhere in the document.

URI: linkml:identifier

Applicable Classes

Name Description Modifies Slot
SlotDefinition an element that describes how instances are related to other instances no

Properties

Type and Range

Property Value
Range Boolean
Domain SlotDefinition
Domain Of SlotDefinition

Cardinality and Requirements

Property Value
### Slot Characteristics
Property Value
Inherited Yes

In Subsets

Aliases

  • primary key
  • ID
  • UID
  • code

Comments

  • The identifier slot is inherited.
  • A domain can have at most one identifier slot OR a key slot. However a domain can have both an identifier slot and any number of compound keys.
  • An identifier slot is automatically required. Identifiers cannot be optional.
  • The presence of an identifier slot makes a class eligible for inlining as a dictionary.
  • The presence of an identifier slot makes a class eligible for being referenced rather than inlined.

See Also

Identifier and Mapping Information

Administrative Metadata

Rank: 5

Schema Source

Mappings

Mapping Type Mapped Value
self linkml:identifier
native linkml:identifier

LinkML Source

name: identifier
description: True means that the slot is the identifier slot of its class. Such a
  slot uniquely identifies instances of the class throughout an entire document, meaning
  there cannot be two (or more) instances of the class (or instances of any of its
  descendants) with the same value for the identifier slot anywhere in the document.
comments:
- The identifier slot is inherited.
- A domain can have at most one identifier slot OR a key slot. However a domain can
  have both an identifier slot and any number of compound keys.
- An identifier slot is automatically required. Identifiers cannot be optional.
- The presence of an identifier slot makes a class eligible for inlining as a dictionary.
- The presence of an identifier slot makes a class eligible for being referenced rather
  than inlined.
in_subset:
- SpecificationSubset
- MinimalSubset
- BasicSubset
- RelationalModelProfile
from_schema: https://w3id.org/linkml/meta
see_also:
- https://en.wikipedia.org/wiki/Identifier
- https://linkml.io/linkml/schemas/constraints.html#unique-keys
- https://linkml.io/linkml/schemas/inlining.html
- linkml:unique_keys
- linkml:key
aliases:
- primary key
- ID
- UID
- code
rank: 5
domain: slot_definition
inherited: true
domain_of:
- slot_definition
range: boolean