|
10 | 10 | "items": { "$ref": "#" }
|
11 | 11 | }
|
12 | 12 | ]
|
13 |
| - }, |
14 |
| - "linkDescription": { |
15 |
| - "title": "Link Description Object", |
16 |
| - "type": "object", |
17 |
| - "required": [ "href" ], |
18 |
| - "properties": { |
19 |
| - "href": { |
20 |
| - "description": "a URI template, as defined by RFC 6570", |
21 |
| - "type": "string", |
22 |
| - "format": "uri-template" |
23 |
| - }, |
24 |
| - "hrefSchema": { |
25 |
| - "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\"", |
26 |
| - "allOf": [ {"$ref": "#"} ] |
27 |
| - }, |
28 |
| - "rel": { |
29 |
| - "description": "relation to the target resource of the link", |
30 |
| - "type": "string" |
31 |
| - }, |
32 |
| - "anchor": { |
33 |
| - "description": "the URI of the context resource", |
34 |
| - "type": "string", |
35 |
| - "format": "uri-reference" |
36 |
| - }, |
37 |
| - "title": { |
38 |
| - "description": "a title for the link", |
39 |
| - "type": "string" |
40 |
| - }, |
41 |
| - "description": { |
42 |
| - "description": "additional information about the purpose or usage of the link", |
43 |
| - "type": "string" |
44 |
| - }, |
45 |
| - "targetSchema": { |
46 |
| - "description": "JSON Schema describing the link target", |
47 |
| - "allOf": [ { "$ref": "#" } ] |
48 |
| - }, |
49 |
| - "mediaType": { |
50 |
| - "description": "media type (as defined by RFC 2046) describing the link target", |
51 |
| - "type": "string" |
52 |
| - }, |
53 |
| - "submissionEncType": { |
54 |
| - "description": "The media type in which to submit data along with the request", |
55 |
| - "type": "string", |
56 |
| - "default": "application/json" |
57 |
| - }, |
58 |
| - "submissionSchema": { |
59 |
| - "description": "Schema describing the data to submit along with the request", |
60 |
| - "allOf": [ { "$ref": "#" } ] |
61 |
| - }, |
62 |
| - "$comment": { |
63 |
| - "type": "string" |
64 |
| - } |
65 |
| - } |
66 | 13 | }
|
67 | 14 | },
|
68 | 15 | "allOf": [ { "$ref": "http://json-schema.org/draft-06/schema#" } ],
|
|
108 | 55 | },
|
109 | 56 | "links": {
|
110 | 57 | "type": "array",
|
111 |
| - "items": { "$ref": "#/definitions/linkDescription" } |
| 58 | + "items": { |
| 59 | + "$ref": "http://json-schema.org/draft-06/links#" |
| 60 | + } |
112 | 61 | },
|
113 | 62 | "media": {
|
114 | 63 | "type": "object",
|
|
0 commit comments