ehn-dcc-development / eu-dcc-schema

Schema for the ehn DCC payload
Apache License 2.0
165 stars 59 forks source link

JSON Schema here to help #126

Closed Pat7584 closed 2 years ago

Pat7584 commented 2 years ago

Discussed in https://github.com/ehn-dcc-development/ehn-dcc-schema/discussions/95

Originally posted by **Relequestual** June 5, 2021 Hello! Ben Hutton here from the JSON Schema team. A link to this repo came across my desk. Please let us know if we can be of any help or assistance. We are on hand. If you would like to schedule a call, that's also possible. Great to see you're using the latest draft of JSON Schema. We worked hard to make it happen.
Pat7584 commented 2 years ago

Hi everybody, I need some help for this issue, I use windows 10 an Visual Studio Code. When I try a make I obtain Checking JSON formatting... DCC.Core.Types.schema.json DCC.Core.Types.schema.json.tmp differ: byte 2, line 1 Please reformat DCC.Core.Types.schema.json DCC.schema.json DCC.schema.json.tmp differ: byte 2, line 1 Please reformat DCC.schema.json DCC.Types.schema.json DCC.Types.schema.json.tmp differ: byte 2, line 1 Please reformat DCC.Types.schema.json DCC.ValueSets.schema.json DCC.ValueSets.schema.json.tmp differ: byte 2, line 1

and so on.... And at the end Please reformat valuesets/vaccine-prophylaxis.json ./node_modules/.bin/ajv -c ajv-formats --spec=draft2020 --strict=false test -s DCC.combined-schema.json -d "examples/vaccination/*.json" --valid error: C:\Users\patri\Documents\ehn-dcc-schema-release-1.3.0 (1)\ehn-dcc-schema-release-1.3.0\DCC.combined-schema.json: Unexpected end of JSON input make: *** [Makefile:23: test] Error 2

Any idea