source: trip-planner-front/node_modules/json-schema/draft-03/links

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 686 bytes
Line 
1{
2 "$schema" : "http://json-schema.org/draft-03/hyper-schema#",
3 "id" : "http://json-schema.org/draft-03/links#",
4 "type" : "object",
5
6 "properties" : {
7 "href" : {
8 "type" : "string",
9 "required" : true,
10 "format" : "link-description-object-template"
11 },
12
13 "rel" : {
14 "type" : "string",
15 "required" : true
16 },
17
18 "targetSchema" : {"$ref" : "http://json-schema.org/draft-03/hyper-schema#"},
19
20 "method" : {
21 "type" : "string",
22 "default" : "GET"
23 },
24
25 "enctype" : {
26 "type" : "string",
27 "requires" : "method"
28 },
29
30 "properties" : {
31 "type" : "object",
32 "additionalProperties" : {"$ref" : "http://json-schema.org/draft-03/hyper-schema#"}
33 }
34 }
35}
Note: See TracBrowser for help on using the repository browser.