Skip to content

Commit 4526532

Browse files
use anonymous_slot_expression
1 parent 6a92ddf commit 4526532

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

linkml_model/model/schema/meta.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,9 +1359,9 @@ slots:
13591359
13601360
Possible values:
13611361
- `allowed: true` - allow all additional data
1362-
- `allowed: false` (or `allowed:` or `allowed: null` while `slot_expression` is `null`) -
1362+
- `allowed: false` (or `allowed:` or `allowed: null` while `anonymous_slot_expression` is `null`) -
13631363
forbid all additional data (default)
1364-
- `slot_expression: ...` - allow additional data if it matches the slot expression (see examples)
1364+
- `anonymous_slot_expression: ...` - allow additional data if it matches the slot expression (see examples)
13651365
domain: class_definition
13661366
ifabsent: false
13671367
range: extra_slots_expression
@@ -1376,41 +1376,41 @@ slots:
13761376
allowed: false
13771377
description: Forbid any additional data
13781378
- value:
1379-
slot_expression:
1379+
anonymous_slot_expression:
13801380
range: string
13811381
description: Allow additional data that are strings
13821382
- value:
1383-
slot_expression:
1383+
anonymous_slot_expression:
13841384
range: AClassDefinition
13851385
description: Allow additional data if they are instances of the class definition "AClassDefinition"
13861386
- value:
1387-
slot_expression:
1387+
anonymous_slot_expression:
13881388
any_of:
13891389
- range: string
13901390
- range: integer
13911391
description: allow additional data if they are either strings or integers
13921392
- value:
1393-
slot_expression:
1393+
anonymous_slot_expression:
13941394
range: integer
13951395
multivalued: true
13961396
maximum_cardinality: 5
13971397
description: |
13981398
Allow additional data if they are lists of integers of at most length 5.
13991399
Note that this does *not* mean that a maximum of 5 extra slots are allowed.
14001400
- value:
1401-
slot_expression:
1401+
anonymous_slot_expression:
14021402
range: integer
14031403
required: true
14041404
description: |
14051405
Allow additional data if they are integers.
14061406
`required` is meaningless in this context and ignored, since by definition all "extra" slots are optional.
14071407
- value:
14081408
allowed: false
1409-
slot_expression:
1409+
anonymous_slot_expression:
14101410
range: string
14111411
description: |
14121412
A semantically *invalid* use of `extra_slots`, as extra slots will be forbidden and the
1413-
`slot_expression` will be ignored.
1413+
`anonymous_slot_expression` will be ignored.
14141414
14151415
allowed:
14161416
description: Whether or not something is allowed. Usage defined by context.
@@ -3302,7 +3302,7 @@ classes:
33023302
- expression
33033303
slots:
33043304
- allowed
3305-
- slot_expression
3305+
- anonymous_slot_expression
33063306

33073307

33083308
# ==================================

0 commit comments

Comments
 (0)