Closed christoph-maurer closed 3 years ago
Regarding why smallGeneralComponentWithoutHyphen
is invalid: As the first error message says, it's not a valid UUID. We use ajv-formats
to test for validity of UUIDs, which uses the standard RFC 4122, and in this hyphens are required.
I have corrected identifier.json. The definition of decentral
was lacking additionalProperties
: false
and required
: [value
,issuedBy
]. I added some tests and corrected some examples.
I have renamed CRI
to ColorRenderingIndex
.
The tests of uuidWithHyphen.json and uuidWithoutHyphen.json against identifier.json are both valid. However, smallGeneralComponentWithoutHyphen.json is invalid against dbe.json:
@simon-wacker Do you know why?