@peac/schema 0.10.14 → 0.11.1

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 (41) hide show
  1. package/dist/agent-identity.d.ts +62 -416
  2. package/dist/agent-identity.d.ts.map +1 -1
  3. package/dist/attestation-receipt.d.ts +5 -39
  4. package/dist/attestation-receipt.d.ts.map +1 -1
  5. package/dist/attribution.cjs +2 -2
  6. package/dist/attribution.cjs.map +1 -1
  7. package/dist/attribution.d.ts +69 -448
  8. package/dist/attribution.d.ts.map +1 -1
  9. package/dist/attribution.mjs +2 -2
  10. package/dist/attribution.mjs.map +1 -1
  11. package/dist/carrier.d.ts +93 -0
  12. package/dist/carrier.d.ts.map +1 -0
  13. package/dist/dispute.d.ts +262 -780
  14. package/dist/dispute.d.ts.map +1 -1
  15. package/dist/errors.d.ts +13 -0
  16. package/dist/errors.d.ts.map +1 -1
  17. package/dist/index.cjs +123 -4
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.d.ts +2 -0
  20. package/dist/index.d.ts.map +1 -1
  21. package/dist/index.mjs +114 -5
  22. package/dist/index.mjs.map +1 -1
  23. package/dist/interaction.cjs +1 -1
  24. package/dist/interaction.cjs.map +1 -1
  25. package/dist/interaction.d.ts +104 -596
  26. package/dist/interaction.d.ts.map +1 -1
  27. package/dist/interaction.mjs +1 -1
  28. package/dist/interaction.mjs.map +1 -1
  29. package/dist/json.d.ts +1 -1
  30. package/dist/json.d.ts.map +1 -1
  31. package/dist/obligations.d.ts +39 -139
  32. package/dist/obligations.d.ts.map +1 -1
  33. package/dist/receipt-parser.cjs +2 -2
  34. package/dist/receipt-parser.cjs.map +1 -1
  35. package/dist/receipt-parser.mjs +2 -2
  36. package/dist/receipt-parser.mjs.map +1 -1
  37. package/dist/validators.d.ts +200 -659
  38. package/dist/validators.d.ts.map +1 -1
  39. package/dist/workflow.d.ts +32 -345
  40. package/dist/workflow.d.ts.map +1 -1
  41. package/package.json +3 -3
