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.

32 lines
608 B

  1. {
  2. "$schema" : "http://json-schema.org/draft-00/hyper-schema#",
  3. "id" : "http://json-schema.org/draft-00/links#",
  4. "type" : "object",
  5. "properties" : {
  6. "href" : {
  7. "type" : "string"
  8. },
  9. "rel" : {
  10. "type" : "string"
  11. },
  12. "method" : {
  13. "type" : "string",
  14. "default" : "GET",
  15. "optional" : true
  16. },
  17. "enctype" : {
  18. "type" : "string",
  19. "requires" : "method",
  20. "optional" : true
  21. },
  22. "properties" : {
  23. "type" : "object",
  24. "additionalProperties" : {"$ref" : "http://json-schema.org/draft-00/hyper-schema#"},
  25. "optional" : true
  26. }
  27. }
  28. }