konigio / konig

A collection of tools for semantic modeling
4 stars 4 forks source link

Incorrect $ref value in JSON Schema oneOf element #1673

Closed gmcfall closed 4 years ago

gmcfall commented 4 years ago

A shape that declares the sh:xone constraint produces a JSON Schema with the oneOf constraint. However, sometimes this constraint uses the fully-qualified Shape IRI as the value of the "$ref" property. But it should use the short, simple name of the shape.