gs1 / EPCIS

Draft files being shared for EPCIS 2.0 development
Other
22 stars 7 forks source link

JSON Example in error due to extended fields --> Decision to be made #392

Closed jmcanterafonseca-iota closed 2 years ago

jmcanterafonseca-iota commented 2 years ago

JSON/Example_9.6.1-ObjectEvent-with-pseudo-SBDH-headers.jsonld.json invalid [ { instancePath: '', schemaPath: '#/propertyNames/anyOf/0/enum', keyword: 'enum', params: { allowedValues: [Array] }, message: 'must be equal to one of the allowed values', propertyName: 'sender' }, { instancePath: '', schemaPath: '#/definitions/vocab-uri/format', keyword: 'format', params: { format: 'uri' }, message: 'must match format "uri"', propertyName: 'sender' }, { instancePath: '', schemaPath: '#/propertyNames/anyOf', keyword: 'anyOf', params: {}, message: 'must match a schema in anyOf', propertyName: 'sender' }, { instancePath: '', schemaPath: '#/propertyNames', keyword: 'propertyNames', params: { propertyName: 'sender' }, message: 'property name must be valid' }, { instancePath: '', schemaPath: '#/allOf/0/if', keyword: 'if', params: { failingKeyword: 'then' }, message: 'must match "then" schema' } ]

jmcanterafonseca-iota commented 2 years ago

@mgh128

jmcanterafonseca-iota commented 2 years ago

fixed. all examples now validate.