Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
690 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | {
|
---|
| 2 | "$schema" : "http://json-schema.org/draft-04/hyper-schema#",
|
---|
| 3 | "id" : "http://json-schema.org/draft-04/links#",
|
---|
| 4 | "type" : "object",
|
---|
| 5 |
|
---|
| 6 | "properties" : {
|
---|
| 7 | "rel" : {
|
---|
| 8 | "type" : "string"
|
---|
| 9 | },
|
---|
| 10 |
|
---|
| 11 | "href" : {
|
---|
| 12 | "type" : "string"
|
---|
| 13 | },
|
---|
| 14 |
|
---|
| 15 | "template" : {
|
---|
| 16 | "type" : "string"
|
---|
| 17 | },
|
---|
| 18 |
|
---|
| 19 | "targetSchema" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"},
|
---|
| 20 |
|
---|
| 21 | "method" : {
|
---|
| 22 | "type" : "string",
|
---|
| 23 | "default" : "GET"
|
---|
| 24 | },
|
---|
| 25 |
|
---|
| 26 | "enctype" : {
|
---|
| 27 | "type" : "string"
|
---|
| 28 | },
|
---|
| 29 |
|
---|
| 30 | "properties" : {
|
---|
| 31 | "type" : "object",
|
---|
| 32 | "additionalProperties" : {"$ref" : "http://json-schema.org/draft-04/hyper-schema#"}
|
---|
| 33 | }
|
---|
| 34 | },
|
---|
| 35 |
|
---|
| 36 | "required" : ["rel", "href"],
|
---|
| 37 |
|
---|
| 38 | "dependencies" : {
|
---|
| 39 | "enctype" : "method"
|
---|
| 40 | }
|
---|
| 41 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.