pub.techne.draft.locationEntry

One entry of a `locations` field that says more than "is at": how the thing relates to the location (`kind`), the location itself (`at`), an optional label and, in a statement about someone else's record, the subject's own entry it gives a position to (`basis`). A bare entry (a point, a cell, an address or a place reference with no wrapper) means the thing is at that location; wrap an entry to say something else, or to give it a `label` or a `basis` (with no `kind` it still means "is at"). Each type's query document says how a reader takes a list of entries: `entries: faces` (several forms of one location, as on events) or `entries: sites` (each entry its own location, as on orgs).

Details · object
Kindobject
Authoritydraft.techne.pub
Commit rev3n3iob64r7g2u
Indexed
cid bafyreibmuqly7nbt5dt6knjpp766mrime6av7oytzqvcwghakpoer5qhum

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "properties": {
        "at": {
          "description": "The location: a point, an H3 cell, an address, or a place record (a `pub.techne.draft.placeV2`, such as an area for a city, county or ZIP).",
          "refs": [
            "community.lexicon.location.geo",
            "community.lexicon.location.hthree",
            "community.lexicon.location.address",
            "com.atproto.repo.strongRef"
          ],
          "type": "union"
        },
        "basis": {
          "description": "Only in a statement about someone else's record: the CID of the subject's own `locations` entry that this entry gives a position to, such as the point a geocoder found for the subject's address. The CID is a CIDv1 (dag-cbor codec, sha2-256) of the entry exactly as the subject states it: the whole item of its `locations` list, its `$type` and any `pub.techne.draft.locationEntry` wrapper included. Two identical entries have the same CID, so one basis names both. It counts while the subject still states that entry and that entry has no position of its own.",
          "format": "cid",
          "type": "string"
        },
        "kind": {
          "description": "How the thing relates to `at`. `at`: it is at that location, the same as leaving `kind` out (queries and matched locations name \"is at\" `at`). `serves`: it serves the people in that location (an org's service area). `registered`: a registry lists it there (a nonprofit's filing city or ZIP), which says nothing about where it works. Open: a reader that does not know a kind skips the entry.",
          "knownValues": [
            "at",
            "serves",
            "registered"
          ],
          "maxLength": 64,
          "type": "string"
        },
        "label": {
          "description": "A short label for the entry as the writer would show it, such as \"Main office\" or \"Filing city (IRS)\".",
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "required": [
        "at"
      ],
      "type": "object"
    }
  },
  "description": "One entry of a `locations` field that says more than \"is at\": how the thing relates to the location (`kind`), the location itself (`at`), an optional label and, in a statement about someone else's record, the subject's own entry it gives a position to (`basis`). A bare entry (a point, a cell, an address or a place reference with no wrapper) means the thing is at that location; wrap an entry to say something else, or to give it a `label` or a `basis` (with no `kind` it still means \"is at\"). Each type's query document says how a reader takes a list of entries: `entries: faces` (several forms of one location, as on events) or `entries: sites` (each entry its own location, as on orgs).",
  "id": "pub.techne.draft.locationEntry",
  "lexicon": 1
}