@@ -11,94 +11,30 @@ export declare const NormalizedPayment: z.ZodObject<{
11
11
  currency: z.ZodString;
12
12
  asset: z.ZodOptional<z.ZodString>;
13
13
  env: z.ZodOptional<z.ZodString>;
14
- evidence: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonValue, z.ZodTypeDef, import("@peac/kernel").JsonValue>>;
15
- metadata: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonObject, z.ZodTypeDef, import("@peac/kernel").JsonObject>>;
16
- }, "strict", z.ZodTypeAny, {
17
- rail: string;
18
- reference: string;
19
- amount: number;
20
- currency: string;
21
- metadata?: import("@peac/kernel").JsonObject | undefined;
22
- evidence?: import("@peac/kernel").JsonValue | undefined;
23
- asset?: string | undefined;
24
- env?: string | undefined;
25
- }, {
26
- rail: string;
27
- reference: string;
28
- amount: number;
29
- currency: string;
30
- metadata?: import("@peac/kernel").JsonObject | undefined;
31
- evidence?: import("@peac/kernel").JsonValue | undefined;
32
- asset?: string | undefined;
33
- env?: string | undefined;
34
- }>;
14
+ evidence: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonValue, unknown, z.core.$ZodTypeInternals<import("@peac/kernel").JsonValue, unknown>>>;
15
+ metadata: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonObject, unknown, z.core.$ZodTypeInternals<import("@peac/kernel").JsonObject, unknown>>>;
16
+ }, z.core.$strict>;
35
17
  export declare const Subject: z.ZodObject<{
36
- uri: z.ZodEffects<z.ZodString, string, string>;
37
- }, "strict", z.ZodTypeAny, {
38
- uri: string;
39
- }, {
40
- uri: string;
41
- }>;
18
+ uri: z.ZodString;
19
+ }, z.core.$strict>;
42
20
  export declare const AIPREFSnapshot: z.ZodObject<{
43
- url: z.ZodEffects<z.ZodString, string, string>;
21
+ url: z.ZodString;
44
22
  hash: z.ZodString;
45
- }, "strict", z.ZodTypeAny, {
46
- url: string;
47
- hash: string;
48
- }, {
49
- url: string;
50
- hash: string;
51
- }>;
23
+ }, z.core.$strict>;
52
24
  export declare const Extensions: z.ZodObject<{
53
25
  aipref_snapshot: z.ZodOptional<z.ZodObject<{
54
- url: z.ZodEffects<z.ZodString, string, string>;
55
- hash: z.ZodString;
56
- }, "strict", z.ZodTypeAny, {
57
- url: string;
58
- hash: string;
59
- }, {
60
- url: string;
61
- hash: string;
62
- }>>;
63
- }, "strip", z.ZodUnknown, z.objectOutputType<{
64
- aipref_snapshot: z.ZodOptional<z.ZodObject<{
65
- url: z.ZodEffects<z.ZodString, string, string>;
66
- hash: z.ZodString;
67
- }, "strict", z.ZodTypeAny, {
68
- url: string;
69
- hash: string;
70
- }, {
71
- url: string;
72
- hash: string;
73
- }>>;
74
- }, z.ZodUnknown, "strip">, z.objectInputType<{
75
- aipref_snapshot: z.ZodOptional<z.ZodObject<{
76
- url: z.ZodEffects<z.ZodString, string, string>;
26
+ url: z.ZodString;
77
27
  hash: z.ZodString;
78
- }, "strict", z.ZodTypeAny, {
79
- url: string;
80
- hash: string;
81
- }, {
82
- url: string;
83
- hash: string;
84
- }>>;
85
- }, z.ZodUnknown, "strip">>;
28
+ }, z.core.$strict>>;
29
+ }, z.core.$catchall<z.ZodUnknown>>;
86
30
  export declare const JWSHeader: z.ZodObject<{
87
31
  typ: z.ZodLiteral<"peac-receipt/0.1">;
88
32
  alg: z.ZodLiteral<"EdDSA">;
89
33
  kid: z.ZodString;
90
- }, "strict", z.ZodTypeAny, {
91
- alg: "EdDSA";
92
- typ: "peac-receipt/0.1";
93
- kid: string;
94
- }, {
95
- alg: "EdDSA";
96
- typ: "peac-receipt/0.1";
97
- kid: string;
98
- }>;
34
+ }, z.core.$strict>;
99
35
  export declare const ReceiptClaimsSchema: z.ZodObject<{
100
- iss: z.ZodEffects<z.ZodString, string, string>;
101
- aud: z.ZodEffects<z.ZodString, string, string>;
36
+ iss: z.ZodString;
37
+ aud: z.ZodString;
102
38
  iat: z.ZodNumber;
103
39
  exp: z.ZodOptional<z.ZodNumber>;
104
40
  rid: z.ZodString;
@@ -111,144 +47,35 @@ export declare const ReceiptClaimsSchema: z.ZodObject<{
111
47
  currency: z.ZodString;
112
48
  asset: z.ZodOptional<z.ZodString>;
113
49
  env: z.ZodOptional<z.ZodString>;
114
- evidence: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonValue, z.ZodTypeDef, import("@peac/kernel").JsonValue>>;
115
- metadata: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonObject, z.ZodTypeDef, import("@peac/kernel").JsonObject>>;
116
- }, "strict", z.ZodTypeAny, {
117
- rail: string;
118
- reference: string;
119
- amount: number;
120
- currency: string;
121
- metadata?: import("@peac/kernel").JsonObject | undefined;
122
- evidence?: import("@peac/kernel").JsonValue | undefined;
123
- asset?: string | undefined;
124
- env?: string | undefined;
125
- }, {
126
- rail: string;
127
- reference: string;
128
- amount: number;
129
- currency: string;
130
- metadata?: import("@peac/kernel").JsonObject | undefined;
131
- evidence?: import("@peac/kernel").JsonValue | undefined;
132
- asset?: string | undefined;
133
- env?: string | undefined;
134
- }>;
50
+ evidence: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonValue, unknown, z.core.$ZodTypeInternals<import("@peac/kernel").JsonValue, unknown>>>;
51
+ metadata: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonObject, unknown, z.core.$ZodTypeInternals<import("@peac/kernel").JsonObject, unknown>>>;
52
+ }, z.core.$strict>;
135
53
  subject: z.ZodOptional<z.ZodObject<{
136
- uri: z.ZodEffects<z.ZodString, string, string>;
137
- }, "strict", z.ZodTypeAny, {
138
- uri: string;
139
- }, {
140
- uri: string;
141
- }>>;
54
+ uri: z.ZodString;
55
+ }, z.core.$strict>>;
142
56
  ext: z.ZodOptional<z.ZodObject<{
143
57
  aipref_snapshot: z.ZodOptional<z.ZodObject<{
144
- url: z.ZodEffects<z.ZodString, string, string>;
145
- hash: z.ZodString;
146
- }, "strict", z.ZodTypeAny, {
147
- url: string;
148
- hash: string;
149
- }, {
150
- url: string;
151
- hash: string;
152
- }>>;
153
- }, "strip", z.ZodUnknown, z.objectOutputType<{
154
- aipref_snapshot: z.ZodOptional<z.ZodObject<{
155
- url: z.ZodEffects<z.ZodString, string, string>;
156
- hash: z.ZodString;
157
- }, "strict", z.ZodTypeAny, {
158
- url: string;
159
- hash: string;
160
- }, {
161
- url: string;
162
- hash: string;
163
- }>>;
164
- }, z.ZodUnknown, "strip">, z.objectInputType<{
165
- aipref_snapshot: z.ZodOptional<z.ZodObject<{
166
- url: z.ZodEffects<z.ZodString, string, string>;
58
+ url: z.ZodString;
167
59
  hash: z.ZodString;
168
- }, "strict", z.ZodTypeAny, {
169
- url: string;
170
- hash: string;
171
- }, {
172
- url: string;
173
- hash: string;
174
- }>>;
175
- }, z.ZodUnknown, "strip">>>;
176
- purpose_declared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
177
- purpose_enforced: z.ZodOptional<z.ZodEnum<["train", "search", "user_action", "inference", "index"]>>;
178
- purpose_reason: z.ZodOptional<z.ZodEnum<["allowed", "constrained", "denied", "downgraded", "undeclared_default", "unknown_preserved"]>>;
179
- }, "strict", z.ZodTypeAny, {
180
- iss: string;
181
- aud: string;
182
- iat: number;
183
- rid: string;
184
- amt: number;
185
- cur: string;
186
- payment: {
187
- rail: string;
188
- reference: string;
189
- amount: number;
190
- currency: string;
191
- metadata?: import("@peac/kernel").JsonObject | undefined;
192
- evidence?: import("@peac/kernel").JsonValue | undefined;
193
- asset?: string | undefined;
194
- env?: string | undefined;
195
- };
196
- exp?: number | undefined;
197
- ext?: z.objectOutputType<{
198
- aipref_snapshot: z.ZodOptional<z.ZodObject<{
199
- url: z.ZodEffects<z.ZodString, string, string>;
200
- hash: z.ZodString;
201
- }, "strict", z.ZodTypeAny, {
202
- url: string;
203
- hash: string;
204
- }, {
205
- url: string;
206
- hash: string;
207
- }>>;
208
- }, z.ZodUnknown, "strip"> | undefined;
209
- subject?: {
210
- uri: string;
211
- } | undefined;
212
- purpose_declared?: string[] | undefined;
213
- purpose_enforced?: "inference" | "index" | "train" | "user_action" | "search" | undefined;
214
- purpose_reason?: "allowed" | "constrained" | "denied" | "downgraded" | "undeclared_default" | "unknown_preserved" | undefined;
215
- }, {
216
- iss: string;
217
- aud: string;
218
- iat: number;
219
- rid: string;
220
- amt: number;
221
- cur: string;
222
- payment: {
223
- rail: string;
224
- reference: string;
225
- amount: number;
226
- currency: string;
227
- metadata?: import("@peac/kernel").JsonObject | undefined;
228
- evidence?: import("@peac/kernel").JsonValue | undefined;
229
- asset?: string | undefined;
230
- env?: string | undefined;
231
- };
232
- exp?: number | undefined;
233
- ext?: z.objectInputType<{
234
- aipref_snapshot: z.ZodOptional<z.ZodObject<{
235
- url: z.ZodEffects<z.ZodString, string, string>;
236
- hash: z.ZodString;
237
- }, "strict", z.ZodTypeAny, {
238
- url: string;
239
- hash: string;
240
- }, {
241
- url: string;
242
- hash: string;
243
- }>>;
244
- }, z.ZodUnknown, "strip"> | undefined;
245
- subject?: {
246
- uri: string;
247
- } | undefined;
248
- purpose_declared?: string[] | undefined;
249
- purpose_enforced?: "inference" | "index" | "train" | "user_action" | "search" | undefined;
250
- purpose_reason?: "allowed" | "constrained" | "denied" | "downgraded" | "undeclared_default" | "unknown_preserved" | undefined;
251
- }>;
60
+ }, z.core.$strict>>;
61
+ }, z.core.$catchall<z.ZodUnknown>>>;
62
+ purpose_declared: z.ZodOptional<z.ZodArray<z.ZodString>>;
63
+ purpose_enforced: z.ZodOptional<z.ZodEnum<{
64
+ search: "search";
65
+ inference: "inference";
66
+ index: "index";
67
+ train: "train";
68
+ user_action: "user_action";
69
+ }>>;
70
+ purpose_reason: z.ZodOptional<z.ZodEnum<{
71
+ allowed: "allowed";
72
+ constrained: "constrained";
73
+ denied: "denied";
74
+ downgraded: "downgraded";
75
+ undeclared_default: "undeclared_default";
76
+ unknown_preserved: "unknown_preserved";
77
+ }>>;
78
+ }, z.core.$strict>;
252
79
  /**
253
80
  * Schema-derived receipt claims type (v0.9.30+)
254
81
  *
@@ -260,8 +87,8 @@ export type ReceiptClaimsType = z.infer<typeof ReceiptClaimsSchema>;
260
87
  * @deprecated Use ReceiptClaimsSchema instead. Renamed in v0.9.30.
261
88
  */
