-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Problem overview
Thinking of a data model where a reference in an object can be any of or one of the values in the set that defines the finite options is quite a common problem. Let's just consider a vehicle that can be a car, bicycle or truck. We then have { car, bicycle, truck } values in a set.
Constraining to a set of values for an attribute of type Reference is currently not supported. What's the DSWG view on this topic?
It is worth noting JSON Schema comes with a composition model that already proposes usage any of or one of concepts. Yet, it has a broader meaning because it also enables the composition of schemas out of subschemas. What's the DSWG view also on this topic?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels