Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 32 additions & 6 deletions src/schemas/json/tombi.json
Original file line number Diff line number Diff line change
Expand Up @@ -414,11 +414,40 @@
"x-tombi-table-keys-order": "schema"
},
"SchemaCatalog": {
"anyOf": [
{
"$ref": "#/definitions/NewSchemaCatalog"
},
{
"$ref": "#/definitions/SchemaCatalogOld"
}
]
},
"NewSchemaCatalog": {
"type": "object",
"properties": {
"paths": {
"title": "The schema catalog path/url array.",
"description": "The catalog is evaluated after the schemas specified by [[schemas]].",
"type": ["array", "null"],
"items": {
"$ref": "#/definitions/SchemaCatalogPath"
},
"default": ["https://www.schemastore.org/api/json/catalog.json"]
}
},
"additionalProperties": false
},
"SchemaCatalogPath": {
"description": "Generic value that can be either single or multiple",
"type": "string"
},
"SchemaCatalogOld": {
"type": "object",
"properties": {
"path": {
"title": "The schema catalog path or url.",
"description": "The catalog is evaluated after the schemas specified by [[schemas]].\n\n You can specify multiple catalogs by making it an array.\n If you specify an array, the catalogs are searched in order of priority starting from the first catalog.\n If you want to disable the default catalog, specify an empty array.",
"description": "**🚧 Deprecated 🚧**\\\n Please use `schema.catalog.paths` instead.",
"anyOf": [
{
"$ref": "#/definitions/OneOrMany_for_SchemaCatalogPath"
Expand All @@ -427,6 +456,7 @@
"type": "null"
}
],
"deprecated": true,
"default": "https://www.schemastore.org/api/json/catalog.json"
}
},
Expand All @@ -445,10 +475,6 @@
}
]
},
"SchemaCatalogPath": {
"description": "Generic value that can be either single or multiple",
"type": "string"
},
"Schema": {
"anyOf": [
{
Expand Down Expand Up @@ -543,7 +569,7 @@
},
"root-keys": {
"title": "The keys to apply the sub schema.",
"description": "Please use `root` instead.",
"description": "**🚧 Deprecated 🚧**\\\n Please use `schemas[*].root` instead.",
"type": ["string", "null"],
"deprecated": true,
"minLength": 1
Expand Down
Loading