Skip to content

Slot: bindings

A collection of enum bindings that specify how a slot can be bound to a permissible value from an enumeration.

LinkML provides enums to allow string values to be restricted to one of a set of permissible values (specified statically or dynamically).

Enum bindings allow enums to be bound to any object, including complex nested objects. For example, given a (generic) class Concept with slots id and label, it may be desirable to restrict the values the id takes on in a given context. For example, a HumanSample class may have a slot for representing sample site, with a range of concept, but the values of that slot may be restricted to concepts from a particular branch of an anatomy ontology.

URI: [linkml:bindings](https://w3id.org/linkml/bindings) ## Applicable Classes | Name | Description | Modifies Slot | | --- | --- | --- | | [SchemaDefinition](SchemaDefinition.md) | A collection of definitions that make up a schema or a data model | no | | [SlotExpression](SlotExpression.md) | an expression that constrains the range of values a slot can take | no | | [AnonymousSlotExpression](AnonymousSlotExpression.md) | | no | | [SlotDefinition](SlotDefinition.md) | an element that describes how instances are related to other instances | no | ## Properties ### Type and Range | Property | Value | | --- | --- | | Range | [EnumBinding](EnumBinding.md) | | Domain | [Element](Element.md) | | Domain Of | [SchemaDefinition](SchemaDefinition.md), [SlotExpression](SlotExpression.md) | ### Cardinality and Requirements | Property | Value | | --- | --- | | Multivalued | Yes | ## In Subsets * [SpecificationSubset](SpecificationSubset.md) ## Identifier and Mapping Information ### Administrative Metadata **Status:** testing ### Schema Source * from schema: https://w3id.org/linkml/meta ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | linkml:bindings | | native | linkml:bindings | ## LinkML Source
name: bindings
description: 'A collection of enum bindings that specify how a slot can be bound to
  a permissible value from an enumeration.

  LinkML provides enums to allow string values to be restricted to one of a set of
  permissible values (specified statically or dynamically).

  Enum bindings allow enums to be bound to any object, including complex nested objects.
  For example, given a (generic) class Concept with slots id and label, it may be
  desirable to restrict the values the id takes on in a given context. For example,
  a HumanSample class may have a slot for representing sample site, with a range of
  concept, but the values of that slot may be restricted to concepts from a particular
  branch of an anatomy ontology.'
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
status: testing
rank: 1000
domain: element
domain_of:
- schema_definition
- slot_expression
range: enum_binding
multivalued: true
inlined: true