Skip to content

Slot: key

True means that the key slot(s) uniquely identify the elements within a single container

URI: linkml:key Alias: key

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

Comments

  • key is inherited
  • a given domain can have at most one key slot (restriction to be removed in the future)
  • identifiers and keys are mutually exclusive. A given domain cannot have both
  • a key slot is automatically required. Keys cannot be optional

See Also

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

name: key
description: True means that the key slot(s) uniquely identify the elements within
  a single container
comments:
- key is inherited
- a given domain can have at most one key slot (restriction to be removed in the future)
- identifiers and keys are mutually exclusive.  A given domain cannot have both
- a key slot is automatically required.  Keys cannot be optional
in_subset:
- SpecificationSubset
- BasicSubset
- RelationalModelProfile
from_schema: https://w3id.org/linkml/meta
see_also:
- linkml:unique_keys
rank: 1000
domain: slot_definition
inherited: true
alias: key
domain_of:
- slot_definition
range: boolean