After the cleaning refactoring PR, some schemas give an error when serializing/deserializin them in JSON schema syntax. The error can be seen when running the testsuite:
In the case of 1list0PlusDot the problem seems to be that the schema parses the value IriRef(Iri(IriS { iri: NamedNode { iri: "http://www.w3.org/1999/02/22-rdf-syntax-ns#nil" } })) as IriRef(Prefixed { prefix: "rdf", local: "nil" })
In the case of 1val1INTEGER the problem is that ObjectValue(Literal(NumericLiteral(Integer(0))))] is parsed as ObjectValue(Literal(NumericLiteral(Decimal(0))))].
We need a bit more time to check how to solve those problems...
After the cleaning refactoring PR, some schemas give an error when serializing/deserializin them in JSON schema syntax. The error can be seen when running the testsuite:
In the case of
1list0PlusDot
the problem seems to be that the schema parses the valueIriRef(Iri(IriS { iri: NamedNode { iri: "http://www.w3.org/1999/02/22-rdf-syntax-ns#nil" } }))
asIriRef(Prefixed { prefix: "rdf", local: "nil" })
In the case of
1val1INTEGER
the problem is thatObjectValue(Literal(NumericLiteral(Integer(0))))]
is parsed asObjectValue(Literal(NumericLiteral(Decimal(0))))]
.We need a bit more time to check how to solve those problems...