Created
June 5, 2013 23:36
-
-
Save jeduan/5718179 to your computer and use it in GitHub Desktop.
schema.json Este schema me genero este sitio, @ruycer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type":"object", | |
"$schema": "http://json-schema.org/draft-03/schema", | |
"id": "http://jsonschema.net", | |
"required":false, | |
"properties":{ | |
"pollutionMeasurements": { | |
"type":"object", | |
"id": "http://jsonschema.net/pollutionMeasurements", | |
"required":true, | |
"properties":{ | |
"URL": { | |
"type":"string", | |
"id": "http://jsonschema.net/pollutionMeasurements/URL", | |
"required":false | |
}, | |
"cityCode": { | |
"type":"string", | |
"id": "http://jsonschema.net/pollutionMeasurements/cityCode", | |
"required":false | |
}, | |
"city": { | |
"type":"string", | |
"id": "http://jsonschema.net/pollutionMeasurements/city", | |
"required":false | |
}, | |
"country": { | |
"type":"string", | |
"id": "http://jsonschema.net/pollutionMeasurements/country", | |
"required":false | |
}, | |
"mesurementAgency": { | |
"type":"string", | |
"id": "http://jsonschema.net/pollutionMeasurements/mesurementAgency", | |
"required":false | |
}, | |
"stations": { | |
"type":"array", | |
"id": "http://jsonschema.net/pollutionMeasurements/stations", | |
"required":false, | |
"items": | |
{ | |
"type":"object", | |
"id": "http://jsonschema.net/pollutionMeasurements/stations/0", | |
"required":false, | |
"properties":{ | |
"humidity": { | |
"type":"number", | |
"id": "http://jsonschema.net/pollutionMeasurements/stations/0/humidity", | |
"required":false | |
}, | |
"imecaPoints": { | |
"type":"number", | |
"id": "http://jsonschema.net/pollutionMeasurements/stations/0/imecaPoints", | |
"required":false | |
}, | |
"location": { | |
"type":"string", | |
"id": "http://jsonschema.net/pollutionMeasurements/stations/0/location", | |
"required":false | |
}, | |
"name": { | |
"type":"string", | |
"id": "http://jsonschema.net/pollutionMeasurements/stations/0/name", | |
"required":false | |
}, | |
"pollutant": { | |
"type":"string", | |
"id": "http://jsonschema.net/pollutionMeasurements/stations/0/pollutant", | |
"required":false | |
}, | |
"shortName": { | |
"type":"string", | |
"id": "http://jsonschema.net/pollutionMeasurements/stations/0/shortName", | |
"required":false | |
}, | |
"temperature": { | |
"type":"number", | |
"id": "http://jsonschema.net/pollutionMeasurements/stations/0/temperature", | |
"required":false | |
}, | |
"windDirection": { | |
"type":"number", | |
"id": "http://jsonschema.net/pollutionMeasurements/stations/0/windDirection", | |
"required":false | |
}, | |
"windSpeed": { | |
"type":"number", | |
"id": "http://jsonschema.net/pollutionMeasurements/stations/0/windSpeed", | |
"required":false | |
} | |
} | |
} | |
}, | |
"timeStamp": { | |
"type":"string", | |
"id": "http://jsonschema.net/pollutionMeasurements/timeStamp", | |
"required":false | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment