Closed jmcanterafonseca-iota closed 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' } ]
@mgh128
fixed. all examples now validate.
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' } ]