{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "`\"key\": \"any\"`: a writer derives a deterministic rkey from the two ends so a re-publish updates the same record.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "place": {
            "description": "The place (a pub.techne.draft.place record).",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "role": {
            "description": "What the place is to the organization: `office`, `storefront`, or `operator` (the organization runs or maintains the place, such as a park's conservancy or a community fridge's host). Values beyond the known set are permitted.",
            "knownValues": [
              "office",
              "storefront",
              "operator"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "subject": {
            "description": "The organization (a pub.techne.draft.org record): what the link is about, so it is trusted as any record with a subject is.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          }
        },
        "required": [
          "subject",
          "place",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "SUPERSEDED by the org's own `locations`: no source rule writes it now (the commons curator still writes curated copies of existing links). Its successors: an org's sites are entries in its own `locations` (bounded at 256; a `registered` entry is where it is registered), and a site the org's author did not state is a `pub.techne.draft.statement` about the org carrying `locations` (as the commons org-match rule writes its sites statements). Existing records stay readable. A relationship: an organization is at a place (its office, its storefront, or a place it operates). Draft tier, PUBLIC. Its own record, not a field on either end, because an org can be at many places, a place can hold many orgs, and someone in particular claims each link (lexicon constitution, rule 2).",
  "id": "pub.techne.draft.orgAtPlace",
  "lexicon": 1
}
