techne-sdk 0.12.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/dist/auth/placement.gen.d.ts +1 -1
  3. package/dist/auth/placement.gen.js +3 -0
  4. package/dist/catalog/catalog.gen.d.ts +22 -0
  5. package/dist/catalog/catalog.gen.js +1524 -45
  6. package/dist/generated/index.d.ts +141 -0
  7. package/dist/generated/index.js +186 -0
  8. package/dist/generated/lexicons.d.ts +842 -56
  9. package/dist/generated/lexicons.js +467 -18
  10. package/dist/generated/nsid.d.ts +41 -0
  11. package/dist/generated/nsid.js +41 -0
  12. package/dist/generated/nsid.json +41 -0
  13. package/dist/generated/records.d.ts +134 -124
  14. package/dist/generated/types/pub/techne/draft/beaconSpotV2.d.ts +23 -0
  15. package/dist/generated/types/pub/techne/draft/beaconSpotV2.js +12 -0
  16. package/dist/generated/types/pub/techne/draft/collectiveV2.d.ts +31 -0
  17. package/dist/generated/types/pub/techne/draft/collectiveV2.js +12 -0
  18. package/dist/generated/types/pub/techne/draft/derivation.d.ts +1 -1
  19. package/dist/generated/types/pub/techne/draft/locationEntry.d.ts +23 -0
  20. package/dist/generated/types/pub/techne/draft/locationEntry.js +11 -0
  21. package/dist/generated/types/pub/techne/draft/org.d.ts +6 -4
  22. package/dist/generated/types/pub/techne/draft/pendingBeaconSpotV2.d.ts +24 -0
  23. package/dist/generated/types/pub/techne/draft/pendingBeaconSpotV2.js +12 -0
  24. package/dist/generated/types/pub/techne/draft/placeV2.d.ts +42 -0
  25. package/dist/generated/types/pub/techne/draft/placeV2.js +12 -0
  26. package/dist/generated/types/pub/techne/draft/query/composeRecords.d.ts +6 -2
  27. package/dist/generated/types/pub/techne/draft/query/countRecords.d.ts +2 -0
  28. package/dist/generated/types/pub/techne/draft/query/listRecords.d.ts +34 -0
  29. package/dist/generated/types/pub/techne/draft/query/listRecords.js +14 -0
  30. package/dist/generated/types/pub/techne/draft/region.d.ts +20 -0
  31. package/dist/generated/types/pub/techne/draft/region.js +12 -0
  32. package/dist/generated/types/pub/techne/draft/statement.d.ts +15 -1
  33. package/dist/generated/types/pub/techne/draft/statement.js +7 -0
  34. package/dist/query/compose.d.ts +2 -2
  35. package/dist/query/compose.js +1 -1
  36. package/dist/query/index.d.ts +19 -1
  37. package/dist/query/index.js +2 -0
  38. package/dist/wasm/techne-wasm.gen.js +1 -1
  39. package/dist/wasm/techne-wasm2js.gen.js +22019 -22019
  40. package/package.json +1 -1