262
89
  export declare const ReceiptClaims: z.ZodObject<{
263
- iss: z.ZodEffects<z.ZodString, string, string>;
264
- aud: z.ZodEffects<z.ZodString, string, string>;
90
+ iss: z.ZodString;
91
+ aud: z.ZodString;
265
92
  iat: z.ZodNumber;
266
93
  exp: z.ZodOptional<z.ZodNumber>;
267
94
  rid: z.ZodString;
@@ -274,151 +101,38 @@ export declare const ReceiptClaims: z.ZodObject<{
274
101
  currency: z.ZodString;
275
102
  asset: z.ZodOptional<z.ZodString>;
276
103
  env: z.ZodOptional<z.ZodString>;
277
- evidence: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonValue, z.ZodTypeDef, import("@peac/kernel").JsonValue>>;
278
- metadata: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonObject, z.ZodTypeDef, import("@peac/kernel").JsonObject>>;
279
- }, "strict", z.ZodTypeAny, {
280
- rail: string;
281
- reference: string;
282
- amount: number;
283
- currency: string;
284
- metadata?: import("@peac/kernel").JsonObject | undefined;
285
- evidence?: import("@peac/kernel").JsonValue | undefined;
286
- asset?: string | undefined;
287
- env?: string | undefined;
288
- }, {
289
- rail: string;
290
- reference: string;
291
- amount: number;
292
- currency: string;
293
- metadata?: import("@peac/kernel").JsonObject | undefined;
294
- evidence?: import("@peac/kernel").JsonValue | undefined;
295
- asset?: string | undefined;
296
- env?: string | undefined;
297
- }>;
104
+ evidence: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonValue, unknown, z.core.$ZodTypeInternals<import("@peac/kernel").JsonValue, unknown>>>;
105
+ metadata: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonObject, unknown, z.core.$ZodTypeInternals<import("@peac/kernel").JsonObject, unknown>>>;
106
+ }, z.core.$strict>;
298
107
  subject: z.ZodOptional<z.ZodObject<{
299
- uri: z.ZodEffects<z.ZodString, string, string>;
300
- }, "strict", z.ZodTypeAny, {
301
- uri: string;
302
- }, {
303
- uri: string;
304
- }>>;
108
+ uri: z.ZodString;
109
+ }, z.core.$strict>>;
305
110
  ext: z.ZodOptional<z.ZodObject<{
306
111
  aipref_snapshot: z.ZodOptional<z.ZodObject<{
307
- url: z.ZodEffects<z.ZodString, string, string>;
308
- hash: z.ZodString;
309
- }, "strict", z.ZodTypeAny, {
310
- url: string;
311
- hash: string;
312
- }, {
313
- url: string;
314
- hash: string;
315
- }>>;
316
- }, "strip", z.ZodUnknown, z.objectOutputType<{
317
- aipref_snapshot: z.ZodOptional<z.ZodObject<{
318
- url: z.ZodEffects<z.ZodString, string, string>;
319
- hash: z.ZodString;
320
- }, "strict", z.ZodTypeAny, {
321
- url: string;
322
- hash: string;
323
- }, {
324
- url: string;
325
- hash: string;
326
- }>>;
327
- }, z.ZodUnknown, "strip">, z.objectInputType<{
328
- aipref_snapshot: z.ZodOptional<z.ZodObject<{
329
- url: z.ZodEffects<z.ZodString, string, string>;
112
+ url: z.ZodString;
330
113
  hash: z.ZodString;
331
- }, "strict", z.ZodTypeAny, {
332
- url: string;
333
- hash: string;
334
- }, {
335
- url: string;
336
- hash: string;
337
- }>>;
338
- }, z.ZodUnknown, "strip">>>;
339
- purpose_declared: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
340
- purpose_enforced: z.ZodOptional<z.ZodEnum<["train", "search", "user_action", "inference", "index"]>>;
341
- purpose_reason: z.ZodOptional<z.ZodEnum<["allowed", "constrained", "denied", "downgraded", "undeclared_default", "unknown_preserved"]>>;
342
- }, "strict", z.ZodTypeAny, {
343
- iss: string;
344
- aud: string;
345
- iat: number;
346
- rid: string;
347
- amt: number;
348
- cur: string;
349
- payment: {
350
- rail: string;
351
- reference: string;
352
- amount: number;
353
- currency: string;
354
- metadata?: import("@peac/kernel").JsonObject | undefined;
355
- evidence?: import("@peac/kernel").JsonValue | undefined;
356
- asset?: string | undefined;
357
- env?: string | undefined;
358
- };
359
- exp?: number | undefined;
360
- ext?: z.objectOutputType<{
361
- aipref_snapshot: z.ZodOptional<z.ZodObject<{
362
- url: z.ZodEffects<z.ZodString, string, string>;
363
- hash: z.ZodString;
364
- }, "strict", z.ZodTypeAny, {
365
- url: string;
366
- hash: string;
367
- }, {
368
- url: string;
369
- hash: string;
370
- }>>;
371
- }, z.ZodUnknown, "strip"> | undefined;
372
- subject?: {
373
- uri: string;
374
- } | undefined;
375
- purpose_declared?: string[] | undefined;
376
- purpose_enforced?: "inference" | "index" | "train" | "user_action" | "search" | undefined;
377
- purpose_reason?: "allowed" | "constrained" | "denied" | "downgraded" | "undeclared_default" | "unknown_preserved" | undefined;
378
- }, {
379
- iss: string;
380
- aud: string;
381
- iat: number;
382
- rid: string;
383
- amt: number;
384
- cur: string;
385
- payment: {
386
- rail: string;
387
- reference: string;
388
- amount: number;
389
- currency: string;
390
- metadata?: import("@peac/kernel").JsonObject | undefined;
391
- evidence?: import("@peac/kernel").JsonValue | undefined;
392
- asset?: string | undefined;
393
- env?: string | undefined;
394
- };
395
- exp?: number | undefined;
396
- ext?: z.objectInputType<{
397
- aipref_snapshot: z.ZodOptional<z.ZodObject<{
398
- url: z.ZodEffects<z.ZodString, string, string>;
399
- hash: z.ZodString;
400
- }, "strict", z.ZodTypeAny, {
401
- url: string;
402
- hash: string;
403
- }, {
404
- url: string;
405
- hash: string;
406
- }>>;
407
- }, z.ZodUnknown, "strip"> | undefined;
408
- subject?: {
409
- uri: string;
410
- } | undefined;
411
- purpose_declared?: string[] | undefined;
412
- purpose_enforced?: "inference" | "index" | "train" | "user_action" | "search" | undefined;
413
- purpose_reason?: "allowed" | "constrained" | "denied" | "downgraded" | "undeclared_default" | "unknown_preserved" | undefined;
414
- }>;
114
+ }, z.core.$strict>>;
115
+ }, z.core.$catchall<z.ZodUnknown>>>;
116
+ purpose_declared: z.ZodOptional<z.ZodArray<z.ZodString>>;
117
+ purpose_enforced: z.ZodOptional<z.ZodEnum<{
118
+ search: "search";
119
+ inference: "inference";
120
+ index: "index";
121
+ train: "train";
122
+ user_action: "user_action";
123
+ }>>;
124
+ purpose_reason: z.ZodOptional<z.ZodEnum<{
125
+ allowed: "allowed";
126
+ constrained: "constrained";
127
+ denied: "denied";
128
+ downgraded: "downgraded";
129
+ undeclared_default: "undeclared_default";
130
+ unknown_preserved: "unknown_preserved";
131
+ }>>;
132
+ }, z.core.$strict>;
415
133
  export declare const VerifyRequest: z.ZodObject<{
416
134
  receipt_jws: z.ZodString;
417
- }, "strict", z.ZodTypeAny, {
418
- receipt_jws: string;
419
- }, {
420
- receipt_jws: string;
421
- }>;
135
+ }, z.core.$strict>;
422
136
  /**
423
137
  * Control purpose - what the access is for
424
138
  *
@@ -428,15 +142,32 @@ export declare const VerifyRequest: z.ZodObject<{
428
142
  *
429
143
  * @see https://rslstandard.org/rsl for RSL 1.0 specification
430
144
  */
