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 Alias: bindings

Applicable Classes

Name Description Modifies Slot
AnonymousSlotExpression no
SchemaDefinition A collection of definitions that make up a schema or a data model no
SlotExpression an expression that constrains the range of values a slot can take no
SlotDefinition an element that describes how instances are related to other instances no

Properties

Identifier and Mapping Information

Schema Source

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
alias: bindings
domain_of:
- schema_definition
- slot_expression
range: enum_binding
multivalued: true
inlined: true