Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

allow for $schema as an optional type #182

Open
delaneyj opened this issue Mar 26, 2024 · 0 comments
Open

allow for $schema as an optional type #182

delaneyj opened this issue Mar 26, 2024 · 0 comments

Comments

@delaneyj
Copy link

When wanting to use a generated schema as validation

{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "$ref": "#/definitions/GeneratorOptions",
    "definitions": {
        "XXX": {
            "properties": {
             "$schema": {"type":"string"},
...
}

This would allow for use of the jsonschema in a document even when additoonalProperties is set to false.

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

No branches or pull requests

1 participant