aboutsummaryrefslogtreecommitdiff
path: root/deps/node/deps/npm/node_modules/json-schema/draft-03/hyper-schema
diff options
context:
space:
mode:
Diffstat (limited to 'deps/node/deps/npm/node_modules/json-schema/draft-03/hyper-schema')
-rw-r--r--deps/node/deps/npm/node_modules/json-schema/draft-03/hyper-schema60
1 files changed, 60 insertions, 0 deletions
diff --git a/deps/node/deps/npm/node_modules/json-schema/draft-03/hyper-schema b/deps/node/deps/npm/node_modules/json-schema/draft-03/hyper-schema
new file mode 100644
index 00000000..623055c3
--- /dev/null
+++ b/deps/node/deps/npm/node_modules/json-schema/draft-03/hyper-schema
@@ -0,0 +1,60 @@
+{
+ "$schema" : "http://json-schema.org/draft-03/hyper-schema#",
+ "extends" : {"$ref" : "http://json-schema.org/draft-03/schema#"},
+ "id" : "http://json-schema.org/draft-03/hyper-schema#",
+
+ "properties" : {
+ "links" : {
+ "type" : "array",
+ "items" : {"$ref" : "http://json-schema.org/draft-03/links#"}
+ },
+
+ "fragmentResolution" : {
+ "type" : "string",
+ "default" : "slash-delimited"
+ },
+
+ "root" : {
+ "type" : "boolean",
+ "default" : false
+ },
+
+ "readonly" : {
+ "type" : "boolean",
+ "default" : false
+ },
+
+ "contentEncoding" : {
+ "type" : "string"
+ },
+
+ "pathStart" : {
+ "type" : "string",
+ "format" : "uri"
+ },
+
+ "mediaType" : {
+ "type" : "string",
+ "format" : "media-type"
+ }
+ },
+
+ "links" : [
+ {
+ "href" : "{id}",
+ "rel" : "self"
+ },
+
+ {
+ "href" : "{$ref}",
+ "rel" : "full"
+ },
+
+ {
+ "href" : "{$schema}",
+ "rel" : "describedby"
+ }
+ ],
+
+ "fragmentResolution" : "slash-delimited"
+}