431
- export declare const ControlPurposeSchema: z.ZodEnum<["crawl", "index", "train", "inference", "user_action", "ai_input", "ai_index", "search"]>;
145
+ export declare const ControlPurposeSchema: z.ZodEnum<{
146
+ search: "search";
147
+ inference: "inference";
148
+ crawl: "crawl";
149
+ index: "index";
150
+ train: "train";
151
+ user_action: "user_action";
152
+ ai_input: "ai_input";
153
+ ai_index: "ai_index";
154
+ }>;
432
155
  /**
433
156
  * Control licensing mode - how access is licensed
434
157
  */
435
- export declare const ControlLicensingModeSchema: z.ZodEnum<["subscription", "pay_per_crawl", "pay_per_inference"]>;
158
+ export declare const ControlLicensingModeSchema: z.ZodEnum<{
159
+ subscription: "subscription";
160
+ pay_per_crawl: "pay_per_crawl";
161
+ pay_per_inference: "pay_per_inference";
162
+ }>;
436
163
  /**
437
164
  * Control decision type
438
165
  */
439
- export declare const ControlDecisionSchema: z.ZodEnum<["allow", "deny", "review"]>;
166
+ export declare const ControlDecisionSchema: z.ZodEnum<{
167
+ allow: "allow";
168
+ deny: "deny";
169
+ review: "review";
170
+ }>;
440
171
  /**
441
172
  * Single control step in governance chain
442
173
  */
