Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Parse Results should contain a profile to API Elements #39

Open
kylef opened this issue Dec 11, 2018 · 0 comments
Open

Parse Results should contain a profile to API Elements #39

kylef opened this issue Dec 11, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@kylef
Copy link
Member

kylef commented Dec 11, 2018

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/"
          }
        }
      }
    ]
  }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant