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

Inheritance

Applicable Classes

Name Description Modifies Slot
AnonymousSlotExpression 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

Type and Range

Property Value
Range PresenceEnum
Domain SlotDefinition
Domain Of SlotExpression

Cardinality and Requirements

Property Value
### Slot Characteristics
Property Value
Inherited Yes

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

Administrative Metadata

Status: unstable

Schema Source

Mappings

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

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