@@ -444,137 +175,71 @@ export declare const ControlStepSchema: z.ZodObject<{
444
175
  engine: z.ZodString;
445
176
  version: z.ZodOptional<z.ZodString>;
446
177
  policy_id: z.ZodOptional<z.ZodString>;
447
- result: z.ZodEnum<["allow", "deny", "review"]>;
178
+ result: z.ZodEnum<{
179
+ allow: "allow";
180
+ deny: "deny";
181
+ review: "review";
182
+ }>;
448
183
  reason: z.ZodOptional<z.ZodString>;
449
- purpose: z.ZodOptional<z.ZodEnum<["crawl", "index", "train", "inference", "user_action", "ai_input", "ai_index", "search"]>>;
450
- licensing_mode: z.ZodOptional<z.ZodEnum<["subscription", "pay_per_crawl", "pay_per_inference"]>>;
451
- scope: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
184
+ purpose: z.ZodOptional<z.ZodEnum<{
185
+ search: "search";
186
+ inference: "inference";
187
+ crawl: "crawl";
188
+ index: "index";
189
+ train: "train";
190
+ user_action: "user_action";
191
+ ai_input: "ai_input";
192
+ ai_index: "ai_index";
193
+ }>>;
194
+ licensing_mode: z.ZodOptional<z.ZodEnum<{
195
+ subscription: "subscription";
196
+ pay_per_crawl: "pay_per_crawl";
197
+ pay_per_inference: "pay_per_inference";
198
+ }>>;
199
+ scope: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
452
200
  limits_snapshot: z.ZodOptional<z.ZodUnknown>;
453
201
  evidence_ref: z.ZodOptional<z.ZodString>;
454
- }, "strip", z.ZodTypeAny, {
455
- engine: string;
456
- result: "allow" | "deny" | "review";
457
- evidence_ref?: string | undefined;
458
- version?: string | undefined;
459
- policy_id?: string | undefined;
460
- reason?: string | undefined;
461
- purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
462
- licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
463
- scope?: string | string[] | undefined;
464
- limits_snapshot?: unknown;
465
- }, {
466
- engine: string;
467
- result: "allow" | "deny" | "review";
468
- evidence_ref?: string | undefined;
469
- version?: string | undefined;
470
- policy_id?: string | undefined;
471
- reason?: string | undefined;
472
- purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
473
- licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
474
- scope?: string | string[] | undefined;
475
- limits_snapshot?: unknown;
476
- }>;
202
+ }, z.core.$strip>;
477
203
  /**
478
204
  * Composable control block - multi-party governance
479
205
  */
480
- export declare const ControlBlockSchema: z.ZodEffects<z.ZodObject<{
206
+ export declare const ControlBlockSchema: z.ZodObject<{
481
207
  chain: z.ZodArray<z.ZodObject<{
482
208
  engine: z.ZodString;
483
209
  version: z.ZodOptional<z.ZodString>;
484
210
  policy_id: z.ZodOptional<z.ZodString>;
485
- result: z.ZodEnum<["allow", "deny", "review"]>;
211
+ result: z.ZodEnum<{
212
+ allow: "allow";
213
+ deny: "deny";
214
+ review: "review";
215
+ }>;
486
216
  reason: z.ZodOptional<z.ZodString>;
487
- purpose: z.ZodOptional<z.ZodEnum<["crawl", "index", "train", "inference", "user_action", "ai_input", "ai_index", "search"]>>;
488
- licensing_mode: z.ZodOptional<z.ZodEnum<["subscription", "pay_per_crawl", "pay_per_inference"]>>;
489
- scope: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
217
+ purpose: z.ZodOptional<z.ZodEnum<{
218
+ search: "search";
219
+ inference: "inference";
220
+ crawl: "crawl";
221
+ index: "index";
222
+ train: "train";
223
+ user_action: "user_action";
224
+ ai_input: "ai_input";
225
+ ai_index: "ai_index";
226
+ }>>;
227
+ licensing_mode: z.ZodOptional<z.ZodEnum<{
228
+ subscription: "subscription";
229
+ pay_per_crawl: "pay_per_crawl";
230
+ pay_per_inference: "pay_per_inference";
231
+ }>>;
232
+ scope: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
490
233
  limits_snapshot: z.ZodOptional<z.ZodUnknown>;
491
234
  evidence_ref: z.ZodOptional<z.ZodString>;
492
- }, "strip", z.ZodTypeAny, {
493
- engine: string;
494
- result: "allow" | "deny" | "review";
495
- evidence_ref?: string | undefined;
496
- version?: string | undefined;
497
- policy_id?: string | undefined;
498
- reason?: string | undefined;
499
- purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
500
- licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
501
- scope?: string | string[] | undefined;
502
- limits_snapshot?: unknown;
503
- }, {
504
- engine: string;
505
- result: "allow" | "deny" | "review";
506
- evidence_ref?: string | undefined;
507
- version?: string | undefined;
508
- policy_id?: string | undefined;
509
- reason?: string | undefined;
510
- purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
511
- licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
512
- scope?: string | string[] | undefined;
513
- limits_snapshot?: unknown;
514
- }>, "many">;
515
- decision: z.ZodEnum<["allow", "deny", "review"]>;
235
+ }, z.core.$strip>>;
236
+ decision: z.ZodEnum<{
237
+ allow: "allow";
238
+ deny: "deny";
239
+ review: "review";
240
+ }>;
516
241
  combinator: z.ZodOptional<z.ZodLiteral<"any_can_veto">>;
517
- }, "strip", z.ZodTypeAny, {
518
- chain: {
519
- engine: string;
520
- result: "allow" | "deny" | "review";
521
- evidence_ref?: string | undefined;
522
- version?: string | undefined;
523
- policy_id?: string | undefined;
524
- reason?: string | undefined;
525
- purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
526
- licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
527
- scope?: string | string[] | undefined;
528
- limits_snapshot?: unknown;
529
- }[];
530
- decision: "allow" | "deny" | "review";
531
- combinator?: "any_can_veto" | undefined;
532
- }, {
533
- chain: {
534
- engine: string;
535
- result: "allow" | "deny" | "review";
536
- evidence_ref?: string | undefined;
537
- version?: string | undefined;
538
- policy_id?: string | undefined;
539
- reason?: string | undefined;
540
- purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
541
- licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
542
- scope?: string | string[] | undefined;
543
- limits_snapshot?: unknown;
544
- }[];
545
- decision: "allow" | "deny" | "review";
546
- combinator?: "any_can_veto" | undefined;
547
- }>, {
548
- chain: {
549
- engine: string;
550
- result: "allow" | "deny" | "review";
551
- evidence_ref?: string | undefined;
552
- version?: string | undefined;
553
- policy_id?: string | undefined;
554
- reason?: string | undefined;
555
- purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
556
- licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
557
- scope?: string | string[] | undefined;
558
- limits_snapshot?: unknown;
559
- }[];
560
- decision: "allow" | "deny" | "review";
561
- combinator?: "any_can_veto" | undefined;
562
- }, {
563
- chain: {
564
- engine: string;
565
- result: "allow" | "deny" | "review";
566
- evidence_ref?: string | undefined;
567
- version?: string | undefined;
568
- policy_id?: string | undefined;
569
- reason?: string | undefined;
570
- purpose?: "inference" | "crawl" | "index" | "train" | "user_action" | "ai_input" | "ai_index" | "search" | undefined;
571
- licensing_mode?: "subscription" | "pay_per_crawl" | "pay_per_inference" | undefined;
572
- scope?: string | string[] | undefined;
573
- limits_snapshot?: unknown;
574
- }[];
575
- decision: "allow" | "deny" | "review";
576
- combinator?: "any_can_veto" | undefined;
577
- }>;
242
+ }, z.core.$strip>;
578
243
  /**
579
244
  * Purpose token validator
580
245
  *
@@ -585,20 +250,33 @@ export declare const ControlBlockSchema: z.ZodEffects<z.ZodObject<{
585
250
  *
586
251
  * Uses string type (not enum) to preserve unknown tokens for forward-compat.
587
252
  */