@@ -1629,7 +1629,7 @@ export declare const schemaDict: {
1629
1629
  readonly PubTechneDraftBeaconSpot: {
1630
1630
  readonly lexicon: 1;
1631
1631
  readonly id: "pub.techne.draft.beaconSpot";
1632
- readonly description: "The exact spot behind a going-to beacon on a public event. A public event made from a dropped pin or a street address shows only its area (rounded to about 100 m, no street line); this record keeps the exact point for that one beacon's people. At most one per beacon: the record key is the beacon's own record key. Its only declared home is that beacon's pub.techne.draft.space.beacon, written by the space's authority (the lighter), so the people who can read it are exactly the beacon space's published read audience: the lighter and everyone the beacon is shared with, including the people and circles the lighter named and anyone who opened the beacon's link while it was lit (each is admitted by a share in the space). Surfaces that show the beacon overlay it onto the event's location; anyone in that audience can also read the record directly. It has no public home, so the firehose guard withholds it. A reader counts it only when its author is the space's authority and `event` names the event the beacon is going to. Deleted when the beacon is ended, and once its event has ended or been cancelled.";
1632
+ readonly description: "SUPERSEDED by `pub.techne.draft.beaconSpotV2` (linked by `pub.techne.draft.sameAs`), which says where with `locations`. Existing records stay readable. The exact spot behind a going-to beacon on a public event. A public event made from a dropped pin or a street address shows only its area (rounded to about 100 m, no street line); this record keeps the exact point for that one beacon's people. At most one per beacon: the record key is the beacon's own record key. Its only declared home is that beacon's pub.techne.draft.space.beacon, written by the space's authority (the lighter), so the people who can read it are exactly the beacon space's published read audience: the lighter and everyone the beacon is shared with, including the people and circles the lighter named and anyone who opened the beacon's link while it was lit (each is admitted by a share in the space). Surfaces that show the beacon overlay it onto the event's location; anyone in that audience can also read the record directly. It has no public home, so the firehose guard withholds it. A reader counts it only when its author is the space's authority and `event` names the event the beacon is going to. Deleted when the beacon is ended, and once its event has ended or been cancelled.";
1633
1633
  readonly defs: {
1634
1634
  readonly main: {
1635
1635
  readonly type: "record";
@@ -1658,6 +1658,42 @@ export declare const schemaDict: {
1658
1658
  };
1659
1659
  };
1660
1660
  };
1661
+ readonly PubTechneDraftBeaconSpotV2: {
1662
+ readonly lexicon: 1;
1663
+ readonly id: "pub.techne.draft.beaconSpotV2";
1664
+ readonly description: "The exact spot behind a going-to beacon on a public event, replacing `pub.techne.draft.beaconSpot` (lexicon constitution, v2 audit): `subject` names the event (a strongRef, in place of `event`), and `locations` carries the point and the address (in place of `geo` and `address`). Linked to the beaconSpot it replaces by a `pub.techne.draft.sameAs` record. Same key, readers and home as `beaconSpot` (the home is declared `unbuilt` until its writer lands): at most one per beacon at the beacon's own record key, only in that beacon's pub.techne.draft.space.beacon, written by the space's authority (the lighter); a reader counts it only when its author is the space's authority and `subject` names the event the beacon is going to.";
1665
+ readonly defs: {
1666
+ readonly main: {
1667
+ readonly type: "record";
1668
+ readonly key: "any";
1669
+ readonly record: {
1670
+ readonly type: "object";
1671
+ readonly required: ["subject", "locations", "createdAt"];
1672
+ readonly properties: {
1673
+ readonly subject: {
1674
+ readonly type: "ref";
1675
+ readonly ref: "lex:com.atproto.repo.strongRef";
1676
+ readonly description: "The public community.lexicon.calendar.event this is the exact spot of.";
1677
+ };
1678
+ readonly locations: {
1679
+ readonly type: "array";
1680
+ readonly minLength: 1;
1681
+ readonly maxLength: 4;
1682
+ readonly description: "The exact spot as the person sent it: a point, and the full street address (street line included) when they sent one. Its query document reads the entries as `faces`.";
1683
+ readonly items: {
1684
+ readonly type: "union";
1685
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
1686
+ };
1687
+ };
1688
+ readonly createdAt: {
1689
+ readonly type: "string";
1690
+ readonly format: "datetime";
1691
+ };
1692
+ };
1693
+ };
1694
+ };
1695
+ };
1696
+ };
1661
1697
  readonly PubTechneDraftBlock: {
1662
1698
  readonly lexicon: 1;
1663
1699
  readonly id: "pub.techne.draft.block";
@@ -1743,7 +1779,7 @@ export declare const schemaDict: {
1743
1779
  readonly PubTechneDraftCollective: {
1744
1780
  readonly lexicon: 1;
1745
1781
  readonly id: "pub.techne.draft.collective";
1746
- readonly description: "A collective's descriptor record. The collective's identity is its DID; this record describes it.";
1782
+ readonly description: "SUPERSEDED by `pub.techne.draft.collectiveV2` (linked by `pub.techne.draft.sameAs`), which says where with `locations`. Existing records stay readable. A collective's descriptor record. The collective's identity is its DID; this record describes it.";
1747
1783
  readonly defs: {
1748
1784
  readonly main: {
1749
1785
  readonly type: "record";
@@ -1799,6 +1835,64 @@ export declare const schemaDict: {
1799
1835
  };
1800
1836
  };
1801
1837
  };
1838
+ readonly PubTechneDraftCollectiveV2: {
1839
+ readonly lexicon: 1;
1840
+ readonly id: "pub.techne.draft.collectiveV2";
1841
+ readonly description: "A collective's descriptor record, replacing `pub.techne.draft.collective` (lexicon constitution, v2 audit, \"Where something is\"): `locations` takes the place of the single `location`, and the deprecated `sceneType` is gone. The collective's identity is its DID; this record describes it. A collectiveV2 and the collective descriptor it replaces are linked by a `pub.techne.draft.sameAs` record. Its homes in the placement manifest are declared `unbuilt` until its writer lands; they will be `collective`'s.";
1842
+ readonly defs: {
1843
+ readonly main: {
1844
+ readonly type: "record";
1845
+ readonly key: "literal:self";
1846
+ readonly record: {
1847
+ readonly type: "object";
1848
+ readonly required: ["name", "createdAt"];
1849
+ readonly properties: {
1850
+ readonly name: {
1851
+ readonly type: "string";
1852
+ readonly maxLength: 640;
1853
+ readonly maxGraphemes: 64;
1854
+ readonly description: "The display name of the collective.";
1855
+ };
1856
+ readonly description: {
1857
+ readonly type: "string";
1858
+ readonly maxLength: 2560;
1859
+ readonly maxGraphemes: 256;
1860
+ readonly description: "A free-form description of the collective.";
1861
+ };
1862
+ readonly emoji: {
1863
+ readonly type: "string";
1864
+ readonly maxLength: 64;
1865
+ readonly maxGraphemes: 1;
1866
+ readonly description: "Optional: one emoji (one grapheme cluster), the collective's mark. A client shows the avatar if there is one, else this emoji, else the first letter of the name. No color is stored; a client may derive one from the collective's DID.";
1867
+ };
1868
+ readonly collectiveType: {
1869
+ readonly type: "string";
1870
+ readonly description: "Free-form collective type/category label. The value \"beacon.circle\" marks a Beacon circle on a descriptor placed in its own DID's pub.techne.draft.space.collective.member/self, whoever made that DID or wrote it. A Beacon circle is a private group whose descriptor and memberships live only in that member space, and which a pub.techne.draft.accessRule#groupTarget may name. Roles: a member holds 20 and the manager 40 (the founder, until they make someone else manager). Where the platform holds the circle's credential, any member may add people and leave; only the manager renames, sets the emoji, removes people and makes someone manager (one putRecords: that member at 40, the manager's own claim at 20). A write that would leave members with nobody at >= 30 is refused (LastManager). A circle whose last member leaves is deleted, and so is one whose only member deletes their account; an account that alone manages a circle hands it to the longest-standing other member when it is deleted. Circles made before these roles hold every member at 40 until the operator lowers them. A circle whose DID someone else holds is managed by its holder.";
1871
+ readonly maxLength: 64;
1872
+ };
1873
+ readonly locations: {
1874
+ readonly type: "array";
1875
+ readonly maxLength: 16;
1876
+ readonly description: "Where the collective is based: a point, an H3 cell, an address or a place record (lexicon naming register). Its query document reads the entries as `sites`.";
1877
+ readonly items: {
1878
+ readonly type: "union";
1879
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
1880
+ };
1881
+ };
1882
+ readonly avatar: {
1883
+ readonly type: "blob";
1884
+ readonly accept: ["image/png", "image/jpeg"];
1885
+ readonly maxSize: 1000000;
1886
+ };
1887
+ readonly createdAt: {
1888
+ readonly type: "string";
1889
+ readonly format: "datetime";
1890
+ };
1891
+ };
1892
+ };
1893
+ };
1894
+ };
1895
+ };
1802
1896
  readonly PubTechneDraftCommonsCreateServiceAccount: {
1803
1897
  readonly lexicon: 1;
1804
1898
  readonly id: "pub.techne.draft.commons.createServiceAccount";
@@ -2330,7 +2424,7 @@ export declare const schemaDict: {
2330
2424
  readonly PubTechneDraftContainedIn: {
2331
2425
  readonly lexicon: 1;
2332
2426
  readonly id: "pub.techne.draft.containedIn";
2333
- readonly description: "An assertion that one place is inside another (a room in a building, a stage in a park). It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons venue rule.";
2427
+ readonly description: "SUPERSEDED, still written by the commons rules until their writers move to the new shape: a place inside another names it in its own `locations` (a `pub.techne.draft.placeV2`), or a `pub.techne.draft.statement` carrying `#locations` says so. Existing records stay readable. An assertion that one place is inside another (a room in a building, a stage in a park). It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons venue rule.";
2334
2428
  readonly defs: {
2335
2429
  readonly main: {
2336
2430
  readonly type: "record";
@@ -2611,7 +2705,7 @@ export declare const schemaDict: {
2611
2705
  readonly name: {
2612
2706
  readonly type: "string";
2613
2707
  readonly maxLength: 64;
2614
- readonly knownValues: ["titleSimilarity", "nameSimilarity", "nameContainment", "titleFrequency", "startDelta", "endDelta", "samePlaceCluster", "distance", "placePrecision", "sameAddress", "addressGeoConflict", "categoryConflict", "sameUrl", "venueNameConflict", "placeNameInTitle", "placeNameTokens"];
2708
+ readonly knownValues: ["titleSimilarity", "nameSimilarity", "nameContainment", "titleFrequency", "startDelta", "endDelta", "samePlaceCluster", "distance", "placePrecision", "sameAddress", "addressGeoConflict", "categoryConflict", "sameUrl", "venueNameConflict", "placeNameInTitle", "placeNameTokens", "edgeResolution"];
2615
2709
  };
2616
2710
  readonly value: {
2617
2711
  readonly type: "integer";
@@ -3003,7 +3097,7 @@ export declare const schemaDict: {
3003
3097
  readonly PubTechneDraftGeo: {
3004
3098
  readonly lexicon: 1;
3005
3099
  readonly id: "pub.techne.draft.geo";
3006
- readonly description: "Where a record is: a coordinate. A sidecar about any record (a place, an event, a later type), written in the writer's own repo, never onto the subject, so the subject's author, audience and lifetime are untouched and a reader chooses which writers it trusts. Written only when it adds a coordinate the subject's own record lacks: when a source gives coordinates they stay in the subject's own `locations`, and no geo record is needed. H3 cells are not stored: readers compute them from `location` at index time. It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons geocode rule.";
3100
+ readonly description: "SUPERSEDED: the commons geocode rule wrote it until its version geocode-3, which writes a statement instead. A position for someone else's record is a `pub.techne.draft.statement` carrying `#locations`, with `basis` naming the entry it positions. Existing records stay readable until they are retired. Where a record is: a coordinate. A sidecar about any record (a place, an event, a later type), written in the writer's own repo, never onto the subject, so the subject's author, audience and lifetime are untouched and a reader chooses which writers it trusts. Written only when it adds a coordinate the subject's own record lacks: when a source gives coordinates they stay in the subject's own `locations`, and no geo record is needed. H3 cells are not stored: readers compute them from `location` at index time. It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons geocode rule before geocode-3.";
3007
3101
  readonly defs: {
3008
3102
  readonly main: {
3009
3103
  readonly type: "record";
@@ -3041,7 +3135,7 @@ export declare const schemaDict: {
3041
3135
  readonly PubTechneDraftHeldAt: {
3042
3136
  readonly lexicon: 1;
3043
3137
  readonly id: "pub.techne.draft.heldAt";
3044
- readonly description: "The place where an event is held. It names a place record, for an event whose own record names no place record (the main event-to-venue link is the event's own `locations` entry naming its source's place record; this is only for events without one). It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons venue rule.";
3138
+ readonly description: "SUPERSEDED, still written by the commons rules until their writers move to the new shape: the place an event is held at is a `pub.techne.draft.statement` about the event carrying `#locations` with a place reference. Existing records stay readable. The place where an event is held. It names a place record, for an event whose own record names no place record (the main event-to-venue link is the event's own `locations` entry naming its source's place record; this is only for events without one). It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons venue rule.";
3045
3139
  readonly defs: {
3046
3140
  readonly main: {
3047
3141
  readonly type: "record";
@@ -5772,6 +5866,41 @@ export declare const schemaDict: {
5772
5866
  };
5773
5867
  };
5774
5868
  };
5869
+ readonly PubTechneDraftLocationEntry: {
5870
+ readonly lexicon: 1;
5871
+ readonly id: "pub.techne.draft.locationEntry";
5872
+ readonly 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).";
5873
+ readonly defs: {
5874
+ readonly main: {
5875
+ readonly type: "object";
5876
+ readonly required: ["at"];
5877
+ readonly properties: {
5878
+ readonly kind: {
5879
+ readonly type: "string";
5880
+ readonly maxLength: 64;
5881
+ readonly knownValues: ["at", "serves", "registered"];
5882
+ readonly 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.";
5883
+ };
5884
+ readonly at: {
5885
+ readonly type: "union";
5886
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef"];
5887
+ readonly 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).";
5888
+ };
5889
+ readonly label: {
5890
+ readonly type: "string";
5891
+ readonly maxLength: 640;
5892
+ readonly maxGraphemes: 64;
5893
+ readonly description: "A short label for the entry as the writer would show it, such as \"Main office\" or \"Filing city (IRS)\".";
5894
+ };
5895
+ readonly basis: {
5896
+ readonly type: "string";
5897
+ readonly format: "cid";
5898
+ readonly 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.";
5899
+ };
5900
+ };
5901
+ };
5902
+ };
5903
+ };
5775
5904
  readonly PubTechneDraftMarketAsk: {
5776
5905
  readonly lexicon: 1;
5777
5906
  readonly id: "pub.techne.draft.market.ask";
@@ -6033,11 +6162,11 @@ export declare const schemaDict: {
6033
6162
  };
6034
6163
  readonly locations: {
6035
6164
  readonly type: "array";
6036
- readonly maxLength: 16;
6037
- readonly description: "Where the organization is: a point, an address or a place record. Never a mailing address: a registry's address is often an organizer's home, so it is not published. An organization's office or storefront at a commons place is a `pub.techne.draft.orgAtPlace` record, not an entry here.";
6165
+ readonly maxLength: 256;
6166
+ readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. This replaces `pub.techne.draft.orgAtPlace`.";
6038
6167
  readonly items: {
6039
6168
  readonly type: "union";
6040
- readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef"];
6169
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
6041
6170
  };
6042
6171
  };
6043
6172
  readonly createdAt: {
@@ -6108,11 +6237,11 @@ export declare const schemaDict: {
6108
6237
  };
6109
6238
  readonly locations: {
6110
6239
  readonly type: "array";
6111
- readonly maxLength: 16;
6112
- readonly description: "Where the organization is: a point, an address or a place record. Never a mailing address: a registry's address is often an organizer's home, so it is not published. An organization's office or storefront at a commons place is a `pub.techne.draft.orgAtPlace` record, not an entry here.";
6240
+ readonly maxLength: 256;
6241
+ readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. This replaces `pub.techne.draft.orgAtPlace`.";
6113
6242
  readonly items: {
6114
6243
  readonly type: "union";
6115
- readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef"];
6244
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
6116
6245
  };
6117
6246
  };
6118
6247
  };
@@ -6139,7 +6268,7 @@ export declare const schemaDict: {
6139
6268
  readonly PubTechneDraftOrgAtPlace: {
6140
6269
  readonly lexicon: 1;
6141
6270
  readonly id: "pub.techne.draft.orgAtPlace";
6142
- readonly description: "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).";
6271
+ readonly description: "SUPERSEDED: 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).";
6143
6272
  readonly defs: {
6144
6273
  readonly main: {
6145
6274
  readonly type: "record";
@@ -6211,7 +6340,7 @@ export declare const schemaDict: {
6211
6340
  readonly PubTechneDraftPendingBeaconSpot: {
6212
6341
  readonly lexicon: 1;
6213
6342
  readonly id: "pub.techne.draft.pendingBeaconSpot";
6214
- readonly description: "The exact spot a person picked for a public event they are about to light a beacon on, kept until that beacon exists. Making the public event comes first and rounds a dropped pin or a street address to its area; the beacon, whose space is where the exact spot is shown, is made by a second call. This record carries the exact spot between the two: when the person lights a going-to beacon on `event`, the server copies it into that beacon's space as a pub.techne.draft.beaconSpot and deletes this one. At most one per person per event: the record key is the event's own record key, so a second pick re-puts it. PRIVATE by construction: its only declared home is the author's own pub.techne.draft.space.personal (audience of one), it has no public home, no app surface shows it, and it is readable only by its author (a direct read of their own record). One no beacon took up is deleted after a day.";
6343
+ readonly description: "SUPERSEDED by `pub.techne.draft.pendingBeaconSpotV2` (linked by `pub.techne.draft.sameAs`), which says where with `locations`. Existing records stay readable. The exact spot a person picked for a public event they are about to light a beacon on, kept until that beacon exists. Making the public event comes first and rounds a dropped pin or a street address to its area; the beacon, whose space is where the exact spot is shown, is made by a second call. This record carries the exact spot between the two: when the person lights a going-to beacon on `event`, the server copies it into that beacon's space as a pub.techne.draft.beaconSpot and deletes this one. At most one per person per event: the record key is the event's own record key, so a second pick re-puts it. PRIVATE by construction: its only declared home is the author's own pub.techne.draft.space.personal (audience of one), it has no public home, no app surface shows it, and it is readable only by its author (a direct read of their own record). One no beacon took up is deleted after a day.";
6215
6344
  readonly defs: {
6216
6345
  readonly main: {
6217
6346
  readonly type: "record";
@@ -6245,6 +6374,43 @@ export declare const schemaDict: {
6245
6374
  };
6246
6375
  };
6247
6376
  };
6377
+ readonly PubTechneDraftPendingBeaconSpotV2: {
6378
+ readonly lexicon: 1;
6379
+ readonly id: "pub.techne.draft.pendingBeaconSpotV2";
6380
+ readonly description: "The exact spot a person picked for a public event they are about to light a beacon on, kept until that beacon exists, replacing `pub.techne.draft.pendingBeaconSpot` (lexicon constitution, v2 audit): `subject` names the event (a strongRef, in place of `event`), and `locations` carries the point and the address (in place of `geo` and `address`). Linked to the record it replaces by a `pub.techne.draft.sameAs` record. Same key, lifetime and home as `pendingBeaconSpot` (the home is declared `unbuilt` until its writer lands): at the event's own record key, only in the author's pub.techne.draft.space.personal, deleted when a beacon takes it up or after a day.";
6381
+ readonly defs: {
6382
+ readonly main: {
6383
+ readonly type: "record";
6384
+ readonly key: "any";
6385
+ readonly record: {
6386
+ readonly type: "object";
6387
+ readonly required: ["subject", "locations", "createdAt"];
6388
+ readonly properties: {
6389
+ readonly subject: {
6390
+ readonly type: "ref";
6391
+ readonly ref: "lex:com.atproto.repo.strongRef";
6392
+ readonly description: "The public community.lexicon.calendar.event this is the exact spot of.";
6393
+ };
6394
+ readonly locations: {
6395
+ readonly type: "array";
6396
+ readonly minLength: 1;
6397
+ readonly maxLength: 4;
6398
+ readonly description: "The exact spot as the person sent it: a point, and the full street address (street line included) when they sent one. Its query document reads the entries as `faces`.";
6399
+ readonly items: {
6400
+ readonly type: "union";
6401
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
6402
+ };
6403
+ };
6404
+ readonly createdAt: {
6405
+ readonly type: "string";
6406
+ readonly format: "datetime";
6407
+ readonly description: "When this was last written. Read to delete a copy no beacon took up within a day.";
6408
+ };
6409
+ };
6410
+ };
6411
+ };
6412
+ };
6413
+ };
6248
6414
  readonly PubTechneDraftPermissionedDeleteRecord: {
6249
6415
  readonly lexicon: 1;
6250
6416
  readonly id: "pub.techne.draft.permissioned.deleteRecord";
@@ -6926,7 +7092,7 @@ export declare const schemaDict: {
6926
7092
  readonly PubTechneDraftPlace: {
6927
7093
  readonly lexicon: 1;
6928
7094
  readonly id: "pub.techne.draft.place";
6929
- readonly description: "A place, public space or group in the shared directory. It is a commons directory entry that anyone may reference. PUBLIC content: this collection carries NO PROVENANCE RULE — anyone may author one, and no consumer may condition meaning on who did (default-anonymous is a CUSTODY property of the authoring account, never a schema property; the record body carries no creator field, ever). Convergence is by `sameAs` identity, never by author. Two kinds of record share this collection and this schema: SOURCE places (a mirror's, a person's, the commons collective's), and CURATED places, which the commons curator rule publishes in its own repo, one per cluster of source places that endorsed rules joined with pub.techne.draft.sameAs, under a TID rkey kept through merges, beside a pub.techne.draft.provenance sidecar naming its sources; a place no rule joined to another is a cluster of one and gets a curated place too. A curated event's location names the curated place, never a source place. The record means the same either way; whether it is curated is told by its provenance sidecar (in the author's repo, at sidecar_rkey of the curated record's AT-URI), not by a field.";
7095
+ readonly description: "SUPERSEDED by `pub.techne.draft.placeV2` (linked by `pub.techne.draft.sameAs`): a new writer writes placeV2; the commons rules still write place until their writers move. Existing records stay readable. A place, public space or group in the shared directory. It is a commons directory entry that anyone may reference. PUBLIC content: this collection carries NO PROVENANCE RULE — anyone may author one, and no consumer may condition meaning on who did (default-anonymous is a CUSTODY property of the authoring account, never a schema property; the record body carries no creator field, ever). Convergence is by `sameAs` identity, never by author. Two kinds of record share this collection and this schema: SOURCE places (a mirror's, a person's, the commons collective's), and CURATED places, which the commons curator rule publishes in its own repo, one per cluster of source places that endorsed rules joined with pub.techne.draft.sameAs, under a TID rkey kept through merges, beside a pub.techne.draft.provenance sidecar naming its sources; a place no rule joined to another is a cluster of one and gets a curated place too. A curated event's location names the curated place, never a source place. The record means the same either way; whether it is curated is told by its provenance sidecar (in the author's repo, at sidecar_rkey of the curated record's AT-URI), not by a field.";
6930
7096
  readonly defs: {
6931
7097
  readonly main: {
6932
7098
  readonly type: "record";
@@ -7129,6 +7295,99 @@ export declare const schemaDict: {
7129
7295
  };
7130
7296
  };
7131
7297
  };
7298
+ readonly PubTechneDraftPlaceV2: {
7299
+ readonly lexicon: 1;
7300
+ readonly id: "pub.techne.draft.placeV2";
7301
+ readonly 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`. A placeV2 and the place it replaces are linked by a `pub.techne.draft.sameAs` record. PUBLIC content with no provenance rule, like `place`: anyone may author one, and convergence is by `sameAs`, never by author. Curated places follow the same rules as on `place`.";
7302
+ readonly defs: {
7303
+ readonly main: {
7304
+ readonly type: "record";
7305
+ readonly key: "any";
7306
+ readonly 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.";
7307
+ readonly record: {
7308
+ readonly type: "object";
7309
+ readonly required: ["name", "kind", "createdAt"];
7310
+ readonly properties: {
7311
+ readonly name: {
7312
+ readonly type: "string";
7313
+ readonly maxLength: 640;
7314
+ readonly maxGraphemes: 128;
7315
+ readonly description: "The place/group's display name.";
7316
+ };
7317
+ readonly kind: {
7318
+ readonly type: "string";
7319
+ readonly maxLength: 64;
7320
+ readonly knownValues: ["business", "publicSpace", "group", "area"];
7321
+ readonly description: "What kind of directory entry this is. `area`: a named area (a city, county, ZIP or parish) whose extent is `cells`.";
7322
+ };
7323
+ readonly category: {
7324
+ readonly type: "string";
7325
+ readonly maxLength: 128;
7326
+ readonly 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.";
7327
+ };
7328
+ readonly locations: {
7329
+ readonly type: "array";
7330
+ readonly maxLength: 16;
7331
+ readonly 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.";
7332
+ readonly items: {
7333
+ readonly type: "union";
7334
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
7335
+ };
7336
+ };
7337
+ readonly cells: {
7338
+ readonly type: "array";
7339
+ readonly maxLength: 20000;
7340
+ readonly 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.";
7341
+ readonly items: {
7342
+ readonly type: "string";
7343
+ readonly minLength: 15;
7344
+ readonly maxLength: 15;
7345
+ };
7346
+ };
7347
+ readonly timeZone: {
7348
+ readonly type: "string";
7349
+ readonly maxLength: 64;
7350
+ readonly 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.";
7351
+ };
7352
+ readonly uris: {
7353
+ readonly type: "array";
7354
+ readonly maxLength: 16;
7355
+ readonly description: "Named links associated with this place, such as its website. Data-source credits belong in a separate attribution record.";
7356
+ readonly items: {
7357
+ readonly type: "ref";
7358
+ readonly ref: "lex:community.lexicon.calendar.event#uri";
7359
+ };
7360
+ };
7361
+ readonly openingHours: {
7362
+ readonly type: "string";
7363
+ readonly maxLength: 1024;
7364
+ readonly maxGraphemes: 512;
7365
+ readonly 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.";
7366
+ };
7367
+ readonly description: {
7368
+ readonly type: "string";
7369
+ readonly maxLength: 30000;
7370
+ readonly maxGraphemes: 3000;
7371
+ readonly 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.";
7372
+ };
7373
+ readonly identifiers: {
7374
+ readonly type: "array";
7375
+ readonly maxLength: 32;
7376
+ readonly 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.";
7377
+ readonly items: {
7378
+ readonly type: "ref";
7379
+ readonly ref: "lex:pub.techne.draft.org#schemeValue";
7380
+ };
7381
+ };
7382
+ readonly createdAt: {
7383
+ readonly type: "string";
7384
+ readonly format: "datetime";
7385
+ };
7386
+ };
7387
+ };
7388
+ };
7389
+ };
7390
+ };
7132
7391
  readonly PubTechneDraftPost: {
7133
7392
  readonly lexicon: 1;
7134
7393
  readonly id: "pub.techne.draft.post";
@@ -7767,12 +8026,12 @@ export declare const schemaDict: {
7767
8026
  };
7768
8027
  readonly envelope: {
7769
8028
  readonly type: "array";
7770
- readonly maxLength: 10;
8029
+ readonly maxLength: 11;
7771
8030
  readonly items: {
7772
8031
  readonly type: "string";
7773
- readonly knownValues: ["cid", "author", "collection", "time", "space", "source", "curated", "held", "measures", "signals"];
8032
+ readonly knownValues: ["cid", "author", "collection", "time", "space", "source", "curated", "held", "measures", "signals", "matched"];
7774
8033
  };
7775
- readonly description: "The record fields (#record) each answered record keeps besides `uri` (kept unless `uri` is false) and `value` (always kept): any of cid, author, collection, time, space, source, curated, held, measures, signals and nothing else: the list is closed to these known values, and another name refuses the call as InvalidRequest. Without it every field comes back; `[]` keeps only `value` and, unless `uri` is false, `uri`. A field left out is absent, so a flag left out (`curated`, `held`) reads as false. Bindings read every field, before this selection.";
8034
+ readonly description: "The record fields (#record) each answered record keeps besides `uri` (kept unless `uri` is false) and `value` (always kept): any of cid, author, collection, time, space, source, curated, held, measures, signals, matched and nothing else: the list is closed to these known values, and another name refuses the call as InvalidRequest. Without it every field comes back; `[]` keeps only `value` and, unless `uri` is false, `uri`. A field left out is absent, so a flag left out (`curated`, `held`) reads as false. Bindings read every field, before this selection.";
7776
8035
  };
7777
8036
  readonly uri: {
7778
8037
  readonly type: "boolean";
@@ -7806,6 +8065,11 @@ export declare const schemaDict: {
7806
8065
  readonly type: "boolean";
7807
8066
  readonly description: "List step, asked with `count`: as listRecords' `capped`.";
7808
8067
  };
8068
+ readonly notServedHere: {
8069
+ readonly type: "ref";
8070
+ readonly ref: "lex:pub.techne.draft.query.listRecords#notServedHere";
8071
+ readonly description: "List step: as listRecords' `notServedHere` (an empty list with it set means \"not served here\", not \"nothing there\").";
8072
+ };
7809
8073
  readonly withheld: {
7810
8074
  readonly type: "array";
7811
8075
  readonly items: {
@@ -7905,6 +8169,15 @@ export declare const schemaDict: {
7905
8169
  readonly type: "unknown";
7906
8170
  readonly description: "The server-side signals the query asked for, by name; a signal with no value for this record is absent.";
7907
8171
  };
8172
+ readonly matched: {
8173
+ readonly type: "array";
8174
+ readonly maxLength: 8;
8175
+ readonly items: {
8176
+ readonly type: "ref";
8177
+ readonly ref: "lex:pub.techne.draft.query.listRecords#matchedLocation";
8178
+ };
8179
+ readonly description: "As listRecords#record has it: with a `location` `in` or `covers` condition, the stated locations that matched, at most 8.";
8180
+ };
7908
8181
  };
7909
8182
  };
7910
8183
  readonly stepError: {
@@ -7934,7 +8207,7 @@ export declare const schemaDict: {
7934
8207
  readonly defs: {
7935
8208
  readonly main: {
7936
8209
  readonly type: "query";
7937
- readonly description: "How many records a pub.techne.draft.query names: the records listRecords would answer for it (the same read path, and the platform's `decide` on every record answered as written or permissioned), each once. The count stops at 1000 (`capped`). The query's `order`, `limit` and `signals` are ignored, so a record without the role a list is ordered by is still counted. Anyone may call it, signed in or not; an anonymous caller counts public records only. Draft tier.";
8210
+ readonly description: "How many records a pub.techne.draft.query names: the records listRecords would answer for it (the same read path, the platform's `decide` on every record answered as written or permissioned, and a curated `location` `in`/`covers` match settled again over the locations the curated view trusts), each once, so the count is what paging the list to its end would answer. The count stops at 1000 (`capped`). The query's `order`, `limit` and `signals` are ignored, so a record without the role a list is ordered by is still counted. Anyone may call it, signed in or not; an anonymous caller counts public records only. Draft tier.";
7938
8211
  readonly parameters: {
7939
8212
  readonly type: "params";
7940
8213
  readonly properties: {
@@ -7982,6 +8255,11 @@ export declare const schemaDict: {
7982
8255
  };
7983
8256
  readonly description: "With groupBy: the count per key, largest first.";
7984
8257
  };
8258
+ readonly notServedHere: {
8259
+ readonly type: "ref";
8260
+ readonly ref: "lex:pub.techne.draft.query.listRecords#notServedHere";
8261
+ readonly description: "Present when a `near` or `covers` point or an `in` area of the query lies outside this operator's coverage, or an `in` area is not held here. The records answered are what this operator holds, not the whole answer: an empty list (or a zero count) with this set means \"not served here\", not \"nothing there\". Ask an operator that serves the place.";
8262
+ };
7985
8263
  };
7986
8264
  };
7987
8265
  };
@@ -8219,7 +8497,7 @@ export declare const schemaDict: {
8219
8497
  readonly defs: {
8220
8498
  readonly main: {
8221
8499
  readonly type: "query";
8222
- readonly description: "The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned record is answered only when it is the caller's own or counts in a space whose read policy admits the caller now, not taken down (in a space whose authority is the caller, a block does not hide its records from them), and (in a member-owned circle space) only while its author is a current member by a claim the caller can read. Each branch reads the public records of the view it names (the query's `view`, or its branch's in `any`, `pub.techne.draft.query#branch`): `asWritten`, every record as its author wrote it, or `curated`, the commons' listed records; there is no default (ViewRequired), and a curated branch naming a type no curator covers is refused (NotCurated). A curated record every source of which is by a hidden or suspended account is left out for everyone, and one every source of which is by an author blocked either way is left out for a signed-in caller. Anyone may call it, signed in or not; an anonymous caller gets public records only. Each top-level `any` branch runs on its own index and the branches are merged in order, so a record that matches two branches comes once. A permissioned record, and a public record answered as written, is answered only while the platform's `decide` calls its version valid, and because that check runs on the page already read, a page can hold fewer records than `limit` and still carry a cursor: keep paging until none comes back. Draft tier.";
8500
+ readonly description: "The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned record is answered only when it is the caller's own or counts in a space whose read policy admits the caller now, not taken down (in a space whose authority is the caller, a block does not hide its records from them), and (in a member-owned circle space) only while its author is a current member by a claim the caller can read. Each branch reads the public records of the view it names (the query's `view`, or its branch's in `any`, `pub.techne.draft.query#branch`): `asWritten`, every record as its author wrote it, or `curated`, the commons' listed records; there is no default (ViewRequired), and a curated branch naming a type no curator covers is refused (NotCurated). A curated record every source of which is by a hidden or suspended account is left out for everyone, and one every source of which is by an author blocked either way is left out for a signed-in caller. Anyone may call it, signed in or not; an anonymous caller gets public records only. Each top-level `any` branch runs on its own index and the branches are merged in order, so a record that matches two branches comes once. A permissioned record, and a public record answered as written, is answered only while the platform's `decide` calls its version valid; and a record a curated branch finds by `location` `in` or `covers` is answered only while a location the curated view trusts (its author's own, or a writer the commons endorses for the claim's type) still holds its slot once precedence is rerun over those alone. Because these checks run on the page already read, a page can hold fewer records than `limit`, even none, and still carry a cursor: keep paging until none comes back. Draft tier.";
8223
8501
  readonly parameters: {
8224
8502
  readonly type: "params";
8225
8503
  readonly properties: {
@@ -8281,6 +8559,11 @@ export declare const schemaDict: {
8281
8559
  readonly type: "boolean";
8282
8560
  readonly description: "Only when asked with `count=true`: true when there are more than `count` (countRecords' `capped`).";
8283
8561
  };
8562
+ readonly notServedHere: {
8563
+ readonly type: "ref";
8564
+ readonly ref: "lex:pub.techne.draft.query.listRecords#notServedHere";
8565
+ readonly description: "Present when a `near` or `covers` point or an `in` area of the query lies outside this operator's coverage, or an `in` area is not held here. The records answered are what this operator holds, not the whole answer: an empty list (or a zero count) with this set means \"not served here\", not \"nothing there\". Ask an operator that serves the place.";
8566
+ };
8284
8567
  };
8285
8568
  };
8286
8569
  };
@@ -8355,6 +8638,58 @@ export declare const schemaDict: {
8355
8638
  readonly type: "unknown";
8356
8639
  readonly description: "The server-side signals the query asked for, by name; a signal with no value for this record is absent.";
8357
8640
  };
8641
+ readonly matched: {
8642
+ readonly type: "array";
8643
+ readonly maxLength: 8;
8644
+ readonly items: {
8645
+ readonly type: "ref";
8646
+ readonly ref: "lex:pub.techne.draft.query.listRecords#matchedLocation";
8647
+ };
8648
+ readonly description: "With a `location` `in` or `covers` condition: the stated locations that matched (with `followed`, its subject's), at most 8.";
8649
+ };
8650
+ };
8651
+ };
8652
+ readonly matchedLocation: {
8653
+ readonly type: "object";
8654
+ readonly description: "One stated location that matched.";
8655
+ readonly required: ["kind", "asserter", "source"];
8656
+ readonly properties: {
8657
+ readonly entry: {
8658
+ readonly type: "union";
8659
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
8660
+ readonly description: "The location entry as stated, wrapper included (absent for an area's own cells). The union is open: an entry of another `$type` comes back as stated.";
8661
+ };
8662
+ readonly kind: {
8663
+ readonly type: "string";
8664
+ readonly description: "How the thing relates to the place (`at`, `serves`, `registered`, ...).";
8665
+ };
8666
+ readonly asserter: {
8667
+ readonly type: "string";
8668
+ readonly format: "did";
8669
+ readonly description: "Who stated it: the record's author, or a claim's writer.";
8670
+ };
8671
+ readonly source: {
8672
+ readonly type: "string";
8673
+ readonly format: "at-uri";
8674
+ readonly description: "The record that stated it (the record itself, or a claim about it).";
8675
+ };
8676
+ };
8677
+ };
8678
+ readonly notServedHere: {
8679
+ readonly type: "object";
8680
+ readonly description: "Why the answer is not the whole answer: this operator does not serve the place asked about. An empty list (or a zero count) with this set means \"not served here\", not \"nothing there\".";
8681
+ readonly required: ["reason", "message"];
8682
+ readonly properties: {
8683
+ readonly reason: {
8684
+ readonly type: "string";
8685
+ readonly knownValues: ["outsideCoverage", "areaNotHeld"];
8686
+ readonly description: "`outsideCoverage`: a `near` or `covers` point lies outside the areas this operator serves. `areaNotHeld`: an `in` area is one this operator does not hold, or lies outside the areas it serves.";
8687
+ };
8688
+ readonly message: {
8689
+ readonly type: "string";
8690
+ readonly maxLength: 300;
8691
+ readonly description: "The reason, in words, for a person to read.";
8692
+ };
8358
8693
  };
8359
8694
  };
8360
8695
  };
@@ -8628,6 +8963,48 @@ export declare const schemaDict: {
8628
8963
  };
8629
8964
  };
8630
8965
  };
8966
+ readonly PubTechneDraftRegion: {
8967
+ readonly lexicon: 1;
8968
+ readonly id: "pub.techne.draft.region";
8969
+ readonly description: "The commons root's statement that one area is an operator's region for a period: the root asserts that the operator indexes and serves the public records placed in it. The root asserts that regions do not overlap, that an operator may hold any number of them, and that land in no region is remembered and not served. No reader reads regions yet: coverage today is the platform's fixed list of supported areas (regenos_read::areas::SUPPORTED_AREAS). Separate from `pub.techne.draft.operator`, which grants commons admin powers: holding a region grants none. Only the root's own region records count (a `provenancePolicy` gap, like `operator`). A region is ended by setting `validUntil`, never by deleting the record, and a handoff writes a new record for the new period, so each period keeps its own record. PUBLIC. Written in the commons root's repo only.";
8970
+ readonly defs: {
8971
+ readonly main: {
8972
+ readonly type: "record";
8973
+ readonly key: "any";
8974
+ readonly description: "The rkey is the area's key (the root derives it from the area), or `{area-key}-{millis}` for a later period after one has ended, so each period keeps its own record and a re-publish of a period updates the same record.";
8975
+ readonly record: {
8976
+ readonly type: "object";
8977
+ readonly required: ["area", "operator", "createdAt"];
8978
+ readonly properties: {
8979
+ readonly area: {
8980
+ readonly type: "ref";
8981
+ readonly ref: "lex:com.atproto.repo.strongRef";
8982
+ readonly description: "The area: a `pub.techne.draft.placeV2` with `kind: area`, pinned to one version. A redrawn boundary is a new area version, so it needs a new region version naming it.";
8983
+ };
8984
+ readonly operator: {
8985
+ readonly type: "string";
8986
+ readonly format: "did";
8987
+ readonly description: "The operator that holds the region: the DID of the account that runs its AppView. Its endpoint is a fact about the operator and is not stored here.";
8988
+ };
8989
+ readonly validFrom: {
8990
+ readonly type: "string";
8991
+ readonly format: "datetime";
8992
+ readonly description: "When the period starts. Absent: from always.";
8993
+ };
8994
+ readonly validUntil: {
8995
+ readonly type: "string";
8996
+ readonly format: "datetime";
8997
+ readonly description: "When the period ends (exclusive). Absent: it has not ended.";
8998
+ };
8999
+ readonly createdAt: {
9000
+ readonly type: "string";
9001
+ readonly format: "datetime";
9002
+ };
9003
+ };
9004
+ };
9005
+ };
9006
+ };
9007
+ };
8631
9008
  readonly PubTechneDraftRegistryBlockIndex: {
8632
9009
  readonly lexicon: 1;
8633
9010
  readonly id: "pub.techne.draft.registry.blockIndex";
@@ -9859,8 +10236,8 @@ export declare const schemaDict: {
9859
10236
  };
9860
10237
  readonly fields: {
9861
10238
  readonly type: "union";
9862
- readonly refs: ["lex:pub.techne.draft.org#fields"];
9863
- readonly description: "Some of the subject type's own fields. Each member is the subject type's `#fields` def: the same names and shapes as its main record, none required. Open: a type gains statements by gaining a `#fields` def and a member here.";
10239
+ readonly refs: ["lex:pub.techne.draft.org#fields", "lex:pub.techne.draft.statement#locations"];
10240
+ readonly description: "Some of the subject type's own fields. Each member is the subject type's `#fields` def: the same names and shapes as its main record, none required. Open: a type gains statements by gaining a `#fields` def and a member here. `#locations` is the one member for any type: where the subject is, as the writer says.";
9864
10241
  };
9865
10242
  readonly createdAt: {
9866
10243
  readonly type: "string";
@@ -9869,6 +10246,22 @@ export declare const schemaDict: {
9869
10246
  };
9870
10247
  };
9871
10248
  };
10249
+ readonly locations: {
10250
+ readonly type: "object";
10251
+ readonly description: "Where the subject is, as the writer of the statement says, for a subject of any type. It counts only as the view decides: the subject's own locations win, and a statement fills in only where the subject states no location of that kind, or (with `basis`) gives a position to a subject's entry that has none. A statement the subject's own author writes counts as the subject's own locations. A `basis` equal to the subject record's CID (a legacy claim) counts for any own entry of that kind with no position, while the subject is still that version. When several claims compete for one slot (the same kind, and the same `basis` or none), one counts: the finest grain wins, then the newest, then the lowest source URI; the others are conflicts. On a type whose query document reads its entries as sites (`entries: sites`, as on an org), a claim entry that names no own entry (no `basis`, or a legacy `basis` while the subject states no location of that kind) is its own site: it counts beside every other such entry and competes with none. A claim that names an own entry still competes for that entry, and a subject that states a location of that kind still bars a claim with no `basis`. Read as written, every writer's claim is weighed; curated, only the subject's author's and those of writers the commons root endorses.";
10252
+ readonly required: ["locations"];
10253
+ readonly properties: {
10254
+ readonly locations: {
10255
+ readonly type: "array";
10256
+ readonly maxLength: 256;
10257
+ readonly description: "Entries as in the subject's own `locations` field (lexicon naming register).";
10258
+ readonly items: {
10259
+ readonly type: "union";
10260
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
10261
+ };
10262
+ };
10263
+ };
10264
+ };
9872
10265
  };
9873
10266
  };
9874
10267
  readonly PubTechneDraftSubjectPrefs: {
@@ -13038,7 +13431,7 @@ export declare const schemas: ({
13038
13431
  } | {
13039
13432
  readonly lexicon: 1;
13040
13433
  readonly id: "pub.techne.draft.beaconSpot";
13041
- readonly description: "The exact spot behind a going-to beacon on a public event. A public event made from a dropped pin or a street address shows only its area (rounded to about 100 m, no street line); this record keeps the exact point for that one beacon's people. At most one per beacon: the record key is the beacon's own record key. Its only declared home is that beacon's pub.techne.draft.space.beacon, written by the space's authority (the lighter), so the people who can read it are exactly the beacon space's published read audience: the lighter and everyone the beacon is shared with, including the people and circles the lighter named and anyone who opened the beacon's link while it was lit (each is admitted by a share in the space). Surfaces that show the beacon overlay it onto the event's location; anyone in that audience can also read the record directly. It has no public home, so the firehose guard withholds it. A reader counts it only when its author is the space's authority and `event` names the event the beacon is going to. Deleted when the beacon is ended, and once its event has ended or been cancelled.";
13434
+ readonly description: "SUPERSEDED by `pub.techne.draft.beaconSpotV2` (linked by `pub.techne.draft.sameAs`), which says where with `locations`. Existing records stay readable. The exact spot behind a going-to beacon on a public event. A public event made from a dropped pin or a street address shows only its area (rounded to about 100 m, no street line); this record keeps the exact point for that one beacon's people. At most one per beacon: the record key is the beacon's own record key. Its only declared home is that beacon's pub.techne.draft.space.beacon, written by the space's authority (the lighter), so the people who can read it are exactly the beacon space's published read audience: the lighter and everyone the beacon is shared with, including the people and circles the lighter named and anyone who opened the beacon's link while it was lit (each is admitted by a share in the space). Surfaces that show the beacon overlay it onto the event's location; anyone in that audience can also read the record directly. It has no public home, so the firehose guard withholds it. A reader counts it only when its author is the space's authority and `event` names the event the beacon is going to. Deleted when the beacon is ended, and once its event has ended or been cancelled.";
13042
13435
  readonly defs: {
13043
13436
  readonly main: {
13044
13437
  readonly type: "record";
@@ -13066,6 +13459,41 @@ export declare const schemas: ({
13066
13459
  };
13067
13460
  };
13068
13461
  };
13462
+ } | {
13463
+ readonly lexicon: 1;
13464
+ readonly id: "pub.techne.draft.beaconSpotV2";
13465
+ readonly description: "The exact spot behind a going-to beacon on a public event, replacing `pub.techne.draft.beaconSpot` (lexicon constitution, v2 audit): `subject` names the event (a strongRef, in place of `event`), and `locations` carries the point and the address (in place of `geo` and `address`). Linked to the beaconSpot it replaces by a `pub.techne.draft.sameAs` record. Same key, readers and home as `beaconSpot` (the home is declared `unbuilt` until its writer lands): at most one per beacon at the beacon's own record key, only in that beacon's pub.techne.draft.space.beacon, written by the space's authority (the lighter); a reader counts it only when its author is the space's authority and `subject` names the event the beacon is going to.";
13466
+ readonly defs: {
13467
+ readonly main: {
13468
+ readonly type: "record";
13469
+ readonly key: "any";
13470
+ readonly record: {
13471
+ readonly type: "object";
13472
+ readonly required: ["subject", "locations", "createdAt"];
13473
+ readonly properties: {
13474
+ readonly subject: {
13475
+ readonly type: "ref";
13476
+ readonly ref: "lex:com.atproto.repo.strongRef";
13477
+ readonly description: "The public community.lexicon.calendar.event this is the exact spot of.";
13478
+ };
13479
+ readonly locations: {
13480
+ readonly type: "array";
13481
+ readonly minLength: 1;
13482
+ readonly maxLength: 4;
13483
+ readonly description: "The exact spot as the person sent it: a point, and the full street address (street line included) when they sent one. Its query document reads the entries as `faces`.";
13484
+ readonly items: {
13485
+ readonly type: "union";
13486
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
13487
+ };
13488
+ };
13489
+ readonly createdAt: {
13490
+ readonly type: "string";
13491
+ readonly format: "datetime";
13492
+ };
13493
+ };
13494
+ };
13495
+ };
13496
+ };
13069
13497
  } | {
13070
13498
  readonly lexicon: 1;
13071
13499
  readonly id: "pub.techne.draft.block";
@@ -13134,8 +13562,66 @@ export declare const schemas: ({
13134
13562
  readonly properties: {
13135
13563
  readonly beacon: {
13136
13564
  readonly type: "string";
13137
- readonly format: "at-uri";
13138
- readonly description: "The sharer's own pub.techne.draft.beacon. A plain at-uri, not a strongRef: the beacon is re-put when its note changes, and this record follows the current version.";
13565
+ readonly format: "at-uri";
13566
+ readonly description: "The sharer's own pub.techne.draft.beacon. A plain at-uri, not a strongRef: the beacon is re-put when its note changes, and this record follows the current version.";
13567
+ };
13568
+ readonly createdAt: {
13569
+ readonly type: "string";
13570
+ readonly format: "datetime";
13571
+ };
13572
+ };
13573
+ };
13574
+ };
13575
+ };
13576
+ } | {
13577
+ readonly lexicon: 1;
13578
+ readonly id: "pub.techne.draft.collective";
13579
+ readonly description: "SUPERSEDED by `pub.techne.draft.collectiveV2` (linked by `pub.techne.draft.sameAs`), which says where with `locations`. Existing records stay readable. A collective's descriptor record. The collective's identity is its DID; this record describes it.";
13580
+ readonly defs: {
13581
+ readonly main: {
13582
+ readonly type: "record";
13583
+ readonly key: "literal:self";
13584
+ readonly record: {
13585
+ readonly type: "object";
13586
+ readonly required: ["name", "createdAt"];
13587
+ readonly properties: {
13588
+ readonly name: {
13589
+ readonly type: "string";
13590
+ readonly maxLength: 640;
13591
+ readonly maxGraphemes: 64;
13592
+ readonly description: "The display name of the collective.";
13593
+ };
13594
+ readonly description: {
13595
+ readonly type: "string";
13596
+ readonly maxLength: 2560;
13597
+ readonly maxGraphemes: 256;
13598
+ readonly description: "A free-form description of the collective.";
13599
+ };
13600
+ readonly emoji: {
13601
+ readonly type: "string";
13602
+ readonly maxLength: 64;
13603
+ readonly maxGraphemes: 1;
13604
+ readonly description: "Optional: one emoji (one grapheme cluster), the collective's mark. A client shows the avatar if there is one, else this emoji, else the first letter of the name. No color is stored; a client may derive one from the collective's DID.";
13605
+ };
13606
+ readonly collectiveType: {
13607
+ readonly type: "string";
13608
+ readonly description: "Free-form collective type/category label. The value \"beacon.circle\" marks a Beacon circle on a descriptor placed in its own DID's pub.techne.draft.space.collective.member/self, whoever made that DID or wrote it. A Beacon circle is a private group whose descriptor and memberships live only in that member space, and which a pub.techne.draft.accessRule#groupTarget may name. Roles: a member holds 20 and the manager 40 (the founder, until they make someone else manager). Where the platform holds the circle's credential, any member may add people and leave; only the manager renames, sets the emoji, removes people and makes someone manager (one putRecords: that member at 40, the manager's own claim at 20). A write that would leave members with nobody at >= 30 is refused (LastManager). A circle whose last member leaves is deleted, and so is one whose only member deletes their account; an account that alone manages a circle hands it to the longest-standing other member when it is deleted. Circles made before these roles hold every member at 40 until the operator lowers them. A circle whose DID someone else holds is managed by its holder.";
13609
+ readonly maxLength: 64;
13610
+ };
13611
+ readonly sceneType: {
13612
+ readonly type: "string";
13613
+ readonly description: "Deprecated: the old name of collectiveType, kept so records written before 2026-10-09 still read. Writers set collectiveType only. Readers take collectiveType and fall back to sceneType when it is absent.";
13614
+ readonly maxLength: 64;
13615
+ };
13616
+ readonly location: {
13617
+ readonly type: "union";
13618
+ readonly description: "Where the collective is based.";
13619
+ readonly refs: ["lex:community.lexicon.location.address", "lex:community.lexicon.location.geo", "lex:community.lexicon.location.fsq", "lex:community.lexicon.location.hthree"];
13620
+ };
13621
+ readonly avatar: {
13622
+ readonly type: "blob";
13623
+ readonly accept: ["image/png", "image/jpeg"];
13624
+ readonly maxSize: 1000000;
13139
13625
  };
13140
13626
  readonly createdAt: {
13141
13627
  readonly type: "string";
@@ -13147,8 +13633,8 @@ export declare const schemas: ({
13147
13633
  };
13148
13634
  } | {
13149
13635
  readonly lexicon: 1;
13150
- readonly id: "pub.techne.draft.collective";
13151
- readonly description: "A collective's descriptor record. The collective's identity is its DID; this record describes it.";
13636
+ readonly id: "pub.techne.draft.collectiveV2";
13637
+ readonly description: "A collective's descriptor record, replacing `pub.techne.draft.collective` (lexicon constitution, v2 audit, \"Where something is\"): `locations` takes the place of the single `location`, and the deprecated `sceneType` is gone. The collective's identity is its DID; this record describes it. A collectiveV2 and the collective descriptor it replaces are linked by a `pub.techne.draft.sameAs` record. Its homes in the placement manifest are declared `unbuilt` until its writer lands; they will be `collective`'s.";
13152
13638
  readonly defs: {
13153
13639
  readonly main: {
13154
13640
  readonly type: "record";
@@ -13180,15 +13666,14 @@ export declare const schemas: ({
13180
13666
  readonly description: "Free-form collective type/category label. The value \"beacon.circle\" marks a Beacon circle on a descriptor placed in its own DID's pub.techne.draft.space.collective.member/self, whoever made that DID or wrote it. A Beacon circle is a private group whose descriptor and memberships live only in that member space, and which a pub.techne.draft.accessRule#groupTarget may name. Roles: a member holds 20 and the manager 40 (the founder, until they make someone else manager). Where the platform holds the circle's credential, any member may add people and leave; only the manager renames, sets the emoji, removes people and makes someone manager (one putRecords: that member at 40, the manager's own claim at 20). A write that would leave members with nobody at >= 30 is refused (LastManager). A circle whose last member leaves is deleted, and so is one whose only member deletes their account; an account that alone manages a circle hands it to the longest-standing other member when it is deleted. Circles made before these roles hold every member at 40 until the operator lowers them. A circle whose DID someone else holds is managed by its holder.";
13181
13667
  readonly maxLength: 64;
13182
13668
  };
13183
- readonly sceneType: {
13184
- readonly type: "string";
13185
- readonly description: "Deprecated: the old name of collectiveType, kept so records written before 2026-10-09 still read. Writers set collectiveType only. Readers take collectiveType and fall back to sceneType when it is absent.";
13186
- readonly maxLength: 64;
13187
- };
13188
- readonly location: {
13189
- readonly type: "union";
13190
- readonly description: "Where the collective is based.";
13191
- readonly refs: ["lex:community.lexicon.location.address", "lex:community.lexicon.location.geo", "lex:community.lexicon.location.fsq", "lex:community.lexicon.location.hthree"];
13669
+ readonly locations: {
13670
+ readonly type: "array";
13671
+ readonly maxLength: 16;
13672
+ readonly description: "Where the collective is based: a point, an H3 cell, an address or a place record (lexicon naming register). Its query document reads the entries as `sites`.";
13673
+ readonly items: {
13674
+ readonly type: "union";
13675
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
13676
+ };
13192
13677
  };
13193
13678
  readonly avatar: {
13194
13679
  readonly type: "blob";
@@ -13726,7 +14211,7 @@ export declare const schemas: ({
13726
14211
  } | {
13727
14212
  readonly lexicon: 1;
13728
14213
  readonly id: "pub.techne.draft.containedIn";
13729
- readonly description: "An assertion that one place is inside another (a room in a building, a stage in a park). It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons venue rule.";
14214
+ readonly description: "SUPERSEDED, still written by the commons rules until their writers move to the new shape: a place inside another names it in its own `locations` (a `pub.techne.draft.placeV2`), or a `pub.techne.draft.statement` carrying `#locations` says so. Existing records stay readable. An assertion that one place is inside another (a room in a building, a stage in a park). It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons venue rule.";
13730
14215
  readonly defs: {
13731
14216
  readonly main: {
13732
14217
  readonly type: "record";
@@ -14004,7 +14489,7 @@ export declare const schemas: ({
14004
14489
  readonly name: {
14005
14490
  readonly type: "string";
14006
14491
  readonly maxLength: 64;
14007
- readonly knownValues: ["titleSimilarity", "nameSimilarity", "nameContainment", "titleFrequency", "startDelta", "endDelta", "samePlaceCluster", "distance", "placePrecision", "sameAddress", "addressGeoConflict", "categoryConflict", "sameUrl", "venueNameConflict", "placeNameInTitle", "placeNameTokens"];
14492
+ readonly knownValues: ["titleSimilarity", "nameSimilarity", "nameContainment", "titleFrequency", "startDelta", "endDelta", "samePlaceCluster", "distance", "placePrecision", "sameAddress", "addressGeoConflict", "categoryConflict", "sameUrl", "venueNameConflict", "placeNameInTitle", "placeNameTokens", "edgeResolution"];
14008
14493
  };
14009
14494
  readonly value: {
14010
14495
  readonly type: "integer";
@@ -14387,7 +14872,7 @@ export declare const schemas: ({
14387
14872
  } | {
14388
14873
  readonly lexicon: 1;
14389
14874
  readonly id: "pub.techne.draft.geo";
14390
- readonly description: "Where a record is: a coordinate. A sidecar about any record (a place, an event, a later type), written in the writer's own repo, never onto the subject, so the subject's author, audience and lifetime are untouched and a reader chooses which writers it trusts. Written only when it adds a coordinate the subject's own record lacks: when a source gives coordinates they stay in the subject's own `locations`, and no geo record is needed. H3 cells are not stored: readers compute them from `location` at index time. It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons geocode rule.";
14875
+ readonly description: "SUPERSEDED: the commons geocode rule wrote it until its version geocode-3, which writes a statement instead. A position for someone else's record is a `pub.techne.draft.statement` carrying `#locations`, with `basis` naming the entry it positions. Existing records stay readable until they are retired. Where a record is: a coordinate. A sidecar about any record (a place, an event, a later type), written in the writer's own repo, never onto the subject, so the subject's author, audience and lifetime are untouched and a reader chooses which writers it trusts. Written only when it adds a coordinate the subject's own record lacks: when a source gives coordinates they stay in the subject's own `locations`, and no geo record is needed. H3 cells are not stored: readers compute them from `location` at index time. It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons geocode rule before geocode-3.";
14391
14876
  readonly defs: {
14392
14877
  readonly main: {
14393
14878
  readonly type: "record";
@@ -14424,7 +14909,7 @@ export declare const schemas: ({
14424
14909
  } | {
14425
14910
  readonly lexicon: 1;
14426
14911
  readonly id: "pub.techne.draft.heldAt";
14427
- readonly description: "The place where an event is held. It names a place record, for an event whose own record names no place record (the main event-to-venue link is the event's own `locations` entry naming its source's place record; this is only for events without one). It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons venue rule.";
14912
+ readonly description: "SUPERSEDED, still written by the commons rules until their writers move to the new shape: the place an event is held at is a `pub.techne.draft.statement` about the event carrying `#locations` with a place reference. Existing records stay readable. The place where an event is held. It names a place record, for an event whose own record names no place record (the main event-to-venue link is the event's own `locations` entry naming its source's place record; this is only for events without one). It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons venue rule.";
14428
14913
  readonly defs: {
14429
14914
  readonly main: {
14430
14915
  readonly type: "record";
@@ -17121,6 +17606,40 @@ export declare const schemas: ({
17121
17606
  };
17122
17607
  };
17123
17608
  };
17609
+ } | {
17610
+ readonly lexicon: 1;
17611
+ readonly id: "pub.techne.draft.locationEntry";
17612
+ readonly 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).";
17613
+ readonly defs: {
17614
+ readonly main: {
17615
+ readonly type: "object";
17616
+ readonly required: ["at"];
17617
+ readonly properties: {
17618
+ readonly kind: {
17619
+ readonly type: "string";
17620
+ readonly maxLength: 64;
17621
+ readonly knownValues: ["at", "serves", "registered"];
17622
+ readonly 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.";
17623
+ };
17624
+ readonly at: {
17625
+ readonly type: "union";
17626
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef"];
17627
+ readonly 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).";
17628
+ };
17629
+ readonly label: {
17630
+ readonly type: "string";
17631
+ readonly maxLength: 640;
17632
+ readonly maxGraphemes: 64;
17633
+ readonly description: "A short label for the entry as the writer would show it, such as \"Main office\" or \"Filing city (IRS)\".";
17634
+ };
17635
+ readonly basis: {
17636
+ readonly type: "string";
17637
+ readonly format: "cid";
17638
+ readonly 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.";
17639
+ };
17640
+ };
17641
+ };
17642
+ };
17124
17643
  } | {
17125
17644
  readonly lexicon: 1;
17126
17645
  readonly id: "pub.techne.draft.market.ask";
@@ -17377,11 +17896,11 @@ export declare const schemas: ({
17377
17896
  };
17378
17897
  readonly locations: {
17379
17898
  readonly type: "array";
17380
- readonly maxLength: 16;
17381
- readonly description: "Where the organization is: a point, an address or a place record. Never a mailing address: a registry's address is often an organizer's home, so it is not published. An organization's office or storefront at a commons place is a `pub.techne.draft.orgAtPlace` record, not an entry here.";
17899
+ readonly maxLength: 256;
17900
+ readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. This replaces `pub.techne.draft.orgAtPlace`.";
17382
17901
  readonly items: {
17383
17902
  readonly type: "union";
17384
- readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef"];
17903
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
17385
17904
  };
17386
17905
  };
17387
17906
  readonly createdAt: {
@@ -17452,11 +17971,11 @@ export declare const schemas: ({
17452
17971
  };
17453
17972
  readonly locations: {
17454
17973
  readonly type: "array";
17455
- readonly maxLength: 16;
17456
- readonly description: "Where the organization is: a point, an address or a place record. Never a mailing address: a registry's address is often an organizer's home, so it is not published. An organization's office or storefront at a commons place is a `pub.techne.draft.orgAtPlace` record, not an entry here.";
17974
+ readonly maxLength: 256;
17975
+ readonly description: "Where the organization is: a point, an H3 cell, an address or a place record, each bare entry a site of the org (its office, its storefront, a place it runs). A `pub.techne.draft.locationEntry` says something other than \"is at\": `serves` for a service area, `registered` for where a registry lists it (a nonprofit's filing city or ZIP area, never the street address). Never a mailing address: a registry's address is often an organizer's home, so it is not published. Its query document reads the entries as `sites`: each is its own location. This replaces `pub.techne.draft.orgAtPlace`.";
17457
17976
  readonly items: {
17458
17977
  readonly type: "union";
17459
- readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef"];
17978
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
17460
17979
  };
17461
17980
  };
17462
17981
  };
@@ -17482,7 +18001,7 @@ export declare const schemas: ({
17482
18001
  } | {
17483
18002
  readonly lexicon: 1;
17484
18003
  readonly id: "pub.techne.draft.orgAtPlace";
17485
- readonly description: "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).";
18004
+ readonly description: "SUPERSEDED: 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).";
17486
18005
  readonly defs: {
17487
18006
  readonly main: {
17488
18007
  readonly type: "record";
@@ -17552,7 +18071,7 @@ export declare const schemas: ({
17552
18071
  } | {
17553
18072
  readonly lexicon: 1;
17554
18073
  readonly id: "pub.techne.draft.pendingBeaconSpot";
17555
- readonly description: "The exact spot a person picked for a public event they are about to light a beacon on, kept until that beacon exists. Making the public event comes first and rounds a dropped pin or a street address to its area; the beacon, whose space is where the exact spot is shown, is made by a second call. This record carries the exact spot between the two: when the person lights a going-to beacon on `event`, the server copies it into that beacon's space as a pub.techne.draft.beaconSpot and deletes this one. At most one per person per event: the record key is the event's own record key, so a second pick re-puts it. PRIVATE by construction: its only declared home is the author's own pub.techne.draft.space.personal (audience of one), it has no public home, no app surface shows it, and it is readable only by its author (a direct read of their own record). One no beacon took up is deleted after a day.";
18074
+ readonly description: "SUPERSEDED by `pub.techne.draft.pendingBeaconSpotV2` (linked by `pub.techne.draft.sameAs`), which says where with `locations`. Existing records stay readable. The exact spot a person picked for a public event they are about to light a beacon on, kept until that beacon exists. Making the public event comes first and rounds a dropped pin or a street address to its area; the beacon, whose space is where the exact spot is shown, is made by a second call. This record carries the exact spot between the two: when the person lights a going-to beacon on `event`, the server copies it into that beacon's space as a pub.techne.draft.beaconSpot and deletes this one. At most one per person per event: the record key is the event's own record key, so a second pick re-puts it. PRIVATE by construction: its only declared home is the author's own pub.techne.draft.space.personal (audience of one), it has no public home, no app surface shows it, and it is readable only by its author (a direct read of their own record). One no beacon took up is deleted after a day.";
17556
18075
  readonly defs: {
17557
18076
  readonly main: {
17558
18077
  readonly type: "record";
@@ -17585,6 +18104,42 @@ export declare const schemas: ({
17585
18104
  };
17586
18105
  };
17587
18106
  };
18107
+ } | {
18108
+ readonly lexicon: 1;
18109
+ readonly id: "pub.techne.draft.pendingBeaconSpotV2";
18110
+ readonly description: "The exact spot a person picked for a public event they are about to light a beacon on, kept until that beacon exists, replacing `pub.techne.draft.pendingBeaconSpot` (lexicon constitution, v2 audit): `subject` names the event (a strongRef, in place of `event`), and `locations` carries the point and the address (in place of `geo` and `address`). Linked to the record it replaces by a `pub.techne.draft.sameAs` record. Same key, lifetime and home as `pendingBeaconSpot` (the home is declared `unbuilt` until its writer lands): at the event's own record key, only in the author's pub.techne.draft.space.personal, deleted when a beacon takes it up or after a day.";
18111
+ readonly defs: {
18112
+ readonly main: {
18113
+ readonly type: "record";
18114
+ readonly key: "any";
18115
+ readonly record: {
18116
+ readonly type: "object";
18117
+ readonly required: ["subject", "locations", "createdAt"];
18118
+ readonly properties: {
18119
+ readonly subject: {
18120
+ readonly type: "ref";
18121
+ readonly ref: "lex:com.atproto.repo.strongRef";
18122
+ readonly description: "The public community.lexicon.calendar.event this is the exact spot of.";
18123
+ };
18124
+ readonly locations: {
18125
+ readonly type: "array";
18126
+ readonly minLength: 1;
18127
+ readonly maxLength: 4;
18128
+ readonly description: "The exact spot as the person sent it: a point, and the full street address (street line included) when they sent one. Its query document reads the entries as `faces`.";
18129
+ readonly items: {
18130
+ readonly type: "union";
18131
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
18132
+ };
18133
+ };
18134
+ readonly createdAt: {
18135
+ readonly type: "string";
18136
+ readonly format: "datetime";
18137
+ readonly description: "When this was last written. Read to delete a copy no beacon took up within a day.";
18138
+ };
18139
+ };
18140
+ };
18141
+ };
18142
+ };
17588
18143
  } | {
17589
18144
  readonly lexicon: 1;
17590
18145
  readonly id: "pub.techne.draft.permissioned.deleteRecord";
@@ -18259,7 +18814,7 @@ export declare const schemas: ({
18259
18814
  } | {
18260
18815
  readonly lexicon: 1;
18261
18816
  readonly id: "pub.techne.draft.place";
18262
- readonly description: "A place, public space or group in the shared directory. It is a commons directory entry that anyone may reference. PUBLIC content: this collection carries NO PROVENANCE RULE — anyone may author one, and no consumer may condition meaning on who did (default-anonymous is a CUSTODY property of the authoring account, never a schema property; the record body carries no creator field, ever). Convergence is by `sameAs` identity, never by author. Two kinds of record share this collection and this schema: SOURCE places (a mirror's, a person's, the commons collective's), and CURATED places, which the commons curator rule publishes in its own repo, one per cluster of source places that endorsed rules joined with pub.techne.draft.sameAs, under a TID rkey kept through merges, beside a pub.techne.draft.provenance sidecar naming its sources; a place no rule joined to another is a cluster of one and gets a curated place too. A curated event's location names the curated place, never a source place. The record means the same either way; whether it is curated is told by its provenance sidecar (in the author's repo, at sidecar_rkey of the curated record's AT-URI), not by a field.";
18817
+ readonly description: "SUPERSEDED by `pub.techne.draft.placeV2` (linked by `pub.techne.draft.sameAs`): a new writer writes placeV2; the commons rules still write place until their writers move. Existing records stay readable. A place, public space or group in the shared directory. It is a commons directory entry that anyone may reference. PUBLIC content: this collection carries NO PROVENANCE RULE — anyone may author one, and no consumer may condition meaning on who did (default-anonymous is a CUSTODY property of the authoring account, never a schema property; the record body carries no creator field, ever). Convergence is by `sameAs` identity, never by author. Two kinds of record share this collection and this schema: SOURCE places (a mirror's, a person's, the commons collective's), and CURATED places, which the commons curator rule publishes in its own repo, one per cluster of source places that endorsed rules joined with pub.techne.draft.sameAs, under a TID rkey kept through merges, beside a pub.techne.draft.provenance sidecar naming its sources; a place no rule joined to another is a cluster of one and gets a curated place too. A curated event's location names the curated place, never a source place. The record means the same either way; whether it is curated is told by its provenance sidecar (in the author's repo, at sidecar_rkey of the curated record's AT-URI), not by a field.";
18263
18818
  readonly defs: {
18264
18819
  readonly main: {
18265
18820
  readonly type: "record";
@@ -18460,6 +19015,98 @@ export declare const schemas: ({
18460
19015
  };
18461
19016
  };
18462
19017
  };
19018
+ } | {
19019
+ readonly lexicon: 1;
19020
+ readonly id: "pub.techne.draft.placeV2";
19021
+ readonly 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`. A placeV2 and the place it replaces are linked by a `pub.techne.draft.sameAs` record. PUBLIC content with no provenance rule, like `place`: anyone may author one, and convergence is by `sameAs`, never by author. Curated places follow the same rules as on `place`.";
19022
+ readonly defs: {
19023
+ readonly main: {
19024
+ readonly type: "record";
19025
+ readonly key: "any";
19026
+ readonly 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.";
19027
+ readonly record: {
19028
+ readonly type: "object";
19029
+ readonly required: ["name", "kind", "createdAt"];
19030
+ readonly properties: {
19031
+ readonly name: {
19032
+ readonly type: "string";
19033
+ readonly maxLength: 640;
19034
+ readonly maxGraphemes: 128;
19035
+ readonly description: "The place/group's display name.";
19036
+ };
19037
+ readonly kind: {
19038
+ readonly type: "string";
19039
+ readonly maxLength: 64;
19040
+ readonly knownValues: ["business", "publicSpace", "group", "area"];
19041
+ readonly description: "What kind of directory entry this is. `area`: a named area (a city, county, ZIP or parish) whose extent is `cells`.";
19042
+ };
19043
+ readonly category: {
19044
+ readonly type: "string";
19045
+ readonly maxLength: 128;
19046
+ readonly 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.";
19047
+ };
19048
+ readonly locations: {
19049
+ readonly type: "array";
19050
+ readonly maxLength: 16;
19051
+ readonly 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.";
19052
+ readonly items: {
19053
+ readonly type: "union";
19054
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
19055
+ };
19056
+ };
19057
+ readonly cells: {
19058
+ readonly type: "array";
19059
+ readonly maxLength: 20000;
19060
+ readonly 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.";
19061
+ readonly items: {
19062
+ readonly type: "string";
19063
+ readonly minLength: 15;
19064
+ readonly maxLength: 15;
19065
+ };
19066
+ };
19067
+ readonly timeZone: {
19068
+ readonly type: "string";
19069
+ readonly maxLength: 64;
19070
+ readonly 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.";
19071
+ };
19072
+ readonly uris: {
19073
+ readonly type: "array";
19074
+ readonly maxLength: 16;
19075
+ readonly description: "Named links associated with this place, such as its website. Data-source credits belong in a separate attribution record.";
19076
+ readonly items: {
19077
+ readonly type: "ref";
19078
+ readonly ref: "lex:community.lexicon.calendar.event#uri";
19079
+ };
19080
+ };
19081
+ readonly openingHours: {
19082
+ readonly type: "string";
19083
+ readonly maxLength: 1024;
19084
+ readonly maxGraphemes: 512;
19085
+ readonly 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.";
19086
+ };
19087
+ readonly description: {
19088
+ readonly type: "string";
19089
+ readonly maxLength: 30000;
19090
+ readonly maxGraphemes: 3000;
19091
+ readonly 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.";
19092
+ };
19093
+ readonly identifiers: {
19094
+ readonly type: "array";
19095
+ readonly maxLength: 32;
19096
+ readonly 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.";
19097
+ readonly items: {
19098
+ readonly type: "ref";
19099
+ readonly ref: "lex:pub.techne.draft.org#schemeValue";
19100
+ };
19101
+ };
19102
+ readonly createdAt: {
19103
+ readonly type: "string";
19104
+ readonly format: "datetime";
19105
+ };
19106
+ };
19107
+ };
19108
+ };
19109
+ };
18463
19110
  } | {
18464
19111
  readonly lexicon: 1;
18465
19112
  readonly id: "pub.techne.draft.post";
@@ -19093,12 +19740,12 @@ export declare const schemas: ({
19093
19740
  };
19094
19741
  readonly envelope: {
19095
19742
  readonly type: "array";
19096
- readonly maxLength: 10;
19743
+ readonly maxLength: 11;
19097
19744
  readonly items: {
19098
19745
  readonly type: "string";
19099
- readonly knownValues: ["cid", "author", "collection", "time", "space", "source", "curated", "held", "measures", "signals"];
19746
+ readonly knownValues: ["cid", "author", "collection", "time", "space", "source", "curated", "held", "measures", "signals", "matched"];
19100
19747
  };
19101
- readonly description: "The record fields (#record) each answered record keeps besides `uri` (kept unless `uri` is false) and `value` (always kept): any of cid, author, collection, time, space, source, curated, held, measures, signals and nothing else: the list is closed to these known values, and another name refuses the call as InvalidRequest. Without it every field comes back; `[]` keeps only `value` and, unless `uri` is false, `uri`. A field left out is absent, so a flag left out (`curated`, `held`) reads as false. Bindings read every field, before this selection.";
19748
+ readonly description: "The record fields (#record) each answered record keeps besides `uri` (kept unless `uri` is false) and `value` (always kept): any of cid, author, collection, time, space, source, curated, held, measures, signals, matched and nothing else: the list is closed to these known values, and another name refuses the call as InvalidRequest. Without it every field comes back; `[]` keeps only `value` and, unless `uri` is false, `uri`. A field left out is absent, so a flag left out (`curated`, `held`) reads as false. Bindings read every field, before this selection.";
19102
19749
  };
19103
19750
  readonly uri: {
19104
19751
  readonly type: "boolean";
@@ -19132,6 +19779,11 @@ export declare const schemas: ({
19132
19779
  readonly type: "boolean";
19133
19780
  readonly description: "List step, asked with `count`: as listRecords' `capped`.";
19134
19781
  };
19782
+ readonly notServedHere: {
19783
+ readonly type: "ref";
19784
+ readonly ref: "lex:pub.techne.draft.query.listRecords#notServedHere";
19785
+ readonly description: "List step: as listRecords' `notServedHere` (an empty list with it set means \"not served here\", not \"nothing there\").";
19786
+ };
19135
19787
  readonly withheld: {
19136
19788
  readonly type: "array";
19137
19789
  readonly items: {
@@ -19231,6 +19883,15 @@ export declare const schemas: ({
19231
19883
  readonly type: "unknown";
19232
19884
  readonly description: "The server-side signals the query asked for, by name; a signal with no value for this record is absent.";
19233
19885
  };
19886
+ readonly matched: {
19887
+ readonly type: "array";
19888
+ readonly maxLength: 8;
19889
+ readonly items: {
19890
+ readonly type: "ref";
19891
+ readonly ref: "lex:pub.techne.draft.query.listRecords#matchedLocation";
19892
+ };
19893
+ readonly description: "As listRecords#record has it: with a `location` `in` or `covers` condition, the stated locations that matched, at most 8.";
19894
+ };
19234
19895
  };
19235
19896
  };
19236
19897
  readonly stepError: {
@@ -19259,7 +19920,7 @@ export declare const schemas: ({
19259
19920
  readonly defs: {
19260
19921
  readonly main: {
19261
19922
  readonly type: "query";
19262
- readonly description: "How many records a pub.techne.draft.query names: the records listRecords would answer for it (the same read path, and the platform's `decide` on every record answered as written or permissioned), each once. The count stops at 1000 (`capped`). The query's `order`, `limit` and `signals` are ignored, so a record without the role a list is ordered by is still counted. Anyone may call it, signed in or not; an anonymous caller counts public records only. Draft tier.";
19923
+ readonly description: "How many records a pub.techne.draft.query names: the records listRecords would answer for it (the same read path, the platform's `decide` on every record answered as written or permissioned, and a curated `location` `in`/`covers` match settled again over the locations the curated view trusts), each once, so the count is what paging the list to its end would answer. The count stops at 1000 (`capped`). The query's `order`, `limit` and `signals` are ignored, so a record without the role a list is ordered by is still counted. Anyone may call it, signed in or not; an anonymous caller counts public records only. Draft tier.";
19263
19924
  readonly parameters: {
19264
19925
  readonly type: "params";
19265
19926
  readonly properties: {
@@ -19307,6 +19968,11 @@ export declare const schemas: ({
19307
19968
  };
19308
19969
  readonly description: "With groupBy: the count per key, largest first.";
19309
19970
  };
19971
+ readonly notServedHere: {
19972
+ readonly type: "ref";
19973
+ readonly ref: "lex:pub.techne.draft.query.listRecords#notServedHere";
19974
+ readonly description: "Present when a `near` or `covers` point or an `in` area of the query lies outside this operator's coverage, or an `in` area is not held here. The records answered are what this operator holds, not the whole answer: an empty list (or a zero count) with this set means \"not served here\", not \"nothing there\". Ask an operator that serves the place.";
19975
+ };
19310
19976
  };
19311
19977
  };
19312
19978
  };
@@ -19542,7 +20208,7 @@ export declare const schemas: ({
19542
20208
  readonly defs: {
19543
20209
  readonly main: {
19544
20210
  readonly type: "query";
19545
- readonly description: "The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned record is answered only when it is the caller's own or counts in a space whose read policy admits the caller now, not taken down (in a space whose authority is the caller, a block does not hide its records from them), and (in a member-owned circle space) only while its author is a current member by a claim the caller can read. Each branch reads the public records of the view it names (the query's `view`, or its branch's in `any`, `pub.techne.draft.query#branch`): `asWritten`, every record as its author wrote it, or `curated`, the commons' listed records; there is no default (ViewRequired), and a curated branch naming a type no curator covers is refused (NotCurated). A curated record every source of which is by a hidden or suspended account is left out for everyone, and one every source of which is by an author blocked either way is left out for a signed-in caller. Anyone may call it, signed in or not; an anonymous caller gets public records only. Each top-level `any` branch runs on its own index and the branches are merged in order, so a record that matches two branches comes once. A permissioned record, and a public record answered as written, is answered only while the platform's `decide` calls its version valid, and because that check runs on the page already read, a page can hold fewer records than `limit` and still carry a cursor: keep paging until none comes back. Draft tier.";
20211
+ readonly description: "The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned record is answered only when it is the caller's own or counts in a space whose read policy admits the caller now, not taken down (in a space whose authority is the caller, a block does not hide its records from them), and (in a member-owned circle space) only while its author is a current member by a claim the caller can read. Each branch reads the public records of the view it names (the query's `view`, or its branch's in `any`, `pub.techne.draft.query#branch`): `asWritten`, every record as its author wrote it, or `curated`, the commons' listed records; there is no default (ViewRequired), and a curated branch naming a type no curator covers is refused (NotCurated). A curated record every source of which is by a hidden or suspended account is left out for everyone, and one every source of which is by an author blocked either way is left out for a signed-in caller. Anyone may call it, signed in or not; an anonymous caller gets public records only. Each top-level `any` branch runs on its own index and the branches are merged in order, so a record that matches two branches comes once. A permissioned record, and a public record answered as written, is answered only while the platform's `decide` calls its version valid; and a record a curated branch finds by `location` `in` or `covers` is answered only while a location the curated view trusts (its author's own, or a writer the commons endorses for the claim's type) still holds its slot once precedence is rerun over those alone. Because these checks run on the page already read, a page can hold fewer records than `limit`, even none, and still carry a cursor: keep paging until none comes back. Draft tier.";
19546
20212
  readonly parameters: {
19547
20213
  readonly type: "params";
19548
20214
  readonly properties: {
@@ -19604,6 +20270,11 @@ export declare const schemas: ({
19604
20270
  readonly type: "boolean";
19605
20271
  readonly description: "Only when asked with `count=true`: true when there are more than `count` (countRecords' `capped`).";
19606
20272
  };
20273
+ readonly notServedHere: {
20274
+ readonly type: "ref";
20275
+ readonly ref: "lex:pub.techne.draft.query.listRecords#notServedHere";
20276
+ readonly description: "Present when a `near` or `covers` point or an `in` area of the query lies outside this operator's coverage, or an `in` area is not held here. The records answered are what this operator holds, not the whole answer: an empty list (or a zero count) with this set means \"not served here\", not \"nothing there\". Ask an operator that serves the place.";
20277
+ };
19607
20278
  };
19608
20279
  };
19609
20280
  };
@@ -19678,6 +20349,58 @@ export declare const schemas: ({
19678
20349
  readonly type: "unknown";
19679
20350
  readonly description: "The server-side signals the query asked for, by name; a signal with no value for this record is absent.";
19680
20351
  };
20352
+ readonly matched: {
20353
+ readonly type: "array";
20354
+ readonly maxLength: 8;
20355
+ readonly items: {
20356
+ readonly type: "ref";
20357
+ readonly ref: "lex:pub.techne.draft.query.listRecords#matchedLocation";
20358
+ };
20359
+ readonly description: "With a `location` `in` or `covers` condition: the stated locations that matched (with `followed`, its subject's), at most 8.";
20360
+ };
20361
+ };
20362
+ };
20363
+ readonly matchedLocation: {
20364
+ readonly type: "object";
20365
+ readonly description: "One stated location that matched.";
20366
+ readonly required: ["kind", "asserter", "source"];
20367
+ readonly properties: {
20368
+ readonly entry: {
20369
+ readonly type: "union";
20370
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
20371
+ readonly description: "The location entry as stated, wrapper included (absent for an area's own cells). The union is open: an entry of another `$type` comes back as stated.";
20372
+ };
20373
+ readonly kind: {
20374
+ readonly type: "string";
20375
+ readonly description: "How the thing relates to the place (`at`, `serves`, `registered`, ...).";
20376
+ };
20377
+ readonly asserter: {
20378
+ readonly type: "string";
20379
+ readonly format: "did";
20380
+ readonly description: "Who stated it: the record's author, or a claim's writer.";
20381
+ };
20382
+ readonly source: {
20383
+ readonly type: "string";
20384
+ readonly format: "at-uri";
20385
+ readonly description: "The record that stated it (the record itself, or a claim about it).";
20386
+ };
20387
+ };
20388
+ };
20389
+ readonly notServedHere: {
20390
+ readonly type: "object";
20391
+ readonly description: "Why the answer is not the whole answer: this operator does not serve the place asked about. An empty list (or a zero count) with this set means \"not served here\", not \"nothing there\".";
20392
+ readonly required: ["reason", "message"];
20393
+ readonly properties: {
20394
+ readonly reason: {
20395
+ readonly type: "string";
20396
+ readonly knownValues: ["outsideCoverage", "areaNotHeld"];
20397
+ readonly description: "`outsideCoverage`: a `near` or `covers` point lies outside the areas this operator serves. `areaNotHeld`: an `in` area is one this operator does not hold, or lies outside the areas it serves.";
20398
+ };
20399
+ readonly message: {
20400
+ readonly type: "string";
20401
+ readonly maxLength: 300;
20402
+ readonly description: "The reason, in words, for a person to read.";
20403
+ };
19681
20404
  };
19682
20405
  };
19683
20406
  };
@@ -19946,6 +20669,47 @@ export declare const schemas: ({
19946
20669
  };
19947
20670
  };
19948
20671
  };
20672
+ } | {
20673
+ readonly lexicon: 1;
20674
+ readonly id: "pub.techne.draft.region";
20675
+ readonly description: "The commons root's statement that one area is an operator's region for a period: the root asserts that the operator indexes and serves the public records placed in it. The root asserts that regions do not overlap, that an operator may hold any number of them, and that land in no region is remembered and not served. No reader reads regions yet: coverage today is the platform's fixed list of supported areas (regenos_read::areas::SUPPORTED_AREAS). Separate from `pub.techne.draft.operator`, which grants commons admin powers: holding a region grants none. Only the root's own region records count (a `provenancePolicy` gap, like `operator`). A region is ended by setting `validUntil`, never by deleting the record, and a handoff writes a new record for the new period, so each period keeps its own record. PUBLIC. Written in the commons root's repo only.";
20676
+ readonly defs: {
20677
+ readonly main: {
20678
+ readonly type: "record";
20679
+ readonly key: "any";
20680
+ readonly description: "The rkey is the area's key (the root derives it from the area), or `{area-key}-{millis}` for a later period after one has ended, so each period keeps its own record and a re-publish of a period updates the same record.";
20681
+ readonly record: {
20682
+ readonly type: "object";
20683
+ readonly required: ["area", "operator", "createdAt"];
20684
+ readonly properties: {
20685
+ readonly area: {
20686
+ readonly type: "ref";
20687
+ readonly ref: "lex:com.atproto.repo.strongRef";
20688
+ readonly description: "The area: a `pub.techne.draft.placeV2` with `kind: area`, pinned to one version. A redrawn boundary is a new area version, so it needs a new region version naming it.";
20689
+ };
20690
+ readonly operator: {
20691
+ readonly type: "string";
20692
+ readonly format: "did";
20693
+ readonly description: "The operator that holds the region: the DID of the account that runs its AppView. Its endpoint is a fact about the operator and is not stored here.";
20694
+ };
20695
+ readonly validFrom: {
20696
+ readonly type: "string";
20697
+ readonly format: "datetime";
20698
+ readonly description: "When the period starts. Absent: from always.";
20699
+ };
20700
+ readonly validUntil: {
20701
+ readonly type: "string";
20702
+ readonly format: "datetime";
20703
+ readonly description: "When the period ends (exclusive). Absent: it has not ended.";
20704
+ };
20705
+ readonly createdAt: {
20706
+ readonly type: "string";
20707
+ readonly format: "datetime";
20708
+ };
20709
+ };
20710
+ };
20711
+ };
20712
+ };
19949
20713
  } | {
19950
20714
  readonly lexicon: 1;
19951
20715
  readonly id: "pub.techne.draft.registry.blockIndex";
@@ -21158,8 +21922,8 @@ export declare const schemas: ({
21158
21922
  };
21159
21923
  readonly fields: {
21160
21924
  readonly type: "union";
21161
- readonly refs: ["lex:pub.techne.draft.org#fields"];
21162
- readonly description: "Some of the subject type's own fields. Each member is the subject type's `#fields` def: the same names and shapes as its main record, none required. Open: a type gains statements by gaining a `#fields` def and a member here.";
21925
+ readonly refs: ["lex:pub.techne.draft.org#fields", "lex:pub.techne.draft.statement#locations"];
21926
+ readonly description: "Some of the subject type's own fields. Each member is the subject type's `#fields` def: the same names and shapes as its main record, none required. Open: a type gains statements by gaining a `#fields` def and a member here. `#locations` is the one member for any type: where the subject is, as the writer says.";
21163
21927
  };
21164
21928
  readonly createdAt: {
21165
21929
  readonly type: "string";
@@ -21168,6 +21932,22 @@ export declare const schemas: ({
21168
21932
  };
21169
21933
  };
21170
21934
  };
21935
+ readonly locations: {
21936
+ readonly type: "object";
21937
+ readonly description: "Where the subject is, as the writer of the statement says, for a subject of any type. It counts only as the view decides: the subject's own locations win, and a statement fills in only where the subject states no location of that kind, or (with `basis`) gives a position to a subject's entry that has none. A statement the subject's own author writes counts as the subject's own locations. A `basis` equal to the subject record's CID (a legacy claim) counts for any own entry of that kind with no position, while the subject is still that version. When several claims compete for one slot (the same kind, and the same `basis` or none), one counts: the finest grain wins, then the newest, then the lowest source URI; the others are conflicts. On a type whose query document reads its entries as sites (`entries: sites`, as on an org), a claim entry that names no own entry (no `basis`, or a legacy `basis` while the subject states no location of that kind) is its own site: it counts beside every other such entry and competes with none. A claim that names an own entry still competes for that entry, and a subject that states a location of that kind still bars a claim with no `basis`. Read as written, every writer's claim is weighed; curated, only the subject's author's and those of writers the commons root endorses.";
21938
+ readonly required: ["locations"];
21939
+ readonly properties: {
21940
+ readonly locations: {
21941
+ readonly type: "array";
21942
+ readonly maxLength: 256;
21943
+ readonly description: "Entries as in the subject's own `locations` field (lexicon naming register).";
21944
+ readonly items: {
21945
+ readonly type: "union";
21946
+ readonly refs: ["lex:community.lexicon.location.geo", "lex:community.lexicon.location.hthree", "lex:community.lexicon.location.address", "lex:com.atproto.repo.strongRef", "lex:pub.techne.draft.locationEntry"];
21947
+ };
21948
+ };
21949
+ };
21950
+ };
21171
21951
  };
21172
21952
  } | {
21173
21953
  readonly lexicon: 1;
@@ -22752,10 +23532,12 @@ export declare const ids: {
22752
23532
  readonly PubTechneDraftBeacon: "pub.techne.draft.beacon";
22753
23533
  readonly PubTechneDraftBeaconLists: "pub.techne.draft.beaconLists";
22754
23534
  readonly PubTechneDraftBeaconSpot: "pub.techne.draft.beaconSpot";
23535
+ readonly PubTechneDraftBeaconSpotV2: "pub.techne.draft.beaconSpotV2";
22755
23536
  readonly PubTechneDraftBlock: "pub.techne.draft.block";
22756
23537
  readonly PubTechneDraftChannelVerification: "pub.techne.draft.channelVerification";
22757
23538
  readonly PubTechneDraftCircleBeacon: "pub.techne.draft.circleBeacon";
22758
23539
  readonly PubTechneDraftCollective: "pub.techne.draft.collective";
23540
+ readonly PubTechneDraftCollectiveV2: "pub.techne.draft.collectiveV2";
22759
23541
  readonly PubTechneDraftCommonsCreateServiceAccount: "pub.techne.draft.commons.createServiceAccount";
22760
23542
  readonly PubTechneDraftCommonsGetVersions: "pub.techne.draft.commons.getVersions";
22761
23543
  readonly PubTechneDraftCommonsMoveAccountHandle: "pub.techne.draft.commons.moveAccountHandle";
@@ -22811,6 +23593,7 @@ export declare const ids: {
22811
23593
  readonly PubTechneDraftInterest: "pub.techne.draft.interest";
22812
23594
  readonly PubTechneDraftIntroProposal: "pub.techne.draft.introProposal";
22813
23595
  readonly PubTechneDraftInvite: "pub.techne.draft.invite";
23596
+ readonly PubTechneDraftLocationEntry: "pub.techne.draft.locationEntry";
22814
23597
  readonly PubTechneDraftMarketAsk: "pub.techne.draft.market.ask";
22815
23598
  readonly PubTechneDraftMarketOffer: "pub.techne.draft.market.offer";
22816
23599
  readonly PubTechneDraftMembership: "pub.techne.draft.membership";
@@ -22820,6 +23603,7 @@ export declare const ids: {
22820
23603
  readonly PubTechneDraftOrgAtPlace: "pub.techne.draft.orgAtPlace";
22821
23604
  readonly PubTechneDraftPassage: "pub.techne.draft.passage";
22822
23605
  readonly PubTechneDraftPendingBeaconSpot: "pub.techne.draft.pendingBeaconSpot";
23606
+ readonly PubTechneDraftPendingBeaconSpotV2: "pub.techne.draft.pendingBeaconSpotV2";
22823
23607
  readonly PubTechneDraftPermissionedDeleteRecord: "pub.techne.draft.permissioned.deleteRecord";
22824
23608
  readonly PubTechneDraftPermissionedGetGrants: "pub.techne.draft.permissioned.getGrants";
22825
23609
  readonly PubTechneDraftPermissionedGetRecord: "pub.techne.draft.permissioned.getRecord";
@@ -22829,6 +23613,7 @@ export declare const ids: {
22829
23613
  readonly PubTechneDraftPermissionedPutRecords: "pub.techne.draft.permissioned.putRecords";
22830
23614
  readonly PubTechneDraftPlace: "pub.techne.draft.place";
22831
23615
  readonly PubTechneDraftPlaceResearch: "pub.techne.draft.placeResearch";
23616
+ readonly PubTechneDraftPlaceV2: "pub.techne.draft.placeV2";
22832
23617
  readonly PubTechneDraftPost: "pub.techne.draft.post";
22833
23618
  readonly PubTechneDraftPresence: "pub.techne.draft.presence";
22834
23619
  readonly PubTechneDraftProfile: "pub.techne.draft.profile";
@@ -22842,6 +23627,7 @@ export declare const ids: {
22842
23627
  readonly PubTechneDraftQuestionSet: "pub.techne.draft.questionSet";
22843
23628
  readonly PubTechneDraftReceipt: "pub.techne.draft.receipt";
22844
23629
  readonly PubTechneDraftReflection: "pub.techne.draft.reflection";
23630
+ readonly PubTechneDraftRegion: "pub.techne.draft.region";
22845
23631
  readonly PubTechneDraftRegistryBlockIndex: "pub.techne.draft.registry.blockIndex";
22846
23632
  readonly PubTechneDraftRegistryDefs: "pub.techne.draft.registry.defs";
22847
23633
  readonly PubTechneDraftRegistryGetType: "pub.techne.draft.registry.getType";