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
We currently generate a JSON Schema for a concept by expanding all the properties of the concept as JSON Schemas. This works well but doesn't capture the inheritance relationships between types.
For example:
namespace [email protected]
abstract concept Animal {
o String name
}
concept Tiger extends Animal {
o Integer numStripes
}
concept Camel extends Animal {
o Integer numHumps
}
concept Zoo {
o Animal[] animals
}
Bug Report 🐛
We currently generate a JSON Schema for a concept by expanding all the properties of the concept as JSON Schemas. This works well but doesn't capture the inheritance relationships between types.
For example:
Produces the following JSON Schema:
Expected Behavior
The
animals
array forZoo
should indicate that this can beoneOf
Camel
orTiger
(notAnimal
because it is abstract.Current Behavior
Possible Solution
Steps to Reproduce
Context (Environment)
Desktop
Detailed Description
Possible Implementation
The text was updated successfully, but these errors were encountered: