techne-sdk 0.3.2 → 0.3.3

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.
@@ -1349,7 +1349,7 @@ export const schemaDict = {
1349
1349
  },
1350
1350
  answers: {
1351
1351
  type: 'array',
1352
- maxLength: 200,
1352
+ maxLength: 1000,
1353
1353
  items: {
1354
1354
  type: 'ref',
1355
1355
  ref: 'lex:pub.techne.draft.assessment#answer',
@@ -1357,7 +1357,7 @@ export const schemaDict = {
1357
1357
  },
1358
1358
  missing: {
1359
1359
  type: 'array',
1360
- maxLength: 200,
1360
+ maxLength: 1000,
1361
1361
  items: {
1362
1362
  type: 'ref',
1363
1363
  ref: 'lex:pub.techne.draft.assessment#missingAnswer',
@@ -1647,6 +1647,12 @@ export const schemaDict = {
1647
1647
  maxGraphemes: 256,
1648
1648
  description: 'A free-form description of the collective.',
1649
1649
  },
1650
+ emoji: {
1651
+ type: 'string',
1652
+ maxLength: 64,
1653
+ maxGraphemes: 1,
1654
+ 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.",
1655
+ },
1650
1656
  collectiveType: {
1651
1657
  type: 'string',
1652
1658
  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, where every member holds role 40 (where the platform holds the circle\'s credential, any member may add, remove and rename and nobody deletes it; a circle whose DID someone else holds is managed by its holder), and which a pub.techne.draft.accessRule#groupTarget may name.',
@@ -5917,6 +5923,157 @@ export const schemaDict = {
5917
5923
  },
5918
5924
  },
5919
5925
  },
5926
+ PubTechneDraftPlaceResearch: {
5927
+ lexicon: 1,
5928
+ id: 'pub.techne.draft.placeResearch',
5929
+ description: 'What open-web research found about a place: its kind, a short description of what going there is like, facts such as alcohol, food, step-free access and dogs, venue-level tags, and the sources read. A sidecar about the place; its derivation names the method and model. Written by a research rule in its own repo. PUBLIC.',
5930
+ defs: {
5931
+ main: {
5932
+ type: 'record',
5933
+ key: 'any',
5934
+ description: 'Publishers use sidecar_rkey(subject AT-URI), one research record per place per writer. `any` permits that convention but cannot enforce it.',
5935
+ record: {
5936
+ type: 'object',
5937
+ required: ['subject', 'createdAt'],
5938
+ properties: {
5939
+ subject: {
5940
+ type: 'ref',
5941
+ ref: 'lex:com.atproto.repo.strongRef',
5942
+ description: 'The curated place this is about.',
5943
+ },
5944
+ kind: {
5945
+ type: 'string',
5946
+ maxLength: 64,
5947
+ knownValues: [
5948
+ 'bar',
5949
+ 'music_venue',
5950
+ 'comedy_club',
5951
+ 'theatre',
5952
+ 'cinema',
5953
+ 'gallery_museum',
5954
+ 'library',
5955
+ 'park',
5956
+ 'community_centre',
5957
+ 'cafe',
5958
+ 'restaurant',
5959
+ 'place_of_worship',
5960
+ 'school_campus',
5961
+ 'sports_venue',
5962
+ 'shop',
5963
+ 'outdoor_space',
5964
+ 'event_space',
5965
+ 'hotel',
5966
+ 'farm',
5967
+ 'not_a_venue',
5968
+ 'other',
5969
+ ],
5970
+ description: 'What kind of place it is. not_a_venue: the place is not somewhere people go for events (an address, a region, an online-only organiser).',
5971
+ },
5972
+ about: {
5973
+ type: 'string',
5974
+ maxLength: 2000,
5975
+ maxGraphemes: 600,
5976
+ description: 'Two or three plain sentences on what going there is like.',
5977
+ },
5978
+ website: {
5979
+ type: 'string',
5980
+ format: 'uri',
5981
+ description: "The place's own website, when research found one.",
5982
+ },
5983
+ facts: {
5984
+ type: 'array',
5985
+ maxLength: 32,
5986
+ items: {
5987
+ type: 'ref',
5988
+ ref: 'lex:pub.techne.draft.placeResearch#fact',
5989
+ },
5990
+ },
5991
+ tags: {
5992
+ type: 'array',
5993
+ maxLength: 200,
5994
+ items: {
5995
+ type: 'ref',
5996
+ ref: 'lex:pub.techne.draft.placeResearch#tag',
5997
+ },
5998
+ description: 'Venue-level tags: whether each applies to the place as a whole.',
5999
+ },
6000
+ sources: {
6001
+ type: 'array',
6002
+ maxLength: 16,
6003
+ items: {
6004
+ type: 'string',
6005
+ format: 'uri',
6006
+ },
6007
+ description: 'The pages research read.',
6008
+ },
6009
+ confidence: {
6010
+ type: 'string',
6011
+ knownValues: ['high', 'medium', 'low'],
6012
+ description: 'How sure the research is, overall.',
6013
+ },
6014
+ createdAt: {
6015
+ type: 'string',
6016
+ format: 'datetime',
6017
+ },
6018
+ },
6019
+ },
6020
+ },
6021
+ fact: {
6022
+ type: 'object',
6023
+ required: ['name', 'value'],
6024
+ properties: {
6025
+ name: {
6026
+ type: 'string',
6027
+ maxLength: 64,
6028
+ knownValues: [
6029
+ 'serves_alcohol',
6030
+ 'serves_food',
6031
+ 'step_free_entrance',
6032
+ 'wheelchair_accessible',
6033
+ 'accessible_toilet',
6034
+ 'dog_friendly',
6035
+ 'outdoor_area',
6036
+ 'seated',
6037
+ 'kid_friendly',
6038
+ 'drink_minimum',
6039
+ 'door_policy',
6040
+ 'typical_price',
6041
+ ],
6042
+ },
6043
+ value: {
6044
+ type: 'string',
6045
+ maxLength: 32,
6046
+ description: 'yes, no or unknown; for door_policy one of all_ages, 18_plus, 21_plus, varies, unknown; for typical_price one of free, under_20, 20_50, 50_plus, varies, unknown.',
6047
+ },
6048
+ evidence: {
6049
+ type: 'string',
6050
+ maxLength: 400,
6051
+ description: 'What the source said, briefly.',
6052
+ },
6053
+ source: {
6054
+ type: 'string',
6055
+ format: 'uri',
6056
+ description: 'The page the evidence is from.',
6057
+ },
6058
+ },
6059
+ },
6060
+ tag: {
6061
+ type: 'object',
6062
+ required: ['id', 'value'],
6063
+ properties: {
6064
+ id: {
6065
+ type: 'string',
6066
+ maxLength: 128,
6067
+ description: "The tag's id.",
6068
+ },
6069
+ value: {
6070
+ type: 'string',
6071
+ knownValues: ['yes', 'no'],
6072
+ },
6073
+ },
6074
+ },
6075
+ },
6076
+ },
5920
6077
  PubTechneDraftPost: {
5921
6078
  lexicon: 1,
5922
6079
  id: 'pub.techne.draft.post',
@@ -7285,6 +7442,11 @@ export const schemaDict = {
7285
7442
  type: 'string',
7286
7443
  maxLength: 256,
7287
7444
  },
7445
+ howToAnswer: {
7446
+ type: 'string',
7447
+ maxLength: 8192,
7448
+ description: "Answering instructions shared by every question in this set, stated once. Each question's prompt is then its own text, asked under these instructions.",
7449
+ },
7288
7450
  questions: {
7289
7451
  type: 'array',
7290
7452
  items: {
@@ -7292,7 +7454,7 @@ export const schemaDict = {
7292
7454
  ref: 'lex:pub.techne.draft.questionSet#question',
7293
7455
  },
7294
7456
  minLength: 1,
7295
- maxLength: 200,
7457
+ maxLength: 1000,
7296
7458
  },
7297
7459
  },
7298
7460
  },
@@ -7317,6 +7479,7 @@ export const schemaDict = {
7317
7479
  prompt: {
7318
7480
  type: 'string',
7319
7481
  maxLength: 8192,
7482
+ description: "What is asked for this question. With a set's howToAnswer, it is the question's own text and the shared instructions are howToAnswer's.",
7320
7483
  },
7321
7484
  criteria: {
7322
7485
  type: 'array',
@@ -8725,6 +8888,39 @@ export const schemaDict = {
8725
8888
  },
8726
8889
  },
8727
8890
  },
8891
+ PubTechneDraftSummary: {
8892
+ lexicon: 1,
8893
+ id: 'pub.techne.draft.summary',
8894
+ description: 'A short factual line saying what a record is, for a card. Facts only; it names no venue, town, date or time, which the card shows from the record itself. Its derivation names the method and model. A sidecar about a curated record, written by a rule in its own repo. PUBLIC.',
8895
+ defs: {
8896
+ main: {
8897
+ type: 'record',
8898
+ key: 'any',
8899
+ description: 'Publishers use sidecar_rkey(subject AT-URI), one summary per record per writer. `any` permits that convention but cannot enforce it.',
8900
+ record: {
8901
+ type: 'object',
8902
+ required: ['subject', 'text', 'createdAt'],
8903
+ properties: {
8904
+ subject: {
8905
+ type: 'ref',
8906
+ ref: 'lex:com.atproto.repo.strongRef',
8907
+ description: 'The record this summarises.',
8908
+ },
8909
+ text: {
8910
+ type: 'string',
8911
+ maxLength: 400,
8912
+ maxGraphemes: 100,
8913
+ description: 'The line, as plain text.',
8914
+ },
8915
+ createdAt: {
8916
+ type: 'string',
8917
+ format: 'datetime',
8918
+ },
8919
+ },
8920
+ },
8921
+ },
8922
+ },
8923
+ },
8728
8924
  PubTechneDraftSyncIndexRecord: {
8729
8925
  lexicon: 1,
8730
8926
  id: 'pub.techne.draft.sync.indexRecord',
@@ -10364,6 +10560,7 @@ export const ids = {
10364
10560
  PubTechneDraftPermissionedPutRecord: 'pub.techne.draft.permissioned.putRecord',
10365
10561
  PubTechneDraftPermissionedPutRecords: 'pub.techne.draft.permissioned.putRecords',
10366
10562
  PubTechneDraftPlace: 'pub.techne.draft.place',
10563
+ PubTechneDraftPlaceResearch: 'pub.techne.draft.placeResearch',
10367
10564
  PubTechneDraftPost: 'pub.techne.draft.post',
10368
10565
  PubTechneDraftPresence: 'pub.techne.draft.presence',
10369
10566
  PubTechneDraftProfile: 'pub.techne.draft.profile',
@@ -10397,6 +10594,7 @@ export const ids = {
10397
10594
  PubTechneDraftSourceAttribution: 'pub.techne.draft.sourceAttribution',
10398
10595
  PubTechneDraftSourceRef: 'pub.techne.draft.sourceRef',
10399
10596
  PubTechneDraftSubjectPrefs: 'pub.techne.draft.subjectPrefs',
10597
+ PubTechneDraftSummary: 'pub.techne.draft.summary',
10400
10598
  PubTechneDraftSyncIndexRecord: 'pub.techne.draft.sync.indexRecord',
10401
10599
  PubTechneDraftVerdict: 'pub.techne.draft.verdict',
10402
10600
  PubTechneDraftVerification: 'pub.techne.draft.verification',
@@ -155,6 +155,9 @@ export declare const NSID: {
155
155
  readonly PLACEMENT: "pub.techne.draft.placement";
156
156
  readonly PLACE_EXTERNAL_REF: "pub.techne.draft.place#externalRef";
157
157
  readonly PLACE_QUERY: "pub.techne.draft.place.query";
158
+ readonly PLACE_RESEARCH: "pub.techne.draft.placeResearch";
159
+ readonly PLACE_RESEARCH_FACT: "pub.techne.draft.placeResearch#fact";
160
+ readonly PLACE_RESEARCH_TAG: "pub.techne.draft.placeResearch#tag";
158
161
  readonly POLICY: "pub.techne.draft.policy";
159
162
  readonly POLICY_ALL: "pub.techne.draft.policy#all";
160
163
  readonly POLICY_ANY: "pub.techne.draft.policy#any";
@@ -260,6 +263,7 @@ export declare const NSID: {
260
263
  readonly SPACE_SOURCE: "pub.techne.draft.space.source";
261
264
  readonly SPACE_SOURCE_POLICY: "pub.techne.draft.space.source.policy";
262
265
  readonly SUBJECT_PREFS: "pub.techne.draft.subjectPrefs";
266
+ readonly SUMMARY: "pub.techne.draft.summary";
263
267
  readonly SYNC_INDEX_RECORD: "pub.techne.draft.sync.indexRecord";
264
268
  readonly VERDICT: "pub.techne.draft.verdict";
265
269
  readonly VERIFICATION: "pub.techne.draft.verification";
@@ -351,6 +355,9 @@ export declare const METHOD: {
351
355
  readonly GET_DETAIL: "social.scenius.getDetail";
352
356
  readonly GET_EVENT: "social.scenius.getEvent";
353
357
  readonly GET_EVENTS: "social.scenius.getEvents";
358
+ readonly GET_EVENT_ANNOTATIONS: "social.scenius.getEventAnnotations";
359
+ readonly GET_EVENT_ANNOTATIONS_ANNOTATION: "social.scenius.getEventAnnotations#annotation";
360
+ readonly GET_EVENT_ANNOTATIONS_ANSWER: "social.scenius.getEventAnnotations#answer";
354
361
  readonly GET_EVENT_ATTENDANCE: "social.scenius.getEventAttendance";
355
362
  readonly GET_EVENT_BEACON: "social.scenius.getEvent#beacon";
356
363
  readonly GET_EVENT_DECLINED: "social.scenius.getEvent#declined";
@@ -159,6 +159,9 @@ export const NSID = {
159
159
  PLACEMENT: 'pub.techne.draft.placement',
160
160
  PLACE_EXTERNAL_REF: 'pub.techne.draft.place#externalRef',
161
161
  PLACE_QUERY: 'pub.techne.draft.place.query',
162
+ PLACE_RESEARCH: 'pub.techne.draft.placeResearch',
163
+ PLACE_RESEARCH_FACT: 'pub.techne.draft.placeResearch#fact',
164
+ PLACE_RESEARCH_TAG: 'pub.techne.draft.placeResearch#tag',
162
165
  POLICY: 'pub.techne.draft.policy',
163
166
  POLICY_ALL: 'pub.techne.draft.policy#all',
164
167
  POLICY_ANY: 'pub.techne.draft.policy#any',
@@ -264,6 +267,7 @@ export const NSID = {
264
267
  SPACE_SOURCE: 'pub.techne.draft.space.source',
265
268
  SPACE_SOURCE_POLICY: 'pub.techne.draft.space.source.policy',
266
269
  SUBJECT_PREFS: 'pub.techne.draft.subjectPrefs',
270
+ SUMMARY: 'pub.techne.draft.summary',
267
271
  SYNC_INDEX_RECORD: 'pub.techne.draft.sync.indexRecord',
268
272
  VERDICT: 'pub.techne.draft.verdict',
269
273
  VERIFICATION: 'pub.techne.draft.verification',
@@ -355,6 +359,9 @@ export const METHOD = {
355
359
  GET_DETAIL: 'social.scenius.getDetail',
356
360
  GET_EVENT: 'social.scenius.getEvent',
357
361
  GET_EVENTS: 'social.scenius.getEvents',
362
+ GET_EVENT_ANNOTATIONS: 'social.scenius.getEventAnnotations',
363
+ GET_EVENT_ANNOTATIONS_ANNOTATION: 'social.scenius.getEventAnnotations#annotation',
364
+ GET_EVENT_ANNOTATIONS_ANSWER: 'social.scenius.getEventAnnotations#answer',
358
365
  GET_EVENT_ATTENDANCE: 'social.scenius.getEventAttendance',
359
366
  GET_EVENT_BEACON: 'social.scenius.getEvent#beacon',
360
367
  GET_EVENT_DECLINED: 'social.scenius.getEvent#declined',
@@ -155,6 +155,9 @@
155
155
  "PLACEMENT": "pub.techne.draft.placement",
156
156
  "PLACE_EXTERNAL_REF": "pub.techne.draft.place#externalRef",
157
157
  "PLACE_QUERY": "pub.techne.draft.place.query",
158
+ "PLACE_RESEARCH": "pub.techne.draft.placeResearch",
159
+ "PLACE_RESEARCH_FACT": "pub.techne.draft.placeResearch#fact",
160
+ "PLACE_RESEARCH_TAG": "pub.techne.draft.placeResearch#tag",
158
161
  "POLICY": "pub.techne.draft.policy",
159
162
  "POLICY_ALL": "pub.techne.draft.policy#all",
160
163
  "POLICY_ANY": "pub.techne.draft.policy#any",
@@ -260,6 +263,7 @@
260
263
  "SPACE_SOURCE": "pub.techne.draft.space.source",
261
264
  "SPACE_SOURCE_POLICY": "pub.techne.draft.space.source.policy",
262
265
  "SUBJECT_PREFS": "pub.techne.draft.subjectPrefs",
266
+ "SUMMARY": "pub.techne.draft.summary",
263
267
  "SYNC_INDEX_RECORD": "pub.techne.draft.sync.indexRecord",
264
268
  "VERDICT": "pub.techne.draft.verdict",
265
269
  "VERIFICATION": "pub.techne.draft.verification",
@@ -350,6 +354,9 @@
350
354
  "GET_DETAIL": "social.scenius.getDetail",
351
355
  "GET_EVENT": "social.scenius.getEvent",
352
356
  "GET_EVENTS": "social.scenius.getEvents",
357
+ "GET_EVENT_ANNOTATIONS": "social.scenius.getEventAnnotations",
358
+ "GET_EVENT_ANNOTATIONS_ANNOTATION": "social.scenius.getEventAnnotations#annotation",
359
+ "GET_EVENT_ANNOTATIONS_ANSWER": "social.scenius.getEventAnnotations#answer",
353
360
  "GET_EVENT_ATTENDANCE": "social.scenius.getEventAttendance",
354
361
  "GET_EVENT_BEACON": "social.scenius.getEvent#beacon",
355
362
  "GET_EVENT_DECLINED": "social.scenius.getEvent#declined",
@@ -46,28 +46,30 @@ import type * as R44 from './types/pub/techne/draft/org.js';
46
46
  import type * as R45 from './types/pub/techne/draft/passage.js';
47
47
  import type * as R46 from './types/pub/techne/draft/pendingBeaconSpot.js';
48
48
  import type * as R47 from './types/pub/techne/draft/place.js';
49
- import type * as R48 from './types/pub/techne/draft/post.js';
50
- import type * as R49 from './types/pub/techne/draft/presence.js';
51
- import type * as R50 from './types/pub/techne/draft/profile.js';
52
- import type * as R51 from './types/pub/techne/draft/provenance.js';
53
- import type * as R52 from './types/pub/techne/draft/publisher.js';
54
- import type * as R53 from './types/pub/techne/draft/questionSet.js';
55
- import type * as R54 from './types/pub/techne/draft/receipt.js';
56
- import type * as R55 from './types/pub/techne/draft/reflection.js';
57
- import type * as R56 from './types/pub/techne/draft/registry/typeRequest.js';
58
- import type * as R57 from './types/pub/techne/draft/retirement.js';
59
- import type * as R58 from './types/pub/techne/draft/rsvpNote.js';
60
- import type * as R59 from './types/pub/techne/draft/sameAs.js';
61
- import type * as R60 from './types/pub/techne/draft/scraper/cursor.js';
62
- import type * as R61 from './types/pub/techne/draft/scraper/raw.js';
63
- import type * as R62 from './types/pub/techne/draft/share.js';
64
- import type * as R63 from './types/pub/techne/draft/source.js';
65
- import type * as R64 from './types/pub/techne/draft/sourceAttribution.js';
66
- import type * as R65 from './types/pub/techne/draft/sourceRef.js';
67
- import type * as R66 from './types/pub/techne/draft/subjectPrefs.js';
68
- import type * as R67 from './types/pub/techne/draft/verdict.js';
69
- import type * as R68 from './types/pub/techne/draft/verification.js';
70
- import type * as R69 from './types/pub/techne/draft/weeklyCheckIn.js';
49
+ import type * as R48 from './types/pub/techne/draft/placeResearch.js';
50
+ import type * as R49 from './types/pub/techne/draft/post.js';
51
+ import type * as R50 from './types/pub/techne/draft/presence.js';
52
+ import type * as R51 from './types/pub/techne/draft/profile.js';
53
+ import type * as R52 from './types/pub/techne/draft/provenance.js';
54
+ import type * as R53 from './types/pub/techne/draft/publisher.js';
55
+ import type * as R54 from './types/pub/techne/draft/questionSet.js';
56
+ import type * as R55 from './types/pub/techne/draft/receipt.js';
57
+ import type * as R56 from './types/pub/techne/draft/reflection.js';
58
+ import type * as R57 from './types/pub/techne/draft/registry/typeRequest.js';
59
+ import type * as R58 from './types/pub/techne/draft/retirement.js';
60
+ import type * as R59 from './types/pub/techne/draft/rsvpNote.js';
61
+ import type * as R60 from './types/pub/techne/draft/sameAs.js';
62
+ import type * as R61 from './types/pub/techne/draft/scraper/cursor.js';
63
+ import type * as R62 from './types/pub/techne/draft/scraper/raw.js';
64
+ import type * as R63 from './types/pub/techne/draft/share.js';
65
+ import type * as R64 from './types/pub/techne/draft/source.js';
66
+ import type * as R65 from './types/pub/techne/draft/sourceAttribution.js';
67
+ import type * as R66 from './types/pub/techne/draft/sourceRef.js';
68
+ import type * as R67 from './types/pub/techne/draft/subjectPrefs.js';
69
+ import type * as R68 from './types/pub/techne/draft/summary.js';
70
+ import type * as R69 from './types/pub/techne/draft/verdict.js';
71
+ import type * as R70 from './types/pub/techne/draft/verification.js';
72
+ import type * as R71 from './types/pub/techne/draft/weeklyCheckIn.js';
71
73
  /** Every record type the lexicons define, by collection. */
72
74
  export interface Records {
73
75
  'community.lexicon.calendar.event': R0.Record;
@@ -118,28 +120,30 @@ export interface Records {
118
120
  'pub.techne.draft.passage': R45.Record;
119
121
  'pub.techne.draft.pendingBeaconSpot': R46.Record;
120
122
  'pub.techne.draft.place': R47.Record;
121
- 'pub.techne.draft.post': R48.Record;
122
- 'pub.techne.draft.presence': R49.Record;
123
- 'pub.techne.draft.profile': R50.Record;
124
- 'pub.techne.draft.provenance': R51.Record;
125
- 'pub.techne.draft.publisher': R52.Record;
126
- 'pub.techne.draft.questionSet': R53.Record;
127
- 'pub.techne.draft.receipt': R54.Record;
128
- 'pub.techne.draft.reflection': R55.Record;
129
- 'pub.techne.draft.registry.typeRequest': R56.Record;
130
- 'pub.techne.draft.retirement': R57.Record;
131
- 'pub.techne.draft.rsvpNote': R58.Record;
132
- 'pub.techne.draft.sameAs': R59.Record;
133
- 'pub.techne.draft.scraper.cursor': R60.Record;
134
- 'pub.techne.draft.scraper.raw': R61.Record;
135
- 'pub.techne.draft.share': R62.Record;
136
- 'pub.techne.draft.source': R63.Record;
137
- 'pub.techne.draft.sourceAttribution': R64.Record;
138
- 'pub.techne.draft.sourceRef': R65.Record;
139
- 'pub.techne.draft.subjectPrefs': R66.Record;
140
- 'pub.techne.draft.verdict': R67.Record;
141
- 'pub.techne.draft.verification': R68.Record;
142
- 'pub.techne.draft.weeklyCheckIn': R69.Record;
123
+ 'pub.techne.draft.placeResearch': R48.Record;
124
+ 'pub.techne.draft.post': R49.Record;
125
+ 'pub.techne.draft.presence': R50.Record;
126
+ 'pub.techne.draft.profile': R51.Record;
127
+ 'pub.techne.draft.provenance': R52.Record;
128
+ 'pub.techne.draft.publisher': R53.Record;
129
+ 'pub.techne.draft.questionSet': R54.Record;
130
+ 'pub.techne.draft.receipt': R55.Record;
131
+ 'pub.techne.draft.reflection': R56.Record;
132
+ 'pub.techne.draft.registry.typeRequest': R57.Record;
133
+ 'pub.techne.draft.retirement': R58.Record;
134
+ 'pub.techne.draft.rsvpNote': R59.Record;
135
+ 'pub.techne.draft.sameAs': R60.Record;
136
+ 'pub.techne.draft.scraper.cursor': R61.Record;
137
+ 'pub.techne.draft.scraper.raw': R62.Record;
138
+ 'pub.techne.draft.share': R63.Record;
139
+ 'pub.techne.draft.source': R64.Record;
140
+ 'pub.techne.draft.sourceAttribution': R65.Record;
141
+ 'pub.techne.draft.sourceRef': R66.Record;
142
+ 'pub.techne.draft.subjectPrefs': R67.Record;
143
+ 'pub.techne.draft.summary': R68.Record;
144
+ 'pub.techne.draft.verdict': R69.Record;
145
+ 'pub.techne.draft.verification': R70.Record;
146
+ 'pub.techne.draft.weeklyCheckIn': R71.Record;
143
147
  }
144
148
  /** Any one record the lexicons define (its `$type` says which). */
145
149
  export type AnyRecord = Records[keyof Records];
@@ -13,6 +13,8 @@ export interface Main {
13
13
  name: string;
14
14
  /** A free-form description of the collective. */
15
15
  description?: string;
16
+ /** 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. */
17
+ emoji?: string;
16
18
  /** 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, where every member holds role 40 (where the platform holds the circle's credential, any member may add, remove and rename and nobody deletes it; a circle whose DID someone else holds is managed by its holder), and which a pub.techne.draft.accessRule#groupTarget may name. */
17
19
  collectiveType?: string;
18
20
  /** Deprecated: the old name of collectiveType, kept so records written before 2026-10-09 still read. Writers set collectiveType only. Readers take collectiveType and fall back to sceneType when it is absent. */
@@ -0,0 +1,47 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
6
+ export interface Main {
7
+ $type: 'pub.techne.draft.placeResearch';
8
+ subject: ComAtprotoRepoStrongRef.Main;
9
+ /** What kind of place it is. not_a_venue: the place is not somewhere people go for events (an address, a region, an online-only organiser). */
10
+ kind?: 'bar' | 'music_venue' | 'comedy_club' | 'theatre' | 'cinema' | 'gallery_museum' | 'library' | 'park' | 'community_centre' | 'cafe' | 'restaurant' | 'place_of_worship' | 'school_campus' | 'sports_venue' | 'shop' | 'outdoor_space' | 'event_space' | 'hotel' | 'farm' | 'not_a_venue' | 'other' | (string & {});
11
+ /** Two or three plain sentences on what going there is like. */
12
+ about?: string;
13
+ /** The place's own website, when research found one. */
14
+ website?: string;
15
+ facts?: Fact[];
16
+ /** Venue-level tags: whether each applies to the place as a whole. */
17
+ tags?: Tag[];
18
+ /** The pages research read. */
19
+ sources?: string[];
20
+ /** How sure the research is, overall. */
21
+ confidence?: 'high' | 'medium' | 'low' | (string & {});
22
+ createdAt: string;
23
+ [k: string]: unknown;
24
+ }
25
+ export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.placeResearch", "main">;
26
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
27
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
28
+ export interface Fact {
29
+ $type?: 'pub.techne.draft.placeResearch#fact';
30
+ name: 'serves_alcohol' | 'serves_food' | 'step_free_entrance' | 'wheelchair_accessible' | 'accessible_toilet' | 'dog_friendly' | 'outdoor_area' | 'seated' | 'kid_friendly' | 'drink_minimum' | 'door_policy' | 'typical_price' | (string & {});
31
+ /** yes, no or unknown; for door_policy one of all_ages, 18_plus, 21_plus, varies, unknown; for typical_price one of free, under_20, 20_50, 50_plus, varies, unknown. */
32
+ value: string;
33
+ /** What the source said, briefly. */
34
+ evidence?: string;
35
+ /** The page the evidence is from. */
36
+ source?: string;
37
+ }
38
+ export declare function isFact<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.placeResearch", "fact">;
39
+ export declare function validateFact<V>(v: V): ValidationResult<Fact & V>;
40
+ export interface Tag {
41
+ $type?: 'pub.techne.draft.placeResearch#tag';
42
+ /** The tag's id. */
43
+ id: string;
44
+ value: 'yes' | 'no' | (string & {});
45
+ }
46
+ export declare function isTag<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.placeResearch", "tag">;
47
+ export declare function validateTag<V>(v: V): ValidationResult<Tag & V>;
@@ -0,0 +1,26 @@
1
+ import { validate as _validate } from '../../../../lexicons.js';
2
+ import { is$typed as _is$typed, } from '../../../../util.js';
3
+ const is$typed = _is$typed, validate = _validate;
4
+ const id = 'pub.techne.draft.placeResearch';
5
+ const hashMain = 'main';
6
+ export function isMain(v) {
7
+ return is$typed(v, id, hashMain);
8
+ }
9
+ export function validateMain(v) {
10
+ return validate(v, id, hashMain, true);
11
+ }
12
+ export { isMain as isRecord, validateMain as validateRecord, };
13
+ const hashFact = 'fact';
14
+ export function isFact(v) {
15
+ return is$typed(v, id, hashFact);
16
+ }
17
+ export function validateFact(v) {
18
+ return validate(v, id, hashFact);
19
+ }
20
+ const hashTag = 'tag';
21
+ export function isTag(v) {
22
+ return is$typed(v, id, hashTag);
23
+ }
24
+ export function validateTag(v) {
25
+ return validate(v, id, hashTag);
26
+ }
@@ -7,6 +7,8 @@ export interface Main {
7
7
  /** When the publisher first wrote this content. Optional: records published before it existed lack it, and the writer never rewrites unchanged content to add it. The content-derived key is computed without it, and republishing unchanged content keeps the stored record, so its CID (which strongRefs pin) never moves. */
8
8
  createdAt?: string;
9
9
  name?: string;
10
+ /** Answering instructions shared by every question in this set, stated once. Each question's prompt is then its own text, asked under these instructions. */
11
+ howToAnswer?: string;
10
12
  questions: Question[];
11
13
  [k: string]: unknown;
12
14
  }
@@ -19,6 +21,7 @@ export interface Question {
19
21
  /** Subject category this question applies to. */
20
22
  kind: 'event' | 'place' | (string & {});
21
23
  question: string;
24
+ /** What is asked for this question. With a set's howToAnswer, it is the question's own text and the shared instructions are howToAnswer's. */
22
25
  prompt: string;
23
26
  /** Ordered assessment vocabulary. This version supports supported, contradicted, unknown and conflicting; consumers must not interpret other values as false. */
24
27
  criteria: string[];
@@ -0,0 +1,16 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import type * as ComAtprotoRepoStrongRef from '../../../com/atproto/repo/strongRef.js';
6
+ export interface Main {
7
+ $type: 'pub.techne.draft.summary';
8
+ subject: ComAtprotoRepoStrongRef.Main;
9
+ /** The line, as plain text. */
10
+ text: string;
11
+ createdAt: string;
12
+ [k: string]: unknown;
13
+ }
14
+ export declare function isMain<V>(v: V): v is import("../../../../util.js").$TypedObject<V, "pub.techne.draft.summary", "main">;
15
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
16
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
@@ -0,0 +1,12 @@
1
+ import { validate as _validate } from '../../../../lexicons.js';
2
+ import { is$typed as _is$typed, } from '../../../../util.js';
3
+ const is$typed = _is$typed, validate = _validate;
4
+ const id = 'pub.techne.draft.summary';
5
+ const hashMain = 'main';
6
+ export function isMain(v) {
7
+ return is$typed(v, id, hashMain);
8
+ }
9
+ export function validateMain(v) {
10
+ return validate(v, id, hashMain, true);
11
+ }
12
+ export { isMain as isRecord, validateMain as validateRecord, };