Closed albertmink closed 1 year ago
and the ABAP generation of the schemas might need adjusting plus an approach for creating the schemas (I have an example with handling two versions in one schema somewhere)
JSON data/example validation fixed in https://github.com/SAP/abap-file-formats/commit/6a8246a2db0a46de5b5ff6d97b01ca109b462a49
FYI:
Schemastore does provide a fileMatch
and optional version
"name": ".agripparc.json",
"description": "JSON schema for the Agrippa config file",
"fileMatch": [".agripparc.json", "agripparc.json"],
"url": "https://json.schemastore.org/agripparc-1.4.json",
"versions": {
"1.2": "https://json.schemastore.org/agripparc-1.2.json",
"1.3": "https://json.schemastore.org/agripparc-1.3.json",
"1.4": "https://json.schemastore.org/agripparc-1.4.json"
Don't know if this can be adopted for the vs code extension.
AFAIK, this is not supported in the package.json
file, see autocompletion
As a note: VS code extension of schemastore does validate against latest version number, see fileMatch
"url": "https://json.schemastore.org/agripparc-1.4.json",
"fileMatch": [
".agripparc.json",
"agripparc.json"
]
continue here https://github.com/SAP/abap-file-formats/issues/508 As the validation based on GitHub actions was the initial reason for this issue and has been fixed.
Needed here https://github.com/SAP/abap-file-formats/pull/501