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 for json validation (for manual editing) #197

Merged
merged 2 commits into from
Nov 24, 2022

Conversation

Gr3q
Copy link
Contributor

@Gr3q Gr3q commented Nov 24, 2022

I know you can omit $schema props in VS Code if you have this in your settings:

"json.schemas": [
        {
            "fileMatch": [
                "programs/*.json"
            ],
            "url": "./json-schema/program.json"
        }
    ]

Also this looks something that seems more or less fresh (currently) and could be used: https://github.com/marketplace/actions/validate-json-schemas

I know other languages has libraries that can validate against a json-schema, but I couldn't find one that is actively maintained for Haskell.

@b3nj5m1n
Copy link
Owner

Also this looks something that seems more or less fresh (currently) and could be used: github.com/marketplace/actions/validate-json-schemas

Thanks, I don't know how I managed to miss that. I'll look into setting that up as soon as I have the time.

@b3nj5m1n b3nj5m1n merged commit 89a2d42 into b3nj5m1n:main Nov 24, 2022
@Gr3q Gr3q deleted the schema branch November 24, 2022 11:50
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.

None yet

2 participants