@talonic/docs 0.21.97 → 0.21.98

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/dist/content.js CHANGED
@@ -151,6 +151,10 @@ var generated_nav_default = {
151
151
  id: "ref-contract-check",
152
152
  label: "Contract Check"
153
153
  },
154
+ {
155
+ id: "ref-collections",
156
+ label: "Collections"
157
+ },
154
158
  {
155
159
  id: "ref-catalog",
156
160
  label: "Catalog"
@@ -2141,6 +2145,18 @@ var openapi_default = {
2141
2145
  ],
2142
2146
  default: "extract",
2143
2147
  description: "`extract`: text only, for a following `POST /v1/extract`. `ingest`: full processing into workspace data."
2148
+ },
2149
+ parties: {
2150
+ type: "array",
2151
+ maxItems: 500,
2152
+ description: "The document's parties as your system has them, the same as `PUT /v1/documents/{id}/parties`. They decide the document's labels and so its place in the Collections tree.",
2153
+ items: {
2154
+ $ref: "#/components/schemas/DocumentParty"
2155
+ }
2156
+ },
2157
+ parties_complete: {
2158
+ type: "boolean",
2159
+ description: "`parties` names every party of the document."
2144
2160
  }
2145
2161
  }
2146
2162
  }
@@ -66190,6 +66206,316 @@ var openapi_default = {
66190
66206
  }
66191
66207
  }
66192
66208
  },
