techne-sdk 0.12.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/dist/auth/placement.gen.d.ts +1 -1
  3. package/dist/auth/placement.gen.js +3 -0
  4. package/dist/catalog/catalog.gen.d.ts +22 -0
  5. package/dist/catalog/catalog.gen.js +1524 -45
  6. package/dist/generated/index.d.ts +141 -0
  7. package/dist/generated/index.js +186 -0
  8. package/dist/generated/lexicons.d.ts +842 -56
  9. package/dist/generated/lexicons.js +467 -18
  10. package/dist/generated/nsid.d.ts +41 -0
  11. package/dist/generated/nsid.js +41 -0
  12. package/dist/generated/nsid.json +41 -0
  13. package/dist/generated/records.d.ts +134 -124
  14. package/dist/generated/types/pub/techne/draft/beaconSpotV2.d.ts +23 -0
  15. package/dist/generated/types/pub/techne/draft/beaconSpotV2.js +12 -0
  16. package/dist/generated/types/pub/techne/draft/collectiveV2.d.ts +31 -0
  17. package/dist/generated/types/pub/techne/draft/collectiveV2.js +12 -0
  18. package/dist/generated/types/pub/techne/draft/derivation.d.ts +1 -1
  19. package/dist/generated/types/pub/techne/draft/locationEntry.d.ts +23 -0
  20. package/dist/generated/types/pub/techne/draft/locationEntry.js +11 -0
  21. package/dist/generated/types/pub/techne/draft/org.d.ts +6 -4
  22. package/dist/generated/types/pub/techne/draft/pendingBeaconSpotV2.d.ts +24 -0
  23. package/dist/generated/types/pub/techne/draft/pendingBeaconSpotV2.js +12 -0
  24. package/dist/generated/types/pub/techne/draft/placeV2.d.ts +42 -0
  25. package/dist/generated/types/pub/techne/draft/placeV2.js +12 -0
  26. package/dist/generated/types/pub/techne/draft/query/composeRecords.d.ts +6 -2
  27. package/dist/generated/types/pub/techne/draft/query/countRecords.d.ts +2 -0
  28. package/dist/generated/types/pub/techne/draft/query/listRecords.d.ts +34 -0
  29. package/dist/generated/types/pub/techne/draft/query/listRecords.js +14 -0
  30. package/dist/generated/types/pub/techne/draft/region.d.ts +20 -0
  31. package/dist/generated/types/pub/techne/draft/region.js +12 -0
  32. package/dist/generated/types/pub/techne/draft/statement.d.ts +15 -1
  33. package/dist/generated/types/pub/techne/draft/statement.js +7 -0
  34. package/dist/query/compose.d.ts +2 -2
  35. package/dist/query/compose.js +1 -1
  36. package/dist/query/index.d.ts +19 -1
  37. package/dist/query/index.js +2 -0
  38. package/dist/wasm/techne-wasm.gen.js +1 -1
  39. package/dist/wasm/techne-wasm2js.gen.js +22019 -22019
  40. package/package.json +1 -1
