| 1 |
{ |
| 2 |
"$schema" : "http://json-schema.org/draft-02/hyper-schema#", |
| 3 |
"id" : "http://json-schema.org/draft-02/links#", |
| 4 |
"type" : "object", |
| 5 |
|
| 6 |
"properties" : { |
| 7 |
"href" : { |
| 8 |
"type" : "string" |
| 9 |
}, |
| 10 |
|
| 11 |
"rel" : { |
| 12 |
"type" : "string" |
| 13 |
}, |
| 14 |
|
| 15 |
"targetSchema" : {"$ref" : "http://json-schema.org/draft-02/hyper-schema#"}, |
| 16 |
|
| 17 |
"method" : { |
| 18 |
"type" : "string", |
| 19 |
"default" : "GET", |
| 20 |
"optional" : true |
| 21 |
}, |
| 22 |
|
| 23 |
"enctype" : { |
| 24 |
"type" : "string", |
| 25 |
"requires" : "method", |
| 26 |
"optional" : true |
| 27 |
}, |
| 28 |
|
| 29 |
"properties" : { |
| 30 |
"type" : "object", |
| 31 |
"additionalProperties" : {"$ref" : "http://json-schema.org/draft-02/hyper-schema#"}, |
| 32 |
"optional" : true |
| 33 |
} |
| 34 |
} |
| 35 |
} |