enregistrement
All Postal Code - All countries (Geonames)
Modèle de données
Cliquez pour déplier Cliquez pour replier
Schéma JSON
L'objet JSON ci dessous est une description standardisée du modèle de votre jeu de données. Pour en savoir plus sur JSON schema.
{
- "title":"geonames-postal-code",
- "type":"object",
- "oneOf":,[
- {
- "$ref":"#/definitions/geonames-postal-code"
}
] - "definitions":{
- "geonames-postal-code":,{
- "properties":{
- "records":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/geonames-postal-code_records"
}
}
} - "records":
} - "properties":
- "geoJSON":,{
- "title":"Geo JSON object",
- "description":"Schema for a Geo JSON object",
- "type":"object",
- "required":,[
- "type"
] - "properties":,{
- "crs":,{
- "$ref":"#/definitions/crs"
} - "bbox":{
- "$ref":"#/definitions/bbox"
}
} - "crs":
- "oneOf":[
- ,{
- "$ref":"#/definitions/geometry"
} - ,{
- "$ref":"#/definitions/geometryCollection"
} - ,{
- "$ref":"#/definitions/feature"
} - {
- "$ref":"#/definitions/featureCollection"
}
]
} - "bbox":,{
- "description":"A bounding box as defined by GeoJSON",
- "type":"array",
- "items":{
- "type":"number"
}
} - "crs":,{
- "title":"crs",
- "description":"a Coordinate Reference System object",
- "type":,[
- "object",
- "null"
] - "required":,[
- "type",
- "properties"
] - "properties":,{
- "type":,{
- "type":"string"
} - "properties":{
- "type":"object"
}
} - "type":
- "additionalProperties":false,
- "oneOf":[
- ,{
- "$ref":"#/definitions/namedCrs"
} - {
- "$ref":"#/definitions/linkedCrs"
}
]
} - "namedCrs":,{
- "properties":{
- "type":,{
- "enum":[
- "name"
]
} - "enum":
- "properties":{
- "required":,[
- "name"
] - "additionalProperties":false,
- "properties":{
- "name":{
- "type":"string"
}
} - "name":
} - "required":
} - "type":
} - "properties":
- "linkedObject":,{
- "type":"object",
- "required":,[
- "href"
] - "properties":{
- "href":,{
- "type":"string",
- "format":"uri"
} - "type":{
- "type":"string",
- "description":"Suggested values: proj4, ogjwkt, esriwkt"
}
} - "href":
} - "linkedCrs":,{
- "properties":{
- "type":,{
- "enum":[
- "link"
]
} - "enum":
- "properties":{
- "$ref":"#/definitions/linkedObject"
}
} - "type":
} - "properties":
- "geometryCollection":,{
- "title":"GeometryCollection",
- "description":"A collection of geometry objects",
- "required":,[
- "geometries"
] - "properties":{
- "type":,{
- "enum":[
- "GeometryCollection"
]
} - "enum":
- "geometries":{
- "type":"array",
- "items":{
- "$ref":"http://json-schema.org/geojson/geometry.json#"
}
}
} - "type":
} - "feature":,{
- "title":"Feature",
- "description":"A Geo JSON feature object",
- "required":,[
- "geometry",
- "properties"
] - "properties":{
- "type":,{
- "enum":[
- "Feature"
]
} - "enum":
- "geometry":,{
- "oneOf":[
- ,{
- "type":"null"
} - {
- "$ref":"#/definitions/geometry"
}
]
} - "oneOf":
- "properties":,{
- "type":[
- "object",
- "null"
]
} - "type":
- "id":{}
} - "type":
} - "featureCollection":,{
- "title":"FeatureCollection",
- "description":"A Geo JSON feature collection",
- "required":,[
- "features"
] - "properties":{
- "type":,{
- "enum":[
- "FeatureCollection"
]
} - "enum":
- "features":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/feature"
}
}
} - "type":
} - "geometry":,{
- "title":"geometry",
- "description":"One geometry as defined by GeoJSON",
- "type":"object",
- "required":,[
- "type",
- "coordinates"
] - "oneOf":,[
- ,{
- "title":"Point",
- "properties":{
- "type":,{
- "enum":[
- "Point"
]
} - "enum":
- "coordinates":{
- "$ref":"#/definitions/position"
}
} - "type":
} - ,{
- "title":"MultiPoint",
- "properties":{
- "type":,{
- "enum":[
- "MultiPoint"
]
} - "enum":
- "coordinates":{
- "$ref":"#/definitions/positionArray"
}
} - "type":
} - ,{
- "title":"LineString",
- "properties":{
- "type":,{
- "enum":[
- "LineString"
]
} - "enum":
- "coordinates":{
- "$ref":"#/definitions/lineString"
}
} - "type":
} - ,{
- "title":"MultiLineString",
- "properties":{
- "type":,{
- "enum":[
- "MultiLineString"
]
} - "enum":
- "coordinates":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/lineString"
}
}
} - "type":
} - ,{
- "title":"Polygon",
- "properties":{
- "type":,{
- "enum":[
- "Polygon"
]
} - "enum":
- "coordinates":{
- "$ref":"#/definitions/polygon"
}
} - "type":
} - {
- "title":"MultiPolygon",
- "properties":{
- "type":,{
- "enum":[
- "MultiPolygon"
]
} - "enum":
- "coordinates":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/polygon"
}
}
} - "type":
}
] - "position":,{
- "description":"A single position",
- "type":"array",
- "minItems":2,
- "items":,[
- ,{
- "type":"number"
} - {
- "type":"number"
}
] - "additionalItems":false
} - "positionArray":,{
- "description":"An array of positions",
- "type":"array",
- "items":{
- "$ref":"#/definitions/position"
}
} - "lineString":,{
- "description":"An array of two or more positions",
- "allOf":[
- ,{
- "$ref":"#/definitions/positionArray"
} - {
- "minItems":2
}
]
} - "linearRing":,{
- "description":"An array of four positions where the first equals the last",
- "allOf":[
- ,{
- "$ref":"#/definitions/positionArray"
} - {
- "minItems":4
}
]
} - "polygon":{
- "description":"An array of linear rings",
- "type":"array",
- "items":{
- "$ref":"#/definitions/linearRing"
}
}
} - "geonames-postal-code_records":{
- "properties":{
- "fields":{
- "type":"object",
- "properties":{
- "country_code":,{
- "type":"string",
- "title":"country code",
- "description":"iso country code"
} - "postal_code":,{
- "type":"string",
- "title":"postal code",
- "description":""
} - "place_name":,{
- "type":"string",
- "title":"place name",
- "description":""
} - "admin_name1":,{
- "type":"string",
- "title":"admin name1",
- "description":"1. order subdivision (state)"
} - "admin_code1":,{
- "type":"string",
- "title":"admin code1",
- "description":"1. order subdivision (state)"
} - "admin_name2":,{
- "type":"string",
- "title":"admin name2",
- "description":"2. order subdivision (county/province)"
} - "admin_code2":,{
- "type":"string",
- "title":"admin code2",
- "description":"2. order subdivision (county/province)"
} - "admin_name3":,{
- "type":"string",
- "title":"admin name3",
- "description":"3. order subdivision (community)"
} - "admin_code3":,{
- "type":"string",
- "title":"admin code3",
- "description":"3. order subdivision (community)"
} - "latitude":,{
- "type":"number",
- "title":"latitude",
- "description":"estimated latitude (wgs84)"
} - "longitude":,{
- "type":"number",
- "title":"longitude",
- "description":"estimated longitude (wgs84)"
} - "accuracy":,{
- "type":"integer",
- "title":"accuracy",
- "description":"accuracy of lat/lng from 1=estimated, 4=geonameid, 6=centroid of addresses or shape"
} - "coordinates":{
- "type":"array",
- "minItems":2,
- "maxItems":2,
- "items":,{
- "type":"number"
} - "title":"coordinates",
- "description":""
}
} - "country_code":
}
} - "fields":
} - "properties":
} - "geonames-postal-code":
}