Permalink
Browse files

Updated schema 'ref' and 'id' to point to GitHub.

  • Loading branch information...
1 parent 59e35a0 commit 8e33095b0182c964b86a398d83bd9421823f240b @matthewhudson matthewhudson committed Dec 10, 2012
@@ -1,5 +1,5 @@
{
- "id": "http://www.webpipes.org/schemas/block-definition.json",
+ "id": "https://raw.github.com/webpipes/spec/master/schemas/block-definition.schema.json",
"type": "object",
"$schema": "http://json-schema.org/draft-03/schema",
"properties": {
@@ -23,10 +23,10 @@
"required": true
},
"inputs": {
- "$ref": "http://www.webpipes.org/schemas/input-definition.json#inputs"
+ "$ref": "https://raw.github.com/webpipes/spec/master/schemas/input-definition.schema.json#inputs"
},
"outputs": {
- "$ref": "http://www.webpipes.org/schemas/output-definition.json#outputs"
+ "$ref": "https://raw.github.com/webpipes/spec/master/schemas/output-definition.schema.json#outputs"
}
}
}
@@ -1,5 +1,5 @@
{
- "id": "http://www.webpipes.org/schemas/input-definition.json",
+ "id": "https://raw.github.com/webpipes/spec/master/schemas/input-definition.schema.json",
"type": "object",
"$schema": "http://json-schema.org/draft-03/schema",
"properties": {
@@ -15,12 +15,14 @@
"name": {
"id": "#name",
"type": "string",
- "description": "The name for this record."
+ "description": "The name for this record.",
+ "required":true
},
"type": {
"id": "#type",
"type": "string",
"description": "The variable type for this record.",
+ "required":true,
"enum": [
"string",
"array",
@@ -33,7 +35,8 @@
"description": {
"id": "#definition",
"type": "string",
- "description": "A brief explanation of the record."
+ "description": "A brief explanation of the record.",
+ "required":true
}
}
}
@@ -1,5 +1,5 @@
{
- "id": "http://www.webpipes.org/schemas/output-definition.json",
+ "id": "https://raw.github.com/webpipes/spec/master/schemas/output-definition.schema.json",
"type": "object",
"$schema": "http://json-schema.org/draft-03/schema",
"properties": {
@@ -15,12 +15,14 @@
"name": {
"id": "#name",
"type": "string",
- "description": "The name for this record."
+ "description": "The name for this record.",
+ "required":true
},
"type": {
"id": "#type",
"type": "string",
"description": "The variable type for this record.",
+ "required":true,
"enum": [
"string",
"array",
@@ -33,7 +35,8 @@
"description": {
"id": "#description",
"type": "string",
- "description": "A brief explanation of the record."
+ "description": "A brief explanation of the record.",
+ "required":true
}
}
}
@@ -1,5 +1,5 @@
{
- "id": "http://www.webpipes.org/schemas/pipeline-definition.json",
+ "id": "https://raw.github.com/webpipes/spec/master/schemas/pipeline-definition.schema.json",
"type": "object",
"$schema": "http://json-schema.org/draft-03/schema",
"properties": {
@@ -36,10 +36,10 @@
}
},
"inputs": {
- "$ref": "http://www.webpipes.org/schemas/input-definition.json#inputs"
+ "$ref": "https://raw.github.com/webpipes/spec/master/schemas/input-definition.schema.json#inputs"
},
"outputs": {
- "$ref": "http://www.webpipes.org/schemas/output-definition.json#outputs"
+ "$ref": "https://raw.github.com/webpipes/spec/master/schemas/output-definition.schema.json#outputs"
},
"pipes": {
"id": "#pipes",

0 comments on commit 8e33095

Please sign in to comment.