@wowok/agent-mcp 2.2.13 → 2.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/dist/index.js +42 -98
  2. package/dist/schema-query/index.d.ts +29 -0
  3. package/dist/schema-query/index.js +149 -0
  4. package/dist/schemas/account_operation.schema.json +255 -0
  5. package/dist/schemas/guard2file.schema.json +71 -0
  6. package/dist/schemas/index.json +139 -0
  7. package/dist/schemas/local_info_operation.schema.json +142 -0
  8. package/dist/schemas/local_mark_operation.schema.json +119 -0
  9. package/dist/schemas/machineNode2file.schema.json +71 -0
  10. package/dist/schemas/messenger_operation.schema.json +1393 -0
  11. package/dist/schemas/onchain_events.schema.json +113 -0
  12. package/dist/schemas/onchain_operations.schema.json +376 -0
  13. package/dist/schemas/onchain_operations_allocation.schema.json +914 -0
  14. package/dist/schemas/onchain_operations_arbitration.schema.json +1166 -0
  15. package/dist/schemas/onchain_operations_contact.schema.json +853 -0
  16. package/dist/schemas/onchain_operations_demand.schema.json +984 -0
  17. package/dist/schemas/onchain_operations_gen_passport.schema.json +1141 -0
  18. package/dist/schemas/onchain_operations_guard.schema.json +713 -0
  19. package/dist/schemas/onchain_operations_machine.schema.json +1347 -0
  20. package/dist/schemas/onchain_operations_order.schema.json +830 -0
  21. package/dist/schemas/onchain_operations_payment.schema.json +717 -0
  22. package/dist/schemas/onchain_operations_permission.schema.json +1088 -0
  23. package/dist/schemas/onchain_operations_personal.schema.json +1282 -0
  24. package/dist/schemas/onchain_operations_progress.schema.json +751 -0
  25. package/dist/schemas/onchain_operations_repository.schema.json +1572 -0
  26. package/dist/schemas/onchain_operations_reward.schema.json +955 -0
  27. package/dist/schemas/onchain_operations_service.schema.json +1411 -0
  28. package/dist/schemas/onchain_operations_treasury.schema.json +1155 -0
  29. package/dist/schemas/onchain_table_data.schema.json +35 -0
  30. package/dist/schemas/operations/guard.json +163 -0
  31. package/dist/schemas/operations/permission.json +22 -0
  32. package/dist/schemas/query_toolkit.schema.json +32 -0
  33. package/dist/schemas/schema_query.schema.json +33 -0
  34. package/dist/schemas/wip_file.schema.json +27 -0
  35. package/dist/schemas/wowok_buildin_info.schema.json +487 -0
  36. package/package.json +7 -5
  37. package/dist/docs/index.d.ts +0 -3
  38. package/dist/docs/index.js +0 -2
  39. package/dist/docs/loader.d.ts +0 -12
  40. package/dist/docs/loader.js +0 -177
  41. package/dist/docs/search.d.ts +0 -17
  42. package/dist/docs/search.js +0 -325
  43. package/dist/docs/types.d.ts +0 -55
  44. package/dist/docs/types.js +0 -1
  45. package/docs/README.md +0 -249
  46. package/docs/WIP.md +0 -388
  47. package/docs/WTS.md +0 -536
  48. package/docs/docs/account.md +0 -914
  49. package/docs/docs/allocation.md +0 -635
  50. package/docs/docs/arbitration.md +0 -1804
  51. package/docs/docs/arbitration_state_machine.md +0 -270
  52. package/docs/docs/contact.md +0 -709
  53. package/docs/docs/demand.md +0 -948
  54. package/docs/docs/guard.md +0 -1465
  55. package/docs/docs/localinfo.md +0 -432
  56. package/docs/docs/localmark.md +0 -583
  57. package/docs/docs/machine.md +0 -2490
  58. package/docs/docs/messenger.md +0 -2098
  59. package/docs/docs/onchain_events.md +0 -267
  60. package/docs/docs/order.md +0 -1001
  61. package/docs/docs/payment.md +0 -512
  62. package/docs/docs/permission.md +0 -1438
  63. package/docs/docs/personal.md +0 -742
  64. package/docs/docs/progress.md +0 -1748
  65. package/docs/docs/query.md +0 -467
  66. package/docs/docs/repository.md +0 -1043
  67. package/docs/docs/reward.md +0 -833
  68. package/docs/docs/service.md +0 -2130
  69. package/docs/docs/stage-01-introduction.md +0 -243
  70. package/docs/docs/stage-02-trust.md +0 -302
  71. package/docs/docs/stage-03-collaboration.md +0 -337
  72. package/docs/docs/stage-04-transaction.md +0 -277
  73. package/docs/docs/stage-05-business.md +0 -151
  74. package/docs/docs/stage-06-personal.md +0 -203
  75. package/docs/docs/stage-07-query.md +0 -572
  76. package/docs/docs/stage-08-examples.md +0 -184
  77. package/docs/docs/treasury.md +0 -1149
  78. package/docs/docs/wowok_buildin_info.md +0 -740
  79. package/docs/examples/Insurance/Insurance.md +0 -594
  80. package/docs/examples/Insurance/Insurance_TestResults.md +0 -481
  81. package/docs/examples/Insurance/insurance_complete_guard_v1.json +0 -50
  82. package/docs/examples/MyShop/MyShop.md +0 -1353
  83. package/docs/examples/MyShop/MyShop_TestResults.md +0 -1003
  84. package/docs/examples/MyShop_Advanced/MyShop_Advanced.md +0 -1898
  85. package/docs/examples/MyShop_Advanced/MyShop_Advanced_MerchantSystem_TestResults.md +0 -1297
  86. package/docs/examples/MyShop_Advanced/MyShop_Advanced_OrderFlow_TestResults.md +0 -743
  87. package/docs/examples/MyShop_Advanced/machine_nodes.json +0 -222
  88. package/docs/examples/ThreeBody_Signature/ThreeBody_Signature.md +0 -776
  89. package/docs/examples/ThreeBody_Signature/ThreeBody_Signature_TestResults.md +0 -599
  90. package/docs/examples/Travel/Travel.md +0 -1157
  91. package/docs/examples/Travel/Travel_TestResults.md +0 -743
  92. package/docs/examples/Travel/calc-weather-timestamps.js +0 -8
  93. package/docs/examples/Travel/travel_machine_v2_export.json +0 -104
  94. package/docs/examples/Travel/weather_check_guard_v1.json +0 -51
  95. package/docs/skills/WOWOK.md +0 -650
  96. package/docs/skills/onchain_operations/_common.md +0 -406
  97. package/docs/skills/onchain_operations/_index.md +0 -196
  98. package/docs/skills/onchain_operations/allocation.md +0 -28
  99. package/docs/skills/onchain_operations/arbitration.md +0 -106
  100. package/docs/skills/onchain_operations/contact.md +0 -40
  101. package/docs/skills/onchain_operations/demand.md +0 -53
  102. package/docs/skills/onchain_operations/gen_passport.md +0 -23
  103. package/docs/skills/onchain_operations/guard.md +0 -56
  104. package/docs/skills/onchain_operations/machine.md +0 -89
  105. package/docs/skills/onchain_operations/order.md +0 -56
  106. package/docs/skills/onchain_operations/payment.md +0 -24
  107. package/docs/skills/onchain_operations/permission.md +0 -68
  108. package/docs/skills/onchain_operations/personal.md +0 -58
  109. package/docs/skills/onchain_operations/progress.md +0 -38
  110. package/docs/skills/onchain_operations/repository.md +0 -70
  111. package/docs/skills/onchain_operations/reward.md +0 -38
  112. package/docs/skills/onchain_operations/service.md +0 -78
  113. package/docs/skills/onchain_operations/treasury.md +0 -68
  114. package/docs/skills/schema-account_operation.md +0 -402
  115. package/docs/skills/schema-guard2file.md +0 -153
  116. package/docs/skills/schema-local_info_operation.md +0 -160
  117. package/docs/skills/schema-local_mark_operation.md +0 -148
  118. package/docs/skills/schema-machineNode2file.md +0 -155
  119. package/docs/skills/schema-messenger_operation.md +0 -547
  120. package/docs/skills/schema-onchain_events.md +0 -201
  121. package/docs/skills/schema-onchain_table_data.md +0 -334
  122. package/docs/skills/schema-query_toolkit.md +0 -395
  123. package/docs/skills/schema-wip_file.md +0 -240
  124. package/docs/skills/schema-wowok_buildin_info.md +0 -296
  125. package/docs/wip-examples/three_body.html +0 -57
  126. package/docs/wip-examples/three_body.wip +0 -30
