Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make maximum_value and minimum_value accept linkml:Any #176

Merged
merged 1 commit into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions linkml_model/model/docs/specification/03schemas.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,8 @@ Any instance *s* of a SlotDefinition may have assignments in any of the followin
| [range](../range.md) | 0..1 <br/> [Element](../Element.md) | defines the type of the object of the slot |
| [range_expression](../range_expression.md) | 0..1 <br/> [AnonymousClassExpression](../AnonymousClassExpression.md) | A range that is described as a boolean expression combining existing ranges |
| [enum_range](../enum_range.md) | 0..1 <br/> [EnumExpression](../EnumExpression.md) | An inlined enumeration |
| [minimum_value](../minimum_value.md) | 0..1 <br/> [xsd:integer](http://www.w3.org/2001/XMLSchema#integer) | for slots with ranges of type number, the value must be equal to or higher th... |
| [maximum_value](../maximum_value.md) | 0..1 <br/> [xsd:integer](http://www.w3.org/2001/XMLSchema#integer) | for slots with ranges of type number, the value must be equal to or lowe than... |
| [minimum_value](../minimum_value.md) | 0..1 <br/> [linkml:Any](https://linkml.io/linkml-model/latest/docs/Anything/) | for slots with ordinal ranges, the value must be equal to or higher th... |
| [maximum_value](../maximum_value.md) | 0..1 <br/> [linkml:Any](https://linkml.io/linkml-model/latest/docs/Anything/) | for slots with ordinal ranges, the value must be equal to or lowe than... |
| [structured_pattern](../structured_pattern.md) | 0..1 <br/> [PatternExpression](../PatternExpression.md) | the string value of the slot must conform to the regular expression in the pa... |
| [implicit_prefix](../implicit_prefix.md) | 0..1 <br/> [xsd:string](http://www.w3.org/2001/XMLSchema#string) | Causes the slot value to be interpreted as a uriorcurie after prefixing with ... |
| [equals_string](../equals_string.md) | 0..1 <br/> [xsd:string](http://www.w3.org/2001/XMLSchema#string) | the slot must have range string and the value of the slot must equal the spec... |
Expand Down
12 changes: 8 additions & 4 deletions linkml_model/model/schema/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1935,8 +1935,10 @@ slots:
aliases:
- low value
domain: slot_definition
range: integer
description: for slots with ranges of type number, the value must be equal to or higher than this
range: Anything
description: For ordinal ranges, the value must be equal to or higher than this
notes:
- Range to be refined to an "Ordinal" metaclass - see https://github.com/linkml/linkml/issues/1384#issuecomment-1892721142
inherited: true
in_subset:
- SpecificationSubset
Expand All @@ -1946,8 +1948,10 @@ slots:
aliases:
- high value
domain: slot_definition
range: integer
description: for slots with ranges of type number, the value must be equal to or lowe than this
range: Anything
description: For ordinal ranges, the value must be equal to or lower than this
notes:
- Range to be refined to an "Ordinal" metaclass - see https://github.com/linkml/linkml/issues/1384#issuecomment-1892721142
inherited: true
in_subset:
- SpecificationSubset
Expand Down