Skip to content

Slot: value_presence

if PRESENT then a value must be present (for lists there must be at least one value). If ABSENT then a value must be absent (for lists, must be empty)

URI: linkml:value_presence

Inheritance

Applicable Classes

Name Description Modifies Slot
SlotExpression an expression that constrains the range of values a slot can take no
AnonymousSlotExpression no
SlotDefinition an element that describes how instances are related to other instances no

Properties

Comments

  • if set to true this has the same effect as required=true. In contrast, required=false allows a value to be present

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/linkml/meta

LinkML Source

name: value_presence
description: if PRESENT then a value must be present (for lists there must be at least
  one value). If ABSENT then a value must be absent (for lists, must be empty)
comments:
- if set to true this has the same effect as required=true. In contrast, required=false
  allows a value to be present
from_schema: https://w3id.org/linkml/meta
status: unstable
rank: 1000
is_a: list_value_specification_constant
domain: slot_definition
inherited: true
alias: value_presence
domain_of:
- slot_expression
range: presence_enum