{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://api.setlist.fm/schema/City", "title": "city", "description": "This class represents a city where Venues are located. Most of the original city data was taken from\nGeonames.org.", "type": "object", "properties": { "id": { "example": "5357527", "description": "unique identifier", "type": "string" }, "name": { "example": "Hollywood", "description": "the city's name, depending on the language valid values are e.g. "Müchen" or\nMunich", "type": "string" }, "stateCode": { "example": "CA", "description": "The code of the city's state. For most countries this is a two-digit numeric code, with which the state can be\nidentified uniquely in the specific Country. The code can also be a String for other cities. Valid\nexamples are "CA" or "02"\n\nwhich in turn get uniquely identifiable when combined with the state's country:\n\n"US.CA" for California, United States or "DE.02" for Bavaria, Germany\n\nFor a complete list of available states (that aren't necessarily used in this database) is available in\na textfile on geonames.org.\n\nNote that this code is only unique combined with the city's Country. The code alone is\nnot unique.", "type": "string" }, "state": { "example": "California", "description": "The name of city's state, e.g. "Bavaria" or "Florida"", "type": "string" }, "coords": { "description": "The city's coordinates. Usually the coordinates of the city centre are used.", "$ref": "#/definitions/json_Coords" }, "country": { "description": "The city's country.", "$ref": "#/definitions/json_Country" } }, "example": { "id": "5357527", "name": "Hollywood", "stateCode": "CA", "state": "California", "coords": { "long": -118.3267434, "lat": 34.0983425 }, "country": { "code": "US", "name": "United States" } } }