techne-sdk 0.11.0 → 0.13.0

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 (53) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/README.md +78 -2
  3. package/dist/auth/app-key.d.ts +2 -1
  4. package/dist/auth/app-key.js +2 -1
  5. package/dist/auth/placement.gen.d.ts +1 -1
  6. package/dist/auth/placement.gen.js +3 -0
  7. package/dist/catalog/catalog.gen.d.ts +22 -0
  8. package/dist/catalog/catalog.gen.js +1839 -66
  9. package/dist/connect.d.ts +5 -2
  10. package/dist/generated/index.d.ts +141 -0
  11. package/dist/generated/index.js +186 -0
  12. package/dist/generated/lexicons.d.ts +910 -70
  13. package/dist/generated/lexicons.js +506 -26
  14. package/dist/generated/nsid.d.ts +46 -0
  15. package/dist/generated/nsid.js +46 -0
  16. package/dist/generated/nsid.json +46 -0
  17. package/dist/generated/records.d.ts +134 -124
  18. package/dist/generated/types/pub/techne/draft/beaconSpotV2.d.ts +23 -0
  19. package/dist/generated/types/pub/techne/draft/beaconSpotV2.js +12 -0
  20. package/dist/generated/types/pub/techne/draft/collectiveV2.d.ts +31 -0
  21. package/dist/generated/types/pub/techne/draft/collectiveV2.js +12 -0
  22. package/dist/generated/types/pub/techne/draft/identity/createCollective.d.ts +4 -1
  23. package/dist/generated/types/pub/techne/draft/identity/createCollective.js +7 -0
  24. package/dist/generated/types/pub/techne/draft/locationEntry.d.ts +23 -0
  25. package/dist/generated/types/pub/techne/draft/locationEntry.js +11 -0
  26. package/dist/generated/types/pub/techne/draft/org.d.ts +6 -4
  27. package/dist/generated/types/pub/techne/draft/orgAtPlace.d.ts +2 -2
  28. package/dist/generated/types/pub/techne/draft/pendingBeaconSpotV2.d.ts +24 -0
  29. package/dist/generated/types/pub/techne/draft/pendingBeaconSpotV2.js +12 -0
  30. package/dist/generated/types/pub/techne/draft/place.d.ts +4 -0
  31. package/dist/generated/types/pub/techne/draft/placeV2.d.ts +42 -0
  32. package/dist/generated/types/pub/techne/draft/placeV2.js +12 -0
  33. package/dist/generated/types/pub/techne/draft/query/composeRecords.d.ts +8 -4
  34. package/dist/generated/types/pub/techne/draft/query/countRecords.d.ts +8 -0
  35. package/dist/generated/types/pub/techne/draft/query/countRecords.js +14 -0
  36. package/dist/generated/types/pub/techne/draft/query/listRecords.d.ts +41 -1
  37. package/dist/generated/types/pub/techne/draft/query/listRecords.js +28 -0
  38. package/dist/generated/types/pub/techne/draft/region.d.ts +20 -0
  39. package/dist/generated/types/pub/techne/draft/region.js +12 -0
  40. package/dist/generated/types/pub/techne/draft/statement.d.ts +15 -1
  41. package/dist/generated/types/pub/techne/draft/statement.js +7 -0
  42. package/dist/item.d.ts +3 -1
  43. package/dist/item.js +1 -1
  44. package/dist/query/compose.d.ts +2 -2
  45. package/dist/query/compose.js +1 -1
  46. package/dist/query/hosts.d.ts +1 -1
  47. package/dist/query/hosts.js +5 -3
  48. package/dist/query/index.d.ts +51 -6
  49. package/dist/query/index.js +2 -0
  50. package/dist/read/index.js +5 -4
  51. package/dist/wasm/techne-wasm.gen.js +1 -1
  52. package/dist/wasm/techne-wasm2js.gen.js +8576 -8578
  53. 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";
