File tree Expand file tree Collapse file tree 5 files changed +546
-463
lines changed Expand file tree Collapse file tree 5 files changed +546
-463
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "$schema" : " http://json-schema.org/draft-02/hyper-schema#" ,
3
- "id" : " http://json-schema.org/draft-02/hyper-schema#" ,
2
+ "$schema" : " http://json-schema.org/draft-03/hyper-schema#" ,
3
+ "extends" : {"$ref" : " http://json-schema.org/draft-03/schema#" }
4
+ "id" : " http://json-schema.org/draft-03/hyper-schema#" ,
4
5
5
6
"properties" : {
6
7
"links" : {
7
8
"type" : " array" ,
8
- "items" : {"$ref" : " http://json-schema.org/draft-02/links#" },
9
- "optional" : true
9
+ "items" : {"$ref" : " http://json-schema.org/draft-03/links#" }
10
10
},
11
11
12
12
"fragmentResolution" : {
13
13
"type" : " string" ,
14
- "optional" : true ,
15
14
"default" : " slash-delimited"
16
15
},
17
16
18
17
"root" : {
19
18
"type" : " boolean" ,
20
- "optional" : true ,
21
19
"default" : false
22
20
},
23
21
24
22
"readonly" : {
25
23
"type" : " boolean" ,
26
- "optional" : true ,
27
24
"default" : false
28
25
},
29
26
27
+ "contentEncoding" : {
28
+ "type" : " string"
29
+ },
30
+
30
31
"pathStart" : {
31
32
"type" : " string" ,
32
- "optional" : true ,
33
33
"format" : " uri"
34
34
},
35
35
36
36
"mediaType" : {
37
37
"type" : " string" ,
38
- "optional" : true ,
39
38
"format" : " media-type"
40
- },
41
-
42
- "alternate" : {
43
- "type" : " array" ,
44
- "items" : {"$ref" : " #" },
45
- "optional" : true
46
39
}
47
40
},
48
41
49
42
"links" : [
43
+ {
44
+ "href" : " {id}" ,
45
+ "rel" : " self"
46
+ },
47
+
50
48
{
51
49
"href" : " {$ref}" ,
52
50
"rel" : " full"
55
53
{
56
54
"href" : " {$schema}" ,
57
55
"rel" : " describedby"
58
- },
59
-
60
- {
61
- "href" : " {id}" ,
62
- "rel" : " self"
63
56
}
64
57
],
65
58
66
- "fragmentResolution" : " slash-delimited" ,
67
- "extends" : {"$ref" : " http://json-schema.org/draft-02/schema#" }
59
+ "fragmentResolution" : " slash-delimited"
68
60
}
Original file line number Diff line number Diff line change 1
1
{
2
- "$schema" : " http://json-schema.org/draft-02 /hyper-schema#" ,
3
- "id" : " http://json-schema.org/draft-02 /json-ref#" ,
2
+ "$schema" : " http://json-schema.org/draft-03 /hyper-schema#" ,
3
+ "id" : " http://json-schema.org/draft-03 /json-ref#" ,
4
4
5
- "items " : {"$ref" : " #" },
5
+ "additionalItems " : {"$ref" : " #" },
6
6
"additionalProperties" : {"$ref" : " #" },
7
7
8
8
"links" : [
9
+ {
10
+ "href" : " {id}" ,
11
+ "rel" : " self"
12
+ },
13
+
9
14
{
10
15
"href" : " {$ref}" ,
11
16
"rel" : " full"
14
19
{
15
20
"href" : " {$schema}" ,
16
21
"rel" : " describedby"
17
- },
18
-
19
- {
20
- "href" : " {id}" ,
21
- "rel" : " self"
22
22
}
23
23
],
24
24
You can’t perform that action at this time.
0 commit comments