@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,713 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://wowok.net/schemas/onchain_operations_guard.json",
4
+ "title": "Guard Operation",
5
+ "description": "On-chain guard operation schema",
6
+ "type": "object",
7
+ "properties": {
8
+ "operation_type": {
9
+ "const": "guard"
10
+ },
11
+ "data": {
12
+ "type": "object",
13
+ "description": "On-chain Guard creation. IMPORTANT: All defined data (include all submitted data) must be defined in the 'table' field. USAGE: Set 'namedNew' field with {name, tags?, onChain?} to name the new Guard. The Guard is immutable once created. Define the validation logic in 'root' field. When root.type='file', the file can contain all Guard fields, and any fields defined in the schema will OVERRIDE the file content.",
14
+ "properties": {
15
+ "namedNew": {
16
+ "type": "object",
17
+ "description": "Name and optional tags for the new Guard object. Set 'onChain: true' to create a public on-chain identity. When using root.type='file', this field OVERRIDES namedNew in the file.",
18
+ "properties": {
19
+ "name": {
20
+ "type": "string",
21
+ "description": "The name of the object"
22
+ },
23
+ "tags": {
24
+ "type": "array",
25
+ "items": {
26
+ "type": "string"
27
+ },
28
+ "description": "The tags of the object"
29
+ },
30
+ "onChain": {
31
+ "type": "boolean",
32
+ "description": "CRITICAL: Whether to sync the name to the blockchain. DEFAULT (undefined/false): The name is stored LOCALLY ONLY on your device (PRIVATE). If set to true: The name is published ON-CHAIN and becomes PUBLICLY VISIBLE to everyone."
33
+ },
34
+ "replaceExistName": {
35
+ "type": "boolean",
36
+ "description": "FORCE CLAIM: Set to true ONLY when the user explicitly expresses a STRONG INTENTION to forcefully take over an existing name."
37
+ }
38
+ },
39
+ "additionalProperties": false
40
+ },
41
+ "description": {
42
+ "type": "string",
43
+ "description": "Guard description. When using root.type='file', this field OVERRIDES description in the file."
44
+ },
45
+ "table": {
46
+ "type": "array",
47
+ "description": "Data table of the Guard object. When using root.type='file', this field OVERRIDES table in the file.",
48
+ "items": {
49
+ "type": "object",
50
+ "properties": {
51
+ "identifier": {
52
+ "type": "integer",
53
+ "minimum": 0,
54
+ "maximum": 255,
55
+ "description": "Identifier index (0-255) for referencing this value in Guard nodes"
56
+ },
57
+ "bWitness": {
58
+ "type": "boolean",
59
+ "description": "Whether this is a witness parameter (provided at runtime)"
60
+ },
61
+ "value_type": {
62
+ "type": "string",
63
+ "description": "Value type: Bool, Address, String, U8, U16, U32, U64, U128, U256, VecBool, VecAddress, VecString, VecU8, VecU16, VecU32, VecU64, VecU128, VecU256, VecVecU8"
64
+ },
65
+ "value": {
66
+ "description": "The actual value (omit if bWitness is true)"
67
+ }
68
+ },
69
+ "required": [
70
+ "identifier",
71
+ "bWitness",
72
+ "value_type"
73
+ ]
74
+ }
75
+ },
76
+ "root": {
77
+ "description": "Root definition: either a direct node tree (type='node') or a file reference (type='file'). When type='file', the file can define all Guard fields (namedNew, description, table, root, rely), and schema fields override file content.",
78
+ "oneOf": [
79
+ {
80
+ "type": "object",
81
+ "description": "Direct node tree",
82
+ "properties": {
83
+ "type": {
84
+ "const": "node"
85
+ },
86
+ "node": {
87
+ "type": "object",
88
+ "description": "Guard computational tree root node. MUST return a Bool value (pass/fail). See GuardNode documentation for details.",
89
+ "properties": {
90
+ "type": {
91
+ "type": "string"
92
+ }
93
+ },
94
+ "additionalProperties": true
95
+ }
96
+ },
97
+ "required": [
98
+ "type",
99
+ "node"
100
+ ]
101
+ },
102
+ {
103
+ "type": "object",
104
+ "description": "File reference",
105
+ "properties": {
106
+ "type": {
107
+ "const": "file"
108
+ },
109
+ "file_path": {
110
+ "type": "string",
111
+ "description": "Path to JSON or Markdown file containing Guard definition"
112
+ },
113
+ "format": {
114
+ "type": "string",
115
+ "enum": [
116
+ "json",
117
+ "markdown"
118
+ ],
119
+ "default": "json",
120
+ "description": "File format: 'json' or 'markdown'"
121
+ }
122
+ },
123
+ "required": [
124
+ "type",
125
+ "file_path"
126
+ ]
127
+ }
128
+ ]
129
+ },
130
+ "rely": {
131
+ "type": "object",
132
+ "description": "All Guard objects that the new Guard object depends on.",
133
+ "properties": {
134
+ "guards": {
135
+ "type": "array",
136
+ "items": {
137
+ "type": "string"
138
+ },
139
+ "description": "List of dependent Guard object IDs or names."
140
+ },
141
+ "logic_or": {
142
+ "type": "boolean",
143
+ "description": "Whether to use logical OR operator."
144
+ }
145
+ },
146
+ "required": [
147
+ "guards"
148
+ ]
149
+ }
150
+ },
151
+ "required": [
152
+ "root"
153
+ ]
154
+ },
155
+ "env": {
156
+ "$ref": "#/definitions/env",
157
+ "$schema": "http://json-schema.org/draft-07/schema#"
158
+ },
159
+ "submission": {
160
+ "$ref": "#/definitions/submission",
161
+ "$schema": "http://json-schema.org/draft-07/schema#"
162
+ }
163
+ },
164
+ "required": [
165
+ "operation_type",
166
+ "data"
167
+ ],
168
+ "definitions": {
169
+ "env": {
170
+ "type": "object",
171
+ "properties": {
172
+ "account": {
173
+ "type": "string",
174
+ "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).",
175
+ "default": ""
176
+ },
177
+ "permission_guard": {
178
+ "type": "array",
179
+ "items": {
180
+ "type": "string"
181
+ },
182
+ "description": "List of permission guard IDs. Used to extend additional operation permissions (requires verification and configuration in the Permission object)."
183
+ },
184
+ "no_cache": {
185
+ "type": "boolean",
186
+ "description": "Whether to disable caching."
187
+ },
188
+ "network": {
189
+ "type": "string",
190
+ "enum": [
191
+ "localnet",
192
+ "testnet"
193
+ ],
194
+ "description": "Network entrypoint: Specifies which network the operation occurs on"
195
+ },
196
+ "referrer": {
197
+ "$ref": "#/definitions/env/properties/account",
198
+ "description": "Referrer ID. If the user is using the network for the first time, the referrer ID will be recorded."
199
+ }
200
+ },
201
+ "additionalProperties": false,
202
+ "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."
203
+ },
204
+ "submission": {
205
+ "type": "object",
206
+ "properties": {
207
+ "type": {
208
+ "type": "string",
209
+ "const": "submission",
210
+ "description": "Type of call response: submission"
211
+ },
212
+ "guard": {
213
+ "type": "array",
214
+ "items": {
215
+ "type": "object",
216
+ "properties": {
217
+ "object": {
218
+ "type": "string",
219
+ "description": "Guard object name or ID."
220
+ },
221
+ "impack": {
222
+ "type": "boolean",
223
+ "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."
224
+ }
225
+ },
226
+ "required": [
227
+ "object",
228
+ "impack"
229
+ ],
230
+ "additionalProperties": false
231
+ }
232
+ },
233
+ "submission": {
234
+ "type": "array",
235
+ "items": {
236
+ "type": "object",
237
+ "properties": {
238
+ "guard": {
239
+ "$ref": "#/definitions/submission/properties/guard/items/properties/object",
240
+ "description": "Guard object name or ID."
241
+ },
242
+ "submission": {
243
+ "type": "array",
244
+ "items": {
245
+ "type": "object",
246
+ "properties": {
247
+ "identifier": {
248
+ "type": "integer",
249
+ "minimum": 0,
250
+ "maximum": 255,
251
+ "description": "Identifier (0-255) for data lookup in Guard table."
252
+ },
253
+ "b_submission": {
254
+ "type": "boolean",
255
+ "description": "Whether user submission is required for this data"
256
+ },
257
+ "value_type": {
258
+ "anyOf": [
259
+ {
260
+ "type": "number",
261
+ "const": 0,
262
+ "description": "Bool (0)"
263
+ },
264
+ {
265
+ "type": "number",
266
+ "const": 1,
267
+ "description": "Address (1)"
268
+ },
269
+ {
270
+ "type": "number",
271
+ "const": 2,
272
+ "description": "String (2)"
273
+ },
274
+ {
275
+ "type": "number",
276
+ "const": 3,
277
+ "description": "U8 (3)"
278
+ },
279
+ {
280
+ "type": "number",
281
+ "const": 4,
282
+ "description": "U16 (4)"
283
+ },
284
+ {
285
+ "type": "number",
286
+ "const": 5,
287
+ "description": "U32 (5)"
288
+ },
289
+ {
290
+ "type": "number",
291
+ "const": 6,
292
+ "description": "U64 (6)"
293
+ },
294
+ {
295
+ "type": "number",
296
+ "const": 7,
297
+ "description": "U128 (7)"
298
+ },
299
+ {
300
+ "type": "number",
301
+ "const": 8,
302
+ "description": "U256 (8)"
303
+ },
304
+ {
305
+ "type": "number",
306
+ "const": 9,
307
+ "description": "VecBool (9)"
308
+ },
309
+ {
310
+ "type": "number",
311
+ "const": 10,
312
+ "description": "VecAddress (10)"
313
+ },
314
+ {
315
+ "type": "number",
316
+ "const": 11,
317
+ "description": "VecString (11)"
318
+ },
319
+ {
320
+ "type": "number",
321
+ "const": 12,
322
+ "description": "VecU8 (12)"
323
+ },
324
+ {
325
+ "type": "number",
326
+ "const": 13,
327
+ "description": "VecU16 (13)"
328
+ },
329
+ {
330
+ "type": "number",
331
+ "const": 14,
332
+ "description": "VecU32 (14)"
333
+ },
334
+ {
335
+ "type": "number",
336
+ "const": 15,
337
+ "description": "VecU64 (15)"
338
+ },
339
+ {
340
+ "type": "number",
341
+ "const": 16,
342
+ "description": "VecU128 (16)"
343
+ },
344
+ {
345
+ "type": "number",
346
+ "const": 17,
347
+ "description": "VecU256 (17)"
348
+ },
349
+ {
350
+ "type": "number",
351
+ "const": 18,
352
+ "description": "VecVecU8 (18)"
353
+ },
354
+ {
355
+ "type": "string",
356
+ "const": "Bool",
357
+ "description": "Bool"
358
+ },
359
+ {
360
+ "type": "string",
361
+ "const": "Address",
362
+ "description": "Address"
363
+ },
364
+ {
365
+ "type": "string",
366
+ "const": "String",
367
+ "description": "String"
368
+ },
369
+ {
370
+ "type": "string",
371
+ "const": "U8",
372
+ "description": "U8"
373
+ },
374
+ {
375
+ "type": "string",
376
+ "const": "U16",
377
+ "description": "U16"
378
+ },
379
+ {
380
+ "type": "string",
381
+ "const": "U32",
382
+ "description": "U32"
383
+ },
384
+ {
385
+ "type": "string",
386
+ "const": "U64",
387
+ "description": "U64"
388
+ },
389
+ {
390
+ "type": "string",
391
+ "const": "U128",
392
+ "description": "U128"
393
+ },
394
+ {
395
+ "type": "string",
396
+ "const": "U256",
397
+ "description": "U256"
398
+ },
399
+ {
400
+ "type": "string",
401
+ "const": "VecBool",
402
+ "description": "VecBool"
403
+ },
404
+ {
405
+ "type": "string",
406
+ "const": "VecAddress",
407
+ "description": "VecAddress"
408
+ },
409
+ {
410
+ "type": "string",
411
+ "const": "VecString",
412
+ "description": "VecString"
413
+ },
414
+ {
415
+ "type": "string",
416
+ "const": "VecU8",
417
+ "description": "VecU8"
418
+ },
419
+ {
420
+ "type": "string",
421
+ "const": "VecU16",
422
+ "description": "VecU16"
423
+ },
424
+ {
425
+ "type": "string",
426
+ "const": "VecU32",
427
+ "description": "VecU32"
428
+ },
429
+ {
430
+ "type": "string",
431
+ "const": "VecU64",
432
+ "description": "VecU64"
433
+ },
434
+ {
435
+ "type": "string",
436
+ "const": "VecU128",
437
+ "description": "VecU128"
438
+ },
439
+ {
440
+ "type": "string",
441
+ "const": "VecU256",
442
+ "description": "VecU256"
443
+ },
444
+ {
445
+ "type": "string",
446
+ "const": "VecVecU8",
447
+ "description": "VecVecU8"
448
+ },
449
+ {
450
+ "type": "string",
451
+ "const": "bool",
452
+ "description": "bool"
453
+ },
454
+ {
455
+ "type": "string",
456
+ "const": "address",
457
+ "description": "address"
458
+ },
459
+ {
460
+ "type": "string",
461
+ "const": "string",
462
+ "description": "string"
463
+ },
464
+ {
465
+ "type": "string",
466
+ "const": "u8",
467
+ "description": "u8"
468
+ },
469
+ {
470
+ "type": "string",
471
+ "const": "u16",
472
+ "description": "u16"
473
+ },
474
+ {
475
+ "type": "string",
476
+ "const": "u32",
477
+ "description": "u32"
478
+ },
479
+ {
480
+ "type": "string",
481
+ "const": "u64",
482
+ "description": "u64"
483
+ },
484
+ {
485
+ "type": "string",
486
+ "const": "u128",
487
+ "description": "u128"
488
+ },
489
+ {
490
+ "type": "string",
491
+ "const": "u256",
492
+ "description": "u256"
493
+ },
494
+ {
495
+ "type": "string",
496
+ "const": "vecbool",
497
+ "description": "vecbool"
498
+ },
499
+ {
500
+ "type": "string",
501
+ "const": "vecaddress",
502
+ "description": "vecaddress"
503
+ },
504
+ {
505
+ "type": "string",
506
+ "const": "vecstring",
507
+ "description": "vecstring"
508
+ },
509
+ {
510
+ "type": "string",
511
+ "const": "vecu8",
512
+ "description": "vecu8"
513
+ },
514
+ {
515
+ "type": "string",
516
+ "const": "vecu16",
517
+ "description": "vecu16"
518
+ },
519
+ {
520
+ "type": "string",
521
+ "const": "vecu32",
522
+ "description": "vecu32"
523
+ },
524
+ {
525
+ "type": "string",
526
+ "const": "vecu64",
527
+ "description": "vecu64"
528
+ },
529
+ {
530
+ "type": "string",
531
+ "const": "vecu128",
532
+ "description": "vecu128"
533
+ },
534
+ {
535
+ "type": "string",
536
+ "const": "vecu256",
537
+ "description": "vecu256"
538
+ },
539
+ {
540
+ "type": "string",
541
+ "const": "vecvecu8",
542
+ "description": "vecvecu8"
543
+ }
544
+ ],
545
+ "description": "Type of the value"
546
+ },
547
+ "value": {
548
+ "anyOf": [
549
+ {
550
+ "type": "boolean"
551
+ },
552
+ {
553
+ "anyOf": [
554
+ {
555
+ "type": "object",
556
+ "properties": {
557
+ "name_or_address": {
558
+ "$ref": "#/definitions/submission/properties/guard/items/properties/object",
559
+ "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)."
560
+ },
561
+ "local_mark_first": {
562
+ "type": "boolean",
563
+ "description": "Whether to prioritize local marks, if true, prioritize local marks, otherwise prioritize global marks"
564
+ }
565
+ },
566
+ "additionalProperties": false,
567
+ "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."
568
+ },
569
+ {
570
+ "type": "string"
571
+ }
572
+ ]
573
+ },
574
+ {
575
+ "type": "string"
576
+ },
577
+ {
578
+ "type": "number"
579
+ },
580
+ {
581
+ "type": "array",
582
+ "items": {
583
+ "type": "boolean"
584
+ }
585
+ },
586
+ {
587
+ "anyOf": [
588
+ {
589
+ "type": "object",
590
+ "properties": {
591
+ "entities": {
592
+ "type": "array",
593
+ "items": {
594
+ "$ref": "#/definitions/submission/properties/submission/items/properties/submission/items/properties/value/anyOf/1/anyOf/0"
595
+ }
596
+ },
597
+ "check_all_founded": {
598
+ "type": "boolean",
599
+ "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"
600
+ }
601
+ },
602
+ "required": [
603
+ "entities"
604
+ ],
605
+ "additionalProperties": false,
606
+ "description": "Used to batch find account or object IDs by name"
607
+ },
608
+ {
609
+ "type": "array",
610
+ "items": {
611
+ "type": "string"
612
+ }
613
+ }
614
+ ]
615
+ },
616
+ {
617
+ "type": "array",
618
+ "items": {
619
+ "type": "string"
620
+ }
621
+ },
622
+ {
623
+ "type": "array",
624
+ "items": {
625
+ "type": "number"
626
+ }
627
+ },
628
+ {
629
+ "type": "array",
630
+ "items": {
631
+ "type": "array",
632
+ "items": {
633
+ "type": "number"
634
+ }
635
+ }
636
+ }
637
+ ],
638
+ "description": "The actual value data"
639
+ },
640
+ "name": {
641
+ "type": "string",
642
+ "default": "",
643
+ "description": "Name or description of this data"
644
+ },
645
+ "object_type": {
646
+ "type": "string",
647
+ "enum": [
648
+ "Permission",
649
+ "Repository",
650
+ "Arb",
651
+ "Arbitration",
652
+ "Service",
653
+ "Machine",
654
+ "Order",
655
+ "Progress",
656
+ "Payment",
657
+ "Treasury",
658
+ "Guard",
659
+ "Demand",
660
+ "Passport",
661
+ "Allocation",
662
+ "Resource",
663
+ "Reward",
664
+ "Discount",
665
+ "EntityRegistrar",
666
+ "EntityLinker",
667
+ "Proof",
668
+ "WReceivedObject",
669
+ "Contact",
670
+ "TableItem_ProgressHistory",
671
+ "TableItem_PermissionPerm",
672
+ "TableItem_DemandPresenter",
673
+ "TableItem_MachineNode",
674
+ "TableItem_TreasuryHistory",
675
+ "TableItem_RepositoryData",
676
+ "TableItem_RewardRecord",
677
+ "TableItem_EntityLinker",
678
+ "TableItem_AddressMark",
679
+ "TableItem_EntityRegistrar"
680
+ ],
681
+ "description": "Object type when value_type is Address and represents a specific object"
682
+ }
683
+ },
684
+ "required": [
685
+ "identifier",
686
+ "b_submission",
687
+ "value_type"
688
+ ],
689
+ "additionalProperties": false,
690
+ "description": "Guard table item"
691
+ },
692
+ "description": "User-submitted data required for Guard verification."
693
+ }
694
+ },
695
+ "required": [
696
+ "guard",
697
+ "submission"
698
+ ],
699
+ "additionalProperties": false,
700
+ "description": "Permission guard submission data."
701
+ }
702
+ }
703
+ },
704
+ "required": [
705
+ "type",
706
+ "guard",
707
+ "submission"
708
+ ],
709
+ "additionalProperties": false,
710
+ "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."
711
+ }
712
+ }
713
+ }