Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions linkml_model/model/schema/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1368,42 +1368,42 @@ slots:
- SpecificationSubset
- BasicSubset
examples:
- value:
- object:
allowed: true
description: Allow all additional data
- value:
- object:
allowed: false
description: Forbid any additional data
- value:
- object:
range_expression:
range: string
description: Allow additional data that are strings
- value:
- object:
range_expression:
range: AClassDefinition
description: Allow additional data if they are instances of the class definition "AClassDefinition"
- value:
- object:
range_expression:
any_of:
- range: string
- range: integer
description: allow additional data if they are either strings or integers
- value:
- object:
range_expression:
range: integer
multivalued: true
maximum_cardinality: 5
description: |
Allow additional data if they are lists of integers of at most length 5.
Note that this does *not* mean that a maximum of 5 extra slots are allowed.
- value:
- object:
range_expression:
range: integer
required: true
description: |
Allow additional data if they are integers.
`required` is meaningless in this context and ignored, since by definition all "extra" slots are optional.
- value:
- object:
allowed: false
range_expression:
range: string
Expand Down
Loading