@@ -1737,7 +1737,7 @@ export const schemaDict = {
1737
1737
  PubTechneDraftBeaconSpot: {
1738
1738
  lexicon: 1,
1739
1739
  id: 'pub.techne.draft.beaconSpot',
1740
- 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.",
1740
+ 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.",
1741
1741
  defs: {
1742
1742
  main: {
1743
1743
  type: 'record',
@@ -1766,6 +1766,48 @@ export const schemaDict = {
1766
1766
  },
1767
1767
  },
1768
1768
  },
1769
+ PubTechneDraftBeaconSpotV2: {
1770
+ lexicon: 1,
1771
+ id: 'pub.techne.draft.beaconSpotV2',
1772
+ 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.",
1773
+ defs: {
1774
+ main: {
1775
+ type: 'record',
1776
+ key: 'any',
1777
+ record: {
1778
+ type: 'object',
1779
+ required: ['subject', 'locations', 'createdAt'],
1780
+ properties: {
1781
+ subject: {
1782
+ type: 'ref',
1783
+ ref: 'lex:com.atproto.repo.strongRef',
1784
+ description: 'The public community.lexicon.calendar.event this is the exact spot of.',
1785
+ },
1786
+ locations: {
1787
+ type: 'array',
1788
+ minLength: 1,
1789
+ maxLength: 4,
1790
+ 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`.',
1791
+ items: {
1792
+ type: 'union',
1793
+ refs: [
1794
+ 'lex:community.lexicon.location.geo',
1795
+ 'lex:community.lexicon.location.hthree',
1796
+ 'lex:community.lexicon.location.address',
1797
+ 'lex:com.atproto.repo.strongRef',
1798
+ 'lex:pub.techne.draft.locationEntry',
1799
+ ],
1800
+ },
1801
+ },
1802
+ createdAt: {
1803
+ type: 'string',
1804
+ format: 'datetime',
1805
+ },
1806
+ },
1807
+ },
1808
+ },
1809
+ },
1810
+ },
1769
1811
  PubTechneDraftBlock: {
1770
1812
  lexicon: 1,
1771
1813
  id: 'pub.techne.draft.block',
@@ -1851,7 +1893,7 @@ export const schemaDict = {
1851
1893
  PubTechneDraftCollective: {
1852
1894
  lexicon: 1,
1853
1895
  id: 'pub.techne.draft.collective',
1854
- description: "A collective's descriptor record. The collective's identity is its DID; this record describes it.",
1896
+ 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.",
1855
1897
  defs: {
1856
1898
  main: {
1857
1899
  type: 'record',
@@ -1912,6 +1954,70 @@ export const schemaDict = {
1912
1954
  },
1913
1955
  },
1914
1956
  },
1957
+ PubTechneDraftCollectiveV2: {
1958
+ lexicon: 1,
1959
+ id: 'pub.techne.draft.collectiveV2',
1960
+ 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.",
1961
+ defs: {
1962
+ main: {
1963
+ type: 'record',
1964
+ key: 'literal:self',
1965
+ record: {
1966
+ type: 'object',
1967
+ required: ['name', 'createdAt'],
1968
+ properties: {
1969
+ name: {
1970
+ type: 'string',
1971
+ maxLength: 640,
1972
+ maxGraphemes: 64,
1973
+ description: 'The display name of the collective.',
1974
+ },
1975
+ description: {
1976
+ type: 'string',
1977
+ maxLength: 2560,
1978
+ maxGraphemes: 256,
1979
+ description: 'A free-form description of the collective.',
1980
+ },
1981
+ emoji: {
1982
+ type: 'string',
1983
+ maxLength: 64,
1984
+ maxGraphemes: 1,
1985
+ 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.",
1986
+ },
1987
+ collectiveType: {
1988
+ type: 'string',
1989
+ 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.",
1990
+ maxLength: 64,
1991
+ },
1992
+ locations: {
1993
+ type: 'array',
1994
+ maxLength: 16,
1995
+ 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`.',
1996
+ items: {
1997
+ type: 'union',
1998
+ refs: [
1999
+ 'lex:community.lexicon.location.geo',
2000
+ 'lex:community.lexicon.location.hthree',
2001
+ 'lex:community.lexicon.location.address',
2002
+ 'lex:com.atproto.repo.strongRef',
2003
+ 'lex:pub.techne.draft.locationEntry',
2004
+ ],
2005
+ },
2006
+ },
2007
+ avatar: {
2008
+ type: 'blob',
2009
+ accept: ['image/png', 'image/jpeg'],
2010
+ maxSize: 1000000,
2011
+ },
2012
+ createdAt: {
2013
+ type: 'string',
2014
+ format: 'datetime',
2015
+ },
2016
+ },
2017
+ },
2018
+ },
2019
+ },
2020
+ },
1915
2021
  PubTechneDraftCommonsCreateServiceAccount: {
1916
2022
  lexicon: 1,
1917
2023
  id: 'pub.techne.draft.commons.createServiceAccount',
@@ -2462,7 +2568,7 @@ export const schemaDict = {
2462
2568
  PubTechneDraftContainedIn: {
2463
2569
  lexicon: 1,
2464
2570
  id: 'pub.techne.draft.containedIn',
2465
- 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.',
2571
+ 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.',
2466
2572
  defs: {
2467
2573
  main: {
2468
2574
  type: 'record',
@@ -2775,6 +2881,7 @@ export const schemaDict = {
2775
2881
  'venueNameConflict',
2776
2882
  'placeNameInTitle',
2777
2883
  'placeNameTokens',
2884
+ 'edgeResolution',
2778
2885
  ],
2779
2886
  },
2780
2887
  value: {
@@ -3179,7 +3286,7 @@ export const schemaDict = {
3179
3286
  PubTechneDraftGeo: {
3180
3287
  lexicon: 1,
3181
3288
  id: 'pub.techne.draft.geo',
3182
- 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.",
3289
+ description: "SUPERSEDED: the commons geocode rule wrote it until its version geocode-3, which writes a statement instead. A position for someone else's record is a `pub.techne.draft.statement` carrying `#locations`, with `basis` naming the entry it positions. Existing records stay readable until they are retired. Where a record is: a coordinate. A sidecar about any record (a place, an event, a later type), written in the writer's own repo, never onto the subject, so the subject's author, audience and lifetime are untouched and a reader chooses which writers it trusts. Written only when it adds a coordinate the subject's own record lacks: when a source gives coordinates they stay in the subject's own `locations`, and no geo record is needed. H3 cells are not stored: readers compute them from `location` at index time. It says nothing about who wrote it (the author is the repo it lives in) or how (a `pub.techne.draft.derivation` about it says that), so anyone, not only our rules, can write one honestly. PUBLIC. Written only about public records: no space type declares this collection, so it has no permissioned home. Written by the commons geocode rule before geocode-3.",
3183
3290
  defs: {
3184
3291
  main: {
3185
3292
  type: 'record',
@@ -3217,7 +3324,7 @@ export const schemaDict = {
3217
3324
  PubTechneDraftHeldAt: {
3218
3325
  lexicon: 1,
3219
3326
  id: 'pub.techne.draft.heldAt',
3220
- 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.",
3327
+ 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.",
3221
3328
  defs: {
3222
3329
  main: {
3223
3330
  type: 'record',
@@ -6232,6 +6339,46 @@ export const schemaDict = {
6232
6339
  },
6233
6340
  },
6234
6341
  },
6342
+ PubTechneDraftLocationEntry: {
6343
+ lexicon: 1,
6344
+ id: 'pub.techne.draft.locationEntry',
6345
+ 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).',
6346
+ defs: {
6347
+ main: {
6348
+ type: 'object',
6349
+ required: ['at'],
6350
+ properties: {
6351
+ kind: {
6352
+ type: 'string',
6353
+ maxLength: 64,
6354
+ knownValues: ['at', 'serves', 'registered'],
6355
+ 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.',
6356
+ },
6357
+ at: {
6358
+ type: 'union',
6359
+ refs: [
6360
+ 'lex:community.lexicon.location.geo',
6361
+ 'lex:community.lexicon.location.hthree',
6362
+ 'lex:community.lexicon.location.address',
6363
+ 'lex:com.atproto.repo.strongRef',
6364
+ ],
6365
+ 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).',
6366
+ },
6367
+ label: {
6368
+ type: 'string',
6369
+ maxLength: 640,
6370
+ maxGraphemes: 64,
6371
+ description: 'A short label for the entry as the writer would show it, such as "Main office" or "Filing city (IRS)".',
6372
+ },
6373
+ basis: {
6374
+ type: 'string',
6375
+ format: 'cid',
6376
+ 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.",
6377
+ },
6378
+ },
6379
+ },
6380
+ },
6381
+ },
6235
6382
  PubTechneDraftMarketAsk: {
6236
6383
  lexicon: 1,
6237
6384
  id: 'pub.techne.draft.market.ask',
@@ -6493,14 +6640,16 @@ export const schemaDict = {
6493
6640
  },
6494
6641
  locations: {
6495
6642
  type: 'array',
6496
- maxLength: 16,
6497
- 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.",
6643
+ maxLength: 256,
6644
+ 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`.",
6498
6645
  items: {
6499
6646
  type: 'union',
6500
6647
  refs: [
6501
6648
  'lex:community.lexicon.location.geo',
6649
+ 'lex:community.lexicon.location.hthree',
6502
6650
  'lex:community.lexicon.location.address',
6503
6651
  'lex:com.atproto.repo.strongRef',
6652
+ 'lex:pub.techne.draft.locationEntry',
6504
6653
  ],
6505
6654
  },
6506
6655
  },
@@ -6572,14 +6721,16 @@ export const schemaDict = {
6572
6721
  },
6573
6722
  locations: {
6574
6723
  type: 'array',
6575
- maxLength: 16,
6576
- 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.",
6724
+ maxLength: 256,
6725
+ 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`.",
6577
6726
  items: {
6578
6727
  type: 'union',
6579
6728
  refs: [
6580
6729
  'lex:community.lexicon.location.geo',
6730
+ 'lex:community.lexicon.location.hthree',
6581
6731
  'lex:community.lexicon.location.address',
6582
6732
  'lex:com.atproto.repo.strongRef',
6733
+ 'lex:pub.techne.draft.locationEntry',
6583
6734
  ],
6584
6735
  },
6585
6736
  },
@@ -6607,7 +6758,7 @@ export const schemaDict = {
6607
6758
  PubTechneDraftOrgAtPlace: {
6608
6759
  lexicon: 1,
6609
6760
  id: 'pub.techne.draft.orgAtPlace',
6610
- description: 'A relationship: an organization is at a place (its office, its storefront, or a place it operates). Draft tier, PUBLIC. Its own record, not a field on either end, because an org can be at many places, a place can hold many orgs, and someone in particular claims each link (lexicon constitution, rule 2).',
6761
+ description: "SUPERSEDED: no source rule writes it now (the commons curator still writes curated copies of existing links). Its successors: an org's sites are entries in its own `locations` (bounded at 256; a `registered` entry is where it is registered), and a site the org's author did not state is a `pub.techne.draft.statement` about the org carrying `locations` (as the commons org-match rule writes its sites statements). Existing records stay readable. A relationship: an organization is at a place (its office, its storefront, or a place it operates). Draft tier, PUBLIC. Its own record, not a field on either end, because an org can be at many places, a place can hold many orgs, and someone in particular claims each link (lexicon constitution, rule 2).",
6611
6762
  defs: {
6612
6763
  main: {
6613
6764
  type: 'record',
@@ -6679,7 +6830,7 @@ export const schemaDict = {
6679
6830
  PubTechneDraftPendingBeaconSpot: {
6680
6831
  lexicon: 1,
6681
6832
  id: 'pub.techne.draft.pendingBeaconSpot',
6682
- 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.",
6833
+ 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.",
6683
6834
  defs: {
6684
6835
  main: {
6685
6836
  type: 'record',
@@ -6713,6 +6864,49 @@ export const schemaDict = {
6713
6864
  },
6714
6865
  },
6715
6866
  },
6867
+ PubTechneDraftPendingBeaconSpotV2: {
6868
+ lexicon: 1,
6869
+ id: 'pub.techne.draft.pendingBeaconSpotV2',
6870
+ 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.",
6871
+ defs: {
6872
+ main: {
6873
+ type: 'record',
6874
+ key: 'any',
6875
+ record: {
6876
+ type: 'object',
6877
+ required: ['subject', 'locations', 'createdAt'],
6878
+ properties: {
6879
+ subject: {
6880
+ type: 'ref',
6881
+ ref: 'lex:com.atproto.repo.strongRef',
6882
+ description: 'The public community.lexicon.calendar.event this is the exact spot of.',
6883
+ },
6884
+ locations: {
6885
+ type: 'array',
6886
+ minLength: 1,
6887
+ maxLength: 4,
6888
+ 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`.',
6889
+ items: {
6890
+ type: 'union',
6891
+ refs: [
6892
+ 'lex:community.lexicon.location.geo',
6893
+ 'lex:community.lexicon.location.hthree',
6894
+ 'lex:community.lexicon.location.address',
6895
+ 'lex:com.atproto.repo.strongRef',
6896
+ 'lex:pub.techne.draft.locationEntry',
6897
+ ],
6898
+ },
6899
+ },
6900
+ createdAt: {
6901
+ type: 'string',
6902
+ format: 'datetime',
6903
+ description: 'When this was last written. Read to delete a copy no beacon took up within a day.',
6904
+ },
6905
+ },
6906
+ },
6907
+ },
6908
+ },
6909
+ },
6716
6910
  PubTechneDraftPermissionedDeleteRecord: {
6717
6911
  lexicon: 1,
6718
6912
  id: 'pub.techne.draft.permissioned.deleteRecord',
@@ -7449,7 +7643,7 @@ export const schemaDict = {
7449
7643
  PubTechneDraftPlace: {
7450
7644
  lexicon: 1,
7451
7645
  id: 'pub.techne.draft.place',
7452
- 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.",
7646
+ 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.",
7453
7647
  defs: {
7454
7648
  main: {
7455
7649
  type: 'record',
@@ -7687,6 +7881,105 @@ export const schemaDict = {
7687
7881
  },
7688
7882
  },
7689
7883
  },
7884
+ PubTechneDraftPlaceV2: {
7885
+ lexicon: 1,
7886
+ id: 'pub.techne.draft.placeV2',
7887
+ 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`.',
7888
+ defs: {
7889
+ main: {
7890
+ type: 'record',
7891
+ key: 'any',
7892
+ 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.',
7893
+ record: {
7894
+ type: 'object',
7895
+ required: ['name', 'kind', 'createdAt'],
7896
+ properties: {
7897
+ name: {
7898
+ type: 'string',
7899
+ maxLength: 640,
7900
+ maxGraphemes: 128,
7901
+ description: "The place/group's display name.",
7902
+ },
7903
+ kind: {
7904
+ type: 'string',
7905
+ maxLength: 64,
7906
+ knownValues: ['business', 'publicSpace', 'group', 'area'],
7907
+ description: 'What kind of directory entry this is. `area`: a named area (a city, county, ZIP or parish) whose extent is `cells`.',
7908
+ },
7909
+ category: {
7910
+ type: 'string',
7911
+ maxLength: 128,
7912
+ 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.",
7913
+ },
7914
+ locations: {
7915
+ type: 'array',
7916
+ maxLength: 16,
7917
+ 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.',
7918
+ items: {
7919
+ type: 'union',
7920
+ refs: [
7921
+ 'lex:community.lexicon.location.geo',
7922
+ 'lex:community.lexicon.location.hthree',
7923
+ 'lex:community.lexicon.location.address',
7924
+ 'lex:com.atproto.repo.strongRef',
7925
+ 'lex:pub.techne.draft.locationEntry',
7926
+ ],
7927
+ },
7928
+ },
7929
+ cells: {
7930
+ type: 'array',
7931
+ maxLength: 20000,
7932
+ 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.",
7933
+ items: {
7934
+ type: 'string',
7935
+ minLength: 15,
7936
+ maxLength: 15,
7937
+ },
7938
+ },
7939
+ timeZone: {
7940
+ type: 'string',
7941
+ maxLength: 64,
7942
+ 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.",
7943
+ },
7944
+ uris: {
7945
+ type: 'array',
7946
+ maxLength: 16,
7947
+ description: 'Named links associated with this place, such as its website. Data-source credits belong in a separate attribution record.',
7948
+ items: {
7949
+ type: 'ref',
7950
+ ref: 'lex:community.lexicon.calendar.event#uri',
7951
+ },
7952
+ },
7953
+ openingHours: {
7954
+ type: 'string',
7955
+ maxLength: 1024,
7956
+ maxGraphemes: 512,
7957
+ 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.",
7958
+ },
7959
+ description: {
7960
+ type: 'string',
7961
+ maxLength: 30000,
7962
+ maxGraphemes: 3000,
7963
+ 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.',
7964
+ },
7965
+ identifiers: {
7966
+ type: 'array',
7967
+ maxLength: 32,
7968
+ 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.',
7969
+ items: {
7970
+ type: 'ref',
7971
+ ref: 'lex:pub.techne.draft.org#schemeValue',
7972
+ },
7973
+ },
7974
+ createdAt: {
7975
+ type: 'string',
7976
+ format: 'datetime',
7977
+ },
7978
+ },
7979
+ },
7980
+ },
7981
+ },
7982
+ },
7690
7983
  PubTechneDraftPost: {
7691
7984
  lexicon: 1,
7692
7985
  id: 'pub.techne.draft.post',
@@ -8343,7 +8636,7 @@ export const schemaDict = {
8343
8636
  },
8344
8637
  envelope: {
8345
8638
  type: 'array',
8346
- maxLength: 10,
8639
+ maxLength: 11,
8347
8640
  items: {
8348
8641
  type: 'string',
8349
8642
  knownValues: [
@@ -8357,9 +8650,10 @@ export const schemaDict = {
8357
8650
  'held',
8358
8651
  'measures',
8359
8652
  'signals',
8653
+ 'matched',
8360
8654
  ],
8361
8655
  },
8362
- 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.',
8656
+ 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.',
8363
8657
  },
8364
8658
  uri: {
8365
8659
  type: 'boolean',
@@ -8393,6 +8687,11 @@ export const schemaDict = {
8393
8687
  type: 'boolean',
8394
8688
  description: "List step, asked with `count`: as listRecords' `capped`.",
8395
8689
  },
8690
+ notServedHere: {
8691
+ type: 'ref',
8692
+ ref: 'lex:pub.techne.draft.query.listRecords#notServedHere',
8693
+ description: 'List step: as listRecords\' `notServedHere` (an empty list with it set means "not served here", not "nothing there").',
8694
+ },
8396
8695
  withheld: {
8397
8696
  type: 'array',
8398
8697
  items: {
@@ -8492,6 +8791,15 @@ export const schemaDict = {
8492
8791
  type: 'unknown',
8493
8792
  description: 'The server-side signals the query asked for, by name; a signal with no value for this record is absent.',
8494
8793
  },
8794
+ matched: {
8795
+ type: 'array',
8796
+ maxLength: 8,
8797
+ items: {
8798
+ type: 'ref',
8799
+ ref: 'lex:pub.techne.draft.query.listRecords#matchedLocation',
8800
+ },
8801
+ description: 'As listRecords#record has it: with a `location` `in` or `covers` condition, the stated locations that matched, at most 8.',
8802
+ },
8495
8803
  },
8496
8804
  },
8497
8805
  stepError: {
@@ -8521,7 +8829,7 @@ export const schemaDict = {
8521
8829
  defs: {
8522
8830
  main: {
8523
8831
  type: 'query',
8524
- 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.",
8832
+ 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.",
8525
8833
  parameters: {
8526
8834
  type: 'params',
8527
8835
  properties: {
@@ -8569,6 +8877,11 @@ export const schemaDict = {
8569
8877
  },
8570
8878
  description: 'With groupBy: the count per key, largest first.',
8571
8879
  },
8880
+ notServedHere: {
8881
+ type: 'ref',
8882
+ ref: 'lex:pub.techne.draft.query.listRecords#notServedHere',
8883
+ 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.',
8884
+ },
8572
8885
  },
8573
8886
  },
8574
8887
  },
@@ -8813,7 +9126,7 @@ export const schemaDict = {
8813
9126
  defs: {
8814
9127
  main: {
8815
9128
  type: 'query',
8816
- description: "The platform's generic list query: one page of the records a pub.techne.draft.query names, in its order. Every record is read through the platform's one read path, whatever the query says: no record of a hidden or suspended account is answered, nor, to a signed-in caller, another's record across a block either way (the caller blocked its author, or its author blocked the caller); a public record also leaves out anything moderation holds back (a trusted verdict or `!takedown`); a permissioned record is answered only when it is the caller's own or counts in a space whose read policy admits the caller now, not taken down (in a space whose authority is the caller, a block does not hide its records from them), and (in a member-owned circle space) only while its author is a current member by a claim the caller can read. Each branch reads the public records of the view it names (the query's `view`, or its branch's in `any`, `pub.techne.draft.query#branch`): `asWritten`, every record as its author wrote it, or `curated`, the commons' listed records; there is no default (ViewRequired), and a curated branch naming a type no curator covers is refused (NotCurated). A curated record every source of which is by a hidden or suspended account is left out for everyone, and one every source of which is by an author blocked either way is left out for a signed-in caller. Anyone may call it, signed in or not; an anonymous caller gets public records only. Each top-level `any` branch runs on its own index and the branches are merged in order, so a record that matches two branches comes once. A permissioned record, and a public record answered as written, is answered only while the platform's `decide` calls its version valid, and because that check runs on the page already read, a page can hold fewer records than `limit` and still carry a cursor: keep paging until none comes back. Draft tier.",
9129
+ 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.",
8817
9130
  parameters: {
8818
9131
  type: 'params',
8819
9132
  properties: {
@@ -8875,6 +9188,11 @@ export const schemaDict = {
8875
9188
  type: 'boolean',
8876
9189
  description: "Only when asked with `count=true`: true when there are more than `count` (countRecords' `capped`).",
8877
9190
  },
9191
+ notServedHere: {
9192
+ type: 'ref',
9193
+ ref: 'lex:pub.techne.draft.query.listRecords#notServedHere',
9194
+ 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.',
9195
+ },
8878
9196
  },
8879
9197
  },
8880
9198
  },
@@ -8962,6 +9280,64 @@ export const schemaDict = {
8962
9280
  type: 'unknown',
8963
9281
  description: 'The server-side signals the query asked for, by name; a signal with no value for this record is absent.',
8964
9282
  },
9283
+ matched: {
9284
+ type: 'array',
9285
+ maxLength: 8,
9286
+ items: {
9287
+ type: 'ref',
9288
+ ref: 'lex:pub.techne.draft.query.listRecords#matchedLocation',
9289
+ },
9290
+ description: "With a `location` `in` or `covers` condition: the stated locations that matched (with `followed`, its subject's), at most 8.",
9291
+ },
9292
+ },
9293
+ },
9294
+ matchedLocation: {
9295
+ type: 'object',
9296
+ description: 'One stated location that matched.',
9297
+ required: ['kind', 'asserter', 'source'],
9298
+ properties: {
9299
+ entry: {
9300
+ type: 'union',
9301
+ refs: [
9302
+ 'lex:community.lexicon.location.geo',
9303
+ 'lex:community.lexicon.location.hthree',
9304
+ 'lex:community.lexicon.location.address',
9305
+ 'lex:com.atproto.repo.strongRef',
9306
+ 'lex:pub.techne.draft.locationEntry',
9307
+ ],
9308
+ 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.",
9309
+ },
9310
+ kind: {
9311
+ type: 'string',
9312
+ description: 'How the thing relates to the place (`at`, `serves`, `registered`, ...).',
9313
+ },
9314
+ asserter: {
9315
+ type: 'string',
9316
+ format: 'did',
9317
+ description: "Who stated it: the record's author, or a claim's writer.",
9318
+ },
9319
+ source: {
9320
+ type: 'string',
9321
+ format: 'at-uri',
9322
+ description: 'The record that stated it (the record itself, or a claim about it).',
9323
+ },
9324
+ },
9325
+ },
9326
+ notServedHere: {
9327
+ type: 'object',
9328
+ 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".',
9329
+ required: ['reason', 'message'],
9330
+ properties: {
9331
+ reason: {
9332
+ type: 'string',
9333
+ knownValues: ['outsideCoverage', 'areaNotHeld'],
9334
+ 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.',
9335
+ },
9336
+ message: {
9337
+ type: 'string',
9338
+ maxLength: 300,
9339
+ description: 'The reason, in words, for a person to read.',
9340
+ },
8965
9341
  },
8966
9342
  },
8967
9343
  },
@@ -9245,6 +9621,48 @@ export const schemaDict = {
9245
9621
  },
9246
9622
  },
9247
9623
  },
9624
+ PubTechneDraftRegion: {
9625
+ lexicon: 1,
9626
+ id: 'pub.techne.draft.region',
9627
+ 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.",
9628
+ defs: {
9629
+ main: {
9630
+ type: 'record',
9631
+ key: 'any',
9632
+ 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.",
9633
+ record: {
9634
+ type: 'object',
9635
+ required: ['area', 'operator', 'createdAt'],
9636
+ properties: {
9637
+ area: {
9638
+ type: 'ref',
9639
+ ref: 'lex:com.atproto.repo.strongRef',
9640
+ 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.',
9641
+ },
9642
+ operator: {
9643
+ type: 'string',
9644
+ format: 'did',
9645
+ 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.',
9646
+ },
9647
+ validFrom: {
9648
+ type: 'string',
9649
+ format: 'datetime',
9650
+ description: 'When the period starts. Absent: from always.',
9651
+ },
9652
+ validUntil: {
9653
+ type: 'string',
9654
+ format: 'datetime',
9655
+ description: 'When the period ends (exclusive). Absent: it has not ended.',
9656
+ },
9657
+ createdAt: {
9658
+ type: 'string',
9659
+ format: 'datetime',
9660
+ },
9661
+ },
9662
+ },
9663
+ },
9664
+ },
9665
+ },
9248
9666
  PubTechneDraftRegistryBlockIndex: {
9249
9667
  lexicon: 1,
9250
9668
  id: 'pub.techne.draft.registry.blockIndex',
@@ -10544,8 +10962,11 @@ export const schemaDict = {
10544
10962
  },
10545
10963
  fields: {
10546
10964
  type: 'union',
10547
- refs: ['lex:pub.techne.draft.org#fields'],
10548
- 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.",
10965
+ refs: [
10966
+ 'lex:pub.techne.draft.org#fields',
10967
+ 'lex:pub.techne.draft.statement#locations',
10968
+ ],
10969
+ 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.",
10549
10970
  },
10550
10971
  createdAt: {
10551
10972
  type: 'string',
@@ -10554,6 +10975,28 @@ export const schemaDict = {
10554
10975
  },
10555
10976
  },
10556
10977
  },
10978
+ locations: {
10979
+ type: 'object',
10980
+ description: "Where the subject is, as the writer of the statement says, for a subject of any type. It counts only as the view decides: the subject's own locations win, and a statement fills in only where the subject states no location of that kind, or (with `basis`) gives a position to a subject's entry that has none. A statement the subject's own author writes counts as the subject's own locations. A `basis` equal to the subject record's CID (a legacy claim) counts for any own entry of that kind with no position, while the subject is still that version. When several claims compete for one slot (the same kind, and the same `basis` or none), one counts: the finest grain wins, then the newest, then the lowest source URI; the others are conflicts. On a type whose query document reads its entries as sites (`entries: sites`, as on an org), a claim entry that names no own entry (no `basis`, or a legacy `basis` while the subject states no location of that kind) is its own site: it counts beside every other such entry and competes with none. A claim that names an own entry still competes for that entry, and a subject that states a location of that kind still bars a claim with no `basis`. Read as written, every writer's claim is weighed; curated, only the subject's author's and those of writers the commons root endorses.",
10981
+ required: ['locations'],
10982
+ properties: {
10983
+ locations: {
10984
+ type: 'array',
10985
+ maxLength: 256,
10986
+ description: "Entries as in the subject's own `locations` field (lexicon naming register).",
10987
+ items: {
10988
+ type: 'union',
10989
+ refs: [
10990
+ 'lex:community.lexicon.location.geo',
10991
+ 'lex:community.lexicon.location.hthree',
10992
+ 'lex:community.lexicon.location.address',
10993
+ 'lex:com.atproto.repo.strongRef',
10994
+ 'lex:pub.techne.draft.locationEntry',
10995
+ ],
10996
+ },
10997
+ },
10998
+ },
10999
+ },
10557
11000
  },
10558
11001
  },
10559
11002
  PubTechneDraftSubjectPrefs: {
@@ -12242,10 +12685,12 @@ export const ids = {
12242
12685
  PubTechneDraftBeacon: 'pub.techne.draft.beacon',
12243
12686
  PubTechneDraftBeaconLists: 'pub.techne.draft.beaconLists',
12244
12687
  PubTechneDraftBeaconSpot: 'pub.techne.draft.beaconSpot',
12688
+ PubTechneDraftBeaconSpotV2: 'pub.techne.draft.beaconSpotV2',
12245
12689
  PubTechneDraftBlock: 'pub.techne.draft.block',
12246
12690
  PubTechneDraftChannelVerification: 'pub.techne.draft.channelVerification',
12247
12691
  PubTechneDraftCircleBeacon: 'pub.techne.draft.circleBeacon',
12248
12692
  PubTechneDraftCollective: 'pub.techne.draft.collective',
12693
+ PubTechneDraftCollectiveV2: 'pub.techne.draft.collectiveV2',
12249
12694
  PubTechneDraftCommonsCreateServiceAccount: 'pub.techne.draft.commons.createServiceAccount',
12250
12695
  PubTechneDraftCommonsGetVersions: 'pub.techne.draft.commons.getVersions',
12251
12696
  PubTechneDraftCommonsMoveAccountHandle: 'pub.techne.draft.commons.moveAccountHandle',
@@ -12301,6 +12746,7 @@ export const ids = {
12301
12746
  PubTechneDraftInterest: 'pub.techne.draft.interest',
12302
12747
  PubTechneDraftIntroProposal: 'pub.techne.draft.introProposal',
12303
12748
  PubTechneDraftInvite: 'pub.techne.draft.invite',
12749
+ PubTechneDraftLocationEntry: 'pub.techne.draft.locationEntry',
12304
12750
  PubTechneDraftMarketAsk: 'pub.techne.draft.market.ask',
12305
12751
  PubTechneDraftMarketOffer: 'pub.techne.draft.market.offer',
12306
12752
  PubTechneDraftMembership: 'pub.techne.draft.membership',
@@ -12310,6 +12756,7 @@ export const ids = {
12310
12756
  PubTechneDraftOrgAtPlace: 'pub.techne.draft.orgAtPlace',
12311
12757
  PubTechneDraftPassage: 'pub.techne.draft.passage',
12312
12758
  PubTechneDraftPendingBeaconSpot: 'pub.techne.draft.pendingBeaconSpot',
12759
+ PubTechneDraftPendingBeaconSpotV2: 'pub.techne.draft.pendingBeaconSpotV2',
12313
12760
  PubTechneDraftPermissionedDeleteRecord: 'pub.techne.draft.permissioned.deleteRecord',
12314
12761
  PubTechneDraftPermissionedGetGrants: 'pub.techne.draft.permissioned.getGrants',
12315
12762
  PubTechneDraftPermissionedGetRecord: 'pub.techne.draft.permissioned.getRecord',
@@ -12319,6 +12766,7 @@ export const ids = {
12319
12766
  PubTechneDraftPermissionedPutRecords: 'pub.techne.draft.permissioned.putRecords',
12320
12767
  PubTechneDraftPlace: 'pub.techne.draft.place',
12321
12768
  PubTechneDraftPlaceResearch: 'pub.techne.draft.placeResearch',
12769
+ PubTechneDraftPlaceV2: 'pub.techne.draft.placeV2',
12322
12770
  PubTechneDraftPost: 'pub.techne.draft.post',
12323
12771
  PubTechneDraftPresence: 'pub.techne.draft.presence',
12324
12772
  PubTechneDraftProfile: 'pub.techne.draft.profile',
@@ -12332,6 +12780,7 @@ export const ids = {
12332
12780
  PubTechneDraftQuestionSet: 'pub.techne.draft.questionSet',
12333
12781
  PubTechneDraftReceipt: 'pub.techne.draft.receipt',
12334
12782
  PubTechneDraftReflection: 'pub.techne.draft.reflection',
12783
+ PubTechneDraftRegion: 'pub.techne.draft.region',
12335
12784
  PubTechneDraftRegistryBlockIndex: 'pub.techne.draft.registry.blockIndex',
12336
12785
  PubTechneDraftRegistryDefs: 'pub.techne.draft.registry.defs',
12337
12786
  PubTechneDraftRegistryGetType: 'pub.techne.draft.registry.getType',