From 05b978d9363bed3384d84c7bdfa44eca19389aa1 Mon Sep 17 00:00:00 2001 From: Henry Andrews Date: Tue, 12 Sep 2017 17:58:34 -0700 Subject: [PATCH] Fix links.json being out of date. Most of the recently added keywords were missing, and hrefSchema had the wrong $ref target. --- links.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/links.json b/links.json index 7c2292c3..3b6bc530 100644 --- a/links.json +++ b/links.json @@ -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#" } ] @@ -38,6 +47,9 @@ "submissionSchema": { "description": "Schema describing the data to submit along with the request", "allOf": [ { "$ref": "hyper-schema#" } ] + }, + "$comment": { + "type": "string" } } }