Submission links - sgpinkus/json-schema GitHub Wiki

THIS WIKI IS OBSOLETE. PLEASE SEE THE NEW JSON-SCHEMA-ORG/JSON-SCHEMA-SPEC REPOSITORY.



Hyper-links can be completely static - all information is pre-defined, and an agent just needs to fetch the resource using whatever method is appropriate for that URI scheme (for instance, in HTTP the default method is GET).

But some hyper-links can include data, submitted as part of the request.

  • method - the method used to follow the hyperlink. For HTTP (or HTTPS), this could be "GET" or "POST"
  • encType - the media type (RFC 2045, Sec 6.1) being used to encode any data you are providing when you send a request for the link (for example application/json)
  • schema - a JSON Schema. Any data submitted along with the request SHOULD be valid with regards to this schema.

Walk-throughs:

  1. Simple search
  2. Creating an item with POST
⚠️ **GitHub.com Fallback** ⚠️