Skip to content

Fix links.json being out of date. #403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion links.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,25 @@
},
"hrefSchema": {
"description": "a schema for validating user input to the URI template, where the input is in the form of a JSON object with property names matching variable names in \"href\"",
"allOf": [ {"$ref": "#"} ]
"allOf": [ {"$ref": "hyper-schema#"} ]
},
"rel": {
"description": "relation to the target resource of the link",
"type": "string"
},
"anchor": {
"description": "the URI of the context resource",
"type": "string",
"format": "uri-reference"
},
"title": {
"description": "a title for the link",
"type": "string"
},
"description": {
"description": "additional information about the purpose or usage of the link",
"type": "string"
},
"targetSchema": {
"description": "JSON Schema describing the link target",
"allOf": [ { "$ref": "hyper-schema#" } ]
Expand All @@ -38,6 +47,9 @@
"submissionSchema": {
"description": "Schema describing the data to submit along with the request",
"allOf": [ { "$ref": "hyper-schema#" } ]
},
"$comment": {
"type": "string"
}
}
}