66209
+ "/v1/documents/{id}/collections": {
66210
+ get: {
66211
+ operationId: "explainDocumentCollections",
66212
+ "x-audience": "public",
66213
+ tags: [
66214
+ "Collections"
66215
+ ],
66216
+ summary: "Explain a document's collections",
66217
+ description: "Why the document sits where it does: each of its labels, whether it was derived or set by a person, with the evidence you may see behind it, and each collection it is in, with why (`rule`, `hand` or `held` by a limit). `pending` and `unresolved` say whether its labels are still settling. 404 when the key's person may not read the document. Requires the `read` scope (or `documents:read`). Any member of the workspace may call it.",
66218
+ security: [
66219
+ {
66220
+ BearerAuth: []
66221
+ }
66222
+ ],
66223
+ "x-required-scopes": [
66224
+ "read"
66225
+ ],
66226
+ parameters: [
66227
+ {
66228
+ name: "id",
66229
+ in: "path",
66230
+ required: true,
66231
+ schema: {
66232
+ type: "string",
66233
+ format: "uuid"
66234
+ }
66235
+ }
66236
+ ],
66237
+ responses: {
66238
+ "200": {
66239
+ description: "OK",
66240
+ content: {
66241
+ "application/json": {
66242
+ schema: {
66243
+ type: "object",
66244
+ additionalProperties: true
66245
+ }
66246
+ }
66247
+ }
66248
+ },
66249
+ "400": {
66250
+ $ref: "#/components/responses/BadRequest"
66251
+ },
66252
+ "401": {
66253
+ $ref: "#/components/responses/Unauthorized"
66254
+ },
66255
+ "403": {
66256
+ $ref: "#/components/responses/Forbidden"
66257
+ },
66258
+ "404": {
66259
+ $ref: "#/components/responses/NotFound"
66260
+ },
66261
+ "429": {
66262
+ $ref: "#/components/responses/RateLimitExceeded"
66263
+ }
66264
+ }
66265
+ }
66266
+ },
66267
+ "/v1/documents/{id}/traits": {
66268
+ patch: {
66269
+ operationId: "setDocumentLabels",
66270
+ "x-audience": "public",
66271
+ tags: [
66272
+ "Collections"
66273
+ ],
66274
+ summary: "Change a document's labels by hand",
66275
+ description: "Adds and removes labels on one document (`add`, `remove`, each at most 50 labels such as `relationship:client`). A person's labels are kept whenever the document's labels are derived again. Refused (403) when the change would move the document into or out of a limited collection the key's person may not manage. Requires the `documents:write` scope. The key's person must be allowed to edit in the workspace, as in the web app.",
66276
+ security: [
66277
+ {
66278
+ BearerAuth: []
66279
+ }
66280
+ ],
66281
+ "x-required-scopes": [
66282
+ "documents:write"
66283
+ ],
66284
+ parameters: [
66285
+ {
66286
+ name: "id",
66287
+ in: "path",
66288
+ required: true,
66289
+ schema: {
66290
+ type: "string",
66291
+ format: "uuid"
66292
+ }
66293
+ }
66294
+ ],
66295
+ requestBody: {
66296
+ required: true,
66297
+ content: {
66298
+ "application/json": {
66299
+ schema: {
66300
+ type: "object",
66301
+ properties: {
66302
+ add: {
66303
+ type: "array",
66304
+ maxItems: 50,
66305
+ items: {
66306
+ type: "string",
66307
+ maxLength: 200
66308
+ }
66309
+ },
66310
+ remove: {
66311
+ type: "array",
66312
+ maxItems: 50,
66313
+ items: {
66314
+ type: "string",
66315
+ maxLength: 200
66316
+ }
66317
+ }
66318
+ }
66319
+ }
66320
+ }
66321
+ }
66322
+ },
66323
+ responses: {
66324
+ "200": {
66325
+ description: "OK",
66326
+ content: {
66327
+ "application/json": {
66328
+ schema: {
66329
+ type: "object",
66330
+ additionalProperties: true
66331
+ }
66332
+ }
66333
+ }
66334
+ },
66335
+ "400": {
66336
+ $ref: "#/components/responses/BadRequest"
66337
+ },
66338
+ "401": {
66339
+ $ref: "#/components/responses/Unauthorized"
66340
+ },
66341
+ "403": {
66342
+ $ref: "#/components/responses/Forbidden"
66343
+ },
66344
+ "404": {
66345
+ $ref: "#/components/responses/NotFound"
66346
+ },
66347
+ "429": {
66348
+ $ref: "#/components/responses/RateLimitExceeded"
66349
+ }
66350
+ }
66351
+ }
66352
+ },
66353
+ "/v1/documents/{id}/move": {
66354
+ post: {
66355
+ operationId: "moveDocumentBetweenCollections",
66356
+ "x-audience": "public",
66357
+ tags: [
66358
+ "Collections"
66359
+ ],
66360
+ summary: "Move a document between collections",
66361
+ description: "Takes the document out of `from`, puts it into `to`, or both. A collection that sorts by labels keeps the document out once it is moved out. Any member moves between plain collections; a limited collection needs a person its limit admits or an owner; an enforced collection or an account needs an owner (403 otherwise). 404 when the key's person may not read the document. Requires the `documents:write` scope. The key's person must be allowed to edit in the workspace, as in the web app.",
66362
+ security: [
66363
+ {
66364
+ BearerAuth: []
66365
+ }
66366
+ ],
66367
+ "x-required-scopes": [
66368
+ "documents:write"
66369
+ ],
66370
+ parameters: [
66371
+ {
66372
+ name: "id",
66373
+ in: "path",
66374
+ required: true,
66375
+ schema: {
66376
+ type: "string",
66377
+ format: "uuid"
66378
+ }
66379
+ }
66380
+ ],
66381
+ requestBody: {
66382
+ required: true,
66383
+ content: {
66384
+ "application/json": {
66385
+ schema: {
66386
+ type: "object",
66387
+ properties: {
66388
+ from: {
66389
+ type: "string",
66390
+ format: "uuid",
66391
+ nullable: true
66392
+ },
66393
+ to: {
66394
+ type: "string",
66395
+ format: "uuid",
66396
+ nullable: true
66397
+ }
66398
+ }
66399
+ }
66400
+ }
66401
+ }
66402
+ },
66403
+ responses: {
66404
+ "200": {
66405
+ description: "OK",
66406
+ content: {
66407
+ "application/json": {
66408
+ schema: {
66409
+ type: "object",
66410
+ additionalProperties: true
66411
+ }
66412
+ }
66413
+ }
66414
+ },
66415
+ "400": {
66416
+ $ref: "#/components/responses/BadRequest"
66417
+ },
66418
+ "401": {
66419
+ $ref: "#/components/responses/Unauthorized"
66420
+ },
66421
+ "403": {
66422
+ $ref: "#/components/responses/Forbidden"
66423
+ },
66424
+ "404": {
66425
+ $ref: "#/components/responses/NotFound"
66426
+ },
66427
+ "409": {
66428
+ $ref: "#/components/responses/Conflict"
66429
+ },
66430
+ "429": {
66431
+ $ref: "#/components/responses/RateLimitExceeded"
66432
+ }
66433
+ }
66434
+ }
66435
+ },
66436
+ "/v1/documents/{id}/parties": {
66437
+ put: {
66438
+ operationId: "setDocumentParties",
66439
+ "x-audience": "public",
66440
+ tags: [
66441
+ "Collections"
66442
+ ],
66443
+ summary: "Set a document's parties",
66444
+ description: "Hands over the document's parties as your system has them, the way a connected mailbox does at import: typed identifiers with an optional role, and whether the list is `complete` (only a complete list whose every party is your own makes a document internal). The document's labels are derived again at once; a party nobody in the directory knows yet may leave the document `pending` for a short while, during which it stays under every limit. Requires the `documents:write` scope. The key's person must be allowed to edit in the workspace, as in the web app.",
66445
+ security: [
66446
+ {
66447
+ BearerAuth: []
66448
+ }
66449
+ ],
66450
+ "x-required-scopes": [
66451
+ "documents:write"
66452
+ ],
66453
+ parameters: [
66454
+ {
66455
+ name: "id",
66456
+ in: "path",
66457
+ required: true,
66458
+ schema: {
66459
+ type: "string",
66460
+ format: "uuid"
66461
+ }
66462
+ }
66463
+ ],
66464
+ requestBody: {
66465
+ required: true,
66466
+ content: {
66467
+ "application/json": {
66468
+ schema: {
66469
+ type: "object",
66470
+ required: [
66471
+ "parties"
66472
+ ],
66473
+ properties: {
66474
+ parties: {
66475
+ type: "array",
66476
+ maxItems: 500,
66477
+ items: {
66478
+ $ref: "#/components/schemas/DocumentParty"
66479
+ }
66480
+ },
66481
+ complete: {
66482
+ type: "boolean"
66483
+ }
66484
+ }
66485
+ }
66486
+ }
66487
+ }
66488
+ },
66489
+ responses: {
66490
+ "200": {
66491
+ description: "OK",
66492
+ content: {
66493
+ "application/json": {
66494
+ schema: {
66495
+ type: "object",
66496
+ additionalProperties: true
66497
+ }
66498
+ }
66499
+ }
66500
+ },
66501
+ "400": {
66502
+ $ref: "#/components/responses/BadRequest"
66503
+ },
66504
+ "401": {
66505
+ $ref: "#/components/responses/Unauthorized"
66506
+ },
66507
+ "403": {
66508
+ $ref: "#/components/responses/Forbidden"
66509
+ },
66510
+ "404": {
66511
+ $ref: "#/components/responses/NotFound"
66512
+ },
66513
+ "429": {
66514
+ $ref: "#/components/responses/RateLimitExceeded"
66515
+ }
66516
+ }
66517
+ }
66518
+ },
66193
66519
  "/v1/documents/batch-metadata/import": {
66194
66520
  post: {
66195
66521
  operationId: "importDocumentBatchMetadata",
@@ -66763,9 +67089,58 @@ var openapi_default = {
66763
67089
  type: "object",
66764
67090
  additionalProperties: true
66765
67091
  }
66766
- },
66767
- restricted: {
66768
- type: "boolean"
67092
+ },
67093
+ restricted: {
67094
+ type: "boolean"
67095
+ }
67096
+ }
67097
+ }
67098
+ }
67099
+ }
67100
+ },
67101
+ "401": {
67102
+ $ref: "#/components/responses/Unauthorized"
67103
+ },
67104
+ "403": {
67105
+ $ref: "#/components/responses/Forbidden"
67106
+ },
67107
+ "429": {
67108
+ $ref: "#/components/responses/RateLimitExceeded"
67109
+ }
67110
+ }
67111
+ }
67112
+ },
67113
+ "/v1/collections/counts": {
67114
+ get: {
67115
+ operationId: "getCollectionCounts",
67116
+ "x-audience": "public",
67117
+ tags: [
67118
+ "Collections"
67119
+ ],
67120
+ summary: "Count documents per collection",
67121
+ description: "Visible-document counts per collection. Requires the `read` scope (or `documents:read`). Any member of the workspace may call it.",
67122
+ security: [
67123
+ {
67124
+ BearerAuth: []
67125
+ }
67126
+ ],
67127
+ "x-required-scopes": [
67128
+ "read"
67129
+ ],
67130
+ responses: {
67131
+ "200": {
67132
+ description: "OK",
67133
+ content: {
67134
+ "application/json": {
67135
+ schema: {
67136
+ type: "object",
67137
+ properties: {
67138
+ collections: {
67139
+ type: "array",
67140
+ items: {
67141
+ type: "object",
67142
+ additionalProperties: true
67143
+ }
66769
67144
  }
66770
67145
  }
66771
67146
  }
@@ -66784,15 +67159,15 @@ var openapi_default = {
66784
67159
  }
66785
67160
  }
66786
67161
  },
66787
- "/v1/collections/counts": {
67162
+ "/v1/collections/config": {
66788
67163
  get: {
66789
- operationId: "getCollectionCounts",
67164
+ operationId: "getCollectionsConfig",
66790
67165
  "x-audience": "public",
66791
67166
  tags: [
66792
67167
  "Collections"
66793
67168
  ],
66794
- summary: "Count documents per collection",
66795
- description: "Visible-document counts per collection. Requires the `read` scope (or `documents:read`). Any member of the workspace may call it.",
67169
+ summary: "Get the collections configuration",
67170
+ description: "The workspace's collections as one configuration document: each collection that has a `key` with its name, the labels it sorts by (`match`, or `any` for several label sets) and its children, plus the workspace's relationship kinds, own domains and whether relationships may be inferred. Who may read a limited collection (`only`), the directory's configured entries and the default views appear for a workspace owner only. Requires the `read` scope (or `documents:read`). Any member of the workspace may call it.",
66796
67171
  security: [
66797
67172
  {
66798
67173
  BearerAuth: []
@@ -66808,18 +67183,277 @@ var openapi_default = {
66808
67183
  "application/json": {
66809
67184
  schema: {
66810
67185
  type: "object",
66811
- properties: {
66812
- collections: {
66813
- type: "array",
66814
- items: {
66815
- type: "object",
66816
- additionalProperties: true
67186
+ additionalProperties: true
67187
+ }
67188
+ }
67189
+ }
67190
+ },
67191
+ "400": {
67192
+ $ref: "#/components/responses/BadRequest"
67193
+ },
67194
+ "401": {
67195
+ $ref: "#/components/responses/Unauthorized"
67196
+ },
67197
+ "403": {
67198
+ $ref: "#/components/responses/Forbidden"
67199
+ },
67200
+ "429": {
67201
+ $ref: "#/components/responses/RateLimitExceeded"
67202
+ }
67203
+ }
67204
+ },
67205
+ put: {
67206
+ operationId: "applyCollectionsConfig",
67207
+ "x-audience": "public",
67208
+ tags: [
67209
+ "Collections"
67210
+ ],
67211
+ summary: "Apply a collections configuration",
67212
+ description: "Applies a configuration document: every problem is reported at once (400 with `details.problems`) before anything changes, then everything is saved together. Collections are matched by their path of keys, so applying the same document twice changes nothing. With `dry_run=true` nothing is saved and the answer lists what would be created, changed and removed, how many documents each collection would hold for you, and for each limit how many documents it hides from how many people. `prune=true` removes keyed collections the document does not name, and refuses (409) one that still has a limit or documents placed by hand. A key with no person cannot change `only` (403). Requires the `documents:write` scope. The key's person must be an Admin of the workspace (the `workspace` permission), as in the web app.",
67213
+ security: [
67214
+ {
67215
+ BearerAuth: []
67216
+ }
67217
+ ],
67218
+ "x-required-scopes": [
67219
+ "documents:write"
67220
+ ],
67221
+ parameters: [
67222
+ {
67223
+ name: "dry_run",
67224
+ in: "query",
67225
+ required: false,
67226
+ schema: {
67227
+ type: "boolean",
67228
+ default: false
67229
+ },
67230
+ description: "Check and preview the change; nothing is saved."
67231
+ },
67232
+ {
67233
+ name: "prune",
67234
+ in: "query",
67235
+ required: false,
67236
+ schema: {
67237
+ type: "boolean",
67238
+ default: false
67239
+ },
67240
+ description: "Remove keyed collections the document does not name."
67241
+ }
67242
+ ],
67243
+ requestBody: {
67244
+ required: true,
67245
+ content: {
67246
+ "application/json": {
67247
+ schema: {
67248
+ type: "object",
67249
+ properties: {
67250
+ document: {
67251
+ type: "object",
67252
+ additionalProperties: true,
67253
+ description: "The configuration document."
67254
+ },
67255
+ yaml: {
67256
+ type: "string",
67257
+ maxLength: 1e6,
67258
+ description: "The configuration document as YAML or JSON text."
67259
+ }
67260
+ }
67261
+ }
67262
+ }
67263
+ }
67264
+ },
67265
+ responses: {
67266
+ "200": {
67267
+ description: "OK",
67268
+ content: {
67269
+ "application/json": {
67270
+ schema: {
67271
+ type: "object",
67272
+ additionalProperties: true
67273
+ }
67274
+ }
67275
+ }
67276
+ },
67277
+ "400": {
67278
+ $ref: "#/components/responses/BadRequest"
67279
+ },
67280
+ "401": {
67281
+ $ref: "#/components/responses/Unauthorized"
67282
+ },
67283
+ "403": {
67284
+ $ref: "#/components/responses/Forbidden"
67285
+ },
67286
+ "409": {
67287
+ $ref: "#/components/responses/Conflict"
67288
+ },
67289
+ "429": {
67290
+ $ref: "#/components/responses/RateLimitExceeded"
67291
+ }
67292
+ }
67293
+ }
67294
+ },
67295
+ "/v1/collections/proposal": {
67296
+ post: {
67297
+ operationId: "proposeCollectionsConfig",
67298
+ "x-audience": "public",
67299
+ tags: [
67300
+ "Collections"
67301
+ ],
67302
+ summary: "Propose a collections configuration",
67303
+ description: "A configuration document built from the workspace's own documents, as far as the key's person may read them: one top-level collection per channel with documents, children for the labels common enough to be worth one, and, when the workspace has conversations and fewer than two relationship kinds, kinds suggested from its most frequent outside organisations (only when relationships may be inferred). Nothing is saved, and no limit is ever proposed: edit it and apply it with `PUT /v1/collections/config`. Requires the `read` scope (or `documents:read`). The key's person must be an Admin of the workspace (the `workspace` permission), as in the web app.",
67304
+ security: [
67305
+ {
67306
+ BearerAuth: []
67307
+ }
67308
+ ],
67309
+ "x-required-scopes": [
67310
+ "read"
67311
+ ],
67312
+ responses: {
67313
+ "200": {
67314
+ description: "OK",
67315
+ content: {
67316
+ "application/json": {
67317
+ schema: {
67318
+ type: "object",
67319
+ additionalProperties: true
67320
+ }
67321
+ }
67322
+ }
67323
+ },
67324
+ "400": {
67325
+ $ref: "#/components/responses/BadRequest"
67326
+ },
67327
+ "401": {
67328
+ $ref: "#/components/responses/Unauthorized"
67329
+ },
67330
+ "403": {
67331
+ $ref: "#/components/responses/Forbidden"
67332
+ },
67333
+ "429": {
67334
+ $ref: "#/components/responses/RateLimitExceeded"
67335
+ }
67336
+ }
67337
+ }
67338
+ },
67339
+ "/v1/collections/directory": {
67340
+ get: {
67341
+ operationId: "listCollectionsDirectory",
67342
+ "x-audience": "public",
67343
+ tags: [
67344
+ "Collections"
67345
+ ],
67346
+ summary: "List the relationship directory",
67347
+ description: "Who is who: each identifier (an address, a domain, a phone number, a handle) with what that party is to the workspace and where that came from (`person`, `config`, `record` or `read`). Each entry is shown only where the key's person may see its evidence: configured and corrected entries for an owner, an entry from a record when the person may read that record, an entry from a conversation when the person may read that conversation. Requires the `read` scope (or `documents:read`). Any member of the workspace may call it.",
67348
+ security: [
67349
+ {
67350
+ BearerAuth: []
67351
+ }
67352
+ ],
67353
+ "x-required-scopes": [
67354
+ "read"
67355
+ ],
67356
+ responses: {
67357
+ "200": {
67358
+ description: "OK",
67359
+ content: {
67360
+ "application/json": {
67361
+ schema: {
67362
+ type: "object",
67363
+ additionalProperties: true
67364
+ }
67365
+ }
67366
+ }
67367
+ },
67368
+ "400": {
67369
+ $ref: "#/components/responses/BadRequest"
67370
+ },
67371
+ "401": {
67372
+ $ref: "#/components/responses/Unauthorized"
67373
+ },
67374
+ "403": {
67375
+ $ref: "#/components/responses/Forbidden"
67376
+ },
67377
+ "429": {
67378
+ $ref: "#/components/responses/RateLimitExceeded"
67379
+ }
67380
+ }
67381
+ },
67382
+ put: {
67383
+ operationId: "saveCollectionsDirectory",
67384
+ "x-audience": "public",
67385
+ tags: [
67386
+ "Collections"
67387
+ ],
67388
+ summary: "Correct the relationship directory",
67389
+ description: "Sets entries as a person's correction (they outrank configuration, records and conversations for their identifier) and removes entries by id. The documents of every identifier touched are relabelled; `wait` waits up to 60 seconds and `pending` counts what is still to follow. Requires the `documents:write` scope. The key's person must be an Admin of the workspace (the `workspace` permission), as in the web app.",
67390
+ security: [
67391
+ {
67392
+ BearerAuth: []
67393
+ }
67394
+ ],
67395
+ "x-required-scopes": [
67396
+ "documents:write"
67397
+ ],
67398
+ requestBody: {
67399
+ required: true,
67400
+ content: {
67401
+ "application/json": {
67402
+ schema: {
67403
+ type: "object",
67404
+ properties: {
67405
+ entries: {
67406
+ type: "array",
67407
+ maxItems: 200,
67408
+ items: {
67409
+ type: "object",
67410
+ required: [
67411
+ "match_value",
67412
+ "relationship"
67413
+ ],
67414
+ properties: {
67415
+ match_value: {
67416
+ type: "string",
67417
+ description: "A typed identifier: `domain:acme.com`, `email:jane@acme.com`, `phone:\u2026`, `handle:\u2026` or `entity:\u2026`."
67418
+ },
67419
+ relationship: {
67420
+ type: "string",
67421
+ description: "A relationship kind of the workspace (its slug), or `own` / `other`."
67422
+ }
66817
67423
  }
66818
67424
  }
67425
+ },
67426
+ remove: {
67427
+ type: "array",
67428
+ maxItems: 200,
67429
+ items: {
67430
+ type: "string",
67431
+ format: "uuid"
67432
+ }
67433
+ },
67434
+ wait: {
67435
+ type: "boolean",
67436
+ description: "Wait up to 60 seconds for the documents to be relabelled."
66819
67437
  }
66820
67438
  }
66821
67439
  }
66822
67440
  }
67441
+ }
67442
+ },
67443
+ responses: {
67444
+ "200": {
67445
+ description: "OK",
67446
+ content: {
67447
+ "application/json": {
67448
+ schema: {
67449
+ type: "object",
67450
+ additionalProperties: true
67451
+ }
67452
+ }
67453
+ }
67454
+ },
67455
+ "400": {
67456
+ $ref: "#/components/responses/BadRequest"
66823
67457
  },
66824
67458
  "401": {
66825
67459
  $ref: "#/components/responses/Unauthorized"
@@ -66827,6 +67461,9 @@ var openapi_default = {
66827
67461
  "403": {
66828
67462
  $ref: "#/components/responses/Forbidden"
66829
67463
  },
67464
+ "404": {
67465
+ $ref: "#/components/responses/NotFound"
67466
+ },
66830
67467
  "429": {
66831
67468
  $ref: "#/components/responses/RateLimitExceeded"
66832
67469
  }
@@ -85058,6 +85695,31 @@ var openapi_default = {
85058
85695
  }
85059
85696
  },
85060
85697
  schemas: {
85698
+ DocumentParty: {
85699
+ type: "object",
85700
+ required: [
85701
+ "id"
85702
+ ],
85703
+ description: "One party of a document: a typed identifier and, optionally, its role. An address also stands for its domain unless it is a public mail provider's.",
85704
+ properties: {
85705
+ id: {
85706
+ type: "string",
85707
+ maxLength: 320,
85708
+ description: "`email:jane@acme.com`, `domain:acme.com`, `phone:+4930123456`, `handle:<scope>:<id>` or `entity:<id>` (a bare address reads as `email:`).",
85709
+ example: "email:jane@acme.com"
85710
+ },
85711
+ role: {
85712
+ type: "string",
85713
+ enum: [
85714
+ "from",
85715
+ "to",
85716
+ "cc",
85717
+ "attendee",
85718
+ "author"
85719
+ ]
85720
+ }
85721
+ }
85722
+ },
85061
85723
  Account: {
85062
85724
  type: "object",
85063
85725
  required: [