You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.2 KiB

  1. {
  2. "$schema" : "http://json-schema.org/draft-01/hyper-schema#",
  3. "id" : "http://json-schema.org/draft-01/hyper-schema#",
  4. "properties" : {
  5. "links" : {
  6. "type" : "array",
  7. "items" : {"$ref" : "http://json-schema.org/draft-01/links#"},
  8. "optional" : true
  9. },
  10. "fragmentResolution" : {
  11. "type" : "string",
  12. "optional" : true,
  13. "default" : "dot-delimited"
  14. },
  15. "root" : {
  16. "type" : "boolean",
  17. "optional" : true,
  18. "default" : false
  19. },
  20. "readonly" : {
  21. "type" : "boolean",
  22. "optional" : true,
  23. "default" : false
  24. },
  25. "pathStart" : {
  26. "type" : "string",
  27. "optional" : true,
  28. "format" : "uri"
  29. },
  30. "mediaType" : {
  31. "type" : "string",
  32. "optional" : true,
  33. "format" : "media-type"
  34. },
  35. "alternate" : {
  36. "type" : "array",
  37. "items" : {"$ref" : "#"},
  38. "optional" : true
  39. }
  40. },
  41. "links" : [
  42. {
  43. "href" : "{$ref}",
  44. "rel" : "full"
  45. },
  46. {
  47. "href" : "{$schema}",
  48. "rel" : "describedby"
  49. },
  50. {
  51. "href" : "{id}",
  52. "rel" : "self"
  53. }
  54. ],
  55. "fragmentResolution" : "dot-delimited",
  56. "extends" : {"$ref" : "http://json-schema.org/draft-01/schema#"}
  57. }