Skip to content

Slot: extra_slots

How a class instance handles extra data not specified in the class definition. Note that this does not define the constraints that are placed on additional slots defined by inheriting classes.

Possible values:

  • allowed: true - allow all additional data

  • allowed: false (or allowed: or allowed: null while range_expression is null) - forbid all additional data (default)

  • range_expression: ... - allow additional data if it matches the slot expression (see examples)

  • Names in code: extraSlots (Scala, Java), extra_slots (TypeScript, Python, Rust, GraphQL)

  • URI: linkml:extra_slots (https://w3id.org/linkml/extra_slots)

  • Range: extra_slots_expression

  • Cardinality: 0..1

  • Subsets: SpecificationSubset, BasicSubset

Classes that have this slot, with the range and cardinality it has in each.

Class Range Cardinality
class_definition extra_slots_expression 0..1