|
414 | 414 | "x-tombi-table-keys-order": "schema"
|
415 | 415 | },
|
416 | 416 | "SchemaCatalog": {
|
| 417 | + "anyOf": [ |
| 418 | + { |
| 419 | + "$ref": "#/definitions/NewSchemaCatalog" |
| 420 | + }, |
| 421 | + { |
| 422 | + "$ref": "#/definitions/SchemaCatalogOld" |
| 423 | + } |
| 424 | + ] |
| 425 | + }, |
| 426 | + "NewSchemaCatalog": { |
| 427 | + "type": "object", |
| 428 | + "properties": { |
| 429 | + "paths": { |
| 430 | + "title": "The schema catalog path/url array.", |
| 431 | + "description": "The catalog is evaluated after the schemas specified by [[schemas]].", |
| 432 | + "type": ["array", "null"], |
| 433 | + "items": { |
| 434 | + "$ref": "#/definitions/SchemaCatalogPath" |
| 435 | + }, |
| 436 | + "default": ["https://www.schemastore.org/api/json/catalog.json"] |
| 437 | + } |
| 438 | + }, |
| 439 | + "additionalProperties": false |
| 440 | + }, |
| 441 | + "SchemaCatalogPath": { |
| 442 | + "description": "Generic value that can be either single or multiple", |
| 443 | + "type": "string" |
| 444 | + }, |
| 445 | + "SchemaCatalogOld": { |
417 | 446 | "type": "object",
|
418 | 447 | "properties": {
|
419 | 448 | "path": {
|
420 | 449 | "title": "The schema catalog path or url.",
|
421 |
| - "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.", |
| 450 | + "description": "**🚧 Deprecated 🚧**\\\n Please use `schema.catalog.paths` instead.", |
422 | 451 | "anyOf": [
|
423 | 452 | {
|
424 | 453 | "$ref": "#/definitions/OneOrMany_for_SchemaCatalogPath"
|
|
427 | 456 | "type": "null"
|
428 | 457 | }
|
429 | 458 | ],
|
| 459 | + "deprecated": true, |
430 | 460 | "default": "https://www.schemastore.org/api/json/catalog.json"
|
431 | 461 | }
|
432 | 462 | },
|
|
445 | 475 | }
|
446 | 476 | ]
|
447 | 477 | },
|
448 |
| - "SchemaCatalogPath": { |
449 |
| - "description": "Generic value that can be either single or multiple", |
450 |
| - "type": "string" |
451 |
| - }, |
452 | 478 | "Schema": {
|
453 | 479 | "anyOf": [
|
454 | 480 | {
|
|
543 | 569 | },
|
544 | 570 | "root-keys": {
|
545 | 571 | "title": "The keys to apply the sub schema.",
|
546 |
| - "description": "Please use `root` instead.", |
| 572 | + "description": "**🚧 Deprecated 🚧**\\\n Please use `schemas[*].root` instead.", |
547 | 573 | "type": ["string", "null"],
|
548 | 574 | "deprecated": true,
|
549 | 575 | "minLength": 1
|
|
0 commit comments