schema.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "$schema": "https://json-schema.org/draft/2020-12/schema",
  3. "$id": "https://json-schema.org/draft/2020-12/schema",
  4. "$vocabulary": {
  5. "https://json-schema.org/draft/2020-12/vocab/core": true,
  6. "https://json-schema.org/draft/2020-12/vocab/applicator": true,
  7. "https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
  8. "https://json-schema.org/draft/2020-12/vocab/validation": true,
  9. "https://json-schema.org/draft/2020-12/vocab/meta-data": true,
  10. "https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
  11. "https://json-schema.org/draft/2020-12/vocab/content": true
  12. },
  13. "$dynamicAnchor": "meta",
  14. "title": "Core and Validation specifications meta-schema",
  15. "allOf": [
  16. {"$ref": "meta/core"},
  17. {"$ref": "meta/applicator"},
  18. {"$ref": "meta/unevaluated"},
  19. {"$ref": "meta/validation"},
  20. {"$ref": "meta/meta-data"},
  21. {"$ref": "meta/format-annotation"},
  22. {"$ref": "meta/content"}
  23. ],
  24. "type": ["object", "boolean"],
  25. "$comment": "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",
  26. "properties": {
  27. "definitions": {
  28. "$comment": "\"definitions\" has been replaced by \"$defs\".",
  29. "type": "object",
  30. "additionalProperties": {"$dynamicRef": "#meta"},
  31. "deprecated": true,
  32. "default": {}
  33. },
  34. "dependencies": {
  35. "$comment": "\"dependencies\" has been split and replaced by \"dependentSchemas\" and \"dependentRequired\" in order to serve their differing semantics.",
  36. "type": "object",
  37. "additionalProperties": {
  38. "anyOf": [{"$dynamicRef": "#meta"}, {"$ref": "meta/validation#/$defs/stringArray"}]
  39. },
  40. "deprecated": true,
  41. "default": {}
  42. },
  43. "$recursiveAnchor": {
  44. "$comment": "\"$recursiveAnchor\" has been replaced by \"$dynamicAnchor\".",
  45. "$ref": "meta/core#/$defs/anchorString",
  46. "deprecated": true
  47. },
  48. "$recursiveRef": {
  49. "$comment": "\"$recursiveRef\" has been replaced by \"$dynamicRef\".",
  50. "$ref": "meta/core#/$defs/uriReferenceString",
  51. "deprecated": true
  52. }
  53. }
  54. }