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.
- package/CHANGELOG.md +70 -0
- package/README.md +78 -2
- package/dist/auth/app-key.d.ts +2 -1
- package/dist/auth/app-key.js +2 -1
- package/dist/auth/placement.gen.d.ts +1 -1
- package/dist/auth/placement.gen.js +3 -0
- package/dist/catalog/catalog.gen.d.ts +22 -0
- package/dist/catalog/catalog.gen.js +1839 -66
- package/dist/connect.d.ts +5 -2
- package/dist/generated/index.d.ts +141 -0
- package/dist/generated/index.js +186 -0
- package/dist/generated/lexicons.d.ts +910 -70
- package/dist/generated/lexicons.js +506 -26
- package/dist/generated/nsid.d.ts +46 -0
- package/dist/generated/nsid.js +46 -0
- package/dist/generated/nsid.json +46 -0
- package/dist/generated/records.d.ts +134 -124
- package/dist/generated/types/pub/techne/draft/beaconSpotV2.d.ts +23 -0
- package/dist/generated/types/pub/techne/draft/beaconSpotV2.js +12 -0
- package/dist/generated/types/pub/techne/draft/collectiveV2.d.ts +31 -0
- package/dist/generated/types/pub/techne/draft/collectiveV2.js +12 -0
- package/dist/generated/types/pub/techne/draft/identity/createCollective.d.ts +4 -1
- package/dist/generated/types/pub/techne/draft/identity/createCollective.js +7 -0
- package/dist/generated/types/pub/techne/draft/locationEntry.d.ts +23 -0
- package/dist/generated/types/pub/techne/draft/locationEntry.js +11 -0
- package/dist/generated/types/pub/techne/draft/org.d.ts +6 -4
- package/dist/generated/types/pub/techne/draft/orgAtPlace.d.ts +2 -2
- package/dist/generated/types/pub/techne/draft/pendingBeaconSpotV2.d.ts +24 -0
- package/dist/generated/types/pub/techne/draft/pendingBeaconSpotV2.js +12 -0
- package/dist/generated/types/pub/techne/draft/place.d.ts +4 -0
- package/dist/generated/types/pub/techne/draft/placeV2.d.ts +42 -0
- package/dist/generated/types/pub/techne/draft/placeV2.js +12 -0
- package/dist/generated/types/pub/techne/draft/query/composeRecords.d.ts +8 -4
- package/dist/generated/types/pub/techne/draft/query/countRecords.d.ts +8 -0
- package/dist/generated/types/pub/techne/draft/query/countRecords.js +14 -0
- package/dist/generated/types/pub/techne/draft/query/listRecords.d.ts +41 -1
- package/dist/generated/types/pub/techne/draft/query/listRecords.js +28 -0
- package/dist/generated/types/pub/techne/draft/region.d.ts +20 -0
- package/dist/generated/types/pub/techne/draft/region.js +12 -0
- package/dist/generated/types/pub/techne/draft/statement.d.ts +15 -1
- package/dist/generated/types/pub/techne/draft/statement.js +7 -0
- package/dist/item.d.ts +3 -1
- package/dist/item.js +1 -1
- package/dist/query/compose.d.ts +2 -2
- package/dist/query/compose.js +1 -1
- package/dist/query/hosts.d.ts +1 -1
- package/dist/query/hosts.js +5 -3
- package/dist/query/index.d.ts +51 -6
- package/dist/query/index.js +2 -0
- package/dist/read/index.js +5 -4
- package/dist/wasm/techne-wasm.gen.js +1 -1
- package/dist/wasm/techne-wasm2js.gen.js +8576 -8578
- package/package.json +1 -1
|
@@ -1247,7 +1247,8 @@ export const catalog = {
|
|
|
1247
1247
|
"locations[].uri"
|
|
1248
1248
|
]
|
|
1249
1249
|
},
|
|
1250
|
-
"assumedDuration": "PT2H"
|
|
1250
|
+
"assumedDuration": "PT2H",
|
|
1251
|
+
"entries": "faces"
|
|
1251
1252
|
}
|
|
1252
1253
|
}
|
|
1253
1254
|
})
|
|
@@ -1340,6 +1341,25 @@ export const catalog = {
|
|
|
1340
1341
|
}
|
|
1341
1342
|
]
|
|
1342
1343
|
},
|
|
1344
|
+
{
|
|
1345
|
+
"nsid": "community.lexicon.calendar.rsvp.query",
|
|
1346
|
+
"name": "calendar.rsvp.query",
|
|
1347
|
+
"group": "community.lexicon",
|
|
1348
|
+
"kind": "queryDocument",
|
|
1349
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
1350
|
+
"doc": ({
|
|
1351
|
+
"lexicon": 1,
|
|
1352
|
+
"id": "community.lexicon.calendar.rsvp.query",
|
|
1353
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
1354
|
+
"defs": {
|
|
1355
|
+
"main": {
|
|
1356
|
+
"type": "queryDocument",
|
|
1357
|
+
"roles": {},
|
|
1358
|
+
"subject": "subject.uri"
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
})
|
|
1362
|
+
},
|
|
1343
1363
|
{
|
|
1344
1364
|
"nsid": "community.lexicon.location.address",
|
|
1345
1365
|
"name": "location.address",
|
|
@@ -1857,6 +1877,25 @@ export const catalog = {
|
|
|
1857
1877
|
}
|
|
1858
1878
|
]
|
|
1859
1879
|
},
|
|
1880
|
+
{
|
|
1881
|
+
"nsid": "org.hypercerts.funding.receipt.query",
|
|
1882
|
+
"name": "org.hypercerts.funding.receipt.query",
|
|
1883
|
+
"group": "pub.techne",
|
|
1884
|
+
"kind": "queryDocument",
|
|
1885
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about its recipient, the record at `to.uri` (when `to` is a strong reference), and a where read finds it there when asked to follow subjects.",
|
|
1886
|
+
"doc": ({
|
|
1887
|
+
"lexicon": 1,
|
|
1888
|
+
"id": "org.hypercerts.funding.receipt.query",
|
|
1889
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about its recipient, the record at `to.uri` (when `to` is a strong reference), and a where read finds it there when asked to follow subjects.",
|
|
1890
|
+
"defs": {
|
|
1891
|
+
"main": {
|
|
1892
|
+
"type": "queryDocument",
|
|
1893
|
+
"roles": {},
|
|
1894
|
+
"subject": "to.uri"
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
})
|
|
1898
|
+
},
|
|
1860
1899
|
{
|
|
1861
1900
|
"nsid": "pub.techne.draft.accessRule",
|
|
1862
1901
|
"name": "draft.accessRule",
|
|
@@ -2525,6 +2564,25 @@ export const catalog = {
|
|
|
2525
2564
|
}
|
|
2526
2565
|
]
|
|
2527
2566
|
},
|
|
2567
|
+
{
|
|
2568
|
+
"nsid": "pub.techne.draft.approval.query",
|
|
2569
|
+
"name": "draft.approval.query",
|
|
2570
|
+
"group": "pub.techne",
|
|
2571
|
+
"kind": "queryDocument",
|
|
2572
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `event.uri`, and a where read finds it there when asked to follow subjects.",
|
|
2573
|
+
"doc": ({
|
|
2574
|
+
"lexicon": 1,
|
|
2575
|
+
"id": "pub.techne.draft.approval.query",
|
|
2576
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `event.uri`, and a where read finds it there when asked to follow subjects.",
|
|
2577
|
+
"defs": {
|
|
2578
|
+
"main": {
|
|
2579
|
+
"type": "queryDocument",
|
|
2580
|
+
"roles": {},
|
|
2581
|
+
"subject": "event.uri"
|
|
2582
|
+
}
|
|
2583
|
+
}
|
|
2584
|
+
})
|
|
2585
|
+
},
|
|
2528
2586
|
{
|
|
2529
2587
|
"nsid": "pub.techne.draft.assessment",
|
|
2530
2588
|
"name": "draft.assessment",
|
|
@@ -2682,6 +2740,25 @@ export const catalog = {
|
|
|
2682
2740
|
}
|
|
2683
2741
|
]
|
|
2684
2742
|
},
|
|
2743
|
+
{
|
|
2744
|
+
"nsid": "pub.techne.draft.assessment.query",
|
|
2745
|
+
"name": "draft.assessment.query",
|
|
2746
|
+
"group": "pub.techne",
|
|
2747
|
+
"kind": "queryDocument",
|
|
2748
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
2749
|
+
"doc": ({
|
|
2750
|
+
"lexicon": 1,
|
|
2751
|
+
"id": "pub.techne.draft.assessment.query",
|
|
2752
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
2753
|
+
"defs": {
|
|
2754
|
+
"main": {
|
|
2755
|
+
"type": "queryDocument",
|
|
2756
|
+
"roles": {},
|
|
2757
|
+
"subject": "subject.uri"
|
|
2758
|
+
}
|
|
2759
|
+
}
|
|
2760
|
+
})
|
|
2761
|
+
},
|
|
2685
2762
|
{
|
|
2686
2763
|
"nsid": "pub.techne.draft.attentionPrefs",
|
|
2687
2764
|
"name": "draft.attentionPrefs",
|
|
@@ -2841,6 +2918,25 @@ export const catalog = {
|
|
|
2841
2918
|
}
|
|
2842
2919
|
]
|
|
2843
2920
|
},
|
|
2921
|
+
{
|
|
2922
|
+
"nsid": "pub.techne.draft.beacon.query",
|
|
2923
|
+
"name": "draft.beacon.query",
|
|
2924
|
+
"group": "pub.techne",
|
|
2925
|
+
"kind": "queryDocument",
|
|
2926
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject`, and a where read finds it there when asked to follow subjects.",
|
|
2927
|
+
"doc": ({
|
|
2928
|
+
"lexicon": 1,
|
|
2929
|
+
"id": "pub.techne.draft.beacon.query",
|
|
2930
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject`, and a where read finds it there when asked to follow subjects.",
|
|
2931
|
+
"defs": {
|
|
2932
|
+
"main": {
|
|
2933
|
+
"type": "queryDocument",
|
|
2934
|
+
"roles": {},
|
|
2935
|
+
"subject": "subject"
|
|
2936
|
+
}
|
|
2937
|
+
}
|
|
2938
|
+
})
|
|
2939
|
+
},
|
|
2844
2940
|
{
|
|
2845
2941
|
"nsid": "pub.techne.draft.beaconLists",
|
|
2846
2942
|
"name": "draft.beaconLists",
|
|
@@ -2905,7 +3001,7 @@ export const catalog = {
|
|
|
2905
3001
|
"group": "pub.techne",
|
|
2906
3002
|
"kind": "record",
|
|
2907
3003
|
"key": "any",
|
|
2908
|
-
"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.",
|
|
3004
|
+
"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.",
|
|
2909
3005
|
"fields": [
|
|
2910
3006
|
{
|
|
2911
3007
|
"name": "event",
|
|
@@ -2929,7 +3025,7 @@ export const catalog = {
|
|
|
2929
3025
|
"doc": ({
|
|
2930
3026
|
"lexicon": 1,
|
|
2931
3027
|
"id": "pub.techne.draft.beaconSpot",
|
|
2932
|
-
"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.",
|
|
3028
|
+
"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.",
|
|
2933
3029
|
"defs": {
|
|
2934
3030
|
"main": {
|
|
2935
3031
|
"type": "record",
|
|
@@ -2968,6 +3064,107 @@ export const catalog = {
|
|
|
2968
3064
|
}
|
|
2969
3065
|
]
|
|
2970
3066
|
},
|
|
3067
|
+
{
|
|
3068
|
+
"nsid": "pub.techne.draft.beaconSpotV2",
|
|
3069
|
+
"name": "draft.beaconSpotV2",
|
|
3070
|
+
"group": "pub.techne",
|
|
3071
|
+
"kind": "record",
|
|
3072
|
+
"key": "any",
|
|
3073
|
+
"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.",
|
|
3074
|
+
"fields": [
|
|
3075
|
+
{
|
|
3076
|
+
"name": "subject",
|
|
3077
|
+
"type": "→ com.atproto.repo.strongRef",
|
|
3078
|
+
"required": true,
|
|
3079
|
+
"description": "The public community.lexicon.calendar.event this is the exact spot of."
|
|
3080
|
+
},
|
|
3081
|
+
{
|
|
3082
|
+
"name": "locations",
|
|
3083
|
+
"type": "array<union>",
|
|
3084
|
+
"required": true,
|
|
3085
|
+
"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`."
|
|
3086
|
+
},
|
|
3087
|
+
{
|
|
3088
|
+
"name": "createdAt",
|
|
3089
|
+
"type": "string<datetime>",
|
|
3090
|
+
"required": true
|
|
3091
|
+
}
|
|
3092
|
+
],
|
|
3093
|
+
"doc": ({
|
|
3094
|
+
"lexicon": 1,
|
|
3095
|
+
"id": "pub.techne.draft.beaconSpotV2",
|
|
3096
|
+
"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.",
|
|
3097
|
+
"defs": {
|
|
3098
|
+
"main": {
|
|
3099
|
+
"type": "record",
|
|
3100
|
+
"key": "any",
|
|
3101
|
+
"record": {
|
|
3102
|
+
"type": "object",
|
|
3103
|
+
"required": [
|
|
3104
|
+
"subject",
|
|
3105
|
+
"locations",
|
|
3106
|
+
"createdAt"
|
|
3107
|
+
],
|
|
3108
|
+
"properties": {
|
|
3109
|
+
"subject": {
|
|
3110
|
+
"type": "ref",
|
|
3111
|
+
"ref": "com.atproto.repo.strongRef",
|
|
3112
|
+
"description": "The public community.lexicon.calendar.event this is the exact spot of."
|
|
3113
|
+
},
|
|
3114
|
+
"locations": {
|
|
3115
|
+
"type": "array",
|
|
3116
|
+
"minLength": 1,
|
|
3117
|
+
"maxLength": 4,
|
|
3118
|
+
"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`.",
|
|
3119
|
+
"items": {
|
|
3120
|
+
"type": "union",
|
|
3121
|
+
"refs": [
|
|
3122
|
+
"community.lexicon.location.geo",
|
|
3123
|
+
"community.lexicon.location.hthree",
|
|
3124
|
+
"community.lexicon.location.address",
|
|
3125
|
+
"com.atproto.repo.strongRef",
|
|
3126
|
+
"pub.techne.draft.locationEntry"
|
|
3127
|
+
]
|
|
3128
|
+
}
|
|
3129
|
+
},
|
|
3130
|
+
"createdAt": {
|
|
3131
|
+
"type": "string",
|
|
3132
|
+
"format": "datetime"
|
|
3133
|
+
}
|
|
3134
|
+
}
|
|
3135
|
+
}
|
|
3136
|
+
}
|
|
3137
|
+
}
|
|
3138
|
+
}),
|
|
3139
|
+
"homes": [
|
|
3140
|
+
{
|
|
3141
|
+
"space": "pub.techne.draft.space.beacon",
|
|
3142
|
+
"unbuilt": true
|
|
3143
|
+
}
|
|
3144
|
+
]
|
|
3145
|
+
},
|
|
3146
|
+
{
|
|
3147
|
+
"nsid": "pub.techne.draft.beaconSpotV2.query",
|
|
3148
|
+
"name": "draft.beaconSpotV2.query",
|
|
3149
|
+
"group": "pub.techne",
|
|
3150
|
+
"kind": "queryDocument",
|
|
3151
|
+
"description": "How a reader takes an exact spot's fields. Its `locations` are `faces` (the point and the address are one spot), and it is about its `subject`, the event.",
|
|
3152
|
+
"doc": ({
|
|
3153
|
+
"lexicon": 1,
|
|
3154
|
+
"id": "pub.techne.draft.beaconSpotV2.query",
|
|
3155
|
+
"description": "How a reader takes an exact spot's fields. Its `locations` are `faces` (the point and the address are one spot), and it is about its `subject`, the event.",
|
|
3156
|
+
"defs": {
|
|
3157
|
+
"main": {
|
|
3158
|
+
"type": "queryDocument",
|
|
3159
|
+
"roles": {
|
|
3160
|
+
"location": "locations"
|
|
3161
|
+
},
|
|
3162
|
+
"entries": "faces",
|
|
3163
|
+
"subject": "subject.uri"
|
|
3164
|
+
}
|
|
3165
|
+
}
|
|
3166
|
+
})
|
|
3167
|
+
},
|
|
2971
3168
|
{
|
|
2972
3169
|
"nsid": "pub.techne.draft.block",
|
|
2973
3170
|
"name": "draft.block",
|
|
@@ -3160,7 +3357,7 @@ export const catalog = {
|
|
|
3160
3357
|
"group": "pub.techne",
|
|
3161
3358
|
"kind": "record",
|
|
3162
3359
|
"key": "literal:self",
|
|
3163
|
-
"description": "A collective's descriptor record. The collective's identity is its DID; this record describes it.",
|
|
3360
|
+
"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.",
|
|
3164
3361
|
"fields": [
|
|
3165
3362
|
{
|
|
3166
3363
|
"name": "name",
|
|
@@ -3212,7 +3409,7 @@ export const catalog = {
|
|
|
3212
3409
|
"doc": ({
|
|
3213
3410
|
"lexicon": 1,
|
|
3214
3411
|
"id": "pub.techne.draft.collective",
|
|
3215
|
-
"description": "A collective's descriptor record. The collective's identity is its DID; this record describes it.",
|
|
3412
|
+
"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.",
|
|
3216
3413
|
"defs": {
|
|
3217
3414
|
"main": {
|
|
3218
3415
|
"type": "record",
|
|
@@ -3290,6 +3487,157 @@ export const catalog = {
|
|
|
3290
3487
|
}
|
|
3291
3488
|
]
|
|
3292
3489
|
},
|
|
3490
|
+
{
|
|
3491
|
+
"nsid": "pub.techne.draft.collectiveV2",
|
|
3492
|
+
"name": "draft.collectiveV2",
|
|
3493
|
+
"group": "pub.techne",
|
|
3494
|
+
"kind": "record",
|
|
3495
|
+
"key": "literal:self",
|
|
3496
|
+
"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.",
|
|
3497
|
+
"fields": [
|
|
3498
|
+
{
|
|
3499
|
+
"name": "name",
|
|
3500
|
+
"type": "string",
|
|
3501
|
+
"required": true,
|
|
3502
|
+
"description": "The display name of the collective."
|
|
3503
|
+
},
|
|
3504
|
+
{
|
|
3505
|
+
"name": "description",
|
|
3506
|
+
"type": "string",
|
|
3507
|
+
"required": false,
|
|
3508
|
+
"description": "A free-form description of the collective."
|
|
3509
|
+
},
|
|
3510
|
+
{
|
|
3511
|
+
"name": "emoji",
|
|
3512
|
+
"type": "string",
|
|
3513
|
+
"required": false,
|
|
3514
|
+
"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."
|
|
3515
|
+
},
|
|
3516
|
+
{
|
|
3517
|
+
"name": "collectiveType",
|
|
3518
|
+
"type": "string",
|
|
3519
|
+
"required": false,
|
|
3520
|
+
"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."
|
|
3521
|
+
},
|
|
3522
|
+
{
|
|
3523
|
+
"name": "locations",
|
|
3524
|
+
"type": "array<union>",
|
|
3525
|
+
"required": false,
|
|
3526
|
+
"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`."
|
|
3527
|
+
},
|
|
3528
|
+
{
|
|
3529
|
+
"name": "avatar",
|
|
3530
|
+
"type": "blob",
|
|
3531
|
+
"required": false
|
|
3532
|
+
},
|
|
3533
|
+
{
|
|
3534
|
+
"name": "createdAt",
|
|
3535
|
+
"type": "string<datetime>",
|
|
3536
|
+
"required": true
|
|
3537
|
+
}
|
|
3538
|
+
],
|
|
3539
|
+
"doc": ({
|
|
3540
|
+
"lexicon": 1,
|
|
3541
|
+
"id": "pub.techne.draft.collectiveV2",
|
|
3542
|
+
"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.",
|
|
3543
|
+
"defs": {
|
|
3544
|
+
"main": {
|
|
3545
|
+
"type": "record",
|
|
3546
|
+
"key": "literal:self",
|
|
3547
|
+
"record": {
|
|
3548
|
+
"type": "object",
|
|
3549
|
+
"required": [
|
|
3550
|
+
"name",
|
|
3551
|
+
"createdAt"
|
|
3552
|
+
],
|
|
3553
|
+
"properties": {
|
|
3554
|
+
"name": {
|
|
3555
|
+
"type": "string",
|
|
3556
|
+
"maxLength": 640,
|
|
3557
|
+
"maxGraphemes": 64,
|
|
3558
|
+
"description": "The display name of the collective."
|
|
3559
|
+
},
|
|
3560
|
+
"description": {
|
|
3561
|
+
"type": "string",
|
|
3562
|
+
"maxLength": 2560,
|
|
3563
|
+
"maxGraphemes": 256,
|
|
3564
|
+
"description": "A free-form description of the collective."
|
|
3565
|
+
},
|
|
3566
|
+
"emoji": {
|
|
3567
|
+
"type": "string",
|
|
3568
|
+
"maxLength": 64,
|
|
3569
|
+
"maxGraphemes": 1,
|
|
3570
|
+
"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."
|
|
3571
|
+
},
|
|
3572
|
+
"collectiveType": {
|
|
3573
|
+
"type": "string",
|
|
3574
|
+
"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.",
|
|
3575
|
+
"maxLength": 64
|
|
3576
|
+
},
|
|
3577
|
+
"locations": {
|
|
3578
|
+
"type": "array",
|
|
3579
|
+
"maxLength": 16,
|
|
3580
|
+
"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`.",
|
|
3581
|
+
"items": {
|
|
3582
|
+
"type": "union",
|
|
3583
|
+
"refs": [
|
|
3584
|
+
"community.lexicon.location.geo",
|
|
3585
|
+
"community.lexicon.location.hthree",
|
|
3586
|
+
"community.lexicon.location.address",
|
|
3587
|
+
"com.atproto.repo.strongRef",
|
|
3588
|
+
"pub.techne.draft.locationEntry"
|
|
3589
|
+
]
|
|
3590
|
+
}
|
|
3591
|
+
},
|
|
3592
|
+
"avatar": {
|
|
3593
|
+
"type": "blob",
|
|
3594
|
+
"accept": [
|
|
3595
|
+
"image/png",
|
|
3596
|
+
"image/jpeg"
|
|
3597
|
+
],
|
|
3598
|
+
"maxSize": 1000000
|
|
3599
|
+
},
|
|
3600
|
+
"createdAt": {
|
|
3601
|
+
"type": "string",
|
|
3602
|
+
"format": "datetime"
|
|
3603
|
+
}
|
|
3604
|
+
}
|
|
3605
|
+
}
|
|
3606
|
+
}
|
|
3607
|
+
}
|
|
3608
|
+
}),
|
|
3609
|
+
"homes": [
|
|
3610
|
+
{
|
|
3611
|
+
"space": "public",
|
|
3612
|
+
"unbuilt": false
|
|
3613
|
+
},
|
|
3614
|
+
{
|
|
3615
|
+
"space": "pub.techne.draft.space.collective.member",
|
|
3616
|
+
"unbuilt": true
|
|
3617
|
+
}
|
|
3618
|
+
]
|
|
3619
|
+
},
|
|
3620
|
+
{
|
|
3621
|
+
"nsid": "pub.techne.draft.collectiveV2.query",
|
|
3622
|
+
"name": "draft.collectiveV2.query",
|
|
3623
|
+
"group": "pub.techne",
|
|
3624
|
+
"kind": "queryDocument",
|
|
3625
|
+
"description": "How a reader takes a collective descriptor's fields. Its `locations` are `sites`: each entry is its own location.",
|
|
3626
|
+
"doc": ({
|
|
3627
|
+
"lexicon": 1,
|
|
3628
|
+
"id": "pub.techne.draft.collectiveV2.query",
|
|
3629
|
+
"description": "How a reader takes a collective descriptor's fields. Its `locations` are `sites`: each entry is its own location.",
|
|
3630
|
+
"defs": {
|
|
3631
|
+
"main": {
|
|
3632
|
+
"type": "queryDocument",
|
|
3633
|
+
"roles": {
|
|
3634
|
+
"location": "locations"
|
|
3635
|
+
},
|
|
3636
|
+
"entries": "sites"
|
|
3637
|
+
}
|
|
3638
|
+
}
|
|
3639
|
+
})
|
|
3640
|
+
},
|
|
3293
3641
|
{
|
|
3294
3642
|
"nsid": "pub.techne.draft.commons.createServiceAccount",
|
|
3295
3643
|
"name": "draft.commons.createServiceAccount",
|
|
@@ -3829,6 +4177,25 @@ export const catalog = {
|
|
|
3829
4177
|
}
|
|
3830
4178
|
]
|
|
3831
4179
|
},
|
|
4180
|
+
{
|
|
4181
|
+
"nsid": "pub.techne.draft.connection.query",
|
|
4182
|
+
"name": "draft.connection.query",
|
|
4183
|
+
"group": "pub.techne",
|
|
4184
|
+
"kind": "queryDocument",
|
|
4185
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `origin.uri`, and a where read finds it there when asked to follow subjects.",
|
|
4186
|
+
"doc": ({
|
|
4187
|
+
"lexicon": 1,
|
|
4188
|
+
"id": "pub.techne.draft.connection.query",
|
|
4189
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `origin.uri`, and a where read finds it there when asked to follow subjects.",
|
|
4190
|
+
"defs": {
|
|
4191
|
+
"main": {
|
|
4192
|
+
"type": "queryDocument",
|
|
4193
|
+
"roles": {},
|
|
4194
|
+
"subject": "origin.uri"
|
|
4195
|
+
}
|
|
4196
|
+
}
|
|
4197
|
+
})
|
|
4198
|
+
},
|
|
3832
4199
|
{
|
|
3833
4200
|
"nsid": "pub.techne.draft.contact",
|
|
3834
4201
|
"name": "draft.contact",
|
|
@@ -4119,7 +4486,7 @@ export const catalog = {
|
|
|
4119
4486
|
"doc": ({
|
|
4120
4487
|
"lexicon": 1,
|
|
4121
4488
|
"id": "pub.techne.draft.containedIn",
|
|
4122
|
-
"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.",
|
|
4489
|
+
"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.",
|
|
4123
4490
|
"defs": {
|
|
4124
4491
|
"main": {
|
|
4125
4492
|
"type": "record",
|
|
@@ -4165,6 +4532,25 @@ export const catalog = {
|
|
|
4165
4532
|
}
|
|
4166
4533
|
]
|
|
4167
4534
|
},
|
|
4535
|
+
{
|
|
4536
|
+
"nsid": "pub.techne.draft.containedIn.query",
|
|
4537
|
+
"name": "draft.containedIn.query",
|
|
4538
|
+
"group": "pub.techne",
|
|
4539
|
+
"kind": "queryDocument",
|
|
4540
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
4541
|
+
"doc": ({
|
|
4542
|
+
"lexicon": 1,
|
|
4543
|
+
"id": "pub.techne.draft.containedIn.query",
|
|
4544
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
4545
|
+
"defs": {
|
|
4546
|
+
"main": {
|
|
4547
|
+
"type": "queryDocument",
|
|
4548
|
+
"roles": {},
|
|
4549
|
+
"subject": "subject.uri"
|
|
4550
|
+
}
|
|
4551
|
+
}
|
|
4552
|
+
})
|
|
4553
|
+
},
|
|
4168
4554
|
{
|
|
4169
4555
|
"nsid": "pub.techne.draft.credential",
|
|
4170
4556
|
"name": "draft.credential",
|
|
@@ -4749,7 +5135,8 @@ export const catalog = {
|
|
|
4749
5135
|
"inputs[].uri",
|
|
4750
5136
|
"attributions[].uri"
|
|
4751
5137
|
]
|
|
4752
|
-
}
|
|
5138
|
+
},
|
|
5139
|
+
"subject": "subject.uri"
|
|
4753
5140
|
}
|
|
4754
5141
|
}
|
|
4755
5142
|
})
|
|
@@ -4913,7 +5300,8 @@ export const catalog = {
|
|
|
4913
5300
|
"subject.uri",
|
|
4914
5301
|
"other.uri"
|
|
4915
5302
|
]
|
|
4916
|
-
}
|
|
5303
|
+
},
|
|
5304
|
+
"subject": "subject.uri"
|
|
4917
5305
|
}
|
|
4918
5306
|
}
|
|
4919
5307
|
})
|
|
@@ -5017,6 +5405,25 @@ export const catalog = {
|
|
|
5017
5405
|
}
|
|
5018
5406
|
]
|
|
5019
5407
|
},
|
|
5408
|
+
{
|
|
5409
|
+
"nsid": "pub.techne.draft.evaluation.query",
|
|
5410
|
+
"name": "draft.evaluation.query",
|
|
5411
|
+
"group": "pub.techne",
|
|
5412
|
+
"kind": "queryDocument",
|
|
5413
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
5414
|
+
"doc": ({
|
|
5415
|
+
"lexicon": 1,
|
|
5416
|
+
"id": "pub.techne.draft.evaluation.query",
|
|
5417
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
5418
|
+
"defs": {
|
|
5419
|
+
"main": {
|
|
5420
|
+
"type": "queryDocument",
|
|
5421
|
+
"roles": {},
|
|
5422
|
+
"subject": "subject.uri"
|
|
5423
|
+
}
|
|
5424
|
+
}
|
|
5425
|
+
})
|
|
5426
|
+
},
|
|
5020
5427
|
{
|
|
5021
5428
|
"nsid": "pub.techne.draft.event.config",
|
|
5022
5429
|
"name": "draft.event.config",
|
|
@@ -5131,6 +5538,25 @@ export const catalog = {
|
|
|
5131
5538
|
}
|
|
5132
5539
|
]
|
|
5133
5540
|
},
|
|
5541
|
+
{
|
|
5542
|
+
"nsid": "pub.techne.draft.event.config.query",
|
|
5543
|
+
"name": "draft.event.config.query",
|
|
5544
|
+
"group": "pub.techne.draft.event",
|
|
5545
|
+
"kind": "queryDocument",
|
|
5546
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `event.uri`, and a where read finds it there when asked to follow subjects.",
|
|
5547
|
+
"doc": ({
|
|
5548
|
+
"lexicon": 1,
|
|
5549
|
+
"id": "pub.techne.draft.event.config.query",
|
|
5550
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `event.uri`, and a where read finds it there when asked to follow subjects.",
|
|
5551
|
+
"defs": {
|
|
5552
|
+
"main": {
|
|
5553
|
+
"type": "queryDocument",
|
|
5554
|
+
"roles": {},
|
|
5555
|
+
"subject": "event.uri"
|
|
5556
|
+
}
|
|
5557
|
+
}
|
|
5558
|
+
})
|
|
5559
|
+
},
|
|
5134
5560
|
{
|
|
5135
5561
|
"nsid": "pub.techne.draft.event.detail",
|
|
5136
5562
|
"name": "draft.event.detail",
|
|
@@ -5226,6 +5652,25 @@ export const catalog = {
|
|
|
5226
5652
|
}
|
|
5227
5653
|
]
|
|
5228
5654
|
},
|
|
5655
|
+
{
|
|
5656
|
+
"nsid": "pub.techne.draft.event.detail.query",
|
|
5657
|
+
"name": "draft.event.detail.query",
|
|
5658
|
+
"group": "pub.techne.draft.event",
|
|
5659
|
+
"kind": "queryDocument",
|
|
5660
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `event.uri`, and a where read finds it there when asked to follow subjects.",
|
|
5661
|
+
"doc": ({
|
|
5662
|
+
"lexicon": 1,
|
|
5663
|
+
"id": "pub.techne.draft.event.detail.query",
|
|
5664
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `event.uri`, and a where read finds it there when asked to follow subjects.",
|
|
5665
|
+
"defs": {
|
|
5666
|
+
"main": {
|
|
5667
|
+
"type": "queryDocument",
|
|
5668
|
+
"roles": {},
|
|
5669
|
+
"subject": "event.uri"
|
|
5670
|
+
}
|
|
5671
|
+
}
|
|
5672
|
+
})
|
|
5673
|
+
},
|
|
5229
5674
|
{
|
|
5230
5675
|
"nsid": "pub.techne.draft.event.listing",
|
|
5231
5676
|
"name": "draft.event.listing",
|
|
@@ -5290,6 +5735,25 @@ export const catalog = {
|
|
|
5290
5735
|
}
|
|
5291
5736
|
]
|
|
5292
5737
|
},
|
|
5738
|
+
{
|
|
5739
|
+
"nsid": "pub.techne.draft.event.listing.query",
|
|
5740
|
+
"name": "draft.event.listing.query",
|
|
5741
|
+
"group": "pub.techne.draft.event",
|
|
5742
|
+
"kind": "queryDocument",
|
|
5743
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `event.uri`, and a where read finds it there when asked to follow subjects.",
|
|
5744
|
+
"doc": ({
|
|
5745
|
+
"lexicon": 1,
|
|
5746
|
+
"id": "pub.techne.draft.event.listing.query",
|
|
5747
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `event.uri`, and a where read finds it there when asked to follow subjects.",
|
|
5748
|
+
"defs": {
|
|
5749
|
+
"main": {
|
|
5750
|
+
"type": "queryDocument",
|
|
5751
|
+
"roles": {},
|
|
5752
|
+
"subject": "event.uri"
|
|
5753
|
+
}
|
|
5754
|
+
}
|
|
5755
|
+
})
|
|
5756
|
+
},
|
|
5293
5757
|
{
|
|
5294
5758
|
"nsid": "pub.techne.draft.feed.recipe",
|
|
5295
5759
|
"name": "draft.feed.recipe",
|
|
@@ -5609,6 +6073,25 @@ export const catalog = {
|
|
|
5609
6073
|
}
|
|
5610
6074
|
]
|
|
5611
6075
|
},
|
|
6076
|
+
{
|
|
6077
|
+
"nsid": "pub.techne.draft.financials.query",
|
|
6078
|
+
"name": "draft.financials.query",
|
|
6079
|
+
"group": "pub.techne",
|
|
6080
|
+
"kind": "queryDocument",
|
|
6081
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
6082
|
+
"doc": ({
|
|
6083
|
+
"lexicon": 1,
|
|
6084
|
+
"id": "pub.techne.draft.financials.query",
|
|
6085
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
6086
|
+
"defs": {
|
|
6087
|
+
"main": {
|
|
6088
|
+
"type": "queryDocument",
|
|
6089
|
+
"roles": {},
|
|
6090
|
+
"subject": "subject.uri"
|
|
6091
|
+
}
|
|
6092
|
+
}
|
|
6093
|
+
})
|
|
6094
|
+
},
|
|
5612
6095
|
{
|
|
5613
6096
|
"nsid": "pub.techne.draft.geo",
|
|
5614
6097
|
"name": "draft.geo",
|
|
@@ -5645,7 +6128,7 @@ export const catalog = {
|
|
|
5645
6128
|
"doc": ({
|
|
5646
6129
|
"lexicon": 1,
|
|
5647
6130
|
"id": "pub.techne.draft.geo",
|
|
5648
|
-
"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.",
|
|
6131
|
+
"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.",
|
|
5649
6132
|
"defs": {
|
|
5650
6133
|
"main": {
|
|
5651
6134
|
"type": "record",
|
|
@@ -5691,6 +6174,28 @@ export const catalog = {
|
|
|
5691
6174
|
}
|
|
5692
6175
|
]
|
|
5693
6176
|
},
|
|
6177
|
+
{
|
|
6178
|
+
"nsid": "pub.techne.draft.geo.query",
|
|
6179
|
+
"name": "draft.geo.query",
|
|
6180
|
+
"group": "pub.techne",
|
|
6181
|
+
"kind": "queryDocument",
|
|
6182
|
+
"description": "How a reader takes this record's fields. Its `location` say where its subject is, as its writer says: a claim about the record at `subject.uri`, which counts as the subject's own location decides.",
|
|
6183
|
+
"doc": ({
|
|
6184
|
+
"lexicon": 1,
|
|
6185
|
+
"id": "pub.techne.draft.geo.query",
|
|
6186
|
+
"description": "How a reader takes this record's fields. Its `location` say where its subject is, as its writer says: a claim about the record at `subject.uri`, which counts as the subject's own location decides.",
|
|
6187
|
+
"defs": {
|
|
6188
|
+
"main": {
|
|
6189
|
+
"type": "queryDocument",
|
|
6190
|
+
"roles": {
|
|
6191
|
+
"location": "location"
|
|
6192
|
+
},
|
|
6193
|
+
"entries": "sites",
|
|
6194
|
+
"subject": "subject.uri"
|
|
6195
|
+
}
|
|
6196
|
+
}
|
|
6197
|
+
})
|
|
6198
|
+
},
|
|
5694
6199
|
{
|
|
5695
6200
|
"nsid": "pub.techne.draft.heldAt",
|
|
5696
6201
|
"name": "draft.heldAt",
|
|
@@ -5726,7 +6231,7 @@ export const catalog = {
|
|
|
5726
6231
|
"doc": ({
|
|
5727
6232
|
"lexicon": 1,
|
|
5728
6233
|
"id": "pub.techne.draft.heldAt",
|
|
5729
|
-
"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.",
|
|
6234
|
+
"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.",
|
|
5730
6235
|
"defs": {
|
|
5731
6236
|
"main": {
|
|
5732
6237
|
"type": "record",
|
|
@@ -5789,7 +6294,8 @@ export const catalog = {
|
|
|
5789
6294
|
"references": [
|
|
5790
6295
|
"place.uri"
|
|
5791
6296
|
]
|
|
5792
|
-
}
|
|
6297
|
+
},
|
|
6298
|
+
"subject": "subject.uri"
|
|
5793
6299
|
}
|
|
5794
6300
|
}
|
|
5795
6301
|
})
|
|
@@ -6415,7 +6921,7 @@ export const catalog = {
|
|
|
6415
6921
|
"properties": {
|
|
6416
6922
|
"founderMembershipVisibility": {
|
|
6417
6923
|
"type": "string",
|
|
6418
|
-
"
|
|
6924
|
+
"enum": [
|
|
6419
6925
|
"public",
|
|
6420
6926
|
"members"
|
|
6421
6927
|
],
|
|
@@ -6450,7 +6956,11 @@ export const catalog = {
|
|
|
6450
6956
|
"errors": [
|
|
6451
6957
|
{
|
|
6452
6958
|
"name": "InvalidRequest",
|
|
6453
|
-
"description": "HTTP 400. The input is not JSON, or `founderMembershipVisibility` is neither `public` nor `members`."
|
|
6959
|
+
"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."
|
|
6960
|
+
},
|
|
6961
|
+
{
|
|
6962
|
+
"name": "PublicWriteFailed",
|
|
6963
|
+
"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."
|
|
6454
6964
|
},
|
|
6455
6965
|
{
|
|
6456
6966
|
"name": "RateLimitExceeded",
|
|
@@ -9303,6 +9813,25 @@ export const catalog = {
|
|
|
9303
9813
|
}
|
|
9304
9814
|
]
|
|
9305
9815
|
},
|
|
9816
|
+
{
|
|
9817
|
+
"nsid": "pub.techne.draft.introProposal.query",
|
|
9818
|
+
"name": "draft.introProposal.query",
|
|
9819
|
+
"group": "pub.techne",
|
|
9820
|
+
"kind": "queryDocument",
|
|
9821
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `origin.uri`, and a where read finds it there when asked to follow subjects.",
|
|
9822
|
+
"doc": ({
|
|
9823
|
+
"lexicon": 1,
|
|
9824
|
+
"id": "pub.techne.draft.introProposal.query",
|
|
9825
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `origin.uri`, and a where read finds it there when asked to follow subjects.",
|
|
9826
|
+
"defs": {
|
|
9827
|
+
"main": {
|
|
9828
|
+
"type": "queryDocument",
|
|
9829
|
+
"roles": {},
|
|
9830
|
+
"subject": "origin.uri"
|
|
9831
|
+
}
|
|
9832
|
+
}
|
|
9833
|
+
})
|
|
9834
|
+
},
|
|
9306
9835
|
{
|
|
9307
9836
|
"nsid": "pub.techne.draft.invite",
|
|
9308
9837
|
"name": "draft.invite",
|
|
@@ -9375,6 +9904,109 @@ export const catalog = {
|
|
|
9375
9904
|
}
|
|
9376
9905
|
]
|
|
9377
9906
|
},
|
|
9907
|
+
{
|
|
9908
|
+
"nsid": "pub.techne.draft.invite.query",
|
|
9909
|
+
"name": "draft.invite.query",
|
|
9910
|
+
"group": "pub.techne",
|
|
9911
|
+
"kind": "queryDocument",
|
|
9912
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `event.uri`, and a where read finds it there when asked to follow subjects.",
|
|
9913
|
+
"doc": ({
|
|
9914
|
+
"lexicon": 1,
|
|
9915
|
+
"id": "pub.techne.draft.invite.query",
|
|
9916
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `event.uri`, and a where read finds it there when asked to follow subjects.",
|
|
9917
|
+
"defs": {
|
|
9918
|
+
"main": {
|
|
9919
|
+
"type": "queryDocument",
|
|
9920
|
+
"roles": {},
|
|
9921
|
+
"subject": "event.uri"
|
|
9922
|
+
}
|
|
9923
|
+
}
|
|
9924
|
+
})
|
|
9925
|
+
},
|
|
9926
|
+
{
|
|
9927
|
+
"nsid": "pub.techne.draft.locationEntry",
|
|
9928
|
+
"name": "draft.locationEntry",
|
|
9929
|
+
"group": "pub.techne",
|
|
9930
|
+
"kind": "object",
|
|
9931
|
+
"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).",
|
|
9932
|
+
"fields": [
|
|
9933
|
+
{
|
|
9934
|
+
"name": "kind",
|
|
9935
|
+
"type": "string (enum)",
|
|
9936
|
+
"required": false,
|
|
9937
|
+
"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.",
|
|
9938
|
+
"knownValues": [
|
|
9939
|
+
"at",
|
|
9940
|
+
"serves",
|
|
9941
|
+
"registered"
|
|
9942
|
+
]
|
|
9943
|
+
},
|
|
9944
|
+
{
|
|
9945
|
+
"name": "at",
|
|
9946
|
+
"type": "union<community.lexicon.location.geo | community.lexicon.location.hthree | community.lexicon.location.address | com.atproto.repo.strongRef>",
|
|
9947
|
+
"required": true,
|
|
9948
|
+
"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)."
|
|
9949
|
+
},
|
|
9950
|
+
{
|
|
9951
|
+
"name": "label",
|
|
9952
|
+
"type": "string",
|
|
9953
|
+
"required": false,
|
|
9954
|
+
"description": "A short label for the entry as the writer would show it, such as \"Main office\" or \"Filing city (IRS)\"."
|
|
9955
|
+
},
|
|
9956
|
+
{
|
|
9957
|
+
"name": "basis",
|
|
9958
|
+
"type": "string<cid>",
|
|
9959
|
+
"required": false,
|
|
9960
|
+
"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."
|
|
9961
|
+
}
|
|
9962
|
+
],
|
|
9963
|
+
"doc": ({
|
|
9964
|
+
"lexicon": 1,
|
|
9965
|
+
"id": "pub.techne.draft.locationEntry",
|
|
9966
|
+
"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).",
|
|
9967
|
+
"defs": {
|
|
9968
|
+
"main": {
|
|
9969
|
+
"type": "object",
|
|
9970
|
+
"required": [
|
|
9971
|
+
"at"
|
|
9972
|
+
],
|
|
9973
|
+
"properties": {
|
|
9974
|
+
"kind": {
|
|
9975
|
+
"type": "string",
|
|
9976
|
+
"maxLength": 64,
|
|
9977
|
+
"knownValues": [
|
|
9978
|
+
"at",
|
|
9979
|
+
"serves",
|
|
9980
|
+
"registered"
|
|
9981
|
+
],
|
|
9982
|
+
"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."
|
|
9983
|
+
},
|
|
9984
|
+
"at": {
|
|
9985
|
+
"type": "union",
|
|
9986
|
+
"refs": [
|
|
9987
|
+
"community.lexicon.location.geo",
|
|
9988
|
+
"community.lexicon.location.hthree",
|
|
9989
|
+
"community.lexicon.location.address",
|
|
9990
|
+
"com.atproto.repo.strongRef"
|
|
9991
|
+
],
|
|
9992
|
+
"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)."
|
|
9993
|
+
},
|
|
9994
|
+
"label": {
|
|
9995
|
+
"type": "string",
|
|
9996
|
+
"maxLength": 640,
|
|
9997
|
+
"maxGraphemes": 64,
|
|
9998
|
+
"description": "A short label for the entry as the writer would show it, such as \"Main office\" or \"Filing city (IRS)\"."
|
|
9999
|
+
},
|
|
10000
|
+
"basis": {
|
|
10001
|
+
"type": "string",
|
|
10002
|
+
"format": "cid",
|
|
10003
|
+
"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."
|
|
10004
|
+
}
|
|
10005
|
+
}
|
|
10006
|
+
}
|
|
10007
|
+
}
|
|
10008
|
+
})
|
|
10009
|
+
},
|
|
9378
10010
|
{
|
|
9379
10011
|
"nsid": "pub.techne.draft.market.ask",
|
|
9380
10012
|
"name": "draft.market.ask",
|
|
@@ -9903,7 +10535,7 @@ export const catalog = {
|
|
|
9903
10535
|
"name": "locations",
|
|
9904
10536
|
"type": "array<union>",
|
|
9905
10537
|
"required": false,
|
|
9906
|
-
"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.
|
|
10538
|
+
"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`."
|
|
9907
10539
|
},
|
|
9908
10540
|
{
|
|
9909
10541
|
"name": "createdAt",
|
|
@@ -9984,14 +10616,16 @@ export const catalog = {
|
|
|
9984
10616
|
},
|
|
9985
10617
|
"locations": {
|
|
9986
10618
|
"type": "array",
|
|
9987
|
-
"maxLength":
|
|
9988
|
-
"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.
|
|
10619
|
+
"maxLength": 256,
|
|
10620
|
+
"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`.",
|
|
9989
10621
|
"items": {
|
|
9990
10622
|
"type": "union",
|
|
9991
10623
|
"refs": [
|
|
9992
10624
|
"community.lexicon.location.geo",
|
|
10625
|
+
"community.lexicon.location.hthree",
|
|
9993
10626
|
"community.lexicon.location.address",
|
|
9994
|
-
"com.atproto.repo.strongRef"
|
|
10627
|
+
"com.atproto.repo.strongRef",
|
|
10628
|
+
"pub.techne.draft.locationEntry"
|
|
9995
10629
|
]
|
|
9996
10630
|
}
|
|
9997
10631
|
},
|
|
@@ -10063,14 +10697,16 @@ export const catalog = {
|
|
|
10063
10697
|
},
|
|
10064
10698
|
"locations": {
|
|
10065
10699
|
"type": "array",
|
|
10066
|
-
"maxLength":
|
|
10067
|
-
"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.
|
|
10700
|
+
"maxLength": 256,
|
|
10701
|
+
"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`.",
|
|
10068
10702
|
"items": {
|
|
10069
10703
|
"type": "union",
|
|
10070
10704
|
"refs": [
|
|
10071
10705
|
"community.lexicon.location.geo",
|
|
10706
|
+
"community.lexicon.location.hthree",
|
|
10072
10707
|
"community.lexicon.location.address",
|
|
10073
|
-
"com.atproto.repo.strongRef"
|
|
10708
|
+
"com.atproto.repo.strongRef",
|
|
10709
|
+
"pub.techne.draft.locationEntry"
|
|
10074
10710
|
]
|
|
10075
10711
|
}
|
|
10076
10712
|
}
|
|
@@ -10105,6 +10741,27 @@ export const catalog = {
|
|
|
10105
10741
|
}
|
|
10106
10742
|
]
|
|
10107
10743
|
},
|
|
10744
|
+
{
|
|
10745
|
+
"nsid": "pub.techne.draft.org.query",
|
|
10746
|
+
"name": "draft.org.query",
|
|
10747
|
+
"group": "pub.techne",
|
|
10748
|
+
"kind": "queryDocument",
|
|
10749
|
+
"description": "How a reader takes an org's fields. Its `locations` are `sites`: each entry is its own location, so an org with several sites is found at each.",
|
|
10750
|
+
"doc": ({
|
|
10751
|
+
"lexicon": 1,
|
|
10752
|
+
"id": "pub.techne.draft.org.query",
|
|
10753
|
+
"description": "How a reader takes an org's fields. Its `locations` are `sites`: each entry is its own location, so an org with several sites is found at each.",
|
|
10754
|
+
"defs": {
|
|
10755
|
+
"main": {
|
|
10756
|
+
"type": "queryDocument",
|
|
10757
|
+
"roles": {
|
|
10758
|
+
"location": "locations"
|
|
10759
|
+
},
|
|
10760
|
+
"entries": "sites"
|
|
10761
|
+
}
|
|
10762
|
+
}
|
|
10763
|
+
})
|
|
10764
|
+
},
|
|
10108
10765
|
{
|
|
10109
10766
|
"nsid": "pub.techne.draft.orgAtPlace",
|
|
10110
10767
|
"name": "draft.orgAtPlace",
|
|
@@ -10129,10 +10786,11 @@ export const catalog = {
|
|
|
10129
10786
|
"name": "role",
|
|
10130
10787
|
"type": "string (enum)",
|
|
10131
10788
|
"required": false,
|
|
10132
|
-
"description": "What the place is to the organization. Values beyond the known set are permitted.",
|
|
10789
|
+
"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.",
|
|
10133
10790
|
"knownValues": [
|
|
10134
10791
|
"office",
|
|
10135
|
-
"storefront"
|
|
10792
|
+
"storefront",
|
|
10793
|
+
"operator"
|
|
10136
10794
|
]
|
|
10137
10795
|
},
|
|
10138
10796
|
{
|
|
@@ -10144,7 +10802,7 @@ export const catalog = {
|
|
|
10144
10802
|
"doc": ({
|
|
10145
10803
|
"lexicon": 1,
|
|
10146
10804
|
"id": "pub.techne.draft.orgAtPlace",
|
|
10147
|
-
"description": "A relationship: an organization is at a place (its office or
|
|
10805
|
+
"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).",
|
|
10148
10806
|
"defs": {
|
|
10149
10807
|
"main": {
|
|
10150
10808
|
"type": "record",
|
|
@@ -10173,9 +10831,10 @@ export const catalog = {
|
|
|
10173
10831
|
"maxLength": 64,
|
|
10174
10832
|
"knownValues": [
|
|
10175
10833
|
"office",
|
|
10176
|
-
"storefront"
|
|
10834
|
+
"storefront",
|
|
10835
|
+
"operator"
|
|
10177
10836
|
],
|
|
10178
|
-
"description": "What the place is to the organization. Values beyond the known set are permitted."
|
|
10837
|
+
"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."
|
|
10179
10838
|
},
|
|
10180
10839
|
"createdAt": {
|
|
10181
10840
|
"type": "string",
|
|
@@ -10193,6 +10852,25 @@ export const catalog = {
|
|
|
10193
10852
|
}
|
|
10194
10853
|
]
|
|
10195
10854
|
},
|
|
10855
|
+
{
|
|
10856
|
+
"nsid": "pub.techne.draft.orgAtPlace.query",
|
|
10857
|
+
"name": "draft.orgAtPlace.query",
|
|
10858
|
+
"group": "pub.techne",
|
|
10859
|
+
"kind": "queryDocument",
|
|
10860
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
10861
|
+
"doc": ({
|
|
10862
|
+
"lexicon": 1,
|
|
10863
|
+
"id": "pub.techne.draft.orgAtPlace.query",
|
|
10864
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
10865
|
+
"defs": {
|
|
10866
|
+
"main": {
|
|
10867
|
+
"type": "queryDocument",
|
|
10868
|
+
"roles": {},
|
|
10869
|
+
"subject": "subject.uri"
|
|
10870
|
+
}
|
|
10871
|
+
}
|
|
10872
|
+
})
|
|
10873
|
+
},
|
|
10196
10874
|
{
|
|
10197
10875
|
"nsid": "pub.techne.draft.passage",
|
|
10198
10876
|
"name": "draft.passage",
|
|
@@ -10274,7 +10952,7 @@ export const catalog = {
|
|
|
10274
10952
|
"group": "pub.techne",
|
|
10275
10953
|
"kind": "record",
|
|
10276
10954
|
"key": "any",
|
|
10277
|
-
"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.",
|
|
10955
|
+
"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.",
|
|
10278
10956
|
"fields": [
|
|
10279
10957
|
{
|
|
10280
10958
|
"name": "event",
|
|
@@ -10304,7 +10982,7 @@ export const catalog = {
|
|
|
10304
10982
|
"doc": ({
|
|
10305
10983
|
"lexicon": 1,
|
|
10306
10984
|
"id": "pub.techne.draft.pendingBeaconSpot",
|
|
10307
|
-
"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.",
|
|
10985
|
+
"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.",
|
|
10308
10986
|
"defs": {
|
|
10309
10987
|
"main": {
|
|
10310
10988
|
"type": "record",
|
|
@@ -10349,6 +11027,109 @@ export const catalog = {
|
|
|
10349
11027
|
}
|
|
10350
11028
|
]
|
|
10351
11029
|
},
|
|
11030
|
+
{
|
|
11031
|
+
"nsid": "pub.techne.draft.pendingBeaconSpotV2",
|
|
11032
|
+
"name": "draft.pendingBeaconSpotV2",
|
|
11033
|
+
"group": "pub.techne",
|
|
11034
|
+
"kind": "record",
|
|
11035
|
+
"key": "any",
|
|
11036
|
+
"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.",
|
|
11037
|
+
"fields": [
|
|
11038
|
+
{
|
|
11039
|
+
"name": "subject",
|
|
11040
|
+
"type": "→ com.atproto.repo.strongRef",
|
|
11041
|
+
"required": true,
|
|
11042
|
+
"description": "The public community.lexicon.calendar.event this is the exact spot of."
|
|
11043
|
+
},
|
|
11044
|
+
{
|
|
11045
|
+
"name": "locations",
|
|
11046
|
+
"type": "array<union>",
|
|
11047
|
+
"required": true,
|
|
11048
|
+
"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`."
|
|
11049
|
+
},
|
|
11050
|
+
{
|
|
11051
|
+
"name": "createdAt",
|
|
11052
|
+
"type": "string<datetime>",
|
|
11053
|
+
"required": true,
|
|
11054
|
+
"description": "When this was last written. Read to delete a copy no beacon took up within a day."
|
|
11055
|
+
}
|
|
11056
|
+
],
|
|
11057
|
+
"doc": ({
|
|
11058
|
+
"lexicon": 1,
|
|
11059
|
+
"id": "pub.techne.draft.pendingBeaconSpotV2",
|
|
11060
|
+
"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.",
|
|
11061
|
+
"defs": {
|
|
11062
|
+
"main": {
|
|
11063
|
+
"type": "record",
|
|
11064
|
+
"key": "any",
|
|
11065
|
+
"record": {
|
|
11066
|
+
"type": "object",
|
|
11067
|
+
"required": [
|
|
11068
|
+
"subject",
|
|
11069
|
+
"locations",
|
|
11070
|
+
"createdAt"
|
|
11071
|
+
],
|
|
11072
|
+
"properties": {
|
|
11073
|
+
"subject": {
|
|
11074
|
+
"type": "ref",
|
|
11075
|
+
"ref": "com.atproto.repo.strongRef",
|
|
11076
|
+
"description": "The public community.lexicon.calendar.event this is the exact spot of."
|
|
11077
|
+
},
|
|
11078
|
+
"locations": {
|
|
11079
|
+
"type": "array",
|
|
11080
|
+
"minLength": 1,
|
|
11081
|
+
"maxLength": 4,
|
|
11082
|
+
"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`.",
|
|
11083
|
+
"items": {
|
|
11084
|
+
"type": "union",
|
|
11085
|
+
"refs": [
|
|
11086
|
+
"community.lexicon.location.geo",
|
|
11087
|
+
"community.lexicon.location.hthree",
|
|
11088
|
+
"community.lexicon.location.address",
|
|
11089
|
+
"com.atproto.repo.strongRef",
|
|
11090
|
+
"pub.techne.draft.locationEntry"
|
|
11091
|
+
]
|
|
11092
|
+
}
|
|
11093
|
+
},
|
|
11094
|
+
"createdAt": {
|
|
11095
|
+
"type": "string",
|
|
11096
|
+
"format": "datetime",
|
|
11097
|
+
"description": "When this was last written. Read to delete a copy no beacon took up within a day."
|
|
11098
|
+
}
|
|
11099
|
+
}
|
|
11100
|
+
}
|
|
11101
|
+
}
|
|
11102
|
+
}
|
|
11103
|
+
}),
|
|
11104
|
+
"homes": [
|
|
11105
|
+
{
|
|
11106
|
+
"space": "pub.techne.draft.space.personal",
|
|
11107
|
+
"unbuilt": true
|
|
11108
|
+
}
|
|
11109
|
+
]
|
|
11110
|
+
},
|
|
11111
|
+
{
|
|
11112
|
+
"nsid": "pub.techne.draft.pendingBeaconSpotV2.query",
|
|
11113
|
+
"name": "draft.pendingBeaconSpotV2.query",
|
|
11114
|
+
"group": "pub.techne",
|
|
11115
|
+
"kind": "queryDocument",
|
|
11116
|
+
"description": "How a reader takes an exact spot's fields. Its `locations` are `faces` (the point and the address are one spot), and it is about its `subject`, the event.",
|
|
11117
|
+
"doc": ({
|
|
11118
|
+
"lexicon": 1,
|
|
11119
|
+
"id": "pub.techne.draft.pendingBeaconSpotV2.query",
|
|
11120
|
+
"description": "How a reader takes an exact spot's fields. Its `locations` are `faces` (the point and the address are one spot), and it is about its `subject`, the event.",
|
|
11121
|
+
"defs": {
|
|
11122
|
+
"main": {
|
|
11123
|
+
"type": "queryDocument",
|
|
11124
|
+
"roles": {
|
|
11125
|
+
"location": "locations"
|
|
11126
|
+
},
|
|
11127
|
+
"entries": "faces",
|
|
11128
|
+
"subject": "subject.uri"
|
|
11129
|
+
}
|
|
11130
|
+
}
|
|
11131
|
+
})
|
|
11132
|
+
},
|
|
10352
11133
|
{
|
|
10353
11134
|
"nsid": "pub.techne.draft.permissioned.deleteRecord",
|
|
10354
11135
|
"name": "draft.permissioned.deleteRecord",
|
|
@@ -11254,6 +12035,18 @@ export const catalog = {
|
|
|
11254
12035
|
"required": false,
|
|
11255
12036
|
"description": "Named links associated with this place, such as its website. Data-source credits belong in a separate attribution record."
|
|
11256
12037
|
},
|
|
12038
|
+
{
|
|
12039
|
+
"name": "openingHours",
|
|
12040
|
+
"type": "string",
|
|
12041
|
+
"required": false,
|
|
12042
|
+
"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."
|
|
12043
|
+
},
|
|
12044
|
+
{
|
|
12045
|
+
"name": "description",
|
|
12046
|
+
"type": "string",
|
|
12047
|
+
"required": false,
|
|
12048
|
+
"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."
|
|
12049
|
+
},
|
|
11257
12050
|
{
|
|
11258
12051
|
"name": "sameAs",
|
|
11259
12052
|
"type": "array<→ pub.techne.draft.place#externalRef>",
|
|
@@ -11269,7 +12062,7 @@ export const catalog = {
|
|
|
11269
12062
|
"doc": ({
|
|
11270
12063
|
"lexicon": 1,
|
|
11271
12064
|
"id": "pub.techne.draft.place",
|
|
11272
|
-
"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.",
|
|
12065
|
+
"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.",
|
|
11273
12066
|
"defs": {
|
|
11274
12067
|
"main": {
|
|
11275
12068
|
"type": "record",
|
|
@@ -11320,6 +12113,18 @@ export const catalog = {
|
|
|
11320
12113
|
"ref": "community.lexicon.calendar.event#uri"
|
|
11321
12114
|
}
|
|
11322
12115
|
},
|
|
12116
|
+
"openingHours": {
|
|
12117
|
+
"type": "string",
|
|
12118
|
+
"maxLength": 1024,
|
|
12119
|
+
"maxGraphemes": 512,
|
|
12120
|
+
"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."
|
|
12121
|
+
},
|
|
12122
|
+
"description": {
|
|
12123
|
+
"type": "string",
|
|
12124
|
+
"maxLength": 30000,
|
|
12125
|
+
"maxGraphemes": 3000,
|
|
12126
|
+
"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."
|
|
12127
|
+
},
|
|
11323
12128
|
"sameAs": {
|
|
11324
12129
|
"type": "array",
|
|
11325
12130
|
"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.",
|
|
@@ -11652,6 +12457,246 @@ export const catalog = {
|
|
|
11652
12457
|
}
|
|
11653
12458
|
]
|
|
11654
12459
|
},
|
|
12460
|
+
{
|
|
12461
|
+
"nsid": "pub.techne.draft.placeResearch.query",
|
|
12462
|
+
"name": "draft.placeResearch.query",
|
|
12463
|
+
"group": "pub.techne",
|
|
12464
|
+
"kind": "queryDocument",
|
|
12465
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
12466
|
+
"doc": ({
|
|
12467
|
+
"lexicon": 1,
|
|
12468
|
+
"id": "pub.techne.draft.placeResearch.query",
|
|
12469
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
12470
|
+
"defs": {
|
|
12471
|
+
"main": {
|
|
12472
|
+
"type": "queryDocument",
|
|
12473
|
+
"roles": {},
|
|
12474
|
+
"subject": "subject.uri"
|
|
12475
|
+
}
|
|
12476
|
+
}
|
|
12477
|
+
})
|
|
12478
|
+
},
|
|
12479
|
+
{
|
|
12480
|
+
"nsid": "pub.techne.draft.placeV2",
|
|
12481
|
+
"name": "draft.placeV2",
|
|
12482
|
+
"group": "pub.techne",
|
|
12483
|
+
"kind": "record",
|
|
12484
|
+
"key": "any",
|
|
12485
|
+
"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.",
|
|
12486
|
+
"fields": [
|
|
12487
|
+
{
|
|
12488
|
+
"name": "name",
|
|
12489
|
+
"type": "string",
|
|
12490
|
+
"required": true,
|
|
12491
|
+
"description": "The place/group's display name."
|
|
12492
|
+
},
|
|
12493
|
+
{
|
|
12494
|
+
"name": "kind",
|
|
12495
|
+
"type": "string (enum)",
|
|
12496
|
+
"required": true,
|
|
12497
|
+
"description": "What kind of directory entry this is. `area`: a named area (a city, county, ZIP or parish) whose extent is `cells`.",
|
|
12498
|
+
"knownValues": [
|
|
12499
|
+
"business",
|
|
12500
|
+
"publicSpace",
|
|
12501
|
+
"group",
|
|
12502
|
+
"area"
|
|
12503
|
+
]
|
|
12504
|
+
},
|
|
12505
|
+
{
|
|
12506
|
+
"name": "category",
|
|
12507
|
+
"type": "string",
|
|
12508
|
+
"required": false,
|
|
12509
|
+
"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."
|
|
12510
|
+
},
|
|
12511
|
+
{
|
|
12512
|
+
"name": "locations",
|
|
12513
|
+
"type": "array<union>",
|
|
12514
|
+
"required": false,
|
|
12515
|
+
"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."
|
|
12516
|
+
},
|
|
12517
|
+
{
|
|
12518
|
+
"name": "cells",
|
|
12519
|
+
"type": "array<string>",
|
|
12520
|
+
"required": false,
|
|
12521
|
+
"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."
|
|
12522
|
+
},
|
|
12523
|
+
{
|
|
12524
|
+
"name": "timeZone",
|
|
12525
|
+
"type": "string",
|
|
12526
|
+
"required": false,
|
|
12527
|
+
"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."
|
|
12528
|
+
},
|
|
12529
|
+
{
|
|
12530
|
+
"name": "uris",
|
|
12531
|
+
"type": "array<→ community.lexicon.calendar.event#uri>",
|
|
12532
|
+
"required": false,
|
|
12533
|
+
"description": "Named links associated with this place, such as its website. Data-source credits belong in a separate attribution record."
|
|
12534
|
+
},
|
|
12535
|
+
{
|
|
12536
|
+
"name": "openingHours",
|
|
12537
|
+
"type": "string",
|
|
12538
|
+
"required": false,
|
|
12539
|
+
"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."
|
|
12540
|
+
},
|
|
12541
|
+
{
|
|
12542
|
+
"name": "description",
|
|
12543
|
+
"type": "string",
|
|
12544
|
+
"required": false,
|
|
12545
|
+
"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."
|
|
12546
|
+
},
|
|
12547
|
+
{
|
|
12548
|
+
"name": "identifiers",
|
|
12549
|
+
"type": "array<→ pub.techne.draft.org#schemeValue>",
|
|
12550
|
+
"required": false,
|
|
12551
|
+
"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."
|
|
12552
|
+
},
|
|
12553
|
+
{
|
|
12554
|
+
"name": "createdAt",
|
|
12555
|
+
"type": "string<datetime>",
|
|
12556
|
+
"required": true
|
|
12557
|
+
}
|
|
12558
|
+
],
|
|
12559
|
+
"doc": ({
|
|
12560
|
+
"lexicon": 1,
|
|
12561
|
+
"id": "pub.techne.draft.placeV2",
|
|
12562
|
+
"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`.",
|
|
12563
|
+
"defs": {
|
|
12564
|
+
"main": {
|
|
12565
|
+
"type": "record",
|
|
12566
|
+
"key": "any",
|
|
12567
|
+
"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.",
|
|
12568
|
+
"record": {
|
|
12569
|
+
"type": "object",
|
|
12570
|
+
"required": [
|
|
12571
|
+
"name",
|
|
12572
|
+
"kind",
|
|
12573
|
+
"createdAt"
|
|
12574
|
+
],
|
|
12575
|
+
"properties": {
|
|
12576
|
+
"name": {
|
|
12577
|
+
"type": "string",
|
|
12578
|
+
"maxLength": 640,
|
|
12579
|
+
"maxGraphemes": 128,
|
|
12580
|
+
"description": "The place/group's display name."
|
|
12581
|
+
},
|
|
12582
|
+
"kind": {
|
|
12583
|
+
"type": "string",
|
|
12584
|
+
"maxLength": 64,
|
|
12585
|
+
"knownValues": [
|
|
12586
|
+
"business",
|
|
12587
|
+
"publicSpace",
|
|
12588
|
+
"group",
|
|
12589
|
+
"area"
|
|
12590
|
+
],
|
|
12591
|
+
"description": "What kind of directory entry this is. `area`: a named area (a city, county, ZIP or parish) whose extent is `cells`."
|
|
12592
|
+
},
|
|
12593
|
+
"category": {
|
|
12594
|
+
"type": "string",
|
|
12595
|
+
"maxLength": 128,
|
|
12596
|
+
"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."
|
|
12597
|
+
},
|
|
12598
|
+
"locations": {
|
|
12599
|
+
"type": "array",
|
|
12600
|
+
"maxLength": 16,
|
|
12601
|
+
"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.",
|
|
12602
|
+
"items": {
|
|
12603
|
+
"type": "union",
|
|
12604
|
+
"refs": [
|
|
12605
|
+
"community.lexicon.location.geo",
|
|
12606
|
+
"community.lexicon.location.hthree",
|
|
12607
|
+
"community.lexicon.location.address",
|
|
12608
|
+
"com.atproto.repo.strongRef",
|
|
12609
|
+
"pub.techne.draft.locationEntry"
|
|
12610
|
+
]
|
|
12611
|
+
}
|
|
12612
|
+
},
|
|
12613
|
+
"cells": {
|
|
12614
|
+
"type": "array",
|
|
12615
|
+
"maxLength": 20000,
|
|
12616
|
+
"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.",
|
|
12617
|
+
"items": {
|
|
12618
|
+
"type": "string",
|
|
12619
|
+
"minLength": 15,
|
|
12620
|
+
"maxLength": 15
|
|
12621
|
+
}
|
|
12622
|
+
},
|
|
12623
|
+
"timeZone": {
|
|
12624
|
+
"type": "string",
|
|
12625
|
+
"maxLength": 64,
|
|
12626
|
+
"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."
|
|
12627
|
+
},
|
|
12628
|
+
"uris": {
|
|
12629
|
+
"type": "array",
|
|
12630
|
+
"maxLength": 16,
|
|
12631
|
+
"description": "Named links associated with this place, such as its website. Data-source credits belong in a separate attribution record.",
|
|
12632
|
+
"items": {
|
|
12633
|
+
"type": "ref",
|
|
12634
|
+
"ref": "community.lexicon.calendar.event#uri"
|
|
12635
|
+
}
|
|
12636
|
+
},
|
|
12637
|
+
"openingHours": {
|
|
12638
|
+
"type": "string",
|
|
12639
|
+
"maxLength": 1024,
|
|
12640
|
+
"maxGraphemes": 512,
|
|
12641
|
+
"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."
|
|
12642
|
+
},
|
|
12643
|
+
"description": {
|
|
12644
|
+
"type": "string",
|
|
12645
|
+
"maxLength": 30000,
|
|
12646
|
+
"maxGraphemes": 3000,
|
|
12647
|
+
"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."
|
|
12648
|
+
},
|
|
12649
|
+
"identifiers": {
|
|
12650
|
+
"type": "array",
|
|
12651
|
+
"maxLength": 32,
|
|
12652
|
+
"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.",
|
|
12653
|
+
"items": {
|
|
12654
|
+
"type": "ref",
|
|
12655
|
+
"ref": "pub.techne.draft.org#schemeValue"
|
|
12656
|
+
}
|
|
12657
|
+
},
|
|
12658
|
+
"createdAt": {
|
|
12659
|
+
"type": "string",
|
|
12660
|
+
"format": "datetime"
|
|
12661
|
+
}
|
|
12662
|
+
}
|
|
12663
|
+
}
|
|
12664
|
+
}
|
|
12665
|
+
}
|
|
12666
|
+
}),
|
|
12667
|
+
"homes": [
|
|
12668
|
+
{
|
|
12669
|
+
"space": "public",
|
|
12670
|
+
"unbuilt": false
|
|
12671
|
+
}
|
|
12672
|
+
]
|
|
12673
|
+
},
|
|
12674
|
+
{
|
|
12675
|
+
"nsid": "pub.techne.draft.placeV2.query",
|
|
12676
|
+
"name": "draft.placeV2.query",
|
|
12677
|
+
"group": "pub.techne",
|
|
12678
|
+
"kind": "queryDocument",
|
|
12679
|
+
"description": "Which fields of a placeV2 fill the shared query roles. Its `locations` are `faces` (several forms of one location), and an area's extent is its `cells` (`extent: cells`).",
|
|
12680
|
+
"doc": ({
|
|
12681
|
+
"lexicon": 1,
|
|
12682
|
+
"id": "pub.techne.draft.placeV2.query",
|
|
12683
|
+
"description": "Which fields of a placeV2 fill the shared query roles. Its `locations` are `faces` (several forms of one location), and an area's extent is its `cells` (`extent: cells`).",
|
|
12684
|
+
"defs": {
|
|
12685
|
+
"main": {
|
|
12686
|
+
"type": "queryDocument",
|
|
12687
|
+
"roles": {
|
|
12688
|
+
"location": "locations",
|
|
12689
|
+
"text": [
|
|
12690
|
+
"name"
|
|
12691
|
+
],
|
|
12692
|
+
"category": "category"
|
|
12693
|
+
},
|
|
12694
|
+
"entries": "faces",
|
|
12695
|
+
"extent": "cells"
|
|
12696
|
+
}
|
|
12697
|
+
}
|
|
12698
|
+
})
|
|
12699
|
+
},
|
|
11655
12700
|
{
|
|
11656
12701
|
"nsid": "pub.techne.draft.post",
|
|
11657
12702
|
"name": "draft.post",
|
|
@@ -11873,6 +12918,25 @@ export const catalog = {
|
|
|
11873
12918
|
}
|
|
11874
12919
|
]
|
|
11875
12920
|
},
|
|
12921
|
+
{
|
|
12922
|
+
"nsid": "pub.techne.draft.presence.query",
|
|
12923
|
+
"name": "draft.presence.query",
|
|
12924
|
+
"group": "pub.techne",
|
|
12925
|
+
"kind": "queryDocument",
|
|
12926
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `event.uri`, and a where read finds it there when asked to follow subjects.",
|
|
12927
|
+
"doc": ({
|
|
12928
|
+
"lexicon": 1,
|
|
12929
|
+
"id": "pub.techne.draft.presence.query",
|
|
12930
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `event.uri`, and a where read finds it there when asked to follow subjects.",
|
|
12931
|
+
"defs": {
|
|
12932
|
+
"main": {
|
|
12933
|
+
"type": "queryDocument",
|
|
12934
|
+
"roles": {},
|
|
12935
|
+
"subject": "event.uri"
|
|
12936
|
+
}
|
|
12937
|
+
}
|
|
12938
|
+
})
|
|
12939
|
+
},
|
|
11876
12940
|
{
|
|
11877
12941
|
"nsid": "pub.techne.draft.profile",
|
|
11878
12942
|
"name": "draft.profile",
|
|
@@ -12131,6 +13195,25 @@ export const catalog = {
|
|
|
12131
13195
|
}
|
|
12132
13196
|
]
|
|
12133
13197
|
},
|
|
13198
|
+
{
|
|
13199
|
+
"nsid": "pub.techne.draft.profile.query",
|
|
13200
|
+
"name": "draft.profile.query",
|
|
13201
|
+
"group": "pub.techne",
|
|
13202
|
+
"kind": "queryDocument",
|
|
13203
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
13204
|
+
"doc": ({
|
|
13205
|
+
"lexicon": 1,
|
|
13206
|
+
"id": "pub.techne.draft.profile.query",
|
|
13207
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
13208
|
+
"defs": {
|
|
13209
|
+
"main": {
|
|
13210
|
+
"type": "queryDocument",
|
|
13211
|
+
"roles": {},
|
|
13212
|
+
"subject": "subject.uri"
|
|
13213
|
+
}
|
|
13214
|
+
}
|
|
13215
|
+
})
|
|
13216
|
+
},
|
|
12134
13217
|
{
|
|
12135
13218
|
"nsid": "pub.techne.draft.provenance",
|
|
12136
13219
|
"name": "draft.provenance",
|
|
@@ -12345,7 +13428,8 @@ export const catalog = {
|
|
|
12345
13428
|
"references": [
|
|
12346
13429
|
"sources[].uri"
|
|
12347
13430
|
]
|
|
12348
|
-
}
|
|
13431
|
+
},
|
|
13432
|
+
"subject": "subject.uri"
|
|
12349
13433
|
}
|
|
12350
13434
|
}
|
|
12351
13435
|
})
|
|
@@ -12580,10 +13664,27 @@ export const catalog = {
|
|
|
12580
13664
|
"key": "any",
|
|
12581
13665
|
"description": "A query over indexed records, as data: sent inline to pub.techne.draft.query.listRecords or countRecords, or published as a record in an app's own repo and run by its URI, so what an app reads is public. The platform runs it only over what the caller may read: every query is scoped to the viewer by the platform (public records not hidden; permissioned records the caller's own, or in a space whose read policy admits the caller now and not an act the reach limit withholds for its author: a held share or circle add), so there is no operator for access. Values that start with `$` are parameters: `$viewer` (the caller: compared with a DID, it matches any DID of the caller's person now, every account linked with the signed-in one, or only the signed-in DID while a sign-in method of one of them is frozen) and `$now` (the instant of the call) are filled by the platform, any other the caller passes in `params`; a published query is a template. Each record type declares which of its fields fill the shared roles in its `{collection}.query` document; a type with none is still listable by the roles every record has (`type`, `author`, `space`, `subject`, `written`, `uri`). Before running, the platform checks that every top-level `any` branch is driven by an index and refuses, naming the branch, if not. A feed is a query plus the signals it asks for plus its `weights`, which only the client applies. Draft tier.",
|
|
12582
13666
|
"fields": [
|
|
13667
|
+
{
|
|
13668
|
+
"name": "view",
|
|
13669
|
+
"type": "string (enum)",
|
|
13670
|
+
"required": false,
|
|
13671
|
+
"description": "Which public records the branches of `where` read: `curated` (the commons' listed records: one curated record per thing, merged from its sources by a curator the commons root trusts, moderated, not hidden; an event only inside the supported areas) or `asWritten` (every public record as its author wrote it: each source copy and the curated record, not hidden, not superseded). Required with `where`, never beside `any` (each branch names its own there): there is no default. `curated` on a branch whose `type` names a type no curator covers is refused with NotCurated, naming the type. A permissioned record is read the same way in both views (it is never curated). Beacon builds from before views, which name none, are answered with the old default through 2027-03-01 (the last day).",
|
|
13672
|
+
"knownValues": [
|
|
13673
|
+
"curated",
|
|
13674
|
+
"asWritten"
|
|
13675
|
+
]
|
|
13676
|
+
},
|
|
12583
13677
|
{
|
|
12584
13678
|
"name": "where",
|
|
12585
13679
|
"type": "→ #node",
|
|
12586
|
-
"required":
|
|
13680
|
+
"required": false,
|
|
13681
|
+
"description": "What to select; with `view`. Give `where` or `any`, not both."
|
|
13682
|
+
},
|
|
13683
|
+
{
|
|
13684
|
+
"name": "any",
|
|
13685
|
+
"type": "array<→ #branch>",
|
|
13686
|
+
"required": false,
|
|
13687
|
+
"description": "Branches, each naming its own view, for a list that reads curated records of one kind and records as written of another in one request (a feed of curated events and beacons). A record that matches two branches comes once. Instead of `where` and `view`."
|
|
12587
13688
|
},
|
|
12588
13689
|
{
|
|
12589
13690
|
"name": "signals",
|
|
@@ -12613,7 +13714,7 @@ export const catalog = {
|
|
|
12613
13714
|
"name": "curated",
|
|
12614
13715
|
"type": "boolean",
|
|
12615
13716
|
"required": false,
|
|
12616
|
-
"description": "
|
|
13717
|
+
"description": "Deprecated: `view` replaced it. It has no default. Accepted beside `view` only when it agrees (true with `curated`, false with `asWritten`); alone, it is refused like a missing view, except from Beacon builds from before views through 2027-03-01, where true or absent reads unscoped branches curated and false reads every branch as written."
|
|
12617
13718
|
},
|
|
12618
13719
|
{
|
|
12619
13720
|
"name": "held",
|
|
@@ -12643,13 +13744,30 @@ export const catalog = {
|
|
|
12643
13744
|
"key": "any",
|
|
12644
13745
|
"record": {
|
|
12645
13746
|
"type": "object",
|
|
12646
|
-
"required": [
|
|
12647
|
-
"where"
|
|
12648
|
-
],
|
|
12649
13747
|
"properties": {
|
|
13748
|
+
"view": {
|
|
13749
|
+
"type": "string",
|
|
13750
|
+
"maxLength": 16,
|
|
13751
|
+
"knownValues": [
|
|
13752
|
+
"curated",
|
|
13753
|
+
"asWritten"
|
|
13754
|
+
],
|
|
13755
|
+
"description": "Which public records the branches of `where` read: `curated` (the commons' listed records: one curated record per thing, merged from its sources by a curator the commons root trusts, moderated, not hidden; an event only inside the supported areas) or `asWritten` (every public record as its author wrote it: each source copy and the curated record, not hidden, not superseded). Required with `where`, never beside `any` (each branch names its own there): there is no default. `curated` on a branch whose `type` names a type no curator covers is refused with NotCurated, naming the type. A permissioned record is read the same way in both views (it is never curated). Beacon builds from before views, which name none, are answered with the old default through 2027-03-01 (the last day)."
|
|
13756
|
+
},
|
|
12650
13757
|
"where": {
|
|
12651
13758
|
"type": "ref",
|
|
12652
|
-
"ref": "#node"
|
|
13759
|
+
"ref": "#node",
|
|
13760
|
+
"description": "What to select; with `view`. Give `where` or `any`, not both."
|
|
13761
|
+
},
|
|
13762
|
+
"any": {
|
|
13763
|
+
"type": "array",
|
|
13764
|
+
"minLength": 1,
|
|
13765
|
+
"maxLength": 8,
|
|
13766
|
+
"items": {
|
|
13767
|
+
"type": "ref",
|
|
13768
|
+
"ref": "#branch"
|
|
13769
|
+
},
|
|
13770
|
+
"description": "Branches, each naming its own view, for a list that reads curated records of one kind and records as written of another in one request (a feed of curated events and beacons). A record that matches two branches comes once. Instead of `where` and `view`."
|
|
12653
13771
|
},
|
|
12654
13772
|
"signals": {
|
|
12655
13773
|
"type": "array",
|
|
@@ -12680,8 +13798,7 @@ export const catalog = {
|
|
|
12680
13798
|
},
|
|
12681
13799
|
"curated": {
|
|
12682
13800
|
"type": "boolean",
|
|
12683
|
-
"
|
|
12684
|
-
"description": "A list across authors answers curated public records (the commons' listed records); false asks for public records as written. A list scoped to named authors, subjects or URIs answers as written either way."
|
|
13801
|
+
"description": "Deprecated: `view` replaced it. It has no default. Accepted beside `view` only when it agrees (true with `curated`, false with `asWritten`); alone, it is refused like a missing view, except from Beacon builds from before views through 2027-03-01, where true or absent reads unscoped branches curated and false reads every branch as written."
|
|
12685
13802
|
},
|
|
12686
13803
|
"held": {
|
|
12687
13804
|
"type": "boolean",
|
|
@@ -12704,6 +13821,29 @@ export const catalog = {
|
|
|
12704
13821
|
}
|
|
12705
13822
|
}
|
|
12706
13823
|
},
|
|
13824
|
+
"branch": {
|
|
13825
|
+
"type": "object",
|
|
13826
|
+
"required": [
|
|
13827
|
+
"view",
|
|
13828
|
+
"where"
|
|
13829
|
+
],
|
|
13830
|
+
"description": "One branch of a query's `any`: its view and what it selects. A `where` whose top is itself an `any` makes one branch of each child, all in this view.",
|
|
13831
|
+
"properties": {
|
|
13832
|
+
"view": {
|
|
13833
|
+
"type": "string",
|
|
13834
|
+
"maxLength": 16,
|
|
13835
|
+
"knownValues": [
|
|
13836
|
+
"curated",
|
|
13837
|
+
"asWritten"
|
|
13838
|
+
],
|
|
13839
|
+
"description": "This branch's view: as the query's `view`."
|
|
13840
|
+
},
|
|
13841
|
+
"where": {
|
|
13842
|
+
"type": "ref",
|
|
13843
|
+
"ref": "#node"
|
|
13844
|
+
}
|
|
13845
|
+
}
|
|
13846
|
+
},
|
|
12707
13847
|
"node": {
|
|
12708
13848
|
"type": "object",
|
|
12709
13849
|
"description": "One node of the `where` tree: exactly one property. `all` (every child holds), `any` (at least one holds; at the top level each child is a branch the platform runs on its own index), `not` (a list of one node that must not hold; it narrows and never drives a branch), `has` (some other record names this one; it narrows and never drives a branch), or a leaf naming one role with one condition. A leaf that produces a number (`near`, `matches`) is allowed only at the top of a branch.",
|
|
@@ -12782,7 +13922,7 @@ export const catalog = {
|
|
|
12782
13922
|
"location": {
|
|
12783
13923
|
"type": "ref",
|
|
12784
13924
|
"ref": "#condition",
|
|
12785
|
-
"description": "Where it is (declared per type).
|
|
13925
|
+
"description": "Where it is. Operators: near (declared per type: a point or cell within a radius, never an area); in (a list of up to 8 areas, each the AT-URI of an area record (a type whose query document declares `extent`; placeV2 today) or a `$param`: a stated location whose centre lies in one of them); covers (a point: an area the record states, such as one it serves, that contains the point). in and covers read every stated location (any type with a location or a subject), take `kind` and `followed`, are allowed only at the top of a branch, and give each record `matched`, the locations that matched (entry, kind, asserter, source; at most 8). They match public records only: the index they read holds public records, so a permissioned record never matches them (near does). In the curated view only the author's own locations and claims by writers the commons root endorses count, with the precedence rerun over them; as written every claim is weighed. A read whose `near` or `covers` point or `in` area lies outside this operator's coverage, or names an area not held here, is answered with `notServedHere`."
|
|
12786
13926
|
},
|
|
12787
13927
|
"text": {
|
|
12788
13928
|
"type": "ref",
|
|
@@ -12843,7 +13983,7 @@ export const catalog = {
|
|
|
12843
13983
|
"type": "string",
|
|
12844
13984
|
"maxLength": 2048
|
|
12845
13985
|
},
|
|
12846
|
-
"description": "Any of these values; each is a value or a `$param` (a param holding a list adds all its values)."
|
|
13986
|
+
"description": "Any of these values; each is a value or a `$param` (a param holding a list adds all its values). On `location`: the areas (at most 8)."
|
|
12847
13987
|
},
|
|
12848
13988
|
"before": {
|
|
12849
13989
|
"type": "string",
|
|
@@ -12864,6 +14004,20 @@ export const catalog = {
|
|
|
12864
14004
|
"maxLength": 256,
|
|
12865
14005
|
"description": "Words the text must hold (all of them); the last word may be the start of a word, as typed so far. Produces a rank, best first."
|
|
12866
14006
|
},
|
|
14007
|
+
"covers": {
|
|
14008
|
+
"type": "string",
|
|
14009
|
+
"maxLength": 64,
|
|
14010
|
+
"description": "On `location`: a point (`<latitude>,<longitude>`, an H3 cell, or a `$param`) that a stated area contains."
|
|
14011
|
+
},
|
|
14012
|
+
"kind": {
|
|
14013
|
+
"type": "string",
|
|
14014
|
+
"maxLength": 64,
|
|
14015
|
+
"description": "With `in` or `covers`: the kind of stated location to match (`serves`, `registered`, ...). Default `at` (is at)."
|
|
14016
|
+
},
|
|
14017
|
+
"followed": {
|
|
14018
|
+
"type": "boolean",
|
|
14019
|
+
"description": "With `in` or `covers`: also match a record through the subject its type declares (a receipt through its recipient), one hop."
|
|
14020
|
+
},
|
|
12867
14021
|
"as": {
|
|
12868
14022
|
"type": "string",
|
|
12869
14023
|
"maxLength": 64,
|
|
@@ -13018,7 +14172,9 @@ export const catalog = {
|
|
|
13018
14172
|
"kind": "location",
|
|
13019
14173
|
"column": "h3_r5",
|
|
13020
14174
|
"operators": [
|
|
13021
|
-
"near"
|
|
14175
|
+
"near",
|
|
14176
|
+
"in",
|
|
14177
|
+
"covers"
|
|
13022
14178
|
]
|
|
13023
14179
|
},
|
|
13024
14180
|
"text": {
|
|
@@ -13206,7 +14362,7 @@ export const catalog = {
|
|
|
13206
14362
|
},
|
|
13207
14363
|
"envelope": {
|
|
13208
14364
|
"type": "array",
|
|
13209
|
-
"maxLength":
|
|
14365
|
+
"maxLength": 11,
|
|
13210
14366
|
"items": {
|
|
13211
14367
|
"type": "string",
|
|
13212
14368
|
"knownValues": [
|
|
@@ -13219,10 +14375,11 @@ export const catalog = {
|
|
|
13219
14375
|
"curated",
|
|
13220
14376
|
"held",
|
|
13221
14377
|
"measures",
|
|
13222
|
-
"signals"
|
|
14378
|
+
"signals",
|
|
14379
|
+
"matched"
|
|
13223
14380
|
]
|
|
13224
14381
|
},
|
|
13225
|
-
"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."
|
|
14382
|
+
"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."
|
|
13226
14383
|
},
|
|
13227
14384
|
"uri": {
|
|
13228
14385
|
"type": "boolean",
|
|
@@ -13258,6 +14415,11 @@ export const catalog = {
|
|
|
13258
14415
|
"type": "boolean",
|
|
13259
14416
|
"description": "List step, asked with `count`: as listRecords' `capped`."
|
|
13260
14417
|
},
|
|
14418
|
+
"notServedHere": {
|
|
14419
|
+
"type": "ref",
|
|
14420
|
+
"ref": "pub.techne.draft.query.listRecords#notServedHere",
|
|
14421
|
+
"description": "List step: as listRecords' `notServedHere` (an empty list with it set means \"not served here\", not \"nothing there\")."
|
|
14422
|
+
},
|
|
13261
14423
|
"withheld": {
|
|
13262
14424
|
"type": "array",
|
|
13263
14425
|
"items": {
|
|
@@ -13348,7 +14510,7 @@ export const catalog = {
|
|
|
13348
14510
|
},
|
|
13349
14511
|
"curated": {
|
|
13350
14512
|
"type": "boolean",
|
|
13351
|
-
"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.
|
|
14513
|
+
"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."
|
|
13352
14514
|
},
|
|
13353
14515
|
"held": {
|
|
13354
14516
|
"type": "boolean",
|
|
@@ -13361,6 +14523,15 @@ export const catalog = {
|
|
|
13361
14523
|
"signals": {
|
|
13362
14524
|
"type": "unknown",
|
|
13363
14525
|
"description": "The server-side signals the query asked for, by name; a signal with no value for this record is absent."
|
|
14526
|
+
},
|
|
14527
|
+
"matched": {
|
|
14528
|
+
"type": "array",
|
|
14529
|
+
"maxLength": 8,
|
|
14530
|
+
"items": {
|
|
14531
|
+
"type": "ref",
|
|
14532
|
+
"ref": "pub.techne.draft.query.listRecords#matchedLocation"
|
|
14533
|
+
},
|
|
14534
|
+
"description": "As listRecords#record has it: with a `location` `in` or `covers` condition, the stated locations that matched, at most 8."
|
|
13364
14535
|
}
|
|
13365
14536
|
}
|
|
13366
14537
|
},
|
|
@@ -13375,7 +14546,7 @@ export const catalog = {
|
|
|
13375
14546
|
"properties": {
|
|
13376
14547
|
"error": {
|
|
13377
14548
|
"type": "string",
|
|
13378
|
-
"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."
|
|
14549
|
+
"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."
|
|
13379
14550
|
},
|
|
13380
14551
|
"message": {
|
|
13381
14552
|
"type": "string",
|
|
@@ -13395,14 +14566,14 @@ export const catalog = {
|
|
|
13395
14566
|
"name": "draft.query.countRecords",
|
|
13396
14567
|
"group": "pub.techne",
|
|
13397
14568
|
"kind": "query",
|
|
13398
|
-
"description": "How many records a pub.techne.draft.query names: the records listRecords would answer for it (the same read path,
|
|
14569
|
+
"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.",
|
|
13399
14570
|
"doc": ({
|
|
13400
14571
|
"lexicon": 1,
|
|
13401
14572
|
"id": "pub.techne.draft.query.countRecords",
|
|
13402
14573
|
"defs": {
|
|
13403
14574
|
"main": {
|
|
13404
14575
|
"type": "query",
|
|
13405
|
-
"description": "How many records a pub.techne.draft.query names: the records listRecords would answer for it (the same read path,
|
|
14576
|
+
"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.",
|
|
13406
14577
|
"parameters": {
|
|
13407
14578
|
"type": "params",
|
|
13408
14579
|
"properties": {
|
|
@@ -13455,6 +14626,11 @@ export const catalog = {
|
|
|
13455
14626
|
"ref": "#group"
|
|
13456
14627
|
},
|
|
13457
14628
|
"description": "With groupBy: the count per key, largest first."
|
|
14629
|
+
},
|
|
14630
|
+
"notServedHere": {
|
|
14631
|
+
"type": "ref",
|
|
14632
|
+
"ref": "pub.techne.draft.query.listRecords#notServedHere",
|
|
14633
|
+
"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."
|
|
13458
14634
|
}
|
|
13459
14635
|
}
|
|
13460
14636
|
}
|
|
@@ -13464,6 +14640,14 @@ export const catalog = {
|
|
|
13464
14640
|
"name": "InvalidRequest",
|
|
13465
14641
|
"description": "HTTP 400. A malformed or refused query or parameter."
|
|
13466
14642
|
},
|
|
14643
|
+
{
|
|
14644
|
+
"name": "ViewRequired",
|
|
14645
|
+
"description": "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch."
|
|
14646
|
+
},
|
|
14647
|
+
{
|
|
14648
|
+
"name": "NotCurated",
|
|
14649
|
+
"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`."
|
|
14650
|
+
},
|
|
13467
14651
|
{
|
|
13468
14652
|
"name": "NotFound",
|
|
13469
14653
|
"description": "HTTP 404. `queryUri` names no query record the caller may read."
|
|
@@ -13493,14 +14677,14 @@ export const catalog = {
|
|
|
13493
14677
|
"name": "draft.query.getRecords",
|
|
13494
14678
|
"group": "pub.techne",
|
|
13495
14679
|
"kind": "query",
|
|
13496
|
-
"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.",
|
|
14680
|
+
"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.",
|
|
13497
14681
|
"doc": ({
|
|
13498
14682
|
"lexicon": 1,
|
|
13499
14683
|
"id": "pub.techne.draft.query.getRecords",
|
|
13500
14684
|
"defs": {
|
|
13501
14685
|
"main": {
|
|
13502
14686
|
"type": "query",
|
|
13503
|
-
"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.",
|
|
14687
|
+
"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.",
|
|
13504
14688
|
"parameters": {
|
|
13505
14689
|
"type": "params",
|
|
13506
14690
|
"required": [
|
|
@@ -13724,14 +14908,14 @@ export const catalog = {
|
|
|
13724
14908
|
"name": "draft.query.listRecords",
|
|
13725
14909
|
"group": "pub.techne",
|
|
13726
14910
|
"kind": "query",
|
|
13727
|
-
"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.
|
|
14911
|
+
"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.",
|
|
13728
14912
|
"doc": ({
|
|
13729
14913
|
"lexicon": 1,
|
|
13730
14914
|
"id": "pub.techne.draft.query.listRecords",
|
|
13731
14915
|
"defs": {
|
|
13732
14916
|
"main": {
|
|
13733
14917
|
"type": "query",
|
|
13734
|
-
"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.
|
|
14918
|
+
"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.",
|
|
13735
14919
|
"parameters": {
|
|
13736
14920
|
"type": "params",
|
|
13737
14921
|
"properties": {
|
|
@@ -13794,6 +14978,11 @@ export const catalog = {
|
|
|
13794
14978
|
"capped": {
|
|
13795
14979
|
"type": "boolean",
|
|
13796
14980
|
"description": "Only when asked with `count=true`: true when there are more than `count` (countRecords' `capped`)."
|
|
14981
|
+
},
|
|
14982
|
+
"notServedHere": {
|
|
14983
|
+
"type": "ref",
|
|
14984
|
+
"ref": "#notServedHere",
|
|
14985
|
+
"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."
|
|
13797
14986
|
}
|
|
13798
14987
|
}
|
|
13799
14988
|
}
|
|
@@ -13803,6 +14992,14 @@ export const catalog = {
|
|
|
13803
14992
|
"name": "InvalidRequest",
|
|
13804
14993
|
"description": "HTTP 400. A malformed or refused query (naming the branch or condition), parameter or cursor."
|
|
13805
14994
|
},
|
|
14995
|
+
{
|
|
14996
|
+
"name": "ViewRequired",
|
|
14997
|
+
"description": "HTTP 400. A branch of the query names no `view` (curated or asWritten): there is no default. The message names the branch."
|
|
14998
|
+
},
|
|
14999
|
+
{
|
|
15000
|
+
"name": "NotCurated",
|
|
15001
|
+
"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`."
|
|
15002
|
+
},
|
|
13806
15003
|
{
|
|
13807
15004
|
"name": "NotFound",
|
|
13808
15005
|
"description": "HTTP 404. `queryUri` names no query record the caller may read."
|
|
@@ -13863,7 +15060,7 @@ export const catalog = {
|
|
|
13863
15060
|
},
|
|
13864
15061
|
"curated": {
|
|
13865
15062
|
"type": "boolean",
|
|
13866
|
-
"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.
|
|
15063
|
+
"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)."
|
|
13867
15064
|
},
|
|
13868
15065
|
"held": {
|
|
13869
15066
|
"type": "boolean",
|
|
@@ -13876,6 +15073,74 @@ export const catalog = {
|
|
|
13876
15073
|
"signals": {
|
|
13877
15074
|
"type": "unknown",
|
|
13878
15075
|
"description": "The server-side signals the query asked for, by name; a signal with no value for this record is absent."
|
|
15076
|
+
},
|
|
15077
|
+
"matched": {
|
|
15078
|
+
"type": "array",
|
|
15079
|
+
"maxLength": 8,
|
|
15080
|
+
"items": {
|
|
15081
|
+
"type": "ref",
|
|
15082
|
+
"ref": "#matchedLocation"
|
|
15083
|
+
},
|
|
15084
|
+
"description": "With a `location` `in` or `covers` condition: the stated locations that matched (with `followed`, its subject's), at most 8."
|
|
15085
|
+
}
|
|
15086
|
+
}
|
|
15087
|
+
},
|
|
15088
|
+
"matchedLocation": {
|
|
15089
|
+
"type": "object",
|
|
15090
|
+
"description": "One stated location that matched.",
|
|
15091
|
+
"required": [
|
|
15092
|
+
"kind",
|
|
15093
|
+
"asserter",
|
|
15094
|
+
"source"
|
|
15095
|
+
],
|
|
15096
|
+
"properties": {
|
|
15097
|
+
"entry": {
|
|
15098
|
+
"type": "union",
|
|
15099
|
+
"refs": [
|
|
15100
|
+
"community.lexicon.location.geo",
|
|
15101
|
+
"community.lexicon.location.hthree",
|
|
15102
|
+
"community.lexicon.location.address",
|
|
15103
|
+
"com.atproto.repo.strongRef",
|
|
15104
|
+
"pub.techne.draft.locationEntry"
|
|
15105
|
+
],
|
|
15106
|
+
"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."
|
|
15107
|
+
},
|
|
15108
|
+
"kind": {
|
|
15109
|
+
"type": "string",
|
|
15110
|
+
"description": "How the thing relates to the place (`at`, `serves`, `registered`, ...)."
|
|
15111
|
+
},
|
|
15112
|
+
"asserter": {
|
|
15113
|
+
"type": "string",
|
|
15114
|
+
"format": "did",
|
|
15115
|
+
"description": "Who stated it: the record's author, or a claim's writer."
|
|
15116
|
+
},
|
|
15117
|
+
"source": {
|
|
15118
|
+
"type": "string",
|
|
15119
|
+
"format": "at-uri",
|
|
15120
|
+
"description": "The record that stated it (the record itself, or a claim about it)."
|
|
15121
|
+
}
|
|
15122
|
+
}
|
|
15123
|
+
},
|
|
15124
|
+
"notServedHere": {
|
|
15125
|
+
"type": "object",
|
|
15126
|
+
"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\".",
|
|
15127
|
+
"required": [
|
|
15128
|
+
"reason",
|
|
15129
|
+
"message"
|
|
15130
|
+
],
|
|
15131
|
+
"properties": {
|
|
15132
|
+
"reason": {
|
|
15133
|
+
"type": "string",
|
|
15134
|
+
"knownValues": [
|
|
15135
|
+
"outsideCoverage",
|
|
15136
|
+
"areaNotHeld"
|
|
15137
|
+
],
|
|
15138
|
+
"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."
|
|
15139
|
+
},
|
|
15140
|
+
"message": {
|
|
15141
|
+
"type": "string",
|
|
15142
|
+
"maxLength": 300,
|
|
15143
|
+
"description": "The reason, in words, for a person to read."
|
|
13879
15144
|
}
|
|
13880
15145
|
}
|
|
13881
15146
|
}
|
|
@@ -14235,7 +15500,8 @@ export const catalog = {
|
|
|
14235
15500
|
"references": [
|
|
14236
15501
|
"outputs[].uri"
|
|
14237
15502
|
]
|
|
14238
|
-
}
|
|
15503
|
+
},
|
|
15504
|
+
"subject": "subject.uri"
|
|
14239
15505
|
}
|
|
14240
15506
|
}
|
|
14241
15507
|
})
|
|
@@ -14337,6 +15603,116 @@ export const catalog = {
|
|
|
14337
15603
|
}
|
|
14338
15604
|
]
|
|
14339
15605
|
},
|
|
15606
|
+
{
|
|
15607
|
+
"nsid": "pub.techne.draft.reflection.query",
|
|
15608
|
+
"name": "draft.reflection.query",
|
|
15609
|
+
"group": "pub.techne",
|
|
15610
|
+
"kind": "queryDocument",
|
|
15611
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
15612
|
+
"doc": ({
|
|
15613
|
+
"lexicon": 1,
|
|
15614
|
+
"id": "pub.techne.draft.reflection.query",
|
|
15615
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
15616
|
+
"defs": {
|
|
15617
|
+
"main": {
|
|
15618
|
+
"type": "queryDocument",
|
|
15619
|
+
"roles": {},
|
|
15620
|
+
"subject": "subject.uri"
|
|
15621
|
+
}
|
|
15622
|
+
}
|
|
15623
|
+
})
|
|
15624
|
+
},
|
|
15625
|
+
{
|
|
15626
|
+
"nsid": "pub.techne.draft.region",
|
|
15627
|
+
"name": "draft.region",
|
|
15628
|
+
"group": "pub.techne",
|
|
15629
|
+
"kind": "record",
|
|
15630
|
+
"key": "any",
|
|
15631
|
+
"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.",
|
|
15632
|
+
"fields": [
|
|
15633
|
+
{
|
|
15634
|
+
"name": "area",
|
|
15635
|
+
"type": "→ com.atproto.repo.strongRef",
|
|
15636
|
+
"required": true,
|
|
15637
|
+
"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."
|
|
15638
|
+
},
|
|
15639
|
+
{
|
|
15640
|
+
"name": "operator",
|
|
15641
|
+
"type": "string<did>",
|
|
15642
|
+
"required": true,
|
|
15643
|
+
"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."
|
|
15644
|
+
},
|
|
15645
|
+
{
|
|
15646
|
+
"name": "validFrom",
|
|
15647
|
+
"type": "string<datetime>",
|
|
15648
|
+
"required": false,
|
|
15649
|
+
"description": "When the period starts. Absent: from always."
|
|
15650
|
+
},
|
|
15651
|
+
{
|
|
15652
|
+
"name": "validUntil",
|
|
15653
|
+
"type": "string<datetime>",
|
|
15654
|
+
"required": false,
|
|
15655
|
+
"description": "When the period ends (exclusive). Absent: it has not ended."
|
|
15656
|
+
},
|
|
15657
|
+
{
|
|
15658
|
+
"name": "createdAt",
|
|
15659
|
+
"type": "string<datetime>",
|
|
15660
|
+
"required": true
|
|
15661
|
+
}
|
|
15662
|
+
],
|
|
15663
|
+
"doc": ({
|
|
15664
|
+
"lexicon": 1,
|
|
15665
|
+
"id": "pub.techne.draft.region",
|
|
15666
|
+
"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.",
|
|
15667
|
+
"defs": {
|
|
15668
|
+
"main": {
|
|
15669
|
+
"type": "record",
|
|
15670
|
+
"key": "any",
|
|
15671
|
+
"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.",
|
|
15672
|
+
"record": {
|
|
15673
|
+
"type": "object",
|
|
15674
|
+
"required": [
|
|
15675
|
+
"area",
|
|
15676
|
+
"operator",
|
|
15677
|
+
"createdAt"
|
|
15678
|
+
],
|
|
15679
|
+
"properties": {
|
|
15680
|
+
"area": {
|
|
15681
|
+
"type": "ref",
|
|
15682
|
+
"ref": "com.atproto.repo.strongRef",
|
|
15683
|
+
"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."
|
|
15684
|
+
},
|
|
15685
|
+
"operator": {
|
|
15686
|
+
"type": "string",
|
|
15687
|
+
"format": "did",
|
|
15688
|
+
"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."
|
|
15689
|
+
},
|
|
15690
|
+
"validFrom": {
|
|
15691
|
+
"type": "string",
|
|
15692
|
+
"format": "datetime",
|
|
15693
|
+
"description": "When the period starts. Absent: from always."
|
|
15694
|
+
},
|
|
15695
|
+
"validUntil": {
|
|
15696
|
+
"type": "string",
|
|
15697
|
+
"format": "datetime",
|
|
15698
|
+
"description": "When the period ends (exclusive). Absent: it has not ended."
|
|
15699
|
+
},
|
|
15700
|
+
"createdAt": {
|
|
15701
|
+
"type": "string",
|
|
15702
|
+
"format": "datetime"
|
|
15703
|
+
}
|
|
15704
|
+
}
|
|
15705
|
+
}
|
|
15706
|
+
}
|
|
15707
|
+
}
|
|
15708
|
+
}),
|
|
15709
|
+
"homes": [
|
|
15710
|
+
{
|
|
15711
|
+
"space": "public",
|
|
15712
|
+
"unbuilt": false
|
|
15713
|
+
}
|
|
15714
|
+
]
|
|
15715
|
+
},
|
|
14340
15716
|
{
|
|
14341
15717
|
"nsid": "pub.techne.draft.registry.blockIndex",
|
|
14342
15718
|
"name": "draft.registry.blockIndex",
|
|
@@ -15573,6 +16949,25 @@ export const catalog = {
|
|
|
15573
16949
|
}
|
|
15574
16950
|
]
|
|
15575
16951
|
},
|
|
16952
|
+
{
|
|
16953
|
+
"nsid": "pub.techne.draft.rsvpNote.query",
|
|
16954
|
+
"name": "draft.rsvpNote.query",
|
|
16955
|
+
"group": "pub.techne",
|
|
16956
|
+
"kind": "queryDocument",
|
|
16957
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject`, and a where read finds it there when asked to follow subjects.",
|
|
16958
|
+
"doc": ({
|
|
16959
|
+
"lexicon": 1,
|
|
16960
|
+
"id": "pub.techne.draft.rsvpNote.query",
|
|
16961
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject`, and a where read finds it there when asked to follow subjects.",
|
|
16962
|
+
"defs": {
|
|
16963
|
+
"main": {
|
|
16964
|
+
"type": "queryDocument",
|
|
16965
|
+
"roles": {},
|
|
16966
|
+
"subject": "subject"
|
|
16967
|
+
}
|
|
16968
|
+
}
|
|
16969
|
+
})
|
|
16970
|
+
},
|
|
15576
16971
|
{
|
|
15577
16972
|
"nsid": "pub.techne.draft.sameAs",
|
|
15578
16973
|
"name": "draft.sameAs",
|
|
@@ -15660,7 +17055,8 @@ export const catalog = {
|
|
|
15660
17055
|
"subject.uri",
|
|
15661
17056
|
"other.uri"
|
|
15662
17057
|
]
|
|
15663
|
-
}
|
|
17058
|
+
},
|
|
17059
|
+
"subject": "subject.uri"
|
|
15664
17060
|
}
|
|
15665
17061
|
}
|
|
15666
17062
|
})
|
|
@@ -16084,6 +17480,25 @@ export const catalog = {
|
|
|
16084
17480
|
}
|
|
16085
17481
|
]
|
|
16086
17482
|
},
|
|
17483
|
+
{
|
|
17484
|
+
"nsid": "pub.techne.draft.source.query",
|
|
17485
|
+
"name": "draft.source.query",
|
|
17486
|
+
"group": "pub.techne",
|
|
17487
|
+
"kind": "queryDocument",
|
|
17488
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject`, and a where read finds it there when asked to follow subjects.",
|
|
17489
|
+
"doc": ({
|
|
17490
|
+
"lexicon": 1,
|
|
17491
|
+
"id": "pub.techne.draft.source.query",
|
|
17492
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject`, and a where read finds it there when asked to follow subjects.",
|
|
17493
|
+
"defs": {
|
|
17494
|
+
"main": {
|
|
17495
|
+
"type": "queryDocument",
|
|
17496
|
+
"roles": {},
|
|
17497
|
+
"subject": "subject"
|
|
17498
|
+
}
|
|
17499
|
+
}
|
|
17500
|
+
})
|
|
17501
|
+
},
|
|
16087
17502
|
{
|
|
16088
17503
|
"nsid": "pub.techne.draft.sourceAttribution",
|
|
16089
17504
|
"name": "draft.sourceAttribution",
|
|
@@ -16314,6 +17729,25 @@ export const catalog = {
|
|
|
16314
17729
|
}
|
|
16315
17730
|
]
|
|
16316
17731
|
},
|
|
17732
|
+
{
|
|
17733
|
+
"nsid": "pub.techne.draft.sourceRef.query",
|
|
17734
|
+
"name": "draft.sourceRef.query",
|
|
17735
|
+
"group": "pub.techne",
|
|
17736
|
+
"kind": "queryDocument",
|
|
17737
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject`, and a where read finds it there when asked to follow subjects.",
|
|
17738
|
+
"doc": ({
|
|
17739
|
+
"lexicon": 1,
|
|
17740
|
+
"id": "pub.techne.draft.sourceRef.query",
|
|
17741
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject`, and a where read finds it there when asked to follow subjects.",
|
|
17742
|
+
"defs": {
|
|
17743
|
+
"main": {
|
|
17744
|
+
"type": "queryDocument",
|
|
17745
|
+
"roles": {},
|
|
17746
|
+
"subject": "subject"
|
|
17747
|
+
}
|
|
17748
|
+
}
|
|
17749
|
+
})
|
|
17750
|
+
},
|
|
16317
17751
|
{
|
|
16318
17752
|
"nsid": "pub.techne.draft.statement",
|
|
16319
17753
|
"name": "draft.statement",
|
|
@@ -16330,9 +17764,9 @@ export const catalog = {
|
|
|
16330
17764
|
},
|
|
16331
17765
|
{
|
|
16332
17766
|
"name": "fields",
|
|
16333
|
-
"type": "union<pub.techne.draft.org#fields>",
|
|
17767
|
+
"type": "union<pub.techne.draft.org#fields | pub.techne.draft.statement#locations>",
|
|
16334
17768
|
"required": true,
|
|
16335
|
-
"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."
|
|
17769
|
+
"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."
|
|
16336
17770
|
},
|
|
16337
17771
|
{
|
|
16338
17772
|
"name": "createdAt",
|
|
@@ -16365,9 +17799,10 @@ export const catalog = {
|
|
|
16365
17799
|
"fields": {
|
|
16366
17800
|
"type": "union",
|
|
16367
17801
|
"refs": [
|
|
16368
|
-
"pub.techne.draft.org#fields"
|
|
17802
|
+
"pub.techne.draft.org#fields",
|
|
17803
|
+
"pub.techne.draft.statement#locations"
|
|
16369
17804
|
],
|
|
16370
|
-
"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."
|
|
17805
|
+
"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."
|
|
16371
17806
|
},
|
|
16372
17807
|
"createdAt": {
|
|
16373
17808
|
"type": "string",
|
|
@@ -16375,6 +17810,30 @@ export const catalog = {
|
|
|
16375
17810
|
}
|
|
16376
17811
|
}
|
|
16377
17812
|
}
|
|
17813
|
+
},
|
|
17814
|
+
"locations": {
|
|
17815
|
+
"type": "object",
|
|
17816
|
+
"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.",
|
|
17817
|
+
"required": [
|
|
17818
|
+
"locations"
|
|
17819
|
+
],
|
|
17820
|
+
"properties": {
|
|
17821
|
+
"locations": {
|
|
17822
|
+
"type": "array",
|
|
17823
|
+
"maxLength": 256,
|
|
17824
|
+
"description": "Entries as in the subject's own `locations` field (lexicon naming register).",
|
|
17825
|
+
"items": {
|
|
17826
|
+
"type": "union",
|
|
17827
|
+
"refs": [
|
|
17828
|
+
"community.lexicon.location.geo",
|
|
17829
|
+
"community.lexicon.location.hthree",
|
|
17830
|
+
"community.lexicon.location.address",
|
|
17831
|
+
"com.atproto.repo.strongRef",
|
|
17832
|
+
"pub.techne.draft.locationEntry"
|
|
17833
|
+
]
|
|
17834
|
+
}
|
|
17835
|
+
}
|
|
17836
|
+
}
|
|
16378
17837
|
}
|
|
16379
17838
|
}
|
|
16380
17839
|
}),
|
|
@@ -16385,6 +17844,28 @@ export const catalog = {
|
|
|
16385
17844
|
}
|
|
16386
17845
|
]
|
|
16387
17846
|
},
|
|
17847
|
+
{
|
|
17848
|
+
"nsid": "pub.techne.draft.statement.query",
|
|
17849
|
+
"name": "draft.statement.query",
|
|
17850
|
+
"group": "pub.techne",
|
|
17851
|
+
"kind": "queryDocument",
|
|
17852
|
+
"description": "How a reader takes this record's fields. Its `fields.locations` say where its subject is, as its writer says: a claim about the record at `subject.uri`, which counts as the subject's own location decides.",
|
|
17853
|
+
"doc": ({
|
|
17854
|
+
"lexicon": 1,
|
|
17855
|
+
"id": "pub.techne.draft.statement.query",
|
|
17856
|
+
"description": "How a reader takes this record's fields. Its `fields.locations` say where its subject is, as its writer says: a claim about the record at `subject.uri`, which counts as the subject's own location decides.",
|
|
17857
|
+
"defs": {
|
|
17858
|
+
"main": {
|
|
17859
|
+
"type": "queryDocument",
|
|
17860
|
+
"roles": {
|
|
17861
|
+
"location": "fields.locations"
|
|
17862
|
+
},
|
|
17863
|
+
"entries": "sites",
|
|
17864
|
+
"subject": "subject.uri"
|
|
17865
|
+
}
|
|
17866
|
+
}
|
|
17867
|
+
})
|
|
17868
|
+
},
|
|
16388
17869
|
{
|
|
16389
17870
|
"nsid": "pub.techne.draft.subjectPrefs",
|
|
16390
17871
|
"name": "draft.subjectPrefs",
|
|
@@ -16546,6 +18027,25 @@ export const catalog = {
|
|
|
16546
18027
|
}
|
|
16547
18028
|
]
|
|
16548
18029
|
},
|
|
18030
|
+
{
|
|
18031
|
+
"nsid": "pub.techne.draft.summary.query",
|
|
18032
|
+
"name": "draft.summary.query",
|
|
18033
|
+
"group": "pub.techne",
|
|
18034
|
+
"kind": "queryDocument",
|
|
18035
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
18036
|
+
"doc": ({
|
|
18037
|
+
"lexicon": 1,
|
|
18038
|
+
"id": "pub.techne.draft.summary.query",
|
|
18039
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
18040
|
+
"defs": {
|
|
18041
|
+
"main": {
|
|
18042
|
+
"type": "queryDocument",
|
|
18043
|
+
"roles": {},
|
|
18044
|
+
"subject": "subject.uri"
|
|
18045
|
+
}
|
|
18046
|
+
}
|
|
18047
|
+
})
|
|
18048
|
+
},
|
|
16549
18049
|
{
|
|
16550
18050
|
"nsid": "pub.techne.draft.sync.indexRecord",
|
|
16551
18051
|
"name": "draft.sync.indexRecord",
|
|
@@ -16729,6 +18229,25 @@ export const catalog = {
|
|
|
16729
18229
|
}
|
|
16730
18230
|
]
|
|
16731
18231
|
},
|
|
18232
|
+
{
|
|
18233
|
+
"nsid": "pub.techne.draft.tagFeedback.query",
|
|
18234
|
+
"name": "draft.tagFeedback.query",
|
|
18235
|
+
"group": "pub.techne",
|
|
18236
|
+
"kind": "queryDocument",
|
|
18237
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
18238
|
+
"doc": ({
|
|
18239
|
+
"lexicon": 1,
|
|
18240
|
+
"id": "pub.techne.draft.tagFeedback.query",
|
|
18241
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
18242
|
+
"defs": {
|
|
18243
|
+
"main": {
|
|
18244
|
+
"type": "queryDocument",
|
|
18245
|
+
"roles": {},
|
|
18246
|
+
"subject": "subject.uri"
|
|
18247
|
+
}
|
|
18248
|
+
}
|
|
18249
|
+
})
|
|
18250
|
+
},
|
|
16732
18251
|
{
|
|
16733
18252
|
"nsid": "pub.techne.draft.verdict",
|
|
16734
18253
|
"name": "draft.verdict",
|
|
@@ -16809,6 +18328,25 @@ export const catalog = {
|
|
|
16809
18328
|
}
|
|
16810
18329
|
]
|
|
16811
18330
|
},
|
|
18331
|
+
{
|
|
18332
|
+
"nsid": "pub.techne.draft.verdict.query",
|
|
18333
|
+
"name": "draft.verdict.query",
|
|
18334
|
+
"group": "pub.techne",
|
|
18335
|
+
"kind": "queryDocument",
|
|
18336
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
18337
|
+
"doc": ({
|
|
18338
|
+
"lexicon": 1,
|
|
18339
|
+
"id": "pub.techne.draft.verdict.query",
|
|
18340
|
+
"description": "How a reader takes this record's fields. It fills no query role. It is about the record at `subject.uri`, and a where read finds it there when asked to follow subjects.",
|
|
18341
|
+
"defs": {
|
|
18342
|
+
"main": {
|
|
18343
|
+
"type": "queryDocument",
|
|
18344
|
+
"roles": {},
|
|
18345
|
+
"subject": "subject.uri"
|
|
18346
|
+
}
|
|
18347
|
+
}
|
|
18348
|
+
})
|
|
18349
|
+
},
|
|
16812
18350
|
{
|
|
16813
18351
|
"nsid": "pub.techne.draft.verification",
|
|
16814
18352
|
"name": "draft.verification",
|
|
@@ -16994,7 +18532,8 @@ export const catalog = {
|
|
|
16994
18532
|
"pub.techne.draft.event.listing",
|
|
16995
18533
|
"pub.techne.draft.event.config",
|
|
16996
18534
|
"pub.techne.draft.rsvpNote",
|
|
16997
|
-
"pub.techne.draft.beaconSpot"
|
|
18535
|
+
"pub.techne.draft.beaconSpot",
|
|
18536
|
+
"pub.techne.draft.beaconSpotV2"
|
|
16998
18537
|
],
|
|
16999
18538
|
"policy": {
|
|
17000
18539
|
"read": {
|
|
@@ -17042,7 +18581,8 @@ export const catalog = {
|
|
|
17042
18581
|
"pub.techne.draft.event.listing",
|
|
17043
18582
|
"pub.techne.draft.event.config",
|
|
17044
18583
|
"pub.techne.draft.rsvpNote",
|
|
17045
|
-
"pub.techne.draft.beaconSpot"
|
|
18584
|
+
"pub.techne.draft.beaconSpot",
|
|
18585
|
+
"pub.techne.draft.beaconSpotV2"
|
|
17046
18586
|
]
|
|
17047
18587
|
}
|
|
17048
18588
|
}
|
|
@@ -17256,6 +18796,7 @@ export const catalog = {
|
|
|
17256
18796
|
"collections": [
|
|
17257
18797
|
"pub.techne.draft.membership",
|
|
17258
18798
|
"pub.techne.draft.collective",
|
|
18799
|
+
"pub.techne.draft.collectiveV2",
|
|
17259
18800
|
"pub.techne.draft.circleBeacon",
|
|
17260
18801
|
"pub.techne.draft.appAccess"
|
|
17261
18802
|
],
|
|
@@ -17289,6 +18830,7 @@ export const catalog = {
|
|
|
17289
18830
|
"collections": [
|
|
17290
18831
|
"pub.techne.draft.membership",
|
|
17291
18832
|
"pub.techne.draft.collective",
|
|
18833
|
+
"pub.techne.draft.collectiveV2",
|
|
17292
18834
|
"pub.techne.draft.circleBeacon",
|
|
17293
18835
|
"pub.techne.draft.appAccess"
|
|
17294
18836
|
]
|
|
@@ -17886,7 +19428,8 @@ export const catalog = {
|
|
|
17886
19428
|
"pub.techne.draft.appAccessRequest",
|
|
17887
19429
|
"pub.techne.draft.identity.linkRedemption",
|
|
17888
19430
|
"pub.techne.draft.weeklyCheckIn",
|
|
17889
|
-
"pub.techne.draft.pendingBeaconSpot"
|
|
19431
|
+
"pub.techne.draft.pendingBeaconSpot",
|
|
19432
|
+
"pub.techne.draft.pendingBeaconSpotV2"
|
|
17890
19433
|
],
|
|
17891
19434
|
"policy": {
|
|
17892
19435
|
"read": {
|
|
@@ -17928,7 +19471,8 @@ export const catalog = {
|
|
|
17928
19471
|
"pub.techne.draft.appAccessRequest",
|
|
17929
19472
|
"pub.techne.draft.identity.linkRedemption",
|
|
17930
19473
|
"pub.techne.draft.weeklyCheckIn",
|
|
17931
|
-
"pub.techne.draft.pendingBeaconSpot"
|
|
19474
|
+
"pub.techne.draft.pendingBeaconSpot",
|
|
19475
|
+
"pub.techne.draft.pendingBeaconSpotV2"
|
|
17932
19476
|
]
|
|
17933
19477
|
}
|
|
17934
19478
|
}
|
|
@@ -17989,14 +19533,14 @@ export const catalog = {
|
|
|
17989
19533
|
}
|
|
17990
19534
|
}),
|
|
17991
19535
|
"policyNsid": "pub.techne.draft.space.private.policy",
|
|
17992
|
-
"policyDescription": "Access policy for pub.techne.draft.space.private: owner only, all capabilities. Which of the owner's apps reach an instance follows from the call's `space:` scopes (a
|
|
19536
|
+
"policyDescription": "Access policy for pub.techne.draft.space.private: owner only, all capabilities. Which of the owner's apps reach an instance follows from the call's `space:` scopes (a call whose token carries no scope claim at all reaches every one; one whose claim, from Techne's ePDS, names no `space:` scope reaches none), not from this policy.",
|
|
17993
19537
|
"policyDoc": ({
|
|
17994
19538
|
"lexicon": 1,
|
|
17995
19539
|
"id": "pub.techne.draft.space.private.policy",
|
|
17996
19540
|
"defs": {
|
|
17997
19541
|
"main": {
|
|
17998
19542
|
"type": "spacePolicy",
|
|
17999
|
-
"description": "Access policy for pub.techne.draft.space.private: owner only, all capabilities. Which of the owner's apps reach an instance follows from the call's `space:` scopes (a
|
|
19543
|
+
"description": "Access policy for pub.techne.draft.space.private: owner only, all capabilities. Which of the owner's apps reach an instance follows from the call's `space:` scopes (a call whose token carries no scope claim at all reaches every one; one whose claim, from Techne's ePDS, names no `space:` scope reaches none), not from this policy.",
|
|
18000
19544
|
"policy": {
|
|
18001
19545
|
"read": {
|
|
18002
19546
|
"$type": "pub.techne.draft.policy#authorityOnly"
|
|
@@ -18410,6 +19954,7 @@ export const catalog = {
|
|
|
18410
19954
|
"pub.techne.draft.geo",
|
|
18411
19955
|
"pub.techne.draft.heldAt",
|
|
18412
19956
|
"pub.techne.draft.operator",
|
|
19957
|
+
"pub.techne.draft.region",
|
|
18413
19958
|
"pub.techne.draft.org",
|
|
18414
19959
|
"pub.techne.draft.orgAtPlace",
|
|
18415
19960
|
"pub.techne.draft.financials",
|
|
@@ -18443,9 +19988,11 @@ export const catalog = {
|
|
|
18443
19988
|
"pub.techne.draft.market.offer",
|
|
18444
19989
|
"pub.techne.draft.membership",
|
|
18445
19990
|
"pub.techne.draft.place",
|
|
19991
|
+
"pub.techne.draft.placeV2",
|
|
18446
19992
|
"pub.techne.draft.presence",
|
|
18447
19993
|
"pub.techne.draft.actor.profile",
|
|
18448
19994
|
"pub.techne.draft.collective",
|
|
19995
|
+
"pub.techne.draft.collectiveV2",
|
|
18449
19996
|
"community.lexicon.calendar.event",
|
|
18450
19997
|
"community.lexicon.calendar.rsvp",
|
|
18451
19998
|
"org.hypercerts.funding.receipt"
|
|
@@ -18495,6 +20042,21 @@ export const catalog = {
|
|
|
18495
20042
|
"collection": "pub.techne.draft.share",
|
|
18496
20043
|
"space": "pub.techne.draft.space.event.invite",
|
|
18497
20044
|
"cite": "RET1 (2026-10-27): requestToJoin, the only writer (a join-link redemption authored the authority's `share` in the event's invite space), was retired with no caller; kept declared so existing shares still admit their readers through the space's sharedWith leg, no writer now"
|
|
20045
|
+
},
|
|
20046
|
+
{
|
|
20047
|
+
"collection": "pub.techne.draft.collectiveV2",
|
|
20048
|
+
"space": "pub.techne.draft.space.collective.member",
|
|
20049
|
+
"cite": "wiki/architecture/data-layer.md, The record set, the collectiveV2 row (location v2 audit, checklist 3fcc902b, 2026-11-27): the V2 type is declared where the type it replaces lives; its writers and readers move in checklist d589f2ff. Delete this entry when its writer lands."
|
|
20050
|
+
},
|
|
20051
|
+
{
|
|
20052
|
+
"collection": "pub.techne.draft.beaconSpotV2",
|
|
20053
|
+
"space": "pub.techne.draft.space.beacon",
|
|
20054
|
+
"cite": "wiki/architecture/data-layer.md, The record set, the beaconSpotV2 row (location v2 audit, checklist 3fcc902b, 2026-11-27): the V2 type is declared where the type it replaces lives; its writers and readers move in checklist d589f2ff. Delete this entry when its writer lands."
|
|
20055
|
+
},
|
|
20056
|
+
{
|
|
20057
|
+
"collection": "pub.techne.draft.pendingBeaconSpotV2",
|
|
20058
|
+
"space": "pub.techne.draft.space.personal",
|
|
20059
|
+
"cite": "wiki/architecture/data-layer.md, The record set, the pendingBeaconSpotV2 row (location v2 audit, checklist 3fcc902b, 2026-11-27): the V2 type is declared where the type it replaces lives; its writers and readers move in checklist d589f2ff. Delete this entry when its writer lands."
|
|
18498
20060
|
}
|
|
18499
20061
|
],
|
|
18500
20062
|
"doc": ({
|
|
@@ -18516,6 +20078,7 @@ export const catalog = {
|
|
|
18516
20078
|
"pub.techne.draft.geo",
|
|
18517
20079
|
"pub.techne.draft.heldAt",
|
|
18518
20080
|
"pub.techne.draft.operator",
|
|
20081
|
+
"pub.techne.draft.region",
|
|
18519
20082
|
"pub.techne.draft.org",
|
|
18520
20083
|
"pub.techne.draft.orgAtPlace",
|
|
18521
20084
|
"pub.techne.draft.financials",
|
|
@@ -18549,9 +20112,11 @@ export const catalog = {
|
|
|
18549
20112
|
"pub.techne.draft.market.offer",
|
|
18550
20113
|
"pub.techne.draft.membership",
|
|
18551
20114
|
"pub.techne.draft.place",
|
|
20115
|
+
"pub.techne.draft.placeV2",
|
|
18552
20116
|
"pub.techne.draft.presence",
|
|
18553
20117
|
"pub.techne.draft.actor.profile",
|
|
18554
20118
|
"pub.techne.draft.collective",
|
|
20119
|
+
"pub.techne.draft.collectiveV2",
|
|
18555
20120
|
"community.lexicon.calendar.event",
|
|
18556
20121
|
"community.lexicon.calendar.rsvp",
|
|
18557
20122
|
"org.hypercerts.funding.receipt"
|
|
@@ -18604,6 +20169,21 @@ export const catalog = {
|
|
|
18604
20169
|
"collection": "pub.techne.draft.share",
|
|
18605
20170
|
"space": "pub.techne.draft.space.event.invite",
|
|
18606
20171
|
"cite": "RET1 (2026-10-27): requestToJoin, the only writer (a join-link redemption authored the authority's `share` in the event's invite space), was retired with no caller; kept declared so existing shares still admit their readers through the space's sharedWith leg, no writer now"
|
|
20172
|
+
},
|
|
20173
|
+
{
|
|
20174
|
+
"collection": "pub.techne.draft.collectiveV2",
|
|
20175
|
+
"space": "pub.techne.draft.space.collective.member",
|
|
20176
|
+
"cite": "wiki/architecture/data-layer.md, The record set, the collectiveV2 row (location v2 audit, checklist 3fcc902b, 2026-11-27): the V2 type is declared where the type it replaces lives; its writers and readers move in checklist d589f2ff. Delete this entry when its writer lands."
|
|
20177
|
+
},
|
|
20178
|
+
{
|
|
20179
|
+
"collection": "pub.techne.draft.beaconSpotV2",
|
|
20180
|
+
"space": "pub.techne.draft.space.beacon",
|
|
20181
|
+
"cite": "wiki/architecture/data-layer.md, The record set, the beaconSpotV2 row (location v2 audit, checklist 3fcc902b, 2026-11-27): the V2 type is declared where the type it replaces lives; its writers and readers move in checklist d589f2ff. Delete this entry when its writer lands."
|
|
20182
|
+
},
|
|
20183
|
+
{
|
|
20184
|
+
"collection": "pub.techne.draft.pendingBeaconSpotV2",
|
|
20185
|
+
"space": "pub.techne.draft.space.personal",
|
|
20186
|
+
"cite": "wiki/architecture/data-layer.md, The record set, the pendingBeaconSpotV2 row (location v2 audit, checklist 3fcc902b, 2026-11-27): the V2 type is declared where the type it replaces lives; its writers and readers move in checklist d589f2ff. Delete this entry when its writer lands."
|
|
18607
20187
|
}
|
|
18608
20188
|
]
|
|
18609
20189
|
}
|
|
@@ -18796,6 +20376,104 @@ export const catalog = {
|
|
|
18796
20376
|
}
|
|
18797
20377
|
})
|
|
18798
20378
|
},
|
|
20379
|
+
{
|
|
20380
|
+
"nsid": "social.scenius.ackOwnLinkRedemptions",
|
|
20381
|
+
"name": "ackOwnLinkRedemptions",
|
|
20382
|
+
"group": "social.scenius",
|
|
20383
|
+
"kind": "procedure",
|
|
20384
|
+
"class": "write",
|
|
20385
|
+
"description": "The caller's own app has acted on these redemptions from social.scenius.listOwnLinkRedemptions: they are not listed again. Each is named by its link id and redeemer. Only the caller's own rows the platform left to its app and not yet acked are acked; any other entry (another account's, unknown, already acked) is ignored. Idempotent.",
|
|
20386
|
+
"input": [
|
|
20387
|
+
{
|
|
20388
|
+
"name": "redemptions",
|
|
20389
|
+
"type": "array<→ #redemptionRef>",
|
|
20390
|
+
"required": true
|
|
20391
|
+
},
|
|
20392
|
+
{
|
|
20393
|
+
"name": "app",
|
|
20394
|
+
"type": "string",
|
|
20395
|
+
"required": false,
|
|
20396
|
+
"description": "Only rows of links labelled with this `app`, as listOwnLinkRedemptions' `app`; others named are ignored. Omitted: any app's."
|
|
20397
|
+
}
|
|
20398
|
+
],
|
|
20399
|
+
"output": [
|
|
20400
|
+
{
|
|
20401
|
+
"name": "acked",
|
|
20402
|
+
"type": "integer",
|
|
20403
|
+
"required": true,
|
|
20404
|
+
"description": "How many rows this call acked."
|
|
20405
|
+
}
|
|
20406
|
+
],
|
|
20407
|
+
"doc": ({
|
|
20408
|
+
"lexicon": 1,
|
|
20409
|
+
"id": "social.scenius.ackOwnLinkRedemptions",
|
|
20410
|
+
"defs": {
|
|
20411
|
+
"main": {
|
|
20412
|
+
"type": "procedure",
|
|
20413
|
+
"description": "The caller's own app has acted on these redemptions from social.scenius.listOwnLinkRedemptions: they are not listed again. Each is named by its link id and redeemer. Only the caller's own rows the platform left to its app and not yet acked are acked; any other entry (another account's, unknown, already acked) is ignored. Idempotent.",
|
|
20414
|
+
"input": {
|
|
20415
|
+
"encoding": "application/json",
|
|
20416
|
+
"schema": {
|
|
20417
|
+
"type": "object",
|
|
20418
|
+
"required": [
|
|
20419
|
+
"redemptions"
|
|
20420
|
+
],
|
|
20421
|
+
"properties": {
|
|
20422
|
+
"redemptions": {
|
|
20423
|
+
"type": "array",
|
|
20424
|
+
"minLength": 1,
|
|
20425
|
+
"maxLength": 200,
|
|
20426
|
+
"items": {
|
|
20427
|
+
"type": "ref",
|
|
20428
|
+
"ref": "#redemptionRef"
|
|
20429
|
+
}
|
|
20430
|
+
},
|
|
20431
|
+
"app": {
|
|
20432
|
+
"type": "string",
|
|
20433
|
+
"minLength": 1,
|
|
20434
|
+
"maxLength": 256,
|
|
20435
|
+
"description": "Only rows of links labelled with this `app`, as listOwnLinkRedemptions' `app`; others named are ignored. Omitted: any app's."
|
|
20436
|
+
}
|
|
20437
|
+
}
|
|
20438
|
+
}
|
|
20439
|
+
},
|
|
20440
|
+
"output": {
|
|
20441
|
+
"encoding": "application/json",
|
|
20442
|
+
"schema": {
|
|
20443
|
+
"type": "object",
|
|
20444
|
+
"required": [
|
|
20445
|
+
"acked"
|
|
20446
|
+
],
|
|
20447
|
+
"properties": {
|
|
20448
|
+
"acked": {
|
|
20449
|
+
"type": "integer",
|
|
20450
|
+
"minimum": 0,
|
|
20451
|
+
"description": "How many rows this call acked."
|
|
20452
|
+
}
|
|
20453
|
+
}
|
|
20454
|
+
}
|
|
20455
|
+
}
|
|
20456
|
+
},
|
|
20457
|
+
"redemptionRef": {
|
|
20458
|
+
"type": "object",
|
|
20459
|
+
"required": [
|
|
20460
|
+
"link",
|
|
20461
|
+
"redeemer"
|
|
20462
|
+
],
|
|
20463
|
+
"properties": {
|
|
20464
|
+
"link": {
|
|
20465
|
+
"type": "string",
|
|
20466
|
+
"description": "The link's id at the identity PDS."
|
|
20467
|
+
},
|
|
20468
|
+
"redeemer": {
|
|
20469
|
+
"type": "string",
|
|
20470
|
+
"format": "did"
|
|
20471
|
+
}
|
|
20472
|
+
}
|
|
20473
|
+
}
|
|
20474
|
+
}
|
|
20475
|
+
})
|
|
20476
|
+
},
|
|
18799
20477
|
{
|
|
18800
20478
|
"nsid": "social.scenius.addBeaconAudience",
|
|
18801
20479
|
"name": "addBeaconAudience",
|
|
@@ -29311,6 +30989,101 @@ export const catalog = {
|
|
|
29311
30989
|
}
|
|
29312
30990
|
})
|
|
29313
30991
|
},
|
|
30992
|
+
{
|
|
30993
|
+
"nsid": "social.scenius.listOwnLinkRedemptions",
|
|
30994
|
+
"name": "listOwnLinkRedemptions",
|
|
30995
|
+
"group": "social.scenius",
|
|
30996
|
+
"kind": "query",
|
|
30997
|
+
"class": "read",
|
|
30998
|
+
"description": "The redemptions of the caller's links that the platform left to the caller's own app and the app has not acked yet, newest first, at most 200. For an account whose app holds its own session the platform writes nothing as the account because someone tapped one of its links: a redemption of a link with no grant whose target is a record in the caller's own repo (a contact link, to a saved person, `contact`; or a share link to another record of the caller's, which an app with its own session makes without a grant), whichever build made it, or of an older build's link whose grant writes as the caller (an app's share link) is closed with nothing written, and listed here. A grantless link whose target is a DID (a personal \"add me\" link) is never listed, nor is a collective's link (its grant writes as the collective and is released). These are the rows the platform closed that way, not ones it acted on; a later revoke of the link does not remove a row. The app acts on each row itself, in the foreground, as the account (bind the contact to the redeemer; share the link's target with the redeemer), whichever device or build made the link, then acks it with social.scenius.ackOwnLinkRedemptions. An unacked row is listed again on the next call; an acked row never is, so something the owner removed later is not written back. A repeat redemption of a reusable link is listed again. A redemption by the caller (any account of the caller's person) or across a block either way is never listed: a row that becomes so after it was closed is acked by this call and left out. Says nothing about the target as it is now: the app reads it at its home before it writes, and writes only where nothing is there yet. An unacked row is kept up to 366 days after the platform received it, an acked one 30 days.",
|
|
30999
|
+
"params": [
|
|
31000
|
+
{
|
|
31001
|
+
"name": "app",
|
|
31002
|
+
"type": "string",
|
|
31003
|
+
"required": false,
|
|
31004
|
+
"description": "Only redemptions of links whose maker labelled them with this `app` (createLinkToken's `app`). Omitted: every app's. The platform cannot tell on its own which app a row is for (a link's `app` is its maker's label, not an OAuth client), so an app passes the label it makes its links with and acks with the same `app`; rows another app of the account leaves unacked then never fill its 200."
|
|
31005
|
+
}
|
|
31006
|
+
],
|
|
31007
|
+
"output": [
|
|
31008
|
+
{
|
|
31009
|
+
"name": "redemptions",
|
|
31010
|
+
"type": "array<→ #redemption>",
|
|
31011
|
+
"required": true
|
|
31012
|
+
}
|
|
31013
|
+
],
|
|
31014
|
+
"doc": ({
|
|
31015
|
+
"lexicon": 1,
|
|
31016
|
+
"id": "social.scenius.listOwnLinkRedemptions",
|
|
31017
|
+
"defs": {
|
|
31018
|
+
"main": {
|
|
31019
|
+
"type": "query",
|
|
31020
|
+
"description": "The redemptions of the caller's links that the platform left to the caller's own app and the app has not acked yet, newest first, at most 200. For an account whose app holds its own session the platform writes nothing as the account because someone tapped one of its links: a redemption of a link with no grant whose target is a record in the caller's own repo (a contact link, to a saved person, `contact`; or a share link to another record of the caller's, which an app with its own session makes without a grant), whichever build made it, or of an older build's link whose grant writes as the caller (an app's share link) is closed with nothing written, and listed here. A grantless link whose target is a DID (a personal \"add me\" link) is never listed, nor is a collective's link (its grant writes as the collective and is released). These are the rows the platform closed that way, not ones it acted on; a later revoke of the link does not remove a row. The app acts on each row itself, in the foreground, as the account (bind the contact to the redeemer; share the link's target with the redeemer), whichever device or build made the link, then acks it with social.scenius.ackOwnLinkRedemptions. An unacked row is listed again on the next call; an acked row never is, so something the owner removed later is not written back. A repeat redemption of a reusable link is listed again. A redemption by the caller (any account of the caller's person) or across a block either way is never listed: a row that becomes so after it was closed is acked by this call and left out. Says nothing about the target as it is now: the app reads it at its home before it writes, and writes only where nothing is there yet. An unacked row is kept up to 366 days after the platform received it, an acked one 30 days.",
|
|
31021
|
+
"parameters": {
|
|
31022
|
+
"type": "params",
|
|
31023
|
+
"properties": {
|
|
31024
|
+
"app": {
|
|
31025
|
+
"type": "string",
|
|
31026
|
+
"minLength": 1,
|
|
31027
|
+
"maxLength": 256,
|
|
31028
|
+
"description": "Only redemptions of links whose maker labelled them with this `app` (createLinkToken's `app`). Omitted: every app's. The platform cannot tell on its own which app a row is for (a link's `app` is its maker's label, not an OAuth client), so an app passes the label it makes its links with and acks with the same `app`; rows another app of the account leaves unacked then never fill its 200."
|
|
31029
|
+
}
|
|
31030
|
+
}
|
|
31031
|
+
},
|
|
31032
|
+
"output": {
|
|
31033
|
+
"encoding": "application/json",
|
|
31034
|
+
"schema": {
|
|
31035
|
+
"type": "object",
|
|
31036
|
+
"required": [
|
|
31037
|
+
"redemptions"
|
|
31038
|
+
],
|
|
31039
|
+
"properties": {
|
|
31040
|
+
"redemptions": {
|
|
31041
|
+
"type": "array",
|
|
31042
|
+
"items": {
|
|
31043
|
+
"type": "ref",
|
|
31044
|
+
"ref": "#redemption"
|
|
31045
|
+
}
|
|
31046
|
+
}
|
|
31047
|
+
}
|
|
31048
|
+
}
|
|
31049
|
+
}
|
|
31050
|
+
},
|
|
31051
|
+
"redemption": {
|
|
31052
|
+
"type": "object",
|
|
31053
|
+
"required": [
|
|
31054
|
+
"link",
|
|
31055
|
+
"app",
|
|
31056
|
+
"target",
|
|
31057
|
+
"redeemer",
|
|
31058
|
+
"redeemedAt"
|
|
31059
|
+
],
|
|
31060
|
+
"properties": {
|
|
31061
|
+
"link": {
|
|
31062
|
+
"type": "string",
|
|
31063
|
+
"description": "The link's id at the identity PDS. With `redeemer`, what ackOwnLinkRedemptions takes."
|
|
31064
|
+
},
|
|
31065
|
+
"app": {
|
|
31066
|
+
"type": "string",
|
|
31067
|
+
"description": "The app the link was made for, as its maker labelled it."
|
|
31068
|
+
},
|
|
31069
|
+
"target": {
|
|
31070
|
+
"type": "string",
|
|
31071
|
+
"format": "uri",
|
|
31072
|
+
"description": "The link's target, as made: an AT-URI of a record in the caller's repo (a `contact` for a contact link, else the record a share link is for), or for an older build's grant link what its grant is for, an AT-URI or DID of the caller."
|
|
31073
|
+
},
|
|
31074
|
+
"redeemer": {
|
|
31075
|
+
"type": "string",
|
|
31076
|
+
"format": "did"
|
|
31077
|
+
},
|
|
31078
|
+
"redeemedAt": {
|
|
31079
|
+
"type": "string",
|
|
31080
|
+
"format": "datetime"
|
|
31081
|
+
}
|
|
31082
|
+
}
|
|
31083
|
+
}
|
|
31084
|
+
}
|
|
31085
|
+
})
|
|
31086
|
+
},
|
|
29314
31087
|
{
|
|
29315
31088
|
"nsid": "social.scenius.matchAsk",
|
|
29316
31089
|
"name": "matchAsk",
|
|
@@ -34765,9 +36538,9 @@ export const catalog = {
|
|
|
34765
36538
|
}
|
|
34766
36539
|
],
|
|
34767
36540
|
"counts": {
|
|
34768
|
-
"records":
|
|
36541
|
+
"records": 200,
|
|
34769
36542
|
"spaces": 13,
|
|
34770
36543
|
"predicates": 9,
|
|
34771
|
-
"methods":
|
|
36544
|
+
"methods": 132
|
|
34772
36545
|
}
|
|
34773
36546
|
};
|