588
- export declare const PurposeTokenSchema: z.ZodEffects<z.ZodString, string, string>;
253
+ export declare const PurposeTokenSchema: z.ZodString;
589
254
  /**
590
255
  * Canonical purpose validator
591
256
  *
592
257
  * CanonicalPurpose is one of PEAC's normative purpose tokens.
593
258
  * Only these tokens have enforcement semantics.
594
259
  */
595
- export declare const CanonicalPurposeSchema: z.ZodEnum<["train", "search", "user_action", "inference", "index"]>;
260
+ export declare const CanonicalPurposeSchema: z.ZodEnum<{
261
+ search: "search";
262
+ inference: "inference";
263
+ index: "index";
264
+ train: "train";
265
+ user_action: "user_action";
266
+ }>;
596
267
  /**
597
268
  * Purpose reason validator
598
269
  *
599
270
  * PurposeReason is the audit spine explaining enforcement decisions.
600
271
  */
601
- export declare const PurposeReasonSchema: z.ZodEnum<["allowed", "constrained", "denied", "downgraded", "undeclared_default", "unknown_preserved"]>;
272
+ export declare const PurposeReasonSchema: z.ZodEnum<{
273
+ allowed: "allowed";
274
+ constrained: "constrained";
275
+ denied: "denied";
276
+ downgraded: "downgraded";
277
+ undeclared_default: "undeclared_default";
278
+ unknown_preserved: "unknown_preserved";
279
+ }>;
602
280
  /**
603
281
  * Payment split schema
604
282
  *
@@ -608,47 +286,15 @@ export declare const PurposeReasonSchema: z.ZodEnum<["allowed", "constrained", "
608
286
  * - share if present must be in [0,1]
609
287
  * - At least one of amount or share must be specified
610
288
  */
611
- export declare const PaymentSplitSchema: z.ZodEffects<z.ZodObject<{
289
+ export declare const PaymentSplitSchema: z.ZodObject<{
612
290
  party: z.ZodString;
613
291
  amount: z.ZodOptional<z.ZodNumber>;
614
292
  currency: z.ZodOptional<z.ZodString>;
615
293
  share: z.ZodOptional<z.ZodNumber>;
616
294
  rail: z.ZodOptional<z.ZodString>;
617
295
  account_ref: z.ZodOptional<z.ZodString>;
618
- metadata: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonObject, z.ZodTypeDef, import("@peac/kernel").JsonObject>>;
619
- }, "strict", z.ZodTypeAny, {
620
- party: string;
621
- metadata?: import("@peac/kernel").JsonObject | undefined;
622
- rail?: string | undefined;
623
- amount?: number | undefined;
624
- currency?: string | undefined;
625
- share?: number | undefined;
626
- account_ref?: string | undefined;
627
- }, {
628
- party: string;
629
- metadata?: import("@peac/kernel").JsonObject | undefined;
630
- rail?: string | undefined;
631
- amount?: number | undefined;
632
- currency?: string | undefined;
633
- share?: number | undefined;
634
- account_ref?: string | undefined;
635
- }>, {
636
- party: string;
637
- metadata?: import("@peac/kernel").JsonObject | undefined;
638
- rail?: string | undefined;
639
- amount?: number | undefined;
640
- currency?: string | undefined;
641
- share?: number | undefined;
642
- account_ref?: string | undefined;
643
- }, {
644
- party: string;
645
- metadata?: import("@peac/kernel").JsonObject | undefined;
646
- rail?: string | undefined;
647
- amount?: number | undefined;
648
- currency?: string | undefined;
649
- share?: number | undefined;
650
- account_ref?: string | undefined;
651
- }>;
296
+ metadata: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonObject, unknown, z.core.$ZodTypeInternals<import("@peac/kernel").JsonObject, unknown>>>;
297
+ }, z.core.$strict>;
652
298
  /**
653
299
  * Payment routing mode schema (rail-agnostic)
654
300
  *
@@ -665,7 +311,11 @@ export declare const PaymentSplitSchema: z.ZodEffects<z.ZodObject<{
665
311
  * - Stripe Connect `destination` -> routing = 'direct' or 'callback'
666
312
  * - UPI `pa` (payee address) -> routing = 'direct'
667
313
  */
