api-elements.js icon indicating copy to clipboard operation
api-elements.js copied to clipboard

Parse Results should contain a profile to API Elements

Open kylef opened this issue 6 years ago • 0 comments
trafficstars

Parse Results should contain a profile link to API Elements, the specific version that the parser emitted. This will allow consumers to discover if a parse result contains new semantics it may not understand.

{
  "element": "parseResult",
  "meta": {
    "links": [
      {
        "element": "link",
        "attributes": {
          "relation":  {
            "element": "string",
            "content": "profile"
          },
          "href":  {
            "element": "string",
            "content": "https://apielements.org/1.0.0/"
          }
        }
      }
    ]
  }
}

kylef avatar Dec 11 '18 19:12 kylef