summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/json-schema/draft-03
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/json-schema/draft-03')
-rw-r--r--deps/npm/node_modules/json-schema/draft-03/examples/calendar12
-rw-r--r--deps/npm/node_modules/json-schema/draft-03/examples/interfaces24
-rw-r--r--deps/npm/node_modules/json-schema/draft-03/json-ref10
-rw-r--r--deps/npm/node_modules/json-schema/draft-03/links12
-rw-r--r--deps/npm/node_modules/json-schema/draft-03/schema62
5 files changed, 62 insertions, 58 deletions
diff --git a/deps/npm/node_modules/json-schema/draft-03/examples/calendar b/deps/npm/node_modules/json-schema/draft-03/examples/calendar
index d8fb5335f0..463cfb314b 100644
--- a/deps/npm/node_modules/json-schema/draft-03/examples/calendar
+++ b/deps/npm/node_modules/json-schema/draft-03/examples/calendar
@@ -12,12 +12,12 @@
"type":"string",
"required":true
},
- "location" : {
- "type" : "string"
+ "location" : {
+ "type" : "string"
},
"url" : {
- "type" : "string",
- "format" : "url"
+ "type" : "string",
+ "format" : "url"
},
"dtend" : {
"format" : "date-time",
@@ -47,3 +47,7 @@
"geo" : { "$ref" : "http://json-schema.org/draft-03/geo" }
}
}
+
+
+
+
diff --git a/deps/npm/node_modules/json-schema/draft-03/examples/interfaces b/deps/npm/node_modules/json-schema/draft-03/examples/interfaces
index 84ebf83a99..288a19856b 100644
--- a/deps/npm/node_modules/json-schema/draft-03/examples/interfaces
+++ b/deps/npm/node_modules/json-schema/draft-03/examples/interfaces
@@ -6,18 +6,18 @@
"type":"object",
"description":"This defines the set of methods available to the class instances",
"additionalProperties":{
- "type":"object",
- "description":"The definition of the method",
- "properties":{
- "parameters":{
- "type":"array",
- "description":"The set of parameters that should be passed to the method when it is called",
- "items":{"$ref":"#"},
- "required": true
- },
- "returns":{"$ref":"#"}
- }
+ "type":"object",
+ "description":"The definition of the method",
+ "properties":{
+ "parameters":{
+ "type":"array",
+ "description":"The set of parameters that should be passed to the method when it is called",
+ "items":{"$ref":"#"},
+ "required": true
+ },
+ "returns":{"$ref":"#"}
+ }
}
- }
+ }
}
}
diff --git a/deps/npm/node_modules/json-schema/draft-03/json-ref b/deps/npm/node_modules/json-schema/draft-03/json-ref
index 388476323a..7e491a8e88 100644
--- a/deps/npm/node_modules/json-schema/draft-03/json-ref
+++ b/deps/npm/node_modules/json-schema/draft-03/json-ref
@@ -1,26 +1,26 @@
{
"$schema" : "http://json-schema.org/draft-03/hyper-schema#",
"id" : "http://json-schema.org/draft-03/json-ref#",
-
+
"additionalItems" : {"$ref" : "#"},
"additionalProperties" : {"$ref" : "#"},
-
+
"links" : [
{
"href" : "{id}",
"rel" : "self"
},
-
+
{
"href" : "{$ref}",
"rel" : "full"
},
-
+
{
"href" : "{$schema}",
"rel" : "describedby"
}
],
-
+
"fragmentResolution" : "dot-delimited"
} \ No newline at end of file
diff --git a/deps/npm/node_modules/json-schema/draft-03/links b/deps/npm/node_modules/json-schema/draft-03/links
index 3dbcdba73c..6b0a85a629 100644
--- a/deps/npm/node_modules/json-schema/draft-03/links
+++ b/deps/npm/node_modules/json-schema/draft-03/links
@@ -2,31 +2,31 @@
"$schema" : "http://json-schema.org/draft-03/hyper-schema#",
"id" : "http://json-schema.org/draft-03/links#",
"type" : "object",
-
+
"properties" : {
"href" : {
"type" : "string",
"required" : true,
"format" : "link-description-object-template"
},
-
+
"rel" : {
"type" : "string",
"required" : true
},
-
+
"targetSchema" : {"$ref" : "http://json-schema.org/draft-03/hyper-schema#"},
-
+
"method" : {
"type" : "string",
"default" : "GET"
},
-
+
"enctype" : {
"type" : "string",
"requires" : "method"
},
-
+
"properties" : {
"type" : "object",
"additionalProperties" : {"$ref" : "http://json-schema.org/draft-03/hyper-schema#"}
diff --git a/deps/npm/node_modules/json-schema/draft-03/schema b/deps/npm/node_modules/json-schema/draft-03/schema
index 361456d8a7..55ae47d808 100644
--- a/deps/npm/node_modules/json-schema/draft-03/schema
+++ b/deps/npm/node_modules/json-schema/draft-03/schema
@@ -2,7 +2,7 @@
"$schema" : "http://json-schema.org/draft-03/schema#",
"id" : "http://json-schema.org/draft-03/schema#",
"type" : "object",
-
+
"properties" : {
"type" : {
"type" : ["string", "array"],
@@ -12,40 +12,40 @@
"uniqueItems" : true,
"default" : "any"
},
-
+
"properties" : {
"type" : "object",
"additionalProperties" : {"$ref" : "#"},
"default" : {}
},
-
+
"patternProperties" : {
"type" : "object",
"additionalProperties" : {"$ref" : "#"},
"default" : {}
},
-
+
"additionalProperties" : {
"type" : [{"$ref" : "#"}, "boolean"],
"default" : {}
},
-
+
"items" : {
"type" : [{"$ref" : "#"}, "array"],
"items" : {"$ref" : "#"},
"default" : {}
},
-
+
"additionalItems" : {
"type" : [{"$ref" : "#"}, "boolean"],
"default" : {}
},
-
+
"required" : {
"type" : "boolean",
"default" : false
},
-
+
"dependencies" : {
"type" : "object",
"additionalProperties" : {
@@ -56,85 +56,85 @@
},
"default" : {}
},
-
+
"minimum" : {
"type" : "number"
},
-
+
"maximum" : {
"type" : "number"
},
-
+
"exclusiveMinimum" : {
"type" : "boolean",
"default" : false
},
-
+
"exclusiveMaximum" : {
"type" : "boolean",
"default" : false
},
-
+
"minItems" : {
"type" : "integer",
"minimum" : 0,
"default" : 0
},
-
+
"maxItems" : {
"type" : "integer",
"minimum" : 0
},
-
+
"uniqueItems" : {
"type" : "boolean",
"default" : false
},
-
+
"pattern" : {
"type" : "string",
"format" : "regex"
},
-
+
"minLength" : {
"type" : "integer",
"minimum" : 0,
"default" : 0
},
-
+
"maxLength" : {
"type" : "integer"
},
-
+
"enum" : {
"type" : "array",
"minItems" : 1,
"uniqueItems" : true
},
-
+
"default" : {
"type" : "any"
},
-
+
"title" : {
"type" : "string"
},
-
+
"description" : {
"type" : "string"
},
-
+
"format" : {
"type" : "string"
},
-
+
"divisibleBy" : {
"type" : "number",
"minimum" : 0,
"exclusiveMinimum" : true,
"default" : 1
},
-
+
"disallow" : {
"type" : ["string", "array"],
"items" : {
@@ -142,33 +142,33 @@
},
"uniqueItems" : true
},
-
+
"extends" : {
"type" : [{"$ref" : "#"}, "array"],
"items" : {"$ref" : "#"},
"default" : {}
},
-
+
"id" : {
"type" : "string",
"format" : "uri"
},
-
+
"$ref" : {
"type" : "string",
"format" : "uri"
},
-
+
"$schema" : {
"type" : "string",
"format" : "uri"
}
},
-
+
"dependencies" : {
"exclusiveMinimum" : "minimum",
"exclusiveMaximum" : "maximum"
},
-
+
"default" : {}
} \ No newline at end of file