@@ -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, still written by the commons rules until their writers move to the new shape: 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. 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.";
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";
@@ -3556,7 +3650,7 @@ export declare const schemaDict: {
3556
3650
  readonly properties: {
3557
3651
  readonly founderMembershipVisibility: {
3558
3652
  readonly type: "string";
3559
- readonly knownValues: ["public", "members"];
3653
+ readonly enum: ["public", "members"];
3560
3654
  readonly default: "members";
3561
3655
  readonly description: "Who sees the founding membership: `members` (placed in the collective's member space, `pub.techne.draft.space.collective.member/self`, seen by its members) or `public` (a public record).";
3562
3656
  };
@@ -3584,7 +3678,10 @@ export declare const schemaDict: {
3584
3678
  };
3585
3679
  readonly errors: [{
3586
3680
  readonly name: "InvalidRequest";
3587
- readonly description: "HTTP 400. The input is not JSON, or `founderMembershipVisibility` is neither `public` nor `members`.";
3681
+ readonly description: "HTTP 400, and nothing is made. The input does not parse: it is not JSON, it has a field this input does not name (a `roster` from an older shape, say), or `founderMembershipVisibility` is neither `public` nor `members`. An empty body is the defaults.";
3682
+ }, {
3683
+ readonly name: "PublicWriteFailed";
3684
+ readonly description: "HTTP 502. The account was made but its founding membership could not be written, so the platform starts deleting the account again before it answers. The caller may retry.";
3588
3685
  }, {
3589
3686
  readonly name: "RateLimitExceeded";
3590
3687
  readonly description: "Too many writes from this DID (HTTP 429).";
@@ -5769,6 +5866,41 @@ export declare const schemaDict: {
5769
5866
  };
5770
5867
  };
5771
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
+ };
5772
5904
  readonly PubTechneDraftMarketAsk: {
5773
5905
  readonly lexicon: 1;
5774
5906
  readonly id: "pub.techne.draft.market.ask";
@@ -6030,11 +6162,11 @@ export declare const schemaDict: {
6030
6162
  };
6031
6163
  readonly locations: {
6032
6164
  readonly type: "array";
6033
- readonly maxLength: 16;
6034
- 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`.";
6035
6167
  readonly items: {
6036
6168
  readonly type: "union";
6037
- 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"];
6038
6170
  };
6039
6171
  };
6040
6172
  readonly createdAt: {
@@ -6105,11 +6237,11 @@ export declare const schemaDict: {
6105
6237
  };
6106
6238
  readonly locations: {
6107
6239
  readonly type: "array";
6108
- readonly maxLength: 16;
6109
- 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`.";
6110
6242
  readonly items: {
6111
6243
  readonly type: "union";
6112
- 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"];
6113
6245
  };
6114
6246
  };
6115
6247
  };
@@ -6136,7 +6268,7 @@ export declare const schemaDict: {
6136
6268
  readonly PubTechneDraftOrgAtPlace: {
6137
6269
  readonly lexicon: 1;
6138
6270
  readonly id: "pub.techne.draft.orgAtPlace";
6139
- readonly description: "A relationship: an organization is at a place (its office or its storefront). 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, still written by the commons rules until their writers move to the new shape: an org's sites are entries in its own `locations` (bounded at 256). 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).";
6140
6272
  readonly defs: {
6141
6273
  readonly main: {
6142
6274
  readonly type: "record";
@@ -6159,8 +6291,8 @@ export declare const schemaDict: {
6159
6291
  readonly role: {
6160
6292
  readonly type: "string";
6161
6293
  readonly maxLength: 64;
6162
- readonly knownValues: ["office", "storefront"];
6163
- readonly description: "What the place is to the organization. Values beyond the known set are permitted.";
6294
+ readonly knownValues: ["office", "storefront", "operator"];
6295
+ readonly description: "What the place is to the organization: `office`, `storefront`, or `operator` (the organization runs or maintains the place, such as a park's conservancy or a community fridge's host). Values beyond the known set are permitted.";
6164
6296
  };
6165
6297
  readonly createdAt: {
6166
6298
  readonly type: "string";
@@ -6208,7 +6340,7 @@ export declare const schemaDict: {
6208
6340
  readonly PubTechneDraftPendingBeaconSpot: {
6209
6341
  readonly lexicon: 1;
6210
6342
  readonly id: "pub.techne.draft.pendingBeaconSpot";
6211
- 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.";
6212
6344
  readonly defs: {
6213
6345
  readonly main: {
6214
6346
  readonly type: "record";
@@ -6242,6 +6374,43 @@ export declare const schemaDict: {
6242
6374
  };
6243
6375
  };
6244
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
+ };
6245
6414
  readonly PubTechneDraftPermissionedDeleteRecord: {
6246
6415
  readonly lexicon: 1;
6247
6416
  readonly id: "pub.techne.draft.permissioned.deleteRecord";
@@ -6923,7 +7092,7 @@ export declare const schemaDict: {
6923
7092
  readonly PubTechneDraftPlace: {
6924
7093
  readonly lexicon: 1;
6925
7094
  readonly id: "pub.techne.draft.place";
6926
- 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.";
6927
7096
  readonly defs: {
6928
7097
  readonly main: {
6929
7098
  readonly type: "record";
@@ -6966,6 +7135,18 @@ export declare const schemaDict: {
6966
7135
  readonly ref: "lex:community.lexicon.calendar.event#uri";
6967
7136
  };
6968
7137
  };
7138
+ readonly openingHours: {
7139
+ readonly type: "string";
7140
+ readonly maxLength: 1024;
7141
+ readonly maxGraphemes: 512;
7142
+ 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.";
7143
+ };
7144
+ readonly description: {
7145
+ readonly type: "string";
7146
+ readonly maxLength: 30000;
7147
+ readonly maxGraphemes: 3000;
7148
+ 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.";
7149
+ };
6969
7150
  readonly sameAs: {
6970
7151
  readonly type: "array";
6971
7152
  readonly description: "External identity reconciliation — an ARRAY so a provider reissuance (e.g. a GERS id change) appends, never destroys. Absent/empty for app-created entries — NEVER a placeholder id.";
@@ -7114,6 +7295,99 @@ export declare const schemaDict: {
7114
7295
  };
7115
7296
  };
7116
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
+ };
7117
7391
  readonly PubTechneDraftPost: {
7118
7392
  readonly lexicon: 1;
7119
7393
  readonly id: "pub.techne.draft.post";
@@ -7752,12 +8026,12 @@ export declare const schemaDict: {
7752
8026
  };
7753
8027
  readonly envelope: {
7754
8028
  readonly type: "array";
7755
- readonly maxLength: 10;
8029
+ readonly maxLength: 11;
7756
8030
  readonly items: {
7757
8031
  readonly type: "string";
7758
- 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"];
7759
8033
  };
7760
- 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.";
7761
8035
  };
7762
8036
  readonly uri: {
7763
8037
  readonly type: "boolean";
@@ -7791,6 +8065,11 @@ export declare const schemaDict: {
7791
8065
  readonly type: "boolean";
7792
8066
  readonly description: "List step, asked with `count`: as listRecords' `capped`.";
7793
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
+ };
7794
8073
  readonly withheld: {
7795
8074
  readonly type: "array";
7796
8075
  readonly items: {
@@ -7876,7 +8155,7 @@ export declare const schemaDict: {
7876
8155
  };
7877
8156
  readonly curated: {
7878
8157
  readonly type: "boolean";
7879
- readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Absent otherwise.";
8158
+ readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Always answered when the step's `envelope` includes it (or names none): false for every other record.";
7880
8159
  };
7881
8160
  readonly held: {
7882
8161
  readonly type: "boolean";
@@ -7890,6 +8169,15 @@ export declare const schemaDict: {
7890
8169
  readonly type: "unknown";
7891
8170
  readonly description: "The server-side signals the query asked for, by name; a signal with no value for this record is absent.";
7892
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
+ };
7893
8181
  };
7894
8182
  };
7895
8183
  readonly stepError: {
@@ -7899,7 +8187,7 @@ export declare const schemaDict: {
7899
8187
  readonly properties: {
7900
8188
  readonly error: {
7901
8189
  readonly type: "string";
7902
- readonly description: "The error name the step's method would answer (InvalidRequest, NotFound, ...); InvalidRequest for a step past a call limit (#stepError); or `Skipped`: a step it binds to failed.";
8190
+ readonly description: "The error name the step's method would answer (InvalidRequest, NotFound, ViewRequired and NotCurated for a list step, ...); InvalidRequest for a step past a call limit (#stepError); or `Skipped`: a step it binds to failed.";
7903
8191
  };
7904
8192
  readonly message: {
7905
8193
  readonly type: "string";
@@ -7919,7 +8207,7 @@ export declare const schemaDict: {
7919
8207
  readonly defs: {
7920
8208
  readonly main: {
7921
8209
  readonly type: "query";
7922
- 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.";
7923
8211
  readonly parameters: {
7924
8212
  readonly type: "params";
7925
8213
  readonly properties: {
@@ -7967,12 +8255,23 @@ export declare const schemaDict: {
7967
8255
  };
7968
8256
  readonly description: "With groupBy: the count per key, largest first.";
7969
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
+ };
7970
8263
  };
7971
8264
  };
7972
8265
  };
7973
8266
  readonly errors: [{
7974
8267
  readonly name: "InvalidRequest";
7975
8268
  readonly description: "HTTP 400. A malformed or refused query or parameter.";
8269
+ }, {
8270
+ readonly name: "ViewRequired";
8271
+ readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch.";
8272
+ }, {
8273
+ readonly name: "NotCurated";
8274
+ readonly description: "HTTP 400. A branch read with view `curated` names a type (`type is`/`type in`) no curator the commons root trusts covers; the message names the type. Read it with view `asWritten`.";
7976
8275
  }, {
7977
8276
  readonly name: "NotFound";
7978
8277
  readonly description: "HTTP 404. `queryUri` names no query record the caller may read.";
@@ -7998,7 +8297,7 @@ export declare const schemaDict: {
7998
8297
  readonly defs: {
7999
8298
  readonly main: {
8000
8299
  readonly type: "query";
8001
- readonly description: "Records by URI, as listRecords answers them: the query `{\"where\": {\"uri\": {\"in\": uris}}}`, as written (a read scoped to named records), each only if the caller may read it. A URI the caller may not read, or that names nothing, is left out: as in every generic read, that includes a record whose author is blocked either way with a signed-in caller (see `includeBlockedByMe`), or whose account is hidden or suspended. In the order asked. With `curated`, each URI answers as the curated record it resolves to instead (see `curated`). Draft tier.";
8300
+ readonly description: "Records by URI, as listRecords answers them: the query `{\"view\": \"asWritten\", \"where\": {\"uri\": {\"in\": uris}}}`, as written (a read scoped to named records), each only if the caller may read it. A URI the caller may not read, or that names nothing, is left out: as in every generic read, that includes a record whose author is blocked either way with a signed-in caller (see `includeBlockedByMe`), or whose account is hidden or suspended. In the order asked. With `curated`, each URI answers as the curated record it resolves to instead (see `curated`). Draft tier.";
8002
8301
  readonly parameters: {
8003
8302
  readonly type: "params";
8004
8303
  readonly required: ["uris"];
@@ -8198,7 +8497,7 @@ export declare const schemaDict: {
8198
8497
  readonly defs: {
8199
8498
  readonly main: {
8200
8499
  readonly type: "query";
8201
- 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. A branch scoped to named authors, subjects or URIs, and a query with `curated: false`, answers public records as written; any other branch crosses sources and answers curated public records (the commons' listed records). 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.";
8202
8501
  readonly parameters: {
8203
8502
  readonly type: "params";
8204
8503
  readonly properties: {
@@ -8260,12 +8559,23 @@ export declare const schemaDict: {
8260
8559
  readonly type: "boolean";
8261
8560
  readonly description: "Only when asked with `count=true`: true when there are more than `count` (countRecords' `capped`).";
8262
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
+ };
8263
8567
  };
8264
8568
  };
8265
8569
  };
8266
8570
  readonly errors: [{
8267
8571
  readonly name: "InvalidRequest";
8268
8572
  readonly description: "HTTP 400. A malformed or refused query (naming the branch or condition), parameter or cursor.";
8573
+ }, {
8574
+ readonly name: "ViewRequired";
8575
+ readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch.";
8576
+ }, {
8577
+ readonly name: "NotCurated";
8578
+ readonly description: "HTTP 400. A branch read with view `curated` names a type (`type is`/`type in`) no curator the commons root trusts covers; the message names the type. Read it with view `asWritten`.";
8269
8579
  }, {
8270
8580
  readonly name: "NotFound";
8271
8581
  readonly description: "HTTP 404. `queryUri` names no query record the caller may read.";
@@ -8314,7 +8624,7 @@ export declare const schemaDict: {
8314
8624
  };
8315
8625
  readonly curated: {
8316
8626
  readonly type: "boolean";
8317
- readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Absent otherwise.";
8627
+ readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Always answered: false for every other record (a source copy, a superseded one, a permissioned one).";
8318
8628
  };
8319
8629
  readonly held: {
8320
8630
  readonly type: "boolean";
@@ -8328,6 +8638,58 @@ export declare const schemaDict: {
8328
8638
  readonly type: "unknown";
8329
8639
  readonly description: "The server-side signals the query asked for, by name; a signal with no value for this record is absent.";
8330
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
+ };
8331
8693
  };
8332
8694
  };
8333
8695
  };
@@ -8601,6 +8963,48 @@ export declare const schemaDict: {
8601
8963
  };
8602
8964
  };
8603
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
+ };
8604
9008
  readonly PubTechneDraftRegistryBlockIndex: {
8605
9009
  readonly lexicon: 1;
8606
9010
  readonly id: "pub.techne.draft.registry.blockIndex";
@@ -9832,8 +10236,8 @@ export declare const schemaDict: {
9832
10236
  };
9833
10237
  readonly fields: {
9834
10238
  readonly type: "union";
9835
- readonly refs: ["lex:pub.techne.draft.org#fields"];
9836
- 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.";
9837
10241
  };
9838
10242
  readonly createdAt: {
9839
10243
  readonly type: "string";
@@ -9842,6 +10246,22 @@ export declare const schemaDict: {
9842
10246
  };
9843
10247
  };
9844
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. 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
+ };
9845
10265
  };
9846
10266
  };
9847
10267
  readonly PubTechneDraftSubjectPrefs: {
@@ -13011,7 +13431,7 @@ export declare const schemas: ({
13011
13431
  } | {
13012
13432
  readonly lexicon: 1;
13013
13433
  readonly id: "pub.techne.draft.beaconSpot";
13014
- 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.";
13015
13435
  readonly defs: {
13016
13436
  readonly main: {
13017
13437
  readonly type: "record";
@@ -13039,6 +13459,41 @@ export declare const schemas: ({
13039
13459
  };
13040
13460
  };
13041
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
+ };
13042
13497
  } | {
13043
13498
  readonly lexicon: 1;
13044
13499
  readonly id: "pub.techne.draft.block";
@@ -13107,8 +13562,66 @@ export declare const schemas: ({
13107
13562
  readonly properties: {
13108
13563
  readonly beacon: {
13109
13564
  readonly type: "string";
13110
- readonly format: "at-uri";
13111
- 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;
13112
13625
  };
13113
13626
  readonly createdAt: {
13114
13627
  readonly type: "string";
@@ -13120,8 +13633,8 @@ export declare const schemas: ({
13120
13633
  };
13121
13634
  } | {
13122
13635
  readonly lexicon: 1;
13123
- readonly id: "pub.techne.draft.collective";
13124
- 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.";
13125
13638
  readonly defs: {
13126
13639
  readonly main: {
13127
13640
  readonly type: "record";
@@ -13153,15 +13666,14 @@ export declare const schemas: ({
13153
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.";
13154
13667
  readonly maxLength: 64;
13155
13668
  };
13156
- readonly sceneType: {
13157
- readonly type: "string";
13158
- 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.";
13159
- readonly maxLength: 64;
13160
- };
13161
- readonly location: {
13162
- readonly type: "union";
13163
- readonly description: "Where the collective is based.";
13164
- 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
+ };
13165
13677
  };
13166
13678
  readonly avatar: {
13167
13679
  readonly type: "blob";
@@ -13699,7 +14211,7 @@ export declare const schemas: ({
13699
14211
  } | {
13700
14212
  readonly lexicon: 1;
13701
14213
  readonly id: "pub.techne.draft.containedIn";
13702
- 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.";
13703
14215
  readonly defs: {
13704
14216
  readonly main: {
13705
14217
  readonly type: "record";
@@ -14360,7 +14872,7 @@ export declare const schemas: ({
14360
14872
  } | {
14361
14873
  readonly lexicon: 1;
14362
14874
  readonly id: "pub.techne.draft.geo";
14363
- 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, still written by the commons rules until their writers move to the new shape: 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. 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.";
14364
14876
  readonly defs: {
14365
14877
  readonly main: {
14366
14878
  readonly type: "record";
@@ -14397,7 +14909,7 @@ export declare const schemas: ({
14397
14909
  } | {
14398
14910
  readonly lexicon: 1;
14399
14911
  readonly id: "pub.techne.draft.heldAt";
14400
- 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.";
14401
14913
  readonly defs: {
14402
14914
  readonly main: {
14403
14915
  readonly type: "record";
@@ -14904,7 +15416,7 @@ export declare const schemas: ({
14904
15416
  readonly properties: {
14905
15417
  readonly founderMembershipVisibility: {
14906
15418
  readonly type: "string";
14907
- readonly knownValues: ["public", "members"];
15419
+ readonly enum: ["public", "members"];
14908
15420
  readonly default: "members";
14909
15421
  readonly description: "Who sees the founding membership: `members` (placed in the collective's member space, `pub.techne.draft.space.collective.member/self`, seen by its members) or `public` (a public record).";
14910
15422
  };
@@ -14932,7 +15444,10 @@ export declare const schemas: ({
14932
15444
  };
14933
15445
  readonly errors: [{
14934
15446
  readonly name: "InvalidRequest";
14935
- readonly description: "HTTP 400. The input is not JSON, or `founderMembershipVisibility` is neither `public` nor `members`.";
15447
+ readonly description: "HTTP 400, and nothing is made. The input does not parse: it is not JSON, it has a field this input does not name (a `roster` from an older shape, say), or `founderMembershipVisibility` is neither `public` nor `members`. An empty body is the defaults.";
15448
+ }, {
15449
+ readonly name: "PublicWriteFailed";
15450
+ readonly description: "HTTP 502. The account was made but its founding membership could not be written, so the platform starts deleting the account again before it answers. The caller may retry.";
14936
15451
  }, {
14937
15452
  readonly name: "RateLimitExceeded";
14938
15453
  readonly description: "Too many writes from this DID (HTTP 429).";
@@ -17091,6 +17606,40 @@ export declare const schemas: ({
17091
17606
  };
17092
17607
  };
17093
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
+ };
17094
17643
  } | {
17095
17644
  readonly lexicon: 1;
17096
17645
  readonly id: "pub.techne.draft.market.ask";
@@ -17347,11 +17896,11 @@ export declare const schemas: ({
17347
17896
  };
17348
17897
  readonly locations: {
17349
17898
  readonly type: "array";
17350
- readonly maxLength: 16;
17351
- 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`.";
17352
17901
  readonly items: {
17353
17902
  readonly type: "union";
17354
- 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"];
17355
17904
  };
17356
17905
  };
17357
17906
  readonly createdAt: {
@@ -17422,11 +17971,11 @@ export declare const schemas: ({
17422
17971
  };
17423
17972
  readonly locations: {
17424
17973
  readonly type: "array";
17425
- readonly maxLength: 16;
17426
- 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`.";
17427
17976
  readonly items: {
17428
17977
  readonly type: "union";
17429
- 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"];
17430
17979
  };
17431
17980
  };
17432
17981
  };
@@ -17452,7 +18001,7 @@ export declare const schemas: ({
17452
18001
  } | {
17453
18002
  readonly lexicon: 1;
17454
18003
  readonly id: "pub.techne.draft.orgAtPlace";
17455
- readonly description: "A relationship: an organization is at a place (its office or its storefront). 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, still written by the commons rules until their writers move to the new shape: an org's sites are entries in its own `locations` (bounded at 256). 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).";
17456
18005
  readonly defs: {
17457
18006
  readonly main: {
17458
18007
  readonly type: "record";
@@ -17475,8 +18024,8 @@ export declare const schemas: ({
17475
18024
  readonly role: {
17476
18025
  readonly type: "string";
17477
18026
  readonly maxLength: 64;
17478
- readonly knownValues: ["office", "storefront"];
17479
- readonly description: "What the place is to the organization. Values beyond the known set are permitted.";
18027
+ readonly knownValues: ["office", "storefront", "operator"];
18028
+ readonly description: "What the place is to the organization: `office`, `storefront`, or `operator` (the organization runs or maintains the place, such as a park's conservancy or a community fridge's host). Values beyond the known set are permitted.";
17480
18029
  };
17481
18030
  readonly createdAt: {
17482
18031
  readonly type: "string";
@@ -17522,7 +18071,7 @@ export declare const schemas: ({
17522
18071
  } | {
17523
18072
  readonly lexicon: 1;
17524
18073
  readonly id: "pub.techne.draft.pendingBeaconSpot";
17525
- 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.";
17526
18075
  readonly defs: {
17527
18076
  readonly main: {
17528
18077
  readonly type: "record";
@@ -17555,6 +18104,42 @@ export declare const schemas: ({
17555
18104
  };
17556
18105
  };
17557
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
+ };
17558
18143
  } | {
17559
18144
  readonly lexicon: 1;
17560
18145
  readonly id: "pub.techne.draft.permissioned.deleteRecord";
@@ -18229,7 +18814,7 @@ export declare const schemas: ({
18229
18814
  } | {
18230
18815
  readonly lexicon: 1;
18231
18816
  readonly id: "pub.techne.draft.place";
18232
- 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.";
18233
18818
  readonly defs: {
18234
18819
  readonly main: {
18235
18820
  readonly type: "record";
@@ -18272,6 +18857,18 @@ export declare const schemas: ({
18272
18857
  readonly ref: "lex:community.lexicon.calendar.event#uri";
18273
18858
  };
18274
18859
  };
18860
+ readonly openingHours: {
18861
+ readonly type: "string";
18862
+ readonly maxLength: 1024;
18863
+ readonly maxGraphemes: 512;
18864
+ 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.";
18865
+ };
18866
+ readonly description: {
18867
+ readonly type: "string";
18868
+ readonly maxLength: 30000;
18869
+ readonly maxGraphemes: 3000;
18870
+ 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.";
18871
+ };
18275
18872
  readonly sameAs: {
18276
18873
  readonly type: "array";
18277
18874
  readonly description: "External identity reconciliation — an ARRAY so a provider reissuance (e.g. a GERS id change) appends, never destroys. Absent/empty for app-created entries — NEVER a placeholder id.";
@@ -18418,6 +19015,98 @@ export declare const schemas: ({
18418
19015
  };
18419
19016
  };
18420
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
+ };
18421
19110
  } | {
18422
19111
  readonly lexicon: 1;
18423
19112
  readonly id: "pub.techne.draft.post";
@@ -19051,12 +19740,12 @@ export declare const schemas: ({
19051
19740
  };
19052
19741
  readonly envelope: {
19053
19742
  readonly type: "array";
19054
- readonly maxLength: 10;
19743
+ readonly maxLength: 11;
19055
19744
  readonly items: {
19056
19745
  readonly type: "string";
19057
- 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"];
19058
19747
  };
19059
- 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.";
19060
19749
  };
19061
19750
  readonly uri: {
19062
19751
  readonly type: "boolean";
@@ -19090,6 +19779,11 @@ export declare const schemas: ({
19090
19779
  readonly type: "boolean";
19091
19780
  readonly description: "List step, asked with `count`: as listRecords' `capped`.";
19092
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
+ };
19093
19787
  readonly withheld: {
19094
19788
  readonly type: "array";
19095
19789
  readonly items: {
@@ -19175,7 +19869,7 @@ export declare const schemas: ({
19175
19869
  };
19176
19870
  readonly curated: {
19177
19871
  readonly type: "boolean";
19178
- readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Absent otherwise.";
19872
+ readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Always answered when the step's `envelope` includes it (or names none): false for every other record.";
19179
19873
  };
19180
19874
  readonly held: {
19181
19875
  readonly type: "boolean";
@@ -19189,6 +19883,15 @@ export declare const schemas: ({
19189
19883
  readonly type: "unknown";
19190
19884
  readonly description: "The server-side signals the query asked for, by name; a signal with no value for this record is absent.";
19191
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
+ };
19192
19895
  };
19193
19896
  };
19194
19897
  readonly stepError: {
@@ -19198,7 +19901,7 @@ export declare const schemas: ({
19198
19901
  readonly properties: {
19199
19902
  readonly error: {
19200
19903
  readonly type: "string";
19201
- readonly description: "The error name the step's method would answer (InvalidRequest, NotFound, ...); InvalidRequest for a step past a call limit (#stepError); or `Skipped`: a step it binds to failed.";
19904
+ readonly description: "The error name the step's method would answer (InvalidRequest, NotFound, ViewRequired and NotCurated for a list step, ...); InvalidRequest for a step past a call limit (#stepError); or `Skipped`: a step it binds to failed.";
19202
19905
  };
19203
19906
  readonly message: {
19204
19907
  readonly type: "string";
@@ -19217,7 +19920,7 @@ export declare const schemas: ({
19217
19920
  readonly defs: {
19218
19921
  readonly main: {
19219
19922
  readonly type: "query";
19220
- 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.";
19221
19924
  readonly parameters: {
19222
19925
  readonly type: "params";
19223
19926
  readonly properties: {
@@ -19265,12 +19968,23 @@ export declare const schemas: ({
19265
19968
  };
19266
19969
  readonly description: "With groupBy: the count per key, largest first.";
19267
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
+ };
19268
19976
  };
19269
19977
  };
19270
19978
  };
19271
19979
  readonly errors: [{
19272
19980
  readonly name: "InvalidRequest";
19273
19981
  readonly description: "HTTP 400. A malformed or refused query or parameter.";
19982
+ }, {
19983
+ readonly name: "ViewRequired";
19984
+ readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch.";
19985
+ }, {
19986
+ readonly name: "NotCurated";
19987
+ readonly description: "HTTP 400. A branch read with view `curated` names a type (`type is`/`type in`) no curator the commons root trusts covers; the message names the type. Read it with view `asWritten`.";
19274
19988
  }, {
19275
19989
  readonly name: "NotFound";
19276
19990
  readonly description: "HTTP 404. `queryUri` names no query record the caller may read.";
@@ -19295,7 +20009,7 @@ export declare const schemas: ({
19295
20009
  readonly defs: {
19296
20010
  readonly main: {
19297
20011
  readonly type: "query";
19298
- readonly description: "Records by URI, as listRecords answers them: the query `{\"where\": {\"uri\": {\"in\": uris}}}`, as written (a read scoped to named records), each only if the caller may read it. A URI the caller may not read, or that names nothing, is left out: as in every generic read, that includes a record whose author is blocked either way with a signed-in caller (see `includeBlockedByMe`), or whose account is hidden or suspended. In the order asked. With `curated`, each URI answers as the curated record it resolves to instead (see `curated`). Draft tier.";
20012
+ readonly description: "Records by URI, as listRecords answers them: the query `{\"view\": \"asWritten\", \"where\": {\"uri\": {\"in\": uris}}}`, as written (a read scoped to named records), each only if the caller may read it. A URI the caller may not read, or that names nothing, is left out: as in every generic read, that includes a record whose author is blocked either way with a signed-in caller (see `includeBlockedByMe`), or whose account is hidden or suspended. In the order asked. With `curated`, each URI answers as the curated record it resolves to instead (see `curated`). Draft tier.";
19299
20013
  readonly parameters: {
19300
20014
  readonly type: "params";
19301
20015
  readonly required: ["uris"];
@@ -19494,7 +20208,7 @@ export declare const schemas: ({
19494
20208
  readonly defs: {
19495
20209
  readonly main: {
19496
20210
  readonly type: "query";
19497
- 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. A branch scoped to named authors, subjects or URIs, and a query with `curated: false`, answers public records as written; any other branch crosses sources and answers curated public records (the commons' listed records). 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.";
19498
20212
  readonly parameters: {
19499
20213
  readonly type: "params";
19500
20214
  readonly properties: {
@@ -19556,12 +20270,23 @@ export declare const schemas: ({
19556
20270
  readonly type: "boolean";
19557
20271
  readonly description: "Only when asked with `count=true`: true when there are more than `count` (countRecords' `capped`).";
19558
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
+ };
19559
20278
  };
19560
20279
  };
19561
20280
  };
19562
20281
  readonly errors: [{
19563
20282
  readonly name: "InvalidRequest";
19564
20283
  readonly description: "HTTP 400. A malformed or refused query (naming the branch or condition), parameter or cursor.";
20284
+ }, {
20285
+ readonly name: "ViewRequired";
20286
+ readonly description: "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch.";
20287
+ }, {
20288
+ readonly name: "NotCurated";
20289
+ readonly description: "HTTP 400. A branch read with view `curated` names a type (`type is`/`type in`) no curator the commons root trusts covers; the message names the type. Read it with view `asWritten`.";
19565
20290
  }, {
19566
20291
  readonly name: "NotFound";
19567
20292
  readonly description: "HTTP 404. `queryUri` names no query record the caller may read.";
@@ -19610,7 +20335,7 @@ export declare const schemas: ({
19610
20335
  };
19611
20336
  readonly curated: {
19612
20337
  readonly type: "boolean";
19613
- readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Absent otherwise.";
20338
+ readonly description: "A public record that is a live curated record: a curator the commons root trusts merged it from its sources, and it is not superseded. Its `pub.techne.draft.provenance` (same author, subject this record) names who it is from. Always answered: false for every other record (a source copy, a superseded one, a permissioned one).";
19614
20339
  };
19615
20340
  readonly held: {
19616
20341
  readonly type: "boolean";
@@ -19624,6 +20349,58 @@ export declare const schemas: ({
19624
20349
  readonly type: "unknown";
19625
20350
  readonly description: "The server-side signals the query asked for, by name; a signal with no value for this record is absent.";
19626
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
+ };
19627
20404
  };
19628
20405
  };
19629
20406
  };
@@ -19892,6 +20669,47 @@ export declare const schemas: ({
19892
20669
  };
19893
20670
  };
19894
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
+ };
19895
20713
  } | {
19896
20714
  readonly lexicon: 1;
19897
20715
  readonly id: "pub.techne.draft.registry.blockIndex";
@@ -21104,8 +21922,8 @@ export declare const schemas: ({
21104
21922
  };
21105
21923
  readonly fields: {
21106
21924
  readonly type: "union";
21107
- readonly refs: ["lex:pub.techne.draft.org#fields"];
21108
- 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.";
21109
21927
  };
21110
21928
  readonly createdAt: {
21111
21929
  readonly type: "string";
@@ -21114,6 +21932,22 @@ export declare const schemas: ({
21114
21932
  };
21115
21933
  };
21116
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. 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
+ };
21117
21951
  };
21118
21952
  } | {
21119
21953
  readonly lexicon: 1;
@@ -22698,10 +23532,12 @@ export declare const ids: {
22698
23532
  readonly PubTechneDraftBeacon: "pub.techne.draft.beacon";
22699
23533
  readonly PubTechneDraftBeaconLists: "pub.techne.draft.beaconLists";
22700
23534
  readonly PubTechneDraftBeaconSpot: "pub.techne.draft.beaconSpot";
23535
+ readonly PubTechneDraftBeaconSpotV2: "pub.techne.draft.beaconSpotV2";
22701
23536
  readonly PubTechneDraftBlock: "pub.techne.draft.block";
22702
23537
  readonly PubTechneDraftChannelVerification: "pub.techne.draft.channelVerification";
22703
23538
  readonly PubTechneDraftCircleBeacon: "pub.techne.draft.circleBeacon";
22704
23539
  readonly PubTechneDraftCollective: "pub.techne.draft.collective";
23540
+ readonly PubTechneDraftCollectiveV2: "pub.techne.draft.collectiveV2";
22705
23541
  readonly PubTechneDraftCommonsCreateServiceAccount: "pub.techne.draft.commons.createServiceAccount";
22706
23542
  readonly PubTechneDraftCommonsGetVersions: "pub.techne.draft.commons.getVersions";
22707
23543
  readonly PubTechneDraftCommonsMoveAccountHandle: "pub.techne.draft.commons.moveAccountHandle";
@@ -22757,6 +23593,7 @@ export declare const ids: {
22757
23593
  readonly PubTechneDraftInterest: "pub.techne.draft.interest";
22758
23594
  readonly PubTechneDraftIntroProposal: "pub.techne.draft.introProposal";
22759
23595
  readonly PubTechneDraftInvite: "pub.techne.draft.invite";
23596
+ readonly PubTechneDraftLocationEntry: "pub.techne.draft.locationEntry";
22760
23597
  readonly PubTechneDraftMarketAsk: "pub.techne.draft.market.ask";
22761
23598
  readonly PubTechneDraftMarketOffer: "pub.techne.draft.market.offer";
22762
23599
  readonly PubTechneDraftMembership: "pub.techne.draft.membership";
@@ -22766,6 +23603,7 @@ export declare const ids: {
22766
23603
  readonly PubTechneDraftOrgAtPlace: "pub.techne.draft.orgAtPlace";
22767
23604
  readonly PubTechneDraftPassage: "pub.techne.draft.passage";
22768
23605
  readonly PubTechneDraftPendingBeaconSpot: "pub.techne.draft.pendingBeaconSpot";
23606
+ readonly PubTechneDraftPendingBeaconSpotV2: "pub.techne.draft.pendingBeaconSpotV2";
22769
23607
  readonly PubTechneDraftPermissionedDeleteRecord: "pub.techne.draft.permissioned.deleteRecord";
22770
23608
  readonly PubTechneDraftPermissionedGetGrants: "pub.techne.draft.permissioned.getGrants";
22771
23609
  readonly PubTechneDraftPermissionedGetRecord: "pub.techne.draft.permissioned.getRecord";
@@ -22775,6 +23613,7 @@ export declare const ids: {
22775
23613
  readonly PubTechneDraftPermissionedPutRecords: "pub.techne.draft.permissioned.putRecords";
22776
23614
  readonly PubTechneDraftPlace: "pub.techne.draft.place";
22777
23615
  readonly PubTechneDraftPlaceResearch: "pub.techne.draft.placeResearch";
23616
+ readonly PubTechneDraftPlaceV2: "pub.techne.draft.placeV2";
22778
23617
  readonly PubTechneDraftPost: "pub.techne.draft.post";
22779
23618
  readonly PubTechneDraftPresence: "pub.techne.draft.presence";
22780
23619
  readonly PubTechneDraftProfile: "pub.techne.draft.profile";
@@ -22788,6 +23627,7 @@ export declare const ids: {
22788
23627
  readonly PubTechneDraftQuestionSet: "pub.techne.draft.questionSet";
22789
23628
  readonly PubTechneDraftReceipt: "pub.techne.draft.receipt";
22790
23629
  readonly PubTechneDraftReflection: "pub.techne.draft.reflection";
23630
+ readonly PubTechneDraftRegion: "pub.techne.draft.region";
22791
23631
  readonly PubTechneDraftRegistryBlockIndex: "pub.techne.draft.registry.blockIndex";
22792
23632
  readonly PubTechneDraftRegistryDefs: "pub.techne.draft.registry.defs";
22793
23633
  readonly PubTechneDraftRegistryGetType: "pub.techne.draft.registry.getType";