You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: linkml_model/model/schema/meta.yaml
+72-2Lines changed: 72 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -618,7 +618,6 @@ slots:
618
618
- BasicSubset
619
619
620
620
pv_formula:
621
-
domain: enum_expression
622
621
range: pv_formula_options
623
622
description: >-
624
623
Defines the specific formula to be used to generate the permissible values.
@@ -1543,7 +1542,7 @@ slots:
1543
1542
domain: slot_definition
1544
1543
range: presence_enum
1545
1544
inherited: true
1546
-
description: if true then a value must be present (for lists there must be at least one value). If false then a value must be absent (for lists, must be empty)
1545
+
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)
1547
1546
comments:
1548
1547
- if set to true this has the same effect as required=true. In contrast, required=false allows a value to be present
1549
1548
status: unstable
@@ -2098,6 +2097,32 @@ slots:
2098
2097
in_subset:
2099
2098
- SpecificationSubset
2100
2099
2100
+
bindings:
2101
+
domain: element
2102
+
range: enum_binding
2103
+
multivalued: true
2104
+
inlined: true
2105
+
description: >-
2106
+
A collection of slot bindings that specify how a slot can be bound to a permissible value
2107
+
from an enumeration.
2108
+
in_subset:
2109
+
- SpecificationSubset
2110
+
2111
+
binds_value_of:
2112
+
domain: enum_binding
2113
+
range: string
2114
+
description: >-
2115
+
A path to a slot that is being bound to a permissible value from an enumeration.
2116
+
in_subset:
2117
+
- SpecificationSubset
2118
+
2119
+
obligation_level:
2120
+
range: obligation_level_enum
2121
+
description: >-
2122
+
The level of obligation or recommendation strength for a metadata element
2123
+
in_subset:
2124
+
- SpecificationSubset
2125
+
2101
2126
2102
2127
# -----------------------------------
2103
2128
# Slots for type definition
@@ -2520,6 +2545,7 @@ classes:
2520
2545
- generation_date
2521
2546
- slot_names_unique
2522
2547
- settings
2548
+
- bindings
2523
2549
see_also:
2524
2550
- https://en.wikipedia.org/wiki/Data_dictionary
2525
2551
close_mappings:
@@ -2673,6 +2699,24 @@ classes:
2673
2699
slots:
2674
2700
- enum_uri
2675
2701
2702
+
enum_binding:
2703
+
description: >-
2704
+
A binding of a slot or a class to a permissible value from an enumeration
2705
+
slots:
2706
+
- range
2707
+
- obligation_level
2708
+
- binds_value_of
2709
+
- pv_formula
2710
+
slot_usage:
2711
+
range:
2712
+
range: enum_definition
2713
+
in_subset:
2714
+
- SpecificationSubset
2715
+
mixins:
2716
+
- extensible
2717
+
- annotatable
2718
+
- common_metadata
2719
+
2676
2720
match_query:
2677
2721
description: >-
2678
2722
A query that is used on an enum expression to dynamically obtain a set of permissivle values via a query that
@@ -2772,6 +2816,7 @@ classes:
2772
2816
- range
2773
2817
- range_expression
2774
2818
- enum_range
2819
+
- bindings
2775
2820
- required
2776
2821
- recommended
2777
2822
- inlined
@@ -3192,3 +3237,28 @@ enums:
3192
3237
meaning: skos:broaderMatch
3193
3238
NARROW_SYNONYM:
3194
3239
meaning: skos:narrowerMatch
3240
+
3241
+
obligation_level_enum:
3242
+
rank: 10
3243
+
description: >-
3244
+
The level of obligation or recommendation strength for a metadata element
3245
+
permissible_values:
3246
+
REQUIRED:
3247
+
description: >-
3248
+
The metadata element is required to be present in the model
3249
+
RECOMMENDED:
3250
+
aliases:
3251
+
- ENCOURAGED
3252
+
description: >-
3253
+
The metadata element is recommended to be present in the model
3254
+
OPTIONAL:
3255
+
description: >-
3256
+
The metadata element is optional to be present in the model
3257
+
EXAMPLE:
3258
+
description: >-
3259
+
The metadata element is an example of how to use the model
3260
+
DISCOURAGED:
3261
+
description: >-
3262
+
The metadata element is allowed but discouraged to be present in the model
0 commit comments