opencaesar / oml-vision

A VS Code extension providing UI viewpoints for OML models
Other
4 stars 2 forks source link

Add JSON schema to viewpoint, config, and command JSON #74

Closed pogi7 closed 3 months ago

pogi7 commented 4 months ago

Checklist before submitting a feature request

Is your feature request related to a problem? If yes, describe the problem

I am annoyed that there is no JSON schema to validate the viewpoint, config, and command JSONs.

Describe the desired feature

Create a JSON schema to validate the viewpoint, config, and command JSONs.

Additional context

JSON Schema: https://json-schema.org

JSON Schema Contribution Point for VSCode Extension: https://code.visualstudio.com/api/references/contribution-points#contributes.jsonValidation

JSON to JSON Schema: https://www.jsonschema.net

AJV: https://ajv.js.org