668
- export declare const PaymentRoutingSchema: z.ZodEnum<["direct", "callback", "role"]>;
314
+ export declare const PaymentRoutingSchema: z.ZodEnum<{
315
+ direct: "direct";
316
+ callback: "callback";
317
+ role: "role";
318
+ }>;
669
319
  /**
670
320
  * Payment evidence schema
671
321
  *
@@ -677,100 +327,37 @@ export declare const PaymentEvidenceSchema: z.ZodObject<{
677
327
  amount: z.ZodNumber;
678
328
  currency: z.ZodString;
679
329
  asset: z.ZodString;
680
- env: z.ZodEnum<["live", "test"]>;
330
+ env: z.ZodEnum<{
331
+ live: "live";
332
+ test: "test";
333
+ }>;
681
334
  network: z.ZodOptional<z.ZodString>;
682
335
  facilitator_ref: z.ZodOptional<z.ZodString>;
683
- evidence: z.ZodType<import("@peac/kernel").JsonValue, z.ZodTypeDef, import("@peac/kernel").JsonValue>;
336
+ evidence: z.ZodType<import("@peac/kernel").JsonValue, unknown, z.core.$ZodTypeInternals<import("@peac/kernel").JsonValue, unknown>>;
684
337
  aggregator: z.ZodOptional<z.ZodString>;
685
- splits: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
338
+ splits: z.ZodOptional<z.ZodArray<z.ZodObject<{
686
339
  party: z.ZodString;
687
340
  amount: z.ZodOptional<z.ZodNumber>;
688
341
  currency: z.ZodOptional<z.ZodString>;
689
342
  share: z.ZodOptional<z.ZodNumber>;
690
343
  rail: z.ZodOptional<z.ZodString>;
691
344
  account_ref: z.ZodOptional<z.ZodString>;
692
- metadata: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonObject, z.ZodTypeDef, import("@peac/kernel").JsonObject>>;
693
- }, "strict", z.ZodTypeAny, {
694
- party: string;
695
- metadata?: import("@peac/kernel").JsonObject | undefined;
696
- rail?: string | undefined;
697
- amount?: number | undefined;
698
- currency?: string | undefined;
699
- share?: number | undefined;
700
- account_ref?: string | undefined;
701
- }, {
702
- party: string;
703
- metadata?: import("@peac/kernel").JsonObject | undefined;
704
- rail?: string | undefined;
705
- amount?: number | undefined;
706
- currency?: string | undefined;
707
- share?: number | undefined;
708
- account_ref?: string | undefined;
709
- }>, {
710
- party: string;
711
- metadata?: import("@peac/kernel").JsonObject | undefined;
712
- rail?: string | undefined;
713
- amount?: number | undefined;
714
- currency?: string | undefined;
715
- share?: number | undefined;
716
- account_ref?: string | undefined;
717
- }, {
718
- party: string;
719
- metadata?: import("@peac/kernel").JsonObject | undefined;
720
- rail?: string | undefined;
721
- amount?: number | undefined;
722
- currency?: string | undefined;
723
- share?: number | undefined;
724
- account_ref?: string | undefined;
725
- }>, "many">>;
726
- routing: z.ZodOptional<z.ZodEnum<["direct", "callback", "role"]>>;
727
- }, "strict", z.ZodTypeAny, {
728
- evidence: import("@peac/kernel").JsonValue;
729
- rail: string;
730
- reference: string;
731
- amount: number;
732
- currency: string;
733
- asset: string;
734
- env: "live" | "test";
735
- network?: string | undefined;
736
- facilitator_ref?: string | undefined;
737
- aggregator?: string | undefined;
738
- splits?: {
739
- party: string;
740
- metadata?: import("@peac/kernel").JsonObject | undefined;
741
- rail?: string | undefined;
742
- amount?: number | undefined;
743
- currency?: string | undefined;
744
- share?: number | undefined;
745
- account_ref?: string | undefined;
746
- }[] | undefined;
747
- routing?: "direct" | "callback" | "role" | undefined;
748
- }, {
749
- evidence: import("@peac/kernel").JsonValue;
750
- rail: string;
751
- reference: string;
752
- amount: number;
753
- currency: string;
754
- asset: string;
755
- env: "live" | "test";
756
- network?: string | undefined;
757
- facilitator_ref?: string | undefined;
758
- aggregator?: string | undefined;
759
- splits?: {
760
- party: string;
761
- metadata?: import("@peac/kernel").JsonObject | undefined;
762
- rail?: string | undefined;
763
- amount?: number | undefined;
764
- currency?: string | undefined;
765
- share?: number | undefined;
766
- account_ref?: string | undefined;
767
- }[] | undefined;
768
- routing?: "direct" | "callback" | "role" | undefined;
769
- }>;
345
+ metadata: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonObject, unknown, z.core.$ZodTypeInternals<import("@peac/kernel").JsonObject, unknown>>>;
346
+ }, z.core.$strict>>>;
347
+ routing: z.ZodOptional<z.ZodEnum<{
348
+ direct: "direct";
349
+ callback: "callback";
350
+ role: "role";
351
+ }>>;
352
+ }, z.core.$strict>;
770
353
  /**
771
354
  * Subject type schema
772
355
  */
