{"defs":{"main":{"description":"A geographic place with location, name, and other attributes.","key":"record-key","record":{"properties":{"attributes":{"description":"Additional, source-dependent attributes of the place.","type":"unknown"},"locations":{"description":"The geographic location of the place, in any available representation.","items":{"refs":["community.lexicon.location.geo","community.lexicon.location.hthree","community.lexicon.location.address","community.lexicon.location.bbox"],"type":"union"},"type":"array"},"name":{"description":"The primary display name of the place.","type":"string"},"published_at":{"description":"The date when the place record was last updated","format":"datetime","type":"string"},"relations":{"description":"Related records, keyed by relation type.","properties":{"same_as":{"description":"Records in other collections or datasets that represent the same place.","items":{"ref":"#relation","type":"ref"},"type":"array"},"within":{"description":"Admin regions that geographically contain this place, ordered by level ascending.","items":{"ref":"#relation","type":"ref"},"type":"array"}},"type":"object"},"rkey":{"description":"A globally unique identifier for this place record.","format":"record-key","type":"string"},"variants":{"description":"Alternate names, translations, and other name variants.","items":{"ref":"#variant","type":"ref"},"type":"array"}},"required":["name"],"type":"object"},"type":"record"},"ref":{"description":"A reference to a geographic place defined elsewhere.","properties":{"attributes":{"description":"Additional attributes, included for durability or convenience.","type":"unknown"},"cid":{"description":"An optional reference to a specific version of the place definition.","format":"cid","type":"string"},"id":{"description":"A globally unique identifier for the place.","format":"record-key","type":"string"},"locations":{"description":"The geographic location of the place, in any available representation.","items":{"refs":["community.lexicon.location.geo","community.lexicon.location.hthree","community.lexicon.location.address","community.lexicon.location.bbox"],"type":"union"},"type":"array"},"name":{"description":"The primary display name of the place.","type":"string"},"published_at":{"description":"The date when the place record was last updated","format":"datetime","type":"string"}},"required":["id"],"type":"object"},"relation":{"description":"A reference to a related place record.","properties":{"level":{"description":"Admin hierarchy level (0=continent, 10=country, 25=region, 50=locality, etc.).","type":"integer"},"name":{"description":"Display name of the related place.","type":"string"},"rkey":{"description":"Collection-qualified record key (e.g. org.atgeo.places.wof:85922583).","format":"record-key","type":"string"}},"required":["rkey"],"type":"object"},"variant":{"properties":{"language":{"description":"The language of the name.","format":"language","type":"string"},"name":{"description":"The variant name text.","type":"string"},"type":{"description":"The kind of variant: official, alternate, short, colloquial, historical.","type":"string"}},"required":["name"],"type":"object"}},"id":"org.atgeo.place","lexicon":1}
