Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Draft-06 schema should match latest GitHub source #357

Closed
ssilverman opened this issue Oct 5, 2020 · 2 comments · Fixed by #358
Closed

Draft-06 schema should match latest GitHub source #357

ssilverman opened this issue Oct 5, 2020 · 2 comments · Fixed by #358
Assignees

Comments

@ssilverman
Copy link
Member

I just noticed that the downloadable Draft-06 schema (https://json-schema.org/draft-06/schema from https://json-schema.org/specification-links.html#draft-6) doesn't match what's on GitHub: https://github.com/json-schema-org/json-schema-spec/blob/draft-06/schema.json

This is different:

        "patternProperties": {
            "type": "object",
            "additionalProperties": { "$ref": "#" },
            "propertyNames": { "format": "regex" },
            "default": {}
        },

"propertyNames": { "format": "regex" }, is missing.

@Relequestual Relequestual self-assigned this Oct 5, 2020
Relequestual added a commit that referenced this issue Oct 5, 2020
Update draft-6 meta-schema as per latest fix: json-schema-org/json-schema-spec#704
@Relequestual
Copy link
Member

I'm not sure this change was correct in the first place.
json-schema-org/json-schema-spec#704 (comment)

@handrews
Copy link
Contributor

handrews commented Oct 5, 2020

format is open-ended so there are no invalid values. Unknown value effectively serve as documentation.

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

Successfully merging a pull request may close this issue.

3 participants