diff options
Diffstat (limited to 'deps/npm/node_modules/json-schema/draft-03')
9 files changed, 0 insertions, 504 deletions
diff --git a/deps/npm/node_modules/json-schema/draft-03/examples/address b/deps/npm/node_modules/json-schema/draft-03/examples/address deleted file mode 100644 index 401f20f1c4..0000000000 --- a/deps/npm/node_modules/json-schema/draft-03/examples/address +++ /dev/null @@ -1,20 +0,0 @@ -{
- "description" : "An Address following the convention of http://microformats.org/wiki/hcard",
- "type" : "object",
- "properties" : {
- "post-office-box" : { "type" : "string" },
- "extended-address" : { "type" : "string" },
- "street-address" : { "type":"string" },
- "locality" : { "type" : "string", "required" : true },
- "region" : { "type" : "string", "required" : true },
- "postal-code" : { "type" : "string" },
- "country-name" : { "type" : "string", "required" : true }
- },
- "dependencies" : {
- "post-office-box" : "street-address",
- "extended-address" : "street-address",
- "street-address" : "region",
- "locality" : "region",
- "region" : "country-name"
- }
-}
\ No newline at end of file diff --git a/deps/npm/node_modules/json-schema/draft-03/examples/calendar b/deps/npm/node_modules/json-schema/draft-03/examples/calendar deleted file mode 100644 index 0ec47c23c3..0000000000 --- a/deps/npm/node_modules/json-schema/draft-03/examples/calendar +++ /dev/null @@ -1,53 +0,0 @@ -{
- "description" : "A representation of an event",
- "type" : "object",
- "properties" : {
- "dtstart" : {
- "format" : "date-time",
- "type" : "string",
- "description" : "Event starting time",
- "required":true
- },
- "summary" : {
- "type":"string",
- "required":true
- },
- "location" : {
- "type" : "string"
- },
- "url" : {
- "type" : "string",
- "format" : "url"
- },
- "dtend" : {
- "format" : "date-time",
- "type" : "string",
- "description" : "Event ending time"
- },
- "duration" : {
- "format" : "date",
- "type" : "string",
- "description" : "Event duration"
- },
- "rdate" : {
- "format" : "date-time",
- "type" : "string",
- "description" : "Recurrence date"
- },
- "rrule" : {
- "type" : "string",
- "description" : "Recurrence rule"
- },
- "category" : {
- "type" : "string"
- },
- "description" : {
- "type" : "string"
- },
- "geo" : { "$ref" : "http://json-schema.org/draft-03/geo" }
- }
-}
-
-
-
-
diff --git a/deps/npm/node_modules/json-schema/draft-03/examples/card b/deps/npm/node_modules/json-schema/draft-03/examples/card deleted file mode 100644 index a5667ffdd7..0000000000 --- a/deps/npm/node_modules/json-schema/draft-03/examples/card +++ /dev/null @@ -1,105 +0,0 @@ -{
- "description":"A representation of a person, company, organization, or place",
- "type":"object",
- "properties":{
- "fn":{
- "description":"Formatted Name",
- "type":"string"
- },
- "familyName":{
- "type":"string",
- "required":true
- },
- "givenName":{
- "type":"string",
- "required":true
- },
- "additionalName":{
- "type":"array",
- "items":{
- "type":"string"
- }
- },
- "honorificPrefix":{
- "type":"array",
- "items":{
- "type":"string"
- }
- },
- "honorificSuffix":{
- "type":"array",
- "items":{
- "type":"string"
- }
- },
- "nickname":{
- "type":"string"
- },
- "url":{
- "type":"string",
- "format":"url"
- },
- "email":{
- "type":"object",
- "properties":{
- "type":{
- "type":"string"
- },
- "value":{
- "type":"string",
- "format":"email"
- }
- }
- },
- "tel":{
- "type":"object",
- "properties":{
- "type":{
- "type":"string"
- },
- "value":{
- "type":"string",
- "format":"phone"
- }
- }
- },
- "adr":{"$ref" : "http://json-schema.org/address"},
- "geo":{"$ref" : "http://json-schema.org/geo"},
- "tz":{
- "type":"string"
- },
- "photo":{
- "format":"image",
- "type":"string"
- },
- "logo":{
- "format":"image",
- "type":"string"
- },
- "sound":{
- "format":"attachment",
- "type":"string"
- },
- "bday":{
- "type":"string",
- "format":"date"
- },
- "title":{
- "type":"string"
- },
- "role":{
- "type":"string"
- },
- "org":{
- "type":"object",
- "properties":{
- "organizationName":{
- "type":"string"
- },
- "organizationUnit":{
- "type":"string"
- }
- }
- }
- }
-}
\ No newline at end of file diff --git a/deps/npm/node_modules/json-schema/draft-03/examples/geo b/deps/npm/node_modules/json-schema/draft-03/examples/geo deleted file mode 100644 index 4357a909ae..0000000000 --- a/deps/npm/node_modules/json-schema/draft-03/examples/geo +++ /dev/null @@ -1,8 +0,0 @@ -{
- "description" : "A geographical coordinate",
- "type" : "object",
- "properties" : {
- "latitude" : { "type" : "number" },
- "longitude" : { "type" : "number" }
- }
-}
\ No newline at end of file diff --git a/deps/npm/node_modules/json-schema/draft-03/examples/interfaces b/deps/npm/node_modules/json-schema/draft-03/examples/interfaces deleted file mode 100644 index b8532f2974..0000000000 --- a/deps/npm/node_modules/json-schema/draft-03/examples/interfaces +++ /dev/null @@ -1,23 +0,0 @@ -{
- "extends":"http://json-schema.org/hyper-schema",
- "description":"A schema for schema interface definitions that describe programmatic class structures using JSON schema syntax",
- "properties":{
- "methods":{
- "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":"#"}
- }
- }
- }
- }
-}
diff --git a/deps/npm/node_modules/json-schema/draft-03/hyper-schema b/deps/npm/node_modules/json-schema/draft-03/hyper-schema deleted file mode 100644 index 38ca2e103f..0000000000 --- a/deps/npm/node_modules/json-schema/draft-03/hyper-schema +++ /dev/null @@ -1,60 +0,0 @@ -{
- "$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"
-}
diff --git a/deps/npm/node_modules/json-schema/draft-03/json-ref b/deps/npm/node_modules/json-schema/draft-03/json-ref deleted file mode 100644 index 66e08f2607..0000000000 --- a/deps/npm/node_modules/json-schema/draft-03/json-ref +++ /dev/null @@ -1,26 +0,0 @@ -{
- "$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 deleted file mode 100644 index 9fa63f9879..0000000000 --- a/deps/npm/node_modules/json-schema/draft-03/links +++ /dev/null @@ -1,35 +0,0 @@ -{
- "$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#"}
- }
- }
-}
\ No newline at end of file diff --git a/deps/npm/node_modules/json-schema/draft-03/schema b/deps/npm/node_modules/json-schema/draft-03/schema deleted file mode 100644 index 29d9469f9f..0000000000 --- a/deps/npm/node_modules/json-schema/draft-03/schema +++ /dev/null @@ -1,174 +0,0 @@ -{
- "$schema" : "http://json-schema.org/draft-03/schema#",
- "id" : "http://json-schema.org/draft-03/schema#",
- "type" : "object",
-
- "properties" : {
- "type" : {
- "type" : ["string", "array"],
- "items" : {
- "type" : ["string", {"$ref" : "#"}]
- },
- "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" : {
- "type" : ["string", "array", {"$ref" : "#"}],
- "items" : {
- "type" : "string"
- }
- },
- "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" : {
- "type" : ["string", {"$ref" : "#"}]
- },
- "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 |