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](https://w3id.org/linkml/value_presence) ## Inheritance * [list_value_specification_constant](list_value_specification_constant.md) * **value_presence** ## Applicable Classes | Name | Description | Modifies Slot | | --- | --- | --- | | [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 | [PresenceEnum](PresenceEnum.md) | | Domain | [SlotDefinition](SlotDefinition.md) | | Domain Of | [SlotExpression](SlotExpression.md) | ### 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 * from schema: https://w3id.org/linkml/meta ## 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
domain_of:
- slot_expression
range: presence_enum