Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
74 lines (73 sloc) 1.56 KB
{
"name": "TileJSON",
"type": "object",
"properties": {
"tilejson": {
"type": "string",
"pattern": "\\d+\\.\\d+\\.\\d+\\w?[\\w\\d]*"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"version": {
"type": "string",
"pattern": "\\d+\\.\\d+\\.\\d+\\w?[\\w\\d]*"
},
"attribution": {
"type": "string"
},
"template": {
"type": "string"
},
"legend": {
"type": "string"
},
"scheme": {
"type": "string"
},
"tiles": {
"type": "array",
"items": {
"type": "string"
}
},
"grids": {
"type": "array",
"items": {
"type": "string"
}
},
"data": {
"type": "array",
"items": {
"type": "string"
}
},
"minzoom": {
"minimum": 0,
"maximum": 22,
"type": "integer"
},
"maxzoom": {
"minimum": 0,
"maximum": 22,
"type": "integer"
},
"bounds": {
"type": "array",
"items": {
"type": "number"
}
},
"center": {
"type": "array",
"items": {
"type": "number"
}
}
},
"required": ["tilejson", "tiles"]
}