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.
A shape that declares the
sh:xone
constraint produces a JSON Schema with theoneOf
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.