Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add json schema #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

add json schema #10

wants to merge 1 commit into from

Conversation

retogerber
Copy link
Contributor

add the json schema as well next to the yaml schema. This allows to use linters interactively which can make it easier to create the benchmark yaml. For instance for VS code:
install extension: https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml
in VS code add add to settings.json:

    "yaml.schemas": {
        "https://raw.githubusercontent.com/omnibenchmark/omni-schema/refs/heads/add_json_schema/src/omni_schema/schema/omni_schema.json": [
            "**.yaml"
        ]
    }

We could also think about integrating this to https://www.schemastore.org/json/ this would make it pretty universally usable.
What do you think @imallona @DanInci

@imallona
Copy link
Member

imallona commented Nov 7, 2024

Sorry missed this. I don't see an immediate use but I see no harm neither, looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants