Skip to content

feat: add schema tests and official JSON Schema #9

feat: add schema tests and official JSON Schema

feat: add schema tests and official JSON Schema #9

Re-run triggered November 8, 2024 09:43
Status Failure
Total duration 22s
Artifacts

schema-tests.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
tests/v1.0/schema.test.mjs: tests/v1.0/schema.test.mjs#L29
InvalidSchemaError: Invalid Schema ❯ Object.pubsub_subscription_0 node_modules/@hyperjump/json-schema/lib/core.js:55:13 ❯ publishAsync node_modules/@hyperjump/json-schema/lib/pubsub.js:39:3 ❯ Object.compile node_modules/@hyperjump/json-schema/lib/keywords/validation.js:13:3 ❯ compile node_modules/@hyperjump/json-schema/lib/core.js:30:21 ❯ Module.validate node_modules/@hyperjump/json-schema/lib/core.js:22:20 ❯ tests/v1.0/schema.test.mjs:29:25 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { output: { valid: false, errors: [ { keyword: 'https://json-schema.org/keyword/type', absoluteKeywordLocation: 'https://json-schema.org/draft/2020-12/meta/applicator#/$defs/schemaArray/type', instanceLocation: 'https://spec.openapis.org/overlay/1.0/schema/WORK-IN-PROGRESS#/$defs/action-object/allOf', valid: false }, { keyword: 'https://json-schema.org/keyword/ref', absoluteKeywordLocation: 'https://json-schema.org/draft/2020-12/meta/applicator#/properties/allOf/$ref', instanceLocation: 'https://spec.openapis.org/overlay/1.0/schema/WORK-IN-PROGRESS#/$defs/action-object/allOf', valid: false }, { keyword: 'https://json-schema.org/keyword/properties', absoluteKeywordLocation: 'https://json-schema.org/draft/2020-12/meta/applicator#/properties', instanceLocation: 'https://spec.openapis.org/overlay/1.0/schema/WORK-IN-PROGRESS#/$defs/action-object', valid: false }, { keyword: 'https://json-schema.org/keyword/ref', absoluteKeywordLocation: 'https://json-schema.org/draft/2020-12/schema#/allOf/1/$ref', instanceLocation: 'https://spec.openapis.org/overlay/1.0/schema/WORK-IN-PROGRESS#/$defs/action-object', valid: false }, { keyword: 'https://json-schema.org/keyword/allOf', absoluteKeywordLocation: 'https://json-schema.org/draft/2020-12/schema#/allOf', instanceLocation: 'https://spec.openapis.org/overlay/1.0/schema/WORK-IN-PROGRESS#/$defs/action-object', valid: false }, { keyword: 'https://json-schema.org/keyword/draft-2020-12/dynamicRef', absoluteKeywordLocation: 'https://json-schema.org/draft/2020-12/meta/core#/properties/$defs/additionalProperties/$dynamicRef', instanceLocation: 'https://spec.openapis.org/overlay/1.0/schema/WORK-IN-PROGRESS#/$defs/action-object', valid: false }, { keyword: 'https://json-schema.org/keyword/additionalProperties', absoluteKeywordLocation: 'https://json-schema.org/draft/2020-12/meta/core#/properties/$defs/additionalProperties', instanceLocation: 'https://spec.openapis.org/overlay/1.0/schema/WORK-IN-PROGRESS#/$defs', valid: false }, { keyword: 'https://json-schema.org/keyword/properties', absoluteKeywordLocation: 'https://json-schema.org/draft/2020-12/meta/core#/properties', instanceLocation: 'https://spec.openapis.org/overlay/1.0/schema/WORK-IN-PROGRESS#', valid: false }, { keyword: 'https://json-schema.org/keyword/ref', absoluteKeywordLocation: 'https://json-schema.org/draft/2020-12/schema#/allOf/0/$ref', instanceLocation: 'https://spec.openapis.org/overlay/1.0/schema/WORK-IN-PROGRESS#', valid: false }, { keyword: 'https://json-schema.org/keyword/allOf', absoluteKeywordLocation: 'https://json-schema.org/draft/2020-12/schema#/allOf', instanceLocation: 'https://spec.openapis.org/overlay/1.0/schema/WORK-IN-PROGRESS#', valid: false } ] } }
test
Process completed with exit code 1.