773
- export declare const SubjectTypeSchema: z.ZodEnum<["human", "org", "agent"]>;
356
+ export declare const SubjectTypeSchema: z.ZodEnum<{
357
+ human: "human";
358
+ org: "org";
359
+ agent: "agent";
360
+ }>;
774
361
  /**
775
362
  * Subject profile schema
776
363
  *
@@ -781,20 +368,14 @@ export declare const SubjectTypeSchema: z.ZodEnum<["human", "org", "agent"]>;
781
368
  */
782
369
  export declare const SubjectProfileSchema: z.ZodObject<{
783
370
  id: z.ZodString;
784
- type: z.ZodEnum<["human", "org", "agent"]>;
785
- labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
786
- metadata: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonObject, z.ZodTypeDef, import("@peac/kernel").JsonObject>>;
787
- }, "strict", z.ZodTypeAny, {
788
- type: "human" | "org" | "agent";
789
- id: string;
790
- metadata?: import("@peac/kernel").JsonObject | undefined;
791
- labels?: string[] | undefined;
792
- }, {
793
- type: "human" | "org" | "agent";
794
- id: string;
795
- metadata?: import("@peac/kernel").JsonObject | undefined;
796
- labels?: string[] | undefined;
797
- }>;
371
+ type: z.ZodEnum<{
372
+ human: "human";
373
+ org: "org";
374
+ agent: "agent";
375
+ }>;
376
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
377
+ metadata: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonObject, unknown, z.core.$ZodTypeInternals<import("@peac/kernel").JsonObject, unknown>>>;
378
+ }, z.core.$strict>;
798
379
  /**
799
380
  * Subject profile snapshot schema
800
381
  *
@@ -806,51 +387,25 @@ export declare const SubjectProfileSchema: z.ZodObject<{
806
387
  export declare const SubjectProfileSnapshotSchema: z.ZodObject<{
807
388
  subject: z.ZodObject<{
808
389
  id: z.ZodString;
809
- type: z.ZodEnum<["human", "org", "agent"]>;
810
- labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
811
- metadata: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonObject, z.ZodTypeDef, import("@peac/kernel").JsonObject>>;
812
- }, "strict", z.ZodTypeAny, {
813
- type: "human" | "org" | "agent";
814
- id: string;
815
- metadata?: import("@peac/kernel").JsonObject | undefined;
816
- labels?: string[] | undefined;
817
- }, {
818
- type: "human" | "org" | "agent";
819
- id: string;
820
- metadata?: import("@peac/kernel").JsonObject | undefined;
821
- labels?: string[] | undefined;
822
- }>;
390
+ type: z.ZodEnum<{
391
+ human: "human";
392
+ org: "org";
393
+ agent: "agent";
394
+ }>;
395
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
396
+ metadata: z.ZodOptional<z.ZodType<import("@peac/kernel").JsonObject, unknown, z.core.$ZodTypeInternals<import("@peac/kernel").JsonObject, unknown>>>;
397
+ }, z.core.$strict>;
823
398
  captured_at: z.ZodString;
824
399
  source: z.ZodOptional<z.ZodString>;
825
400
  version: z.ZodOptional<z.ZodString>;
826
- }, "strict", z.ZodTypeAny, {
827
- subject: {
828
- type: "human" | "org" | "agent";
829
- id: string;
830
- metadata?: import("@peac/kernel").JsonObject | undefined;
831
- labels?: string[] | undefined;
832
- };
833
- captured_at: string;
834
- version?: string | undefined;
835
- source?: string | undefined;
836
- }, {
837
- subject: {
838
- type: "human" | "org" | "agent";
839
- id: string;
840
- metadata?: import("@peac/kernel").JsonObject | undefined;
841
- labels?: string[] | undefined;
842
- };
843
- captured_at: string;
844
- version?: string | undefined;
845
- source?: string | undefined;
846
- }>;
401
+ }, z.core.$strict>;
847
402
  /**
848
403
  * Namespaced extensions schema
849
404
  *
850
405
  * Keys must be namespaced (e.g., "com.example/field", "io.vendor/data").
851
406
  * This provides a forward-compatible extension mechanism.
852
407
  */
853
- export declare const ExtensionsSchema: z.ZodRecord<z.ZodString, z.ZodType<import("@peac/kernel").JsonValue, z.ZodTypeDef, import("@peac/kernel").JsonValue>>;
408
+ export declare const ExtensionsSchema: z.ZodRecord<z.ZodString, z.ZodType<import("@peac/kernel").JsonValue, unknown, z.core.$ZodTypeInternals<import("@peac/kernel").JsonValue, unknown>>>;
854
409
  /**
855
410
  * Generic attestation schema
856
411
  *
@@ -865,22 +420,8 @@ export declare const AttestationSchema: z.ZodObject<{
865
420
  issued_at: z.ZodString;
866
421
  expires_at: z.ZodOptional<z.ZodString>;
867
422
  ref: z.ZodOptional<z.ZodString>;
868
- evidence: z.ZodType<import("@peac/kernel").JsonValue, z.ZodTypeDef, import("@peac/kernel").JsonValue>;
869
- }, "strict", z.ZodTypeAny, {
870
- type: string;
871
- issuer: string;
872
- issued_at: string;
873
- evidence: import("@peac/kernel").JsonValue;
874
- expires_at?: string | undefined;
875
- ref?: string | undefined;
876
- }, {
877
- type: string;
878
- issuer: string;
879
- issued_at: string;
880
- evidence: import("@peac/kernel").JsonValue;
881
- expires_at?: string | undefined;
882
- ref?: string | undefined;
883
- }>;
423
+ evidence: z.ZodType<import("@peac/kernel").JsonValue, unknown, z.core.$ZodTypeInternals<import("@peac/kernel").JsonValue, unknown>>;
424
+ }, z.core.$strict>;
884
425
  /**
885
426
  * Validate a subject snapshot (if present)
886
427
  *