Skip to content

Commit

Permalink
Fix id vs. $id in strict meta schema (#4019) (#4029)
Browse files Browse the repository at this point in the history
* Fix id vs. $id in strict meta schema (#4019)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
Vampire and pre-commit-ci[bot] authored Aug 30, 2024
1 parent 7780fa1 commit e3d4865
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/schemas/json/metaschema-draft-07-unofficial-strict.json
Original file line number Diff line number Diff line change
Expand Up @@ -845,13 +845,7 @@
"https://json.schemastore.org/metaschema-draft-07-unofficial-strict.json"
]
},
"$comment": {
"$ref": "#/definitions/comment-property"
},
"$ref": {
"$ref": "#/definitions/ref-property"
},
"id": {
"$id": {
"description": "An id of the current property or definition\nhttps://json-schema.org/learn/getting-started-step-by-step#create-a-schema-definition",
"type": "string",
"minLength": 1,
Expand All @@ -860,6 +854,12 @@
},
"examples": ["https://json.schemastore.org/schema-catalog.json"]
},
"$comment": {
"$ref": "#/definitions/comment-property"
},
"$ref": {
"$ref": "#/definitions/ref-property"
},
"definitions": {
"description": "Definitions",
"type": "object",
Expand Down

0 comments on commit e3d4865

Please sign in to comment.