Skip to content

Commit 488ae70

Browse files
authored
Merge pull request #134 from vincentvialard/fix-union-of-range-for-slot-definition
fix `union_of` range in `slot_definition`
2 parents 5657622 + c742e1e commit 488ae70

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

linkml_model/model/schema/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2598,7 +2598,7 @@ classes:
25982598
disjoint_with:
25992599
range: slot_definition
26002600
union_of:
2601-
range: type_definition
2601+
range: slot_definition
26022602
in_subset:
26032603
- SpecificationSubset
26042604
- MinimalSubset

specification/03schemas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ Any instance *s* of a SlotDefinition may have assignments in any of the followin
343343
| [slot_group](slot_group.md) | 0..1 <br/> [SlotDefinition](SlotDefinition.md) | allows for grouping of related slots into a grouping slot that serves the rol... |
344344
| [is_grouping_slot](is_grouping_slot.md) | 0..1 <br/> [xsd:boolean](http://www.w3.org/2001/XMLSchema#boolean) | true if this slot is a grouping slot |
345345
| [disjoint_with](disjoint_with.md) | 0..* <br/> [SlotDefinition](SlotDefinition.md) | Two classes are disjoint if they have no instances in common, two slots are d... |
346-
| [union_of](union_of.md) | 0..* <br/> [TypeDefinition](TypeDefinition.md) | indicates that the domain element consists exactly of the members of the elem... |
346+
| [union_of](union_of.md) | 0..* <br/> [SlotDefinition](SlotDefinition.md) | indicates that the domain element consists exactly of the members of the elem... |
347347
| [range](range.md) | 0..1 <br/> [Element](Element.md) | defines the type of the object of the slot |
348348
| [range_expression](range_expression.md) | 0..1 <br/> [AnonymousClassExpression](AnonymousClassExpression.md) | A range that is described as a boolean expression combining existing ranges |
349349
| [enum_range](enum_range.md) | 0..1 <br/> [EnumExpression](EnumExpression.md) | An inlined enumeration |

0 commit comments

Comments
 (0)