Last change
on this file since eed0bf8 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | {
|
---|
2 | "$schema" : "http://json-schema.org/draft-02/hyper-schema#",
|
---|
3 | "id" : "http://json-schema.org/draft-02/hyper-schema#",
|
---|
4 |
|
---|
5 | "properties" : {
|
---|
6 | "links" : {
|
---|
7 | "type" : "array",
|
---|
8 | "items" : {"$ref" : "http://json-schema.org/draft-02/links#"},
|
---|
9 | "optional" : true
|
---|
10 | },
|
---|
11 |
|
---|
12 | "fragmentResolution" : {
|
---|
13 | "type" : "string",
|
---|
14 | "optional" : true,
|
---|
15 | "default" : "slash-delimited"
|
---|
16 | },
|
---|
17 |
|
---|
18 | "root" : {
|
---|
19 | "type" : "boolean",
|
---|
20 | "optional" : true,
|
---|
21 | "default" : false
|
---|
22 | },
|
---|
23 |
|
---|
24 | "readonly" : {
|
---|
25 | "type" : "boolean",
|
---|
26 | "optional" : true,
|
---|
27 | "default" : false
|
---|
28 | },
|
---|
29 |
|
---|
30 | "pathStart" : {
|
---|
31 | "type" : "string",
|
---|
32 | "optional" : true,
|
---|
33 | "format" : "uri"
|
---|
34 | },
|
---|
35 |
|
---|
36 | "mediaType" : {
|
---|
37 | "type" : "string",
|
---|
38 | "optional" : true,
|
---|
39 | "format" : "media-type"
|
---|
40 | },
|
---|
41 |
|
---|
42 | "alternate" : {
|
---|
43 | "type" : "array",
|
---|
44 | "items" : {"$ref" : "#"},
|
---|
45 | "optional" : true
|
---|
46 | }
|
---|
47 | },
|
---|
48 |
|
---|
49 | "links" : [
|
---|
50 | {
|
---|
51 | "href" : "{$ref}",
|
---|
52 | "rel" : "full"
|
---|
53 | },
|
---|
54 |
|
---|
55 | {
|
---|
56 | "href" : "{$schema}",
|
---|
57 | "rel" : "describedby"
|
---|
58 | },
|
---|
59 |
|
---|
60 | {
|
---|
61 | "href" : "{id}",
|
---|
62 | "rel" : "self"
|
---|
63 | }
|
---|
64 | ],
|
---|
65 |
|
---|
66 | "fragmentResolution" : "slash-delimited",
|
---|
67 | "extends" : {"$ref" : "http://json-schema.org/draft-02/schema#"}
|
---|
68 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.