pub.techne.draft.placeV2
`"key": "any"`: a writer derives a stable rkey from the place's identity (a source id, an area's registry id) so a re-publish updates the same record.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | draft.techne.pub |
| Commit rev | 3n3iob77y5w2u |
| Indexed |
Checks
Validlarge-stringdefs.main.record.properties.descriptionmaxLength is over 20 KB. Use a blob for content that large.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "`\"key\": \"any\"`: a writer derives a stable rkey from the place's identity (a source id, an area's registry id) so a re-publish updates the same record.",
"key": "any",
"record": {
"properties": {
"category": {
"description": "An Overture `categories.primary` string (e.g. `park`, `cafe`, `community_center`). Never a `LIKE '%park%'` match — consumers of the safety/park ladder use an explicit allow-list over this field.",
"maxLength": 128,
"type": "string"
},
"cells": {
"description": "Only on an area: the H3 cells that cover it, as a compacted set (a parent cell stands for all its children), each the cell's index as a lowercase hex string of 15 characters. Every cell is at resolution 5 to 9: a writer expands a coarser parent to its resolution-5 children, and the edge resolution is at most 9. Cells mix resolutions; the finest one in the set is the edge resolution, and membership is exact only to it. The writer states the source and the edge resolution in a `pub.techne.draft.derivation` about the record.",
"items": {
"maxLength": 15,
"minLength": 15,
"type": "string"
},
"maxLength": 20000,
"type": "array"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"description": {
"description": "Prose about the place: what it is and what happens there. PUBLIC, like the rest of this record. Text a source allows only behind a permission belongs in the permissioned pub.techne.draft.description, not here.",
"maxGraphemes": 3000,
"maxLength": 30000,
"type": "string"
},
"identifiers": {
"description": "Ids the place has in other registries (lexicon naming register): `{scheme, value}`, e.g. `overture-gers`, `fsq`, `census-geoid`. An array so a reissued id appends. Absent for app-created entries, never a placeholder.",
"items": {
"ref": "pub.techne.draft.org#schemeValue",
"type": "ref"
},
"maxLength": 32,
"type": "array"
},
"kind": {
"description": "What kind of directory entry this is. `area`: a named area (a city, county, ZIP or parish) whose extent is `cells`.",
"knownValues": [
"business",
"publicSpace",
"group",
"area"
],
"maxLength": 64,
"type": "string"
},
"locations": {
"description": "Where the place is: a point, an H3 cell, an address, or a place record it is in. Its query document reads the entries as `faces`: several forms of one location, the finest that gives a position is where it is. An area states its centre point here.",
"items": {
"refs": [
"community.lexicon.location.geo",
"community.lexicon.location.hthree",
"community.lexicon.location.address",
"com.atproto.repo.strongRef",
"pub.techne.draft.locationEntry"
],
"type": "union"
},
"maxLength": 16,
"type": "array"
},
"name": {
"description": "The place/group's display name.",
"maxGraphemes": 128,
"maxLength": 640,
"type": "string"
},
"openingHours": {
"description": "When the place is open, in OpenStreetMap `opening_hours` syntax (https://wiki.openstreetmap.org/wiki/Key:opening_hours), e.g. `Mo-Fr 09:00-17:00; Sa 10:00-14:00; PH off`. Local time at the place. A source's hours that do not parse as that syntax may be kept as it wrote them; a reader that cannot parse the value shows it as text. Absent when unknown, never a guess.",
"maxGraphemes": 512,
"maxLength": 1024,
"type": "string"
},
"timeZone": {
"description": "The IANA time zone of the place, such as `America/Denver`. Optional; on an area a reader uses it only to compute a query's day window.",
"maxLength": 64,
"type": "string"
},
"uris": {
"description": "Named links associated with this place, such as its website. Data-source credits belong in a separate attribution record.",
"items": {
"ref": "community.lexicon.calendar.event#uri",
"type": "ref"
},
"maxLength": 16,
"type": "array"
}
},
"required": [
"name",
"kind",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"description": "A place in the shared directory: a venue, public space, group or area. It replaces `pub.techne.draft.place` (lexicon constitution, v2 audit, \"Where something is\"): `locations` takes the place of `location` and `address`, `identifiers` the place of `sameAs[]`, and an area (`kind: area`) carries its extent as a compacted H3 set in `cells`. An author's placeV2 at the rkey of that author's own place (`placeV2/<rkey>` beside `place/<rkey>`) replaces that place: the commons curates the two as one. A placeV2 at any other rkey, or by another author, is linked to a place only by a `pub.techne.draft.sameAs` record. PUBLIC content with no provenance rule, like `place`: anyone may author one, and convergence across records is by `sameAs`; the only link by author is that same-rkey replacement in one repo. Curated places follow the same rules as on `place`.",
"id": "pub.techne.draft.placeV2",
"lexicon": 1
}