Skip to content

Commit

Permalink
Reemplazo tabs de longitud 8 por 4 espacios comunes
Browse files Browse the repository at this point in the history
  • Loading branch information
capitantoto committed Dec 16, 2016
1 parent c00601f commit fc7da40
Show file tree
Hide file tree
Showing 7 changed files with 259 additions and 259 deletions.
108 changes: 54 additions & 54 deletions pydatajson/schemas/catalog.json
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"dataset",
"title",
"description",
"publisher",
"superThemeTaxonomy"
],
"properties": {
"publisher": {
"type": "object",
"required": ["name", "mbox"],
"properties": {
"name": { "$ref": "mixed-types.json#nonEmptyString" },
"mbox": {
"type": "string",
"format": "email"
}
}
},
"dataset": {
"type": "array",
"items": { "$ref": "dataset.json" }
},
"title": { "$ref": "mixed-types.json#nonEmptyString" },
"description": { "$ref": "mixed-types.json#nonEmptyString" },
"superThemeTaxonomy": { "type": "string", "format": "uri" },
"issued": { "$ref": "mixed-types.json#dateOrDatetimeStringOrNull" },
"modified": { "$ref": "mixed-types.json#dateOrDatetimeStringOrNull" },
"language": { "$ref": "mixed-types.json#arrayOrNull" },
"themeTaxonomy": {
"type": "array",
"items": { "$ref": "theme.json" }
},
"license": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"homepage": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{ "type": "null" }
]
},
"rights": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"spatial": {
"anyOf": [
{ "type": "string" },
{ "type": "array" },
{ "type": "null" }
]
}
}
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"dataset",
"title",
"description",
"publisher",
"superThemeTaxonomy"
],
"properties": {
"publisher": {
"type": "object",
"required": ["name", "mbox"],
"properties": {
"name": { "$ref": "mixed-types.json#nonEmptyString" },
"mbox": {
"type": "string",
"format": "email"
}
}
},
"dataset": {
"type": "array",
"items": { "$ref": "dataset.json" }
},
"title": { "$ref": "mixed-types.json#nonEmptyString" },
"description": { "$ref": "mixed-types.json#nonEmptyString" },
"superThemeTaxonomy": { "type": "string", "format": "uri" },
"issued": { "$ref": "mixed-types.json#dateOrDatetimeStringOrNull" },
"modified": { "$ref": "mixed-types.json#dateOrDatetimeStringOrNull" },
"language": { "$ref": "mixed-types.json#arrayOrNull" },
"themeTaxonomy": {
"type": "array",
"items": { "$ref": "theme.json" }
},
"license": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"homepage": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{ "type": "null" }
]
},
"rights": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"spatial": {
"anyOf": [
{ "type": "string" },
{ "type": "array" },
{ "type": "null" }
]
}
}
}
164 changes: 82 additions & 82 deletions pydatajson/schemas/dataset.json
Original file line number Diff line number Diff line change
@@ -1,84 +1,84 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"title",
"description",
"publisher",
"superTheme",
"distribution",
"accrualPeriodicity",
"issued"
],
"properties": {
"publisher": {
"type": "object",
"required": ["name"],
"properties": {
"name": { "$ref": "mixed-types.json#nonEmptyString" },
"mbox": {
"anyOf": [
{
"type": "string",
"format": "email"
},
{ "type": "null" }
]
}
}
},
"distribution": {
"type": "array",
"items": { "$ref": "distribution.json" }
},
"title": { "$ref": "mixed-types.json#nonEmptyString" },
"description": { "$ref": "mixed-types.json#nonEmptyString" },
"issued": { "$ref": "mixed-types.json#dateOrDatetimeString" },
"superTheme": { "type": "array" },
"accrualPeriodicity": {
"anyOf" : [
{"type": "string", "pattern": "^R/P\\d+(\\.\\d+)?[Y|M|W|D]$"},
{"type": "string", "pattern": "^R/PT\\d+(\\.\\d+)?[H|M|S]$"},
{"type": "string", "pattern": "^eventual$"}
]
},
"contactPoint": {
"type": "object",
"properties": {
"fn": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"hasEmail": {
"anyOf": [
{
"type": "string",
"format": "email"
},
{ "type": "null" }
]
}
}
},
"theme": { "$ref": "mixed-types.json#arrayOrNull" },
"keyword": { "$ref": "mixed-types.json#arrayOrNull" },
"modified": { "$ref": "mixed-types.json#dateOrDatetimeStringOrNull" },
"identifier": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"language": { "$ref": "mixed-types.json#arrayOrNull" },
"spatial": {
"anyOf": [
{ "type": "string" },
{ "type": "array" },
{ "type": "null" }
]
},
"temporal": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"landingPage": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{ "type": "null" }
]
},
"license": { "$ref": "mixed-types.json#nonEmptyStringOrNull" }
}
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"title",
"description",
"publisher",
"superTheme",
"distribution",
"accrualPeriodicity",
"issued"
],
"properties": {
"publisher": {
"type": "object",
"required": ["name"],
"properties": {
"name": { "$ref": "mixed-types.json#nonEmptyString" },
"mbox": {
"anyOf": [
{
"type": "string",
"format": "email"
},
{ "type": "null" }
]
}
}
},
"distribution": {
"type": "array",
"items": { "$ref": "distribution.json" }
},
"title": { "$ref": "mixed-types.json#nonEmptyString" },
"description": { "$ref": "mixed-types.json#nonEmptyString" },
"issued": { "$ref": "mixed-types.json#dateOrDatetimeString" },
"superTheme": { "type": "array" },
"accrualPeriodicity": {
"anyOf" : [
{"type": "string", "pattern": "^R/P\\d+(\\.\\d+)?[Y|M|W|D]$"},
{"type": "string", "pattern": "^R/PT\\d+(\\.\\d+)?[H|M|S]$"},
{"type": "string", "pattern": "^eventual$"}
]
},
"contactPoint": {
"type": "object",
"properties": {
"fn": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"hasEmail": {
"anyOf": [
{
"type": "string",
"format": "email"
},
{ "type": "null" }
]
}
}
},
"theme": { "$ref": "mixed-types.json#arrayOrNull" },
"keyword": { "$ref": "mixed-types.json#arrayOrNull" },
"modified": { "$ref": "mixed-types.json#dateOrDatetimeStringOrNull" },
"identifier": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"language": { "$ref": "mixed-types.json#arrayOrNull" },
"spatial": {
"anyOf": [
{ "type": "string" },
{ "type": "array" },
{ "type": "null" }
]
},
"temporal": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"landingPage": {
"anyOf": [
{
"type": "string",
"format": "uri"
},
{ "type": "null" }
]
},
"license": { "$ref": "mixed-types.json#nonEmptyStringOrNull" }
}
}
72 changes: 36 additions & 36 deletions pydatajson/schemas/distribution.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"accessURL",
"downloadURL",
"title",
"issued"
],
"properties": {
"accessURL": {
"type": "string",
"format": "uri"
},
"downloadURL": {
"type": "string",
"format": "uri"
},
"title": { "$ref": "mixed-types.json#nonEmptyString" },
"issued": { "$ref": "mixed-types.json#dateOrDatetimeString" },
"description": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"format": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"mediaType": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"license": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"byteSize": {
"anyOf": [
{ "type": "integer" },
{ "type": "null" }
]
},
"modified": { "$ref": "mixed-types.json#dateOrDatetimeStringOrNull" },
"rights": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"field": {
"type": "array",
"items": { "$ref": "field.json" }
}
}
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"accessURL",
"downloadURL",
"title",
"issued"
],
"properties": {
"accessURL": {
"type": "string",
"format": "uri"
},
"downloadURL": {
"type": "string",
"format": "uri"
},
"title": { "$ref": "mixed-types.json#nonEmptyString" },
"issued": { "$ref": "mixed-types.json#dateOrDatetimeString" },
"description": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"format": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"mediaType": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"license": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"byteSize": {
"anyOf": [
{ "type": "integer" },
{ "type": "null" }
]
},
"modified": { "$ref": "mixed-types.json#dateOrDatetimeStringOrNull" },
"rights": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"field": {
"type": "array",
"items": { "$ref": "field.json" }
}
}
}
14 changes: 7 additions & 7 deletions pydatajson/schemas/field.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"title": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"type": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"description": { "$ref": "mixed-types.json#nonEmptyStringOrNull" }
}
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"title": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"type": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"description": { "$ref": "mixed-types.json#nonEmptyStringOrNull" }
}
}

0 comments on commit fc7da40

Please sign in to comment.