@@ -0,0 +1,751 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://wowok.net/schemas/onchain_operations_progress.json",
4
+ "title": "Progress Operation",
5
+ "description": "On-chain progress operation schema",
6
+ "type": "object",
7
+ "properties": {
8
+ "operation_type": {
9
+ "const": "progress"
10
+ },
11
+ "data": {
12
+ "$ref": "#/definitions/data",
13
+ "$schema": "http://json-schema.org/draft-07/schema#"
14
+ },
15
+ "env": {
16
+ "$ref": "#/definitions/env",
17
+ "$schema": "http://json-schema.org/draft-07/schema#"
18
+ },
19
+ "submission": {
20
+ "$ref": "#/definitions/submission",
21
+ "$schema": "http://json-schema.org/draft-07/schema#"
22
+ }
23
+ },
24
+ "required": [
25
+ "operation_type",
26
+ "data"
27
+ ],
28
+ "definitions": {
29
+ "data": {
30
+ "type": "object",
31
+ "properties": {
32
+ "object": {
33
+ "type": "string",
34
+ "description": "Progress object ID or name."
35
+ },
36
+ "task": {
37
+ "$ref": "#/definitions/data/properties/object",
38
+ "description": "Task ID. Cannot be changed after setting."
39
+ },
40
+ "repository": {
41
+ "anyOf": [
42
+ {
43
+ "type": "object",
44
+ "properties": {
45
+ "op": {
46
+ "type": "string",
47
+ "enum": [
48
+ "add",
49
+ "set"
50
+ ]
51
+ },
52
+ "objects": {
53
+ "type": "array",
54
+ "items": {
55
+ "$ref": "#/definitions/data/properties/task"
56
+ },
57
+ "description": "List of object IDs or names to add or set"
58
+ }
59
+ },
60
+ "required": [
61
+ "op",
62
+ "objects"
63
+ ],
64
+ "additionalProperties": false
65
+ },
66
+ {
67
+ "type": "object",
68
+ "properties": {
69
+ "op": {
70
+ "type": "string",
71
+ "const": "remove"
72
+ },
73
+ "objects": {
74
+ "type": "array",
75
+ "items": {
76
+ "$ref": "#/definitions/data/properties/task"
77
+ },
78
+ "description": "List of object IDs or names to remove"
79
+ }
80
+ },
81
+ "required": [
82
+ "op",
83
+ "objects"
84
+ ],
85
+ "additionalProperties": false
86
+ },
87
+ {
88
+ "type": "object",
89
+ "properties": {
90
+ "op": {
91
+ "type": "string",
92
+ "const": "clear"
93
+ }
94
+ },
95
+ "required": [
96
+ "op"
97
+ ],
98
+ "additionalProperties": false
99
+ }
100
+ ],
101
+ "description": "Consensus data Repository object list."
102
+ },
103
+ "progress_namedOperator": {
104
+ "type": "object",
105
+ "properties": {
106
+ "op": {
107
+ "type": "string",
108
+ "enum": [
109
+ "add",
110
+ "set",
111
+ "remove"
112
+ ]
113
+ },
114
+ "name": {
115
+ "type": "string",
116
+ "minLength": 1
117
+ },
118
+ "operators": {
119
+ "type": "object",
120
+ "properties": {
121
+ "entities": {
122
+ "type": "array",
123
+ "items": {
124
+ "type": "object",
125
+ "properties": {
126
+ "name_or_address": {
127
+ "$ref": "#/definitions/data/properties/task",
128
+ "description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
129
+ },
130
+ "local_mark_first": {
131
+ "type": "boolean",
132
+ "description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks"
133
+ }
134
+ },
135
+ "additionalProperties": false,
136
+ "description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account."
137
+ }
138
+ },
139
+ "check_all_founded": {
140
+ "type": "boolean",
141
+ "description": "Whether to check all entities are found, if true, all entities must be found (abort and throw exception if any ID not found); if false, only return found IDs"
142
+ }
143
+ },
144
+ "required": [
145
+ "entities"
146
+ ],
147
+ "additionalProperties": false,
148
+ "description": "Used to batch find account or object IDs by name"
149
+ }
150
+ },
151
+ "required": [
152
+ "op",
153
+ "name",
154
+ "operators"
155
+ ],
156
+ "additionalProperties": false,
157
+ "description": "Manage operators for Progress permission namespace."
158
+ },
159
+ "operate": {
160
+ "type": "object",
161
+ "properties": {
162
+ "operation": {
163
+ "type": "object",
164
+ "properties": {
165
+ "next_node_name": {
166
+ "type": "string",
167
+ "description": "Next node name."
168
+ },
169
+ "forward": {
170
+ "$ref": "#/definitions/data/properties/operate/properties/operation/properties/next_node_name",
171
+ "description": "Next forward name."
172
+ }
173
+ },
174
+ "required": [
175
+ "next_node_name",
176
+ "forward"
177
+ ],
178
+ "additionalProperties": false,
179
+ "description": "Specify a specific operation between current node and next node."
180
+ },
181
+ "hold": {
182
+ "type": "boolean",
183
+ "description": "Whether to lock operation permission. When true, locks the permission; when false or omitted, submits operation result directly."
184
+ },
185
+ "adminUnhold": {
186
+ "type": "boolean",
187
+ "description": "Whether to allow admin to force unlock. Only applicable when hold is true."
188
+ },
189
+ "message": {
190
+ "type": "string",
191
+ "description": "Operation result message."
192
+ }
193
+ },
194
+ "required": [
195
+ "operation"
196
+ ],
197
+ "additionalProperties": false,
198
+ "description": "Advance Progress object. Can be locking operation permission (to avoid competition for the same permission) or submitting operation result."
199
+ }
200
+ },
201
+ "required": [
202
+ "object"
203
+ ],
204
+ "additionalProperties": false,
205
+ "description": "On-chain, operate an existing Progress object."
206
+ },
207
+ "env": {
208
+ "type": "object",
209
+ "properties": {
210
+ "account": {
211
+ "type": "string",
212
+ "description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters).",
213
+ "default": ""
214
+ },
215
+ "permission_guard": {
216
+ "type": "array",
217
+ "items": {
218
+ "type": "string"
219
+ },
220
+ "description": "List of permission guard IDs. Used to extend additional operation permissions (requires verification and configuration in the Permission object)."
221
+ },
222
+ "no_cache": {
223
+ "type": "boolean",
224
+ "description": "Whether to disable caching."
225
+ },
226
+ "network": {
227
+ "type": "string",
228
+ "enum": [
229
+ "localnet",
230
+ "testnet"
231
+ ],
232
+ "description": "Network entrypoint: Specifies which network the operation occurs on"
233
+ },
234
+ "referrer": {
235
+ "$ref": "#/definitions/env/properties/account",
236
+ "description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
237
+ }
238
+ },
239
+ "additionalProperties": false,
240
+ "description": "IMPORTANT: Execution environment includes: account for signing operations, network selection ([object Object]), additional Guard permissions, and more. Used to specify context information during the call. If account is not specified, the default account (\"\") will be used."
241
+ },
242
+ "submission": {
243
+ "type": "object",
244
+ "properties": {
245
+ "type": {
246
+ "type": "string",
247
+ "const": "submission",
248
+ "description": "Type of call response: submission"
249
+ },
250
+ "guard": {
251
+ "type": "array",
252
+ "items": {
253
+ "type": "object",
254
+ "properties": {
255
+ "object": {
256
+ "type": "string",
257
+ "description": "Guard object name or ID."
258
+ },
259
+ "impack": {
260
+ "type": "boolean",
261
+ "description": "Whether the verification result of this Guard participates in the final verification logic. If true, the verification result of this Guard will be included in the final verification result; if false, the verification result of this Guard will not be included."
262
+ }
263
+ },
264
+ "required": [
265
+ "object",
266
+ "impack"
267
+ ],
268
+ "additionalProperties": false
269
+ }
270
+ },
271
+ "submission": {
272
+ "type": "array",
273
+ "items": {
274
+ "type": "object",
275
+ "properties": {
276
+ "guard": {
277
+ "$ref": "#/definitions/submission/properties/guard/items/properties/object",
278
+ "description": "Guard object name or ID."
279
+ },
280
+ "submission": {
281
+ "type": "array",
282
+ "items": {
283
+ "type": "object",
284
+ "properties": {
285
+ "identifier": {
286
+ "type": "integer",
287
+ "minimum": 0,
288
+ "maximum": 255,
289
+ "description": "Identifier (0-255) for data lookup in Guard table."
290
+ },
291
+ "b_submission": {
292
+ "type": "boolean",
293
+ "description": "Whether user submission is required for this data"
294
+ },
295
+ "value_type": {
296
+ "anyOf": [
297
+ {
298
+ "type": "number",
299
+ "const": 0,
300
+ "description": "Bool (0)"
301
+ },
302
+ {
303
+ "type": "number",
304
+ "const": 1,
305
+ "description": "Address (1)"
306
+ },
307
+ {
308
+ "type": "number",
309
+ "const": 2,
310
+ "description": "String (2)"
311
+ },
312
+ {
313
+ "type": "number",
314
+ "const": 3,
315
+ "description": "U8 (3)"
316
+ },
317
+ {
318
+ "type": "number",
319
+ "const": 4,
320
+ "description": "U16 (4)"
321
+ },
322
+ {
323
+ "type": "number",
324
+ "const": 5,
325
+ "description": "U32 (5)"
326
+ },
327
+ {
328
+ "type": "number",
329
+ "const": 6,
330
+ "description": "U64 (6)"
331
+ },
332
+ {
333
+ "type": "number",
334
+ "const": 7,
335
+ "description": "U128 (7)"
336
+ },
337
+ {
338
+ "type": "number",
339
+ "const": 8,
340
+ "description": "U256 (8)"
341
+ },
342
+ {
343
+ "type": "number",
344
+ "const": 9,
345
+ "description": "VecBool (9)"
346
+ },
347
+ {
348
+ "type": "number",
349
+ "const": 10,
350
+ "description": "VecAddress (10)"
351
+ },
352
+ {
353
+ "type": "number",
354
+ "const": 11,
355
+ "description": "VecString (11)"
356
+ },
357
+ {
358
+ "type": "number",
359
+ "const": 12,
360
+ "description": "VecU8 (12)"
361
+ },
362
+ {
363
+ "type": "number",
364
+ "const": 13,
365
+ "description": "VecU16 (13)"
366
+ },
367
+ {
368
+ "type": "number",
369
+ "const": 14,
370
+ "description": "VecU32 (14)"
371
+ },
372
+ {
373
+ "type": "number",
374
+ "const": 15,
375
+ "description": "VecU64 (15)"
376
+ },
377
+ {
378
+ "type": "number",
379
+ "const": 16,
380
+ "description": "VecU128 (16)"
381
+ },
382
+ {
383
+ "type": "number",
384
+ "const": 17,
385
+ "description": "VecU256 (17)"
386
+ },
387
+ {
388
+ "type": "number",
389
+ "const": 18,
390
+ "description": "VecVecU8 (18)"
391
+ },
392
+ {
393
+ "type": "string",
394
+ "const": "Bool",
395
+ "description": "Bool"
396
+ },
397
+ {
398
+ "type": "string",
399
+ "const": "Address",
400
+ "description": "Address"
401
+ },
402
+ {
403
+ "type": "string",
404
+ "const": "String",
405
+ "description": "String"
406
+ },
407
+ {
408
+ "type": "string",
409
+ "const": "U8",
410
+ "description": "U8"
411
+ },
412
+ {
413
+ "type": "string",
414
+ "const": "U16",
415
+ "description": "U16"
416
+ },
417
+ {
418
+ "type": "string",
419
+ "const": "U32",
420
+ "description": "U32"
421
+ },
422
+ {
423
+ "type": "string",
424
+ "const": "U64",
425
+ "description": "U64"
426
+ },
427
+ {
428
+ "type": "string",
429
+ "const": "U128",
430
+ "description": "U128"
431
+ },
432
+ {
433
+ "type": "string",
434
+ "const": "U256",
435
+ "description": "U256"
436
+ },
437
+ {
438
+ "type": "string",
439
+ "const": "VecBool",
440
+ "description": "VecBool"
441
+ },
442
+ {
443
+ "type": "string",
444
+ "const": "VecAddress",
445
+ "description": "VecAddress"
446
+ },
447
+ {
448
+ "type": "string",
449
+ "const": "VecString",
450
+ "description": "VecString"
451
+ },
452
+ {
453
+ "type": "string",
454
+ "const": "VecU8",
455
+ "description": "VecU8"
456
+ },
457
+ {
458
+ "type": "string",
459
+ "const": "VecU16",
460
+ "description": "VecU16"
461
+ },
462
+ {
463
+ "type": "string",
464
+ "const": "VecU32",
465
+ "description": "VecU32"
466
+ },
467
+ {
468
+ "type": "string",
469
+ "const": "VecU64",
470
+ "description": "VecU64"
471
+ },
472
+ {
473
+ "type": "string",
474
+ "const": "VecU128",
475
+ "description": "VecU128"
476
+ },
477
+ {
478
+ "type": "string",
479
+ "const": "VecU256",
480
+ "description": "VecU256"
481
+ },
482
+ {
483
+ "type": "string",
484
+ "const": "VecVecU8",
485
+ "description": "VecVecU8"
486
+ },
487
+ {
488
+ "type": "string",
489
+ "const": "bool",
490
+ "description": "bool"
491
+ },
492
+ {
493
+ "type": "string",
494
+ "const": "address",
495
+ "description": "address"
496
+ },
497
+ {
498
+ "type": "string",
499
+ "const": "string",
500
+ "description": "string"
501
+ },
502
+ {
503
+ "type": "string",
504
+ "const": "u8",
505
+ "description": "u8"
506
+ },
507
+ {
508
+ "type": "string",
509
+ "const": "u16",
510
+ "description": "u16"
511
+ },
512
+ {
513
+ "type": "string",
514
+ "const": "u32",
515
+ "description": "u32"
516
+ },
517
+ {
518
+ "type": "string",
519
+ "const": "u64",
520
+ "description": "u64"
521
+ },
522
+ {
523
+ "type": "string",
524
+ "const": "u128",
525
+ "description": "u128"
526
+ },
527
+ {
528
+ "type": "string",
529
+ "const": "u256",
530
+ "description": "u256"
531
+ },
532
+ {
533
+ "type": "string",
534
+ "const": "vecbool",
535
+ "description": "vecbool"
536
+ },
537
+ {
538
+ "type": "string",
539
+ "const": "vecaddress",
540
+ "description": "vecaddress"
541
+ },
542
+ {
543
+ "type": "string",
544
+ "const": "vecstring",
545
+ "description": "vecstring"
546
+ },
547
+ {
548
+ "type": "string",
549
+ "const": "vecu8",
550
+ "description": "vecu8"
551
+ },
552
+ {
553
+ "type": "string",
554
+ "const": "vecu16",
555
+ "description": "vecu16"
556
+ },
557
+ {
558
+ "type": "string",
559
+ "const": "vecu32",
560
+ "description": "vecu32"
561
+ },
562
+ {
563
+ "type": "string",
564
+ "const": "vecu64",
565
+ "description": "vecu64"
566
+ },
567
+ {
568
+ "type": "string",
569
+ "const": "vecu128",
570
+ "description": "vecu128"
571
+ },
572
+ {
573
+ "type": "string",
574
+ "const": "vecu256",
575
+ "description": "vecu256"
576
+ },
577
+ {
578
+ "type": "string",
579
+ "const": "vecvecu8",
580
+ "description": "vecvecu8"
581
+ }
582
+ ],
583
+ "description": "Type of the value"
584
+ },
585
+ "value": {
586
+ "anyOf": [
587
+ {
588
+ "type": "boolean"
589
+ },
590
+ {
591
+ "anyOf": [
592
+ {
593
+ "type": "object",
594
+ "properties": {
595
+ "name_or_address": {
596
+ "$ref": "#/definitions/submission/properties/guard/items/properties/object",
597
+ "description": "Account/Object name or ID. If specifying an account, use empty string '' for the default account. If it starts with '0x', it will be treated as an ID. Otherwise, it will be treated as a name (max 64 bcs characters)."
598
+ },
599
+ "local_mark_first": {
600
+ "type": "boolean",
601
+ "description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks"
602
+ }
603
+ },
604
+ "additionalProperties": false,
605
+ "description": "Account or address lookup object. Use this to specify which account to use for an operation. EXAMPLE: { name_or_address: 'testor2' } - looks up account by name; EXAMPLE: { name_or_address: '0x1234...' } - uses address directly; If name_or_address is empty string '', uses the default local account."
606
+ },
607
+ {
608
+ "type": "string"
609
+ }
610
+ ]
611
+ },
612
+ {
613
+ "type": "string"
614
+ },
615
+ {
616
+ "type": "number"
617
+ },
618
+ {
619
+ "type": "array",
620
+ "items": {
621
+ "type": "boolean"
622
+ }
623
+ },
624
+ {
625
+ "anyOf": [
626
+ {
627
+ "type": "object",
628
+ "properties": {
629
+ "entities": {
630
+ "type": "array",
631
+ "items": {
632
+ "$ref": "#/definitions/submission/properties/submission/items/properties/submission/items/properties/value/anyOf/1/anyOf/0"
633
+ }
634
+ },
635
+ "check_all_founded": {
636
+ "type": "boolean",
637
+ "description": "Whether to check all entities are found, if true, all entities must be found (abort and throw exception if any ID not found); if false, only return found IDs"
638
+ }
639
+ },
640
+ "required": [
641
+ "entities"
642
+ ],
643
+ "additionalProperties": false,
644
+ "description": "Used to batch find account or object IDs by name"
645
+ },
646
+ {
647
+ "type": "array",
648
+ "items": {
649
+ "type": "string"
650
+ }
651
+ }
652
+ ]
653
+ },
654
+ {
655
+ "type": "array",
656
+ "items": {
657
+ "type": "string"
658
+ }
659
+ },
660
+ {
661
+ "type": "array",
662
+ "items": {
663
+ "type": "number"
664
+ }
665
+ },
666
+ {
667
+ "type": "array",
668
+ "items": {
669
+ "type": "array",
670
+ "items": {
671
+ "type": "number"
672
+ }
673
+ }
674
+ }
675
+ ],
676
+ "description": "The actual value data"
677
+ },
678
+ "name": {
679
+ "type": "string",
680
+ "default": "",
681
+ "description": "Name or description of this data"
682
+ },
683
+ "object_type": {
684
+ "type": "string",
685
+ "enum": [
686
+ "Permission",
687
+ "Repository",
688
+ "Arb",
689
+ "Arbitration",
690
+ "Service",
691
+ "Machine",
692
+ "Order",
693
+ "Progress",
694
+ "Payment",
695
+ "Treasury",
696
+ "Guard",
697
+ "Demand",
698
+ "Passport",
699
+ "Allocation",
700
+ "Resource",
701
+ "Reward",
702
+ "Discount",
703
+ "EntityRegistrar",
704
+ "EntityLinker",
705
+ "Proof",
706
+ "WReceivedObject",
707
+ "Contact",
708
+ "TableItem_ProgressHistory",
709
+ "TableItem_PermissionPerm",
710
+ "TableItem_DemandPresenter",
711
+ "TableItem_MachineNode",
712
+ "TableItem_TreasuryHistory",
713
+ "TableItem_RepositoryData",
714
+ "TableItem_RewardRecord",
715
+ "TableItem_EntityLinker",
716
+ "TableItem_AddressMark",
717
+ "TableItem_EntityRegistrar"
718
+ ],
719
+ "description": "Object type when value_type is Address and represents a specific object"
720
+ }
721
+ },
722
+ "required": [
723
+ "identifier",
724
+ "b_submission",
725
+ "value_type"
726
+ ],
727
+ "additionalProperties": false,
728
+ "description": "Guard table item"
729
+ },
730
+ "description": "User-submitted data required for Guard verification."
731
+ }
732
+ },
733
+ "required": [
734
+ "guard",
735
+ "submission"
736
+ ],
737
+ "additionalProperties": false,
738
+ "description": "Permission guard submission data."
739
+ }
740
+ }
741
+ },
742
+ "required": [
743
+ "type",
744
+ "guard",
745
+ "submission"
746
+ ],
747
+ "additionalProperties": false,
748
+ "description": "Guard verification submission data required to complete an operation. Contains: (1) 'guard' - array of Guard objects to verify, each with an object ID and an 'impack' flag indicating if its result affects the final outcome; (2) 'submission' - array of user data submissions matching the Guard's requirements. The operation proceeds only after all Guards with impack=true are successfully verified."
749
+ }
750
+ }
751
+ }