@originator-profile/model 0.4.0-beta.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.
package/dist/index.mjs ADDED
@@ -0,0 +1,1613 @@
1
+ const Item$1 = {
2
+ type: "string",
3
+ format: "uri"
4
+ };
5
+ const AllowedOrigin = {
6
+ title: "Allowed Origin",
7
+ anyOf: [
8
+ Item$1,
9
+ {
10
+ type: "array",
11
+ items: Item$1
12
+ }
13
+ ],
14
+ description: "Content Attestation \u306B\u3088\u3063\u3066\u8868\u660E\u3055\u308C\u308B\u60C5\u5831\u306E\u5BFE\u8C61\u3068\u306A\u308B [origin](https://www.rfc-editor.org/rfc/rfc6454#section-7)"
15
+ };
16
+
17
+ const Item = {
18
+ type: "string",
19
+ format: "uri"
20
+ };
21
+ const AllowedUrl = {
22
+ title: "Allowed URLs",
23
+ anyOf: [
24
+ Item,
25
+ {
26
+ type: "array",
27
+ items: Item,
28
+ minItems: 1
29
+ }
30
+ ],
31
+ description: "Content Attestation \u306B\u3088\u3063\u3066\u8868\u660E\u3055\u308C\u308B\u60C5\u5831\u306E\u5BFE\u8C61\u3068\u306A\u308B URL \u3067\u3059\u3002 \u6587\u5B57\u5217\u306F\u5FC5\u305A URL Pattern string \u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093 (MUST)\u3002\u7A7A\u914D\u5217\u306B\u3057\u3066\u306F\u306A\u308A\u307E\u305B\u3093 (MUST NOT)\u3002"
32
+ };
33
+
34
+ const CertificationSystem = {
35
+ type: "object",
36
+ title: "\u8A8D\u8A3C\u30B7\u30B9\u30C6\u30E0",
37
+ properties: {
38
+ id: {
39
+ type: "string",
40
+ title: "\u8A8D\u8A3C\u30B7\u30B9\u30C6\u30E0\u306E ID",
41
+ format: "uri"
42
+ },
43
+ type: {
44
+ type: "string",
45
+ title: "\u8A8D\u8A3C\u30B7\u30B9\u30C6\u30E0\u306E\u7A2E\u985E",
46
+ const: "CertificationSystem"
47
+ },
48
+ name: { type: "string", title: "\u8A8D\u8A3C\u30B7\u30B9\u30C6\u30E0\u540D" },
49
+ description: { type: "string", title: "\u8AAC\u660E" },
50
+ ref: {
51
+ type: "string",
52
+ title: "\u8A8D\u8A3C\u5236\u5EA6\u306E\u8A73\u7D30\u30DA\u30FC\u30B8",
53
+ description: "\u8A8D\u8A3C\u5236\u5EA6\u306E\u8A73\u7D30\u3092\u77E5\u308B\u305F\u3081\u306E\u4EBA\u304C\u8AAD\u3080\u305F\u3081\u306E\u30DA\u30FC\u30B8\u306E URL \u3067\u3059\u3002",
54
+ format: "uri"
55
+ }
56
+ },
57
+ required: ["id", "type", "name"]
58
+ };
59
+
60
+ const OpContextHead = {
61
+ type: "array",
62
+ allOf: [
63
+ {
64
+ contains: {
65
+ const: "https://www.w3.org/ns/credentials/v2"
66
+ }
67
+ },
68
+ {
69
+ contains: {
70
+ const: "https://originator-profile.org/ns/credentials/v1"
71
+ }
72
+ }
73
+ ]
74
+ };
75
+
76
+ const OpVc = {
77
+ type: "object",
78
+ additionalProperties: true,
79
+ properties: {
80
+ "@context": OpContextHead,
81
+ type: {
82
+ type: "array",
83
+ contains: {
84
+ const: "VerifiableCredential"
85
+ }
86
+ },
87
+ issuer: { type: "string", format: "uri" },
88
+ credentialSubject: {
89
+ type: "object",
90
+ additionalProperties: true,
91
+ properties: {
92
+ id: { type: "string", format: "uri" }
93
+ },
94
+ required: ["id"]
95
+ }
96
+ },
97
+ required: ["@context", "type", "issuer", "credentialSubject"]
98
+ };
99
+
100
+ const Image = {
101
+ title: "\u753B\u50CF",
102
+ type: "object",
103
+ properties: {
104
+ id: {
105
+ type: "string",
106
+ format: "uri"
107
+ },
108
+ digestSRI: {
109
+ type: "string",
110
+ title: "Integrity Metadata",
111
+ description: "Subresource Integrity (SRI) digest"
112
+ }
113
+ },
114
+ required: ["id"]
115
+ };
116
+
117
+ const CertificateProperties = {
118
+ type: "object",
119
+ additionalProperties: false,
120
+ properties: {
121
+ id: { type: "string", title: "subject \u306E OP ID", format: "uri" },
122
+ type: { type: "string", const: "CertificateProperties" },
123
+ description: { type: "string", title: "\u8AAC\u660E" },
124
+ image: Image,
125
+ certifier: {
126
+ type: "string",
127
+ title: "\u8A8D\u8A3C\u6A5F\u95A2\u540D"
128
+ },
129
+ verifier: {
130
+ type: "string",
131
+ title: "\u691C\u8A3C\u6A5F\u95A2\u540D"
132
+ },
133
+ certificationSystem: CertificationSystem
134
+ },
135
+ required: ["id", "type", "certificationSystem"]
136
+ };
137
+
138
+ const OpCipContext = {
139
+ type: "array",
140
+ additionalItems: false,
141
+ minItems: 4,
142
+ items: [
143
+ {
144
+ type: "string",
145
+ const: "https://www.w3.org/ns/credentials/v2"
146
+ },
147
+ {
148
+ type: "string",
149
+ const: "https://originator-profile.org/ns/credentials/v1"
150
+ },
151
+ {
152
+ type: "string",
153
+ const: "https://originator-profile.org/ns/cip/v1"
154
+ },
155
+ {
156
+ type: "object",
157
+ properties: {
158
+ "@language": {
159
+ type: "string",
160
+ title: "\u8A00\u8A9E\u30B3\u30FC\u30C9"
161
+ }
162
+ },
163
+ required: ["@language"]
164
+ }
165
+ ]
166
+ };
167
+
168
+ const Certificate = {
169
+ type: "object",
170
+ allOf: [
171
+ OpVc,
172
+ {
173
+ type: "object",
174
+ properties: {
175
+ "@context": OpCipContext,
176
+ type: {
177
+ type: "array",
178
+ additionalItems: false,
179
+ minItems: 1,
180
+ items: [{ const: "VerifiableCredential" }, { const: "Certificate" }]
181
+ },
182
+ issuer: { type: "string", format: "uri" },
183
+ validFrom: {
184
+ type: "string",
185
+ title: "\u6709\u52B9\u958B\u59CB\u65E5\u6642",
186
+ description: "http://www.w3.org/2001/XMLSchema#dateTime \u5F62\u5F0F\u306E\u6709\u52B9\u958B\u59CB\u65E5\u6642"
187
+ },
188
+ validUntil: {
189
+ type: "string",
190
+ title: "\u6709\u52B9\u7D42\u4E86\u65E5\u6642",
191
+ description: "http://www.w3.org/2001/XMLSchema#dateTime \u5F62\u5F0F\u306E\u6709\u52B9\u7D42\u4E86\u65E5\u6642"
192
+ },
193
+ credentialSubject: CertificateProperties
194
+ },
195
+ required: ["@context", "type", "issuer", "credentialSubject"]
196
+ }
197
+ ]
198
+ };
199
+
200
+ const JapaneseExistenceCertificateProperties = {
201
+ type: "object",
202
+ properties: {
203
+ id: { type: "string", title: "subject \u306E OP ID", format: "uri" },
204
+ type: { type: "string", const: "ECJPProperties" },
205
+ name: {
206
+ title: "\u6CD5\u4EBA\u540D",
207
+ type: "string"
208
+ },
209
+ description: { type: "string", title: "\u8AAC\u660E" },
210
+ corporateNumber: {
211
+ title: "\u6CD5\u4EBA\u756A\u53F7",
212
+ type: "string"
213
+ },
214
+ postalCode: {
215
+ title: "\u90F5\u4FBF\u756A\u53F7",
216
+ type: "string"
217
+ },
218
+ addressCountry: {
219
+ title: "\u56FD",
220
+ type: "string"
221
+ },
222
+ addressRegion: {
223
+ title: "\u90FD\u9053\u5E9C\u770C",
224
+ type: "string"
225
+ },
226
+ addressLocality: {
227
+ title: "\u5E02\u533A\u753A\u6751",
228
+ type: "string"
229
+ },
230
+ streetAddress: {
231
+ title: "\u756A\u5730\u30FB\u30D3\u30EB\u540D",
232
+ type: "string"
233
+ },
234
+ certificationSystem: CertificationSystem
235
+ },
236
+ required: [
237
+ "id",
238
+ "type",
239
+ "name",
240
+ "corporateNumber",
241
+ "postalCode",
242
+ "addressCountry",
243
+ "addressRegion",
244
+ "addressLocality",
245
+ "streetAddress",
246
+ "certificationSystem"
247
+ ]
248
+ };
249
+ const JapaneseExistenceCertificate = {
250
+ allOf: [
251
+ OpVc,
252
+ {
253
+ type: "object",
254
+ properties: {
255
+ "@context": OpCipContext,
256
+ type: {
257
+ type: "array",
258
+ additionalItems: false,
259
+ minItems: 1,
260
+ items: [{ const: "VerifiableCredential" }, { const: "Certificate" }]
261
+ },
262
+ issuer: { type: "string", format: "uri" },
263
+ credentialSubject: JapaneseExistenceCertificateProperties,
264
+ validFrom: {
265
+ type: "string",
266
+ title: "\u6709\u52B9\u958B\u59CB\u65E5\u6642",
267
+ description: "http://www.w3.org/2001/XMLSchema#dateTime \u5F62\u5F0F\u306E\u6709\u52B9\u958B\u59CB\u65E5\u6642"
268
+ },
269
+ validUntil: {
270
+ type: "string",
271
+ title: "\u6709\u52B9\u7D42\u4E86\u65E5\u6642",
272
+ description: "http://www.w3.org/2001/XMLSchema#dateTime \u5F62\u5F0F\u306E\u6709\u52B9\u7D42\u4E86\u65E5\u6642"
273
+ }
274
+ },
275
+ required: ["@context", "type", "issuer", "credentialSubject"]
276
+ }
277
+ ]
278
+ };
279
+
280
+ const BasicTarget = {
281
+ title: "Basic Target",
282
+ type: "object",
283
+ additionalProperties: true,
284
+ properties: {
285
+ type: {
286
+ type: "string",
287
+ enum: [
288
+ "TextTargetIntegrity",
289
+ "VisibleTextTargetIntegrity",
290
+ "HtmlTargetIntegrity"
291
+ ]
292
+ },
293
+ integrity: {
294
+ type: "string",
295
+ description: "\u30CF\u30C3\u30B7\u30E5\u5024\u306E\u5F62\u5F0F\u306F Subresource Integrity \u30BB\u30AF\u30B7\u30E7\u30F3 3.1 \u306E Integrity metadata \u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093 (MUST)\u3002"
296
+ },
297
+ cssSelector: {
298
+ type: "string",
299
+ description: "CSS \u30BB\u30EC\u30AF\u30BF\u30FC"
300
+ }
301
+ },
302
+ required: ["type", "integrity", "cssSelector"]
303
+ };
304
+
305
+ const ExternalResourceTarget = {
306
+ title: "External Resource Target",
307
+ type: "object",
308
+ additionalProperties: true,
309
+ properties: {
310
+ type: {
311
+ type: "string",
312
+ const: "ExternalResourceTargetIntegrity"
313
+ },
314
+ integrity: {
315
+ type: "string",
316
+ description: "\u30CF\u30C3\u30B7\u30E5\u5024\u306E\u5F62\u5F0F\u306F Subresource Integrity \u30BB\u30AF\u30B7\u30E7\u30F3 3.1 \u306E Integrity metadata \u3067\u306A\u3051\u308C\u3070\u306A\u308A\u307E\u305B\u3093 (MUST)\u3002"
317
+ }
318
+ },
319
+ required: ["type", "integrity"]
320
+ };
321
+
322
+ const RawTarget = {
323
+ type: "object",
324
+ description: "\u672A\u52A0\u5DE5\u306E\u30BF\u30FC\u30B2\u30C3\u30C8",
325
+ properties: {
326
+ type: {
327
+ type: "string",
328
+ description: "Target Integrity\u306E\u7A2E\u5225 (e.g., TextTargetIntegrity)",
329
+ enum: [
330
+ "TextTargetIntegrity",
331
+ "VisibleTextTargetIntegrity",
332
+ "HtmlTargetIntegrity",
333
+ "ExternalResourceTargetIntegrity"
334
+ ]
335
+ },
336
+ content: {
337
+ oneOf: [
338
+ {
339
+ type: "array",
340
+ items: {
341
+ type: "string",
342
+ description: "\u30B3\u30F3\u30C6\u30F3\u30C4\u672C\u4F53 (text/html or URL)"
343
+ }
344
+ },
345
+ {
346
+ type: "string",
347
+ description: "\u30B3\u30F3\u30C6\u30F3\u30C4\u672C\u4F53 (text/html or URL)"
348
+ }
349
+ ]
350
+ },
351
+ cssSelector: {
352
+ type: "string",
353
+ description: "CSS \u30BB\u30EC\u30AF\u30BF\u30FC (optional)"
354
+ }
355
+ },
356
+ required: ["type"],
357
+ additionalProperties: true
358
+ };
359
+
360
+ const Target = {
361
+ title: "Target",
362
+ oneOf: [BasicTarget, ExternalResourceTarget]
363
+ };
364
+
365
+ const subject$4 = {
366
+ type: "object",
367
+ additionalProperties: true,
368
+ properties: {
369
+ id: {
370
+ title: "CA ID",
371
+ type: "string",
372
+ format: "uri"
373
+ },
374
+ type: {
375
+ title: "JSON-LD \u30BF\u30A4\u30D7",
376
+ type: "string"
377
+ }
378
+ },
379
+ required: ["id", "type"]
380
+ };
381
+ const ContentAttestation = {
382
+ type: "object",
383
+ additionalProperties: true,
384
+ allOf: [
385
+ OpVc,
386
+ {
387
+ type: "object",
388
+ additionalProperties: true,
389
+ properties: {
390
+ "@context": OpContextHead,
391
+ type: {
392
+ type: "array",
393
+ contains: {
394
+ const: "ContentAttestation"
395
+ }
396
+ },
397
+ credentialSubject: subject$4,
398
+ allowedUrl: AllowedUrl,
399
+ allowedOrigin: AllowedOrigin,
400
+ target: {
401
+ type: "array",
402
+ items: Target,
403
+ minItems: 1
404
+ }
405
+ },
406
+ required: ["@context", "type", "credentialSubject", "target"]
407
+ }
408
+ ]
409
+ };
410
+
411
+ const subject$3 = {
412
+ type: "object",
413
+ additionalProperties: false,
414
+ properties: {
415
+ id: {
416
+ type: "string",
417
+ format: "uri",
418
+ description: "CA ID"
419
+ },
420
+ type: {
421
+ type: "string",
422
+ const: "Article"
423
+ },
424
+ headline: {
425
+ type: "string",
426
+ description: "\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u30BF\u30A4\u30C8\u30EB\u3002"
427
+ },
428
+ description: {
429
+ type: "string",
430
+ description: "\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u8AAC\u660E\uFF08\u30D7\u30EC\u30FC\u30F3\u30C6\u30AD\u30B9\u30C8\uFF09\u3002"
431
+ },
432
+ image: Image,
433
+ datePublished: {
434
+ title: "\u516C\u958B\u65E5\u6642",
435
+ type: "string",
436
+ description: "http://www.w3.org/2001/XMLSchema#dateTime \u5F62\u5F0F\u306E\u516C\u958B\u65E5\u6642"
437
+ },
438
+ dateModified: {
439
+ title: "\u6700\u7D42\u66F4\u65B0\u65E5\u6642",
440
+ type: "string",
441
+ description: "http://www.w3.org/2001/XMLSchema#dateTime \u5F62\u5F0F\u306E\u6700\u7D42\u66F4\u65B0\u65E5\u6642"
442
+ },
443
+ author: {
444
+ title: "\u8457\u8005\u540D",
445
+ type: "array",
446
+ items: {
447
+ type: "string"
448
+ }
449
+ },
450
+ editor: {
451
+ title: "\u7DE8\u96C6\u8005\u540D",
452
+ type: "array",
453
+ items: {
454
+ type: "string"
455
+ }
456
+ },
457
+ genre: {
458
+ title: "\u30B8\u30E3\u30F3\u30EB",
459
+ type: "string"
460
+ }
461
+ },
462
+ required: ["id", "type", "headline", "description"]
463
+ };
464
+ const ArticleCA = {
465
+ type: "object",
466
+ additionalProperties: true,
467
+ allOf: [
468
+ ContentAttestation,
469
+ {
470
+ type: "object",
471
+ additionalProperties: true,
472
+ properties: {
473
+ "@context": OpCipContext,
474
+ credentialSubject: subject$3,
475
+ allowedUrl: AllowedUrl
476
+ },
477
+ required: ["@context", "type", "credentialSubject", "allowedUrl"]
478
+ }
479
+ ],
480
+ not: {
481
+ properties: {
482
+ allowedOrigin: {}
483
+ },
484
+ required: ["allowedOrigin"]
485
+ }
486
+ };
487
+
488
+ const subject$2 = {
489
+ type: "object",
490
+ additionalProperties: true,
491
+ properties: {
492
+ id: {
493
+ title: "CA ID",
494
+ type: "string",
495
+ format: "uri"
496
+ },
497
+ type: {
498
+ title: "JSON-LD \u30BF\u30A4\u30D7",
499
+ type: "string"
500
+ }
501
+ },
502
+ required: ["id", "type"]
503
+ };
504
+ const UnsignedContentAttestation = {
505
+ type: "object",
506
+ additionalProperties: true,
507
+ allOf: [
508
+ OpVc,
509
+ {
510
+ type: "object",
511
+ additionalProperties: true,
512
+ properties: {
513
+ "@context": OpContextHead,
514
+ type: {
515
+ type: "array",
516
+ contains: {
517
+ const: "ContentAttestation"
518
+ }
519
+ },
520
+ credentialSubject: subject$2,
521
+ allowedUrl: AllowedUrl,
522
+ allowedOrigin: AllowedOrigin,
523
+ target: {
524
+ type: "array",
525
+ items: RawTarget,
526
+ minItems: 1
527
+ }
528
+ },
529
+ required: ["@context", "type", "credentialSubject", "target"]
530
+ }
531
+ ]
532
+ };
533
+
534
+ const ContentAttestationSetItem = {
535
+ title: "Content Attestation Set Item",
536
+ oneOf: [
537
+ {
538
+ type: "object",
539
+ additionalProperties: true,
540
+ properties: {
541
+ main: {
542
+ type: "boolean",
543
+ const: true,
544
+ title: "\u30E1\u30A4\u30F3\u30B3\u30F3\u30C6\u30F3\u30C4"
545
+ },
546
+ attestation: {
547
+ title: "Content Attestation",
548
+ type: "string"
549
+ }
550
+ },
551
+ required: ["attestation", "main"]
552
+ },
553
+ {
554
+ type: "string",
555
+ title: "Content Attestation"
556
+ }
557
+ ]
558
+ };
559
+ const ContentAttestationSet = {
560
+ title: "Content Attestation Set",
561
+ type: "array",
562
+ items: ContentAttestationSetItem
563
+ };
564
+
565
+ const Jwk = {
566
+ title: "JSON Web Key",
567
+ type: "object",
568
+ properties: {
569
+ kty: {
570
+ type: "string"
571
+ },
572
+ use: {
573
+ type: "string"
574
+ },
575
+ key_ops: {
576
+ type: "array",
577
+ items: { type: "string" }
578
+ },
579
+ alg: {
580
+ type: "string"
581
+ },
582
+ kid: {
583
+ type: "string"
584
+ },
585
+ x5u: {
586
+ type: "string"
587
+ },
588
+ x5c: {
589
+ type: "array",
590
+ items: {
591
+ type: "string"
592
+ }
593
+ },
594
+ x5t: {
595
+ type: "string"
596
+ },
597
+ "x5t#S256": {
598
+ type: "string"
599
+ }
600
+ },
601
+ required: ["kty", "kid"],
602
+ additionalProperties: true
603
+ };
604
+
605
+ const Jwks = {
606
+ title: "JSON Web Key Set",
607
+ description: "JSON Web Key Set (JWK Set)",
608
+ type: "object",
609
+ properties: {
610
+ keys: {
611
+ title: Jwk.title,
612
+ type: "array",
613
+ items: Jwk
614
+ }
615
+ },
616
+ required: ["keys"],
617
+ additionalProperties: true
618
+ };
619
+
620
+ const CpContext = {
621
+ type: "array",
622
+ additionalItems: false,
623
+ minItems: 2,
624
+ items: [
625
+ {
626
+ const: "https://www.w3.org/ns/credentials/v2"
627
+ },
628
+ {
629
+ const: "https://originator-profile.org/ns/credentials/v1"
630
+ }
631
+ ]
632
+ };
633
+
634
+ const CoreProfile = {
635
+ type: "object",
636
+ additionalProperties: false,
637
+ properties: {
638
+ ...OpVc.properties,
639
+ "@context": CpContext,
640
+ type: {
641
+ type: "array",
642
+ additionalItems: false,
643
+ minItems: 2,
644
+ items: [{ const: "VerifiableCredential" }, { const: "CoreProfile" }]
645
+ },
646
+ issuer: { type: "string" },
647
+ credentialSubject: {
648
+ type: "object",
649
+ additionalProperties: false,
650
+ properties: {
651
+ id: { type: "string", format: "uri" },
652
+ type: {
653
+ const: "Core"
654
+ },
655
+ jwks: {
656
+ ...Jwks,
657
+ title: "\u4FDD\u6709\u7D44\u7E54\u306E\u516C\u958B\u9375\u306E JSON Web Key Set"
658
+ }
659
+ },
660
+ required: ["id", "type", "jwks"]
661
+ }
662
+ },
663
+ required: ["@context", "type", "issuer", "credentialSubject"]
664
+ };
665
+
666
+ const Advertisement = {
667
+ deprecated: true,
668
+ title: "Advertisement",
669
+ description: "Advertisement",
670
+ type: "object",
671
+ properties: {
672
+ type: { const: "advertisement" },
673
+ url: {
674
+ title: "Published URL",
675
+ type: "string",
676
+ description: "\u63B2\u8F09\u5148 URL"
677
+ },
678
+ title: { title: "Title", type: "string" },
679
+ description: { title: "Description", type: "string" },
680
+ image: {
681
+ title: "Image URL",
682
+ type: "string",
683
+ description: "\u5E83\u544A\u306E\u30B5\u30E0\u30CD\u30A4\u30EB\u8868\u793A\u7528 URL"
684
+ }
685
+ },
686
+ required: ["type"]
687
+ };
688
+
689
+ const DpUrl = {
690
+ title: "URL",
691
+ description: "\u5BFE\u8C61\u306E\u8981\u7D20\u304C\u5B58\u5728\u3059\u308B\u30DA\u30FC\u30B8\u306E URL",
692
+ type: "string"
693
+ };
694
+
695
+ const DpLocation = {
696
+ deprecated: true,
697
+ title: "Location",
698
+ description: "\u5BFE\u8C61\u306E\u8981\u7D20\u306E\u5834\u6240\u3092\u7279\u5B9A\u3059\u308B CSS \u30BB\u30EC\u30AF\u30BF\u30FC",
699
+ type: "string"
700
+ };
701
+
702
+ const DpProof = {
703
+ title: "Proof",
704
+ description: "\u5BFE\u8C61\u306E\u30C6\u30AD\u30B9\u30C8\u3078\u306E\u7F72\u540D",
705
+ type: "object",
706
+ properties: {
707
+ jws: {
708
+ title: "Detached JSON Web Signature",
709
+ type: "string"
710
+ }
711
+ },
712
+ required: ["jws"],
713
+ additionalProperties: false
714
+ };
715
+
716
+ const DpVisibleText = {
717
+ title: "Document Profile Visible Text",
718
+ description: "\u5BFE\u8C61\u306E\u8981\u7D20\u306E\u305D\u306E\u5B50\u5B6B\u306E\u30EC\u30F3\u30C0\u30EA\u30F3\u30B0\u3055\u308C\u305F\u30C6\u30AD\u30B9\u30C8\u3068\u305D\u306E\u30C6\u30AD\u30B9\u30C8\u3078\u306E\u7F72\u540D",
719
+ type: "object",
720
+ properties: {
721
+ type: { const: "visibleText" },
722
+ url: DpUrl,
723
+ location: DpLocation,
724
+ proof: DpProof
725
+ },
726
+ required: ["type", "proof"],
727
+ additionalProperties: false
728
+ };
729
+
730
+ const DpText = {
731
+ title: "Document Profile Text",
732
+ description: "\u5BFE\u8C61\u306E\u8981\u7D20\u306E\u5B50\u5B6B\u306E\u30C6\u30AD\u30B9\u30C8\u3068\u305D\u306E\u30C6\u30AD\u30B9\u30C8\u3078\u306E\u7F72\u540D",
733
+ type: "object",
734
+ properties: {
735
+ type: { const: "text" },
736
+ url: DpUrl,
737
+ location: DpLocation,
738
+ proof: DpProof
739
+ },
740
+ required: ["type", "proof"],
741
+ additionalProperties: false
742
+ };
743
+
744
+ const DpHtml = {
745
+ title: "Document Profile HTML",
746
+ description: "\u5BFE\u8C61\u306E\u8981\u7D20\u3068\u305D\u306E\u5B50\u5B6B\u3092\u542B\u3080\u90E8\u5206\u306E HTML \u3068\u305D\u306E HTML \u3078\u306E\u7F72\u540D",
747
+ type: "object",
748
+ properties: {
749
+ type: { const: "html" },
750
+ url: DpUrl,
751
+ location: DpLocation,
752
+ proof: DpProof
753
+ },
754
+ required: ["type", "proof"],
755
+ additionalProperties: false
756
+ };
757
+
758
+ const OgWebsite = {
759
+ deprecated: true,
760
+ title: "Website",
761
+ description: "Website",
762
+ type: "object",
763
+ properties: {
764
+ type: { const: "website" },
765
+ url: { title: "URL", type: "string" },
766
+ title: { title: "Title", type: "string" },
767
+ image: { title: "Image URL", type: "string" },
768
+ description: { title: "Description", type: "string" },
769
+ "https://schema.org/author": { title: "Author", type: "string" },
770
+ "https://schema.org/editor": { title: "Editor", type: "string" },
771
+ "https://schema.org/datePublished": {
772
+ title: "DatePublished",
773
+ type: "string",
774
+ format: "date-time"
775
+ },
776
+ "https://schema.org/dateModified": {
777
+ title: "DateModified",
778
+ type: "string",
779
+ format: "date-time"
780
+ }
781
+ },
782
+ required: ["type"]
783
+ };
784
+
785
+ const DpItem = {
786
+ title: "Document Profile Item",
787
+ anyOf: [DpVisibleText, DpText, DpHtml, OgWebsite, Advertisement]
788
+ };
789
+
790
+ const DpAllowedOrigins = {
791
+ title: "Allowed Origins",
792
+ description: "\u5229\u7528\u53EF\u80FD\u306A\u30AA\u30EA\u30B8\u30F3\u306E\u30EA\u30B9\u30C8",
793
+ type: "array",
794
+ items: {
795
+ title: "Allowed Origin",
796
+ description: "\u5229\u7528\u53EF\u80FD\u306A\u30AA\u30EA\u30B8\u30F3",
797
+ type: "string"
798
+ }
799
+ };
800
+
801
+ const Dp = {
802
+ title: "Document Profile",
803
+ type: "object",
804
+ properties: {
805
+ type: { const: "dp" },
806
+ issuer: {
807
+ title: "Issuer",
808
+ description: "\u7D44\u7E54\u3092\u8868\u3059\u4E00\u7FA9\u7684\u306A\u8B58\u5225\u5B50",
809
+ type: "string"
810
+ },
811
+ subject: {
812
+ title: "Subject",
813
+ description: "\u51FA\u7248\u7269\u3092\u8868\u3059\u4E00\u7FA9\u7684\u306A\u8B58\u5225\u5B50",
814
+ type: "string"
815
+ },
816
+ issuedAt: {
817
+ title: "\u767A\u884C\u65E5\u6642",
818
+ type: "string",
819
+ format: "date-time"
820
+ },
821
+ expiredAt: {
822
+ title: "\u671F\u9650\u5207\u308C\u65E5\u6642",
823
+ type: "string",
824
+ format: "date-time"
825
+ },
826
+ item: {
827
+ title: DpItem.title,
828
+ type: "array",
829
+ items: DpItem
830
+ },
831
+ allowedOrigins: DpAllowedOrigins
832
+ },
833
+ required: ["type", "issuer", "subject", "issuedAt", "expiredAt", "item"],
834
+ additionalProperties: false
835
+ };
836
+
837
+ const JwtDpPayload = {
838
+ title: "DP JWT Claims Set object",
839
+ type: "object",
840
+ properties: {
841
+ iss: {
842
+ title: "JWT Issuer",
843
+ description: "[RFC 7519 Section 4.1.1](https://www.rfc-editor.org/rfc/rfc7519#section-4.1.1)",
844
+ type: "string"
845
+ },
846
+ sub: {
847
+ title: "JWT Subject",
848
+ description: "[RFC 7519 Section 4.1.2](https://www.rfc-editor.org/rfc/rfc7519#section-4.1.2)",
849
+ type: "string"
850
+ },
851
+ exp: {
852
+ title: "JWT Expiration Time",
853
+ description: "[RFC 7519 Section 4.1.4](https://www.rfc-editor.org/rfc/rfc7519#section-4.1.4)",
854
+ type: "number"
855
+ },
856
+ iat: {
857
+ title: "JWT Issued At",
858
+ description: "[RFC 7519 Section 4.1.6](https://www.rfc-editor.org/rfc/rfc7519#section-4.1.6)",
859
+ type: "number"
860
+ },
861
+ "https://originator-profile.org/dp": {
862
+ type: "object",
863
+ properties: {
864
+ item: { type: "array", items: DpItem },
865
+ allowedOrigins: DpAllowedOrigins
866
+ },
867
+ required: ["item"],
868
+ additionalProperties: false
869
+ }
870
+ },
871
+ required: ["iss", "sub", "exp", "iat", "https://originator-profile.org/dp"],
872
+ additionalProperties: false
873
+ };
874
+
875
+ const BusinessCategory = {
876
+ title: "Business Category",
877
+ type: "array",
878
+ items: {
879
+ title: "\u4E8B\u696D\u7A2E\u76EE",
880
+ type: "string"
881
+ }
882
+ };
883
+
884
+ const Logo = {
885
+ title: "Logo",
886
+ type: "array",
887
+ items: {
888
+ title: "Logo",
889
+ type: "object",
890
+ properties: {
891
+ url: {
892
+ title: "\u30ED\u30B4\u753B\u50CF URL",
893
+ type: "string"
894
+ },
895
+ isMain: {
896
+ title: "\u4E3B\u306A\u30ED\u30B4\u753B\u50CF\u304B\u5426\u304B",
897
+ description: "true: \u4E3B\u306A\u30ED\u30B4\u753B\u50CF\u3001\u305D\u308C\u4EE5\u5916: \u30ED\u30B4\u753B\u50CF\u306E\u5019\u88DC",
898
+ type: "boolean"
899
+ }
900
+ },
901
+ required: ["url", "isMain"],
902
+ additionalProperties: false
903
+ }
904
+ };
905
+
906
+ const OpCertifier = {
907
+ title: "Originator Profile Certifier",
908
+ description: "\u8CC7\u683C\u60C5\u5831\u3092\u767A\u884C\u3059\u308B\u8A8D\u8A3C\u6A5F\u95A2",
909
+ type: "object",
910
+ properties: {
911
+ type: { const: "certifier" },
912
+ domainName: {
913
+ title: "\u30C9\u30E1\u30A4\u30F3\u540D",
914
+ type: "string"
915
+ },
916
+ url: {
917
+ title: "\u30A6\u30A7\u30D6\u30B5\u30A4\u30C8\u306EURL",
918
+ type: "string"
919
+ },
920
+ name: {
921
+ title: "\u6CD5\u4EBA\u540D",
922
+ type: "string"
923
+ },
924
+ description: {
925
+ title: "\u8AAC\u660E",
926
+ description: "\u30A6\u30A7\u30D6\u30E1\u30C7\u30A3\u30A2\u305D\u308C\u3092\u904B\u7528\u3059\u308B\u6CD5\u4EBA\u3001\u8A8D\u5B9A\u6A5F\u95A2\u3001\u696D\u754C\u56E3\u4F53\u7B49\u3067\u3042\u308B\u3053\u3068\u306E\u8A18\u8FF0",
927
+ type: "string"
928
+ },
929
+ corporateNumber: {
930
+ title: "\u6CD5\u4EBA\u756A\u53F7",
931
+ type: "string"
932
+ },
933
+ businessCategory: BusinessCategory,
934
+ email: {
935
+ title: "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",
936
+ type: "string"
937
+ },
938
+ phoneNumber: {
939
+ title: "\u96FB\u8A71\u756A\u53F7",
940
+ type: "string"
941
+ },
942
+ postalCode: {
943
+ title: "\u90F5\u4FBF\u756A\u53F7",
944
+ type: "string"
945
+ },
946
+ addressCountry: {
947
+ title: "\u56FD",
948
+ type: "string"
949
+ },
950
+ addressRegion: {
951
+ title: "\u90FD\u9053\u5E9C\u770C",
952
+ type: "string"
953
+ },
954
+ addressLocality: {
955
+ title: "\u5E02\u533A\u753A\u6751",
956
+ type: "string"
957
+ },
958
+ streetAddress: {
959
+ title: "\u756A\u5730\u30FB\u30D3\u30EB\u540D",
960
+ type: "string"
961
+ },
962
+ contactTitle: {
963
+ title: "\u9023\u7D61\u5148\u8868\u793A\u540D",
964
+ type: "string"
965
+ },
966
+ contactUrl: {
967
+ title: "\u9023\u7D61\u5148URL",
968
+ type: "string"
969
+ },
970
+ privacyPolicyTitle: {
971
+ title: "\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC\u8868\u793A\u540D",
972
+ type: "string"
973
+ },
974
+ privacyPolicyUrl: {
975
+ title: "\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FCURL",
976
+ type: "string"
977
+ },
978
+ publishingPrincipleTitle: {
979
+ title: "\u7DE8\u96C6\u30AC\u30A4\u30C9\u30E9\u30A4\u30F3\u8868\u793A\u540D",
980
+ type: "string"
981
+ },
982
+ publishingPrincipleUrl: {
983
+ title: "\u7DE8\u96C6\u30AC\u30A4\u30C9\u30E9\u30A4\u30F3URL",
984
+ type: "string"
985
+ },
986
+ logos: Logo
987
+ },
988
+ required: [
989
+ "type",
990
+ "domainName",
991
+ "name",
992
+ "url",
993
+ "postalCode",
994
+ "addressCountry",
995
+ "addressRegion",
996
+ "addressLocality",
997
+ "streetAddress"
998
+ ],
999
+ additionalProperties: false
1000
+ };
1001
+
1002
+ const OpCredential = {
1003
+ deprecated: true,
1004
+ title: "Originator Profile Credential",
1005
+ description: "\u8A8D\u8A3C\u6A5F\u95A2\u306E\u5831\u544A\u66F8\u306A\u3069\u306E\u8CC7\u683C\u60C5\u5831",
1006
+ type: "object",
1007
+ properties: {
1008
+ type: { const: "credential" },
1009
+ certifier: {
1010
+ title: "\u8A8D\u8A3C\u6A5F\u95A2\u3092\u8868\u3059\u4E00\u7FA9\u7684\u306A\u8B58\u5225\u5B50",
1011
+ type: "string"
1012
+ },
1013
+ verifier: {
1014
+ title: "\u691C\u8A3C\u6A5F\u95A2\u3092\u8868\u3059\u4E00\u7FA9\u7684\u306A\u8B58\u5225\u5B50",
1015
+ type: "string"
1016
+ },
1017
+ name: {
1018
+ title: "\u8CC7\u683C\u540D",
1019
+ type: "string"
1020
+ },
1021
+ url: {
1022
+ title: "\u8AAC\u660E\u60C5\u5831\u306EURL",
1023
+ description: "CertificationSystem \u578B\u306E JSON \u304C\u914D\u4FE1\u3055\u308C\u3066\u3044\u308B URL \u3092\u671F\u5F85\u3057\u307E\u3059\u3002",
1024
+ type: "string"
1025
+ },
1026
+ image: {
1027
+ title: "\u753B\u50CFURL",
1028
+ type: "string"
1029
+ },
1030
+ issuedAt: {
1031
+ title: "\u767A\u884C\u65E5\u6642",
1032
+ type: "string",
1033
+ format: "date-time"
1034
+ },
1035
+ expiredAt: {
1036
+ title: "\u671F\u9650\u5207\u308C\u65E5\u6642",
1037
+ type: "string",
1038
+ format: "date-time"
1039
+ }
1040
+ },
1041
+ required: ["type", "certifier", "verifier", "name", "issuedAt", "expiredAt"],
1042
+ additionalProperties: false
1043
+ };
1044
+
1045
+ const OpHolder = {
1046
+ deprecated: true,
1047
+ title: "Originator Profile Holder",
1048
+ description: "\u8CC7\u683C\u60C5\u5831\u3092\u4FDD\u6709\u3059\u308B\u7D44\u7E54",
1049
+ type: "object",
1050
+ properties: {
1051
+ type: { const: "holder" },
1052
+ domainName: {
1053
+ title: "\u30C9\u30E1\u30A4\u30F3\u540D",
1054
+ type: "string"
1055
+ },
1056
+ url: {
1057
+ title: "\u30A6\u30A7\u30D6\u30B5\u30A4\u30C8\u306EURL",
1058
+ type: "string"
1059
+ },
1060
+ name: {
1061
+ title: "\u6CD5\u4EBA\u540D",
1062
+ type: "string"
1063
+ },
1064
+ description: {
1065
+ title: "\u8AAC\u660E",
1066
+ description: "\u30A6\u30A7\u30D6\u30E1\u30C7\u30A3\u30A2\u305D\u308C\u3092\u904B\u7528\u3059\u308B\u6CD5\u4EBA\u3001\u8A8D\u5B9A\u6A5F\u95A2\u3001\u696D\u754C\u56E3\u4F53\u7B49\u3067\u3042\u308B\u3053\u3068\u306E\u8A18\u8FF0",
1067
+ type: "string"
1068
+ },
1069
+ corporateNumber: {
1070
+ title: "\u6CD5\u4EBA\u756A\u53F7",
1071
+ type: "string"
1072
+ },
1073
+ businessCategory: BusinessCategory,
1074
+ email: {
1075
+ title: "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",
1076
+ type: "string"
1077
+ },
1078
+ phoneNumber: {
1079
+ title: "\u96FB\u8A71\u756A\u53F7",
1080
+ type: "string"
1081
+ },
1082
+ postalCode: {
1083
+ title: "\u90F5\u4FBF\u756A\u53F7",
1084
+ type: "string"
1085
+ },
1086
+ addressCountry: {
1087
+ title: "\u56FD",
1088
+ type: "string"
1089
+ },
1090
+ addressRegion: {
1091
+ title: "\u90FD\u9053\u5E9C\u770C",
1092
+ type: "string"
1093
+ },
1094
+ addressLocality: {
1095
+ title: "\u5E02\u533A\u753A\u6751",
1096
+ type: "string"
1097
+ },
1098
+ streetAddress: {
1099
+ title: "\u756A\u5730\u30FB\u30D3\u30EB\u540D",
1100
+ type: "string"
1101
+ },
1102
+ contactTitle: {
1103
+ title: "\u9023\u7D61\u5148\u8868\u793A\u540D",
1104
+ type: "string"
1105
+ },
1106
+ contactUrl: {
1107
+ title: "\u9023\u7D61\u5148URL",
1108
+ type: "string"
1109
+ },
1110
+ privacyPolicyTitle: {
1111
+ title: "\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC\u8868\u793A\u540D",
1112
+ type: "string"
1113
+ },
1114
+ privacyPolicyUrl: {
1115
+ title: "\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FCURL",
1116
+ type: "string"
1117
+ },
1118
+ publishingPrincipleTitle: {
1119
+ title: "\u7DE8\u96C6\u30AC\u30A4\u30C9\u30E9\u30A4\u30F3\u8868\u793A\u540D",
1120
+ type: "string"
1121
+ },
1122
+ publishingPrincipleUrl: {
1123
+ title: "\u7DE8\u96C6\u30AC\u30A4\u30C9\u30E9\u30A4\u30F3URL",
1124
+ type: "string"
1125
+ },
1126
+ logos: Logo
1127
+ },
1128
+ required: [
1129
+ "type",
1130
+ "domainName",
1131
+ "name",
1132
+ "url",
1133
+ "postalCode",
1134
+ "addressCountry",
1135
+ "addressRegion",
1136
+ "addressLocality",
1137
+ "streetAddress"
1138
+ ],
1139
+ additionalProperties: false
1140
+ };
1141
+
1142
+ const OpVerifier = {
1143
+ deprecated: true,
1144
+ title: "Originator Profile Verifier",
1145
+ description: "\u8CC7\u683C\u60C5\u5831\u3092\u691C\u8A3C\u3059\u308B\u691C\u8A3C\u6A5F\u95A2",
1146
+ type: "object",
1147
+ properties: {
1148
+ type: { const: "verifier" },
1149
+ domainName: {
1150
+ title: "\u30C9\u30E1\u30A4\u30F3\u540D",
1151
+ type: "string"
1152
+ },
1153
+ url: {
1154
+ title: "\u30A6\u30A7\u30D6\u30B5\u30A4\u30C8\u306EURL",
1155
+ type: "string"
1156
+ },
1157
+ name: {
1158
+ title: "\u6CD5\u4EBA\u540D",
1159
+ type: "string"
1160
+ },
1161
+ description: {
1162
+ title: "\u8AAC\u660E",
1163
+ description: "\u30A6\u30A7\u30D6\u30E1\u30C7\u30A3\u30A2\u305D\u308C\u3092\u904B\u7528\u3059\u308B\u6CD5\u4EBA\u3001\u8A8D\u5B9A\u6A5F\u95A2\u3001\u696D\u754C\u56E3\u4F53\u7B49\u3067\u3042\u308B\u3053\u3068\u306E\u8A18\u8FF0",
1164
+ type: "string"
1165
+ },
1166
+ corporateNumber: {
1167
+ title: "\u6CD5\u4EBA\u756A\u53F7",
1168
+ type: "string"
1169
+ },
1170
+ businessCategory: BusinessCategory,
1171
+ email: {
1172
+ title: "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",
1173
+ type: "string"
1174
+ },
1175
+ phoneNumber: {
1176
+ title: "\u96FB\u8A71\u756A\u53F7",
1177
+ type: "string"
1178
+ },
1179
+ postalCode: {
1180
+ title: "\u90F5\u4FBF\u756A\u53F7",
1181
+ type: "string"
1182
+ },
1183
+ addressCountry: {
1184
+ title: "\u56FD",
1185
+ type: "string"
1186
+ },
1187
+ addressRegion: {
1188
+ title: "\u90FD\u9053\u5E9C\u770C",
1189
+ type: "string"
1190
+ },
1191
+ addressLocality: {
1192
+ title: "\u5E02\u533A\u753A\u6751",
1193
+ type: "string"
1194
+ },
1195
+ streetAddress: {
1196
+ title: "\u756A\u5730\u30FB\u30D3\u30EB\u540D",
1197
+ type: "string"
1198
+ },
1199
+ contactTitle: {
1200
+ title: "\u9023\u7D61\u5148\u8868\u793A\u540D",
1201
+ type: "string"
1202
+ },
1203
+ contactUrl: {
1204
+ title: "\u9023\u7D61\u5148URL",
1205
+ type: "string"
1206
+ },
1207
+ privacyPolicyTitle: {
1208
+ title: "\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC\u8868\u793A\u540D",
1209
+ type: "string"
1210
+ },
1211
+ privacyPolicyUrl: {
1212
+ title: "\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FCURL",
1213
+ type: "string"
1214
+ },
1215
+ publishingPrincipleTitle: {
1216
+ title: "\u7DE8\u96C6\u30AC\u30A4\u30C9\u30E9\u30A4\u30F3\u8868\u793A\u540D",
1217
+ type: "string"
1218
+ },
1219
+ publishingPrincipleUrl: {
1220
+ title: "\u7DE8\u96C6\u30AC\u30A4\u30C9\u30E9\u30A4\u30F3URL",
1221
+ type: "string"
1222
+ },
1223
+ logos: Logo
1224
+ },
1225
+ required: [
1226
+ "type",
1227
+ "domainName",
1228
+ "name",
1229
+ "url",
1230
+ "postalCode",
1231
+ "addressCountry",
1232
+ "addressRegion",
1233
+ "addressLocality",
1234
+ "streetAddress"
1235
+ ],
1236
+ additionalProperties: false
1237
+ };
1238
+
1239
+ const OpItem = {
1240
+ deprecated: true,
1241
+ title: "Originator Profile Item",
1242
+ anyOf: [OpHolder, OpCredential, OpCertifier, OpVerifier]
1243
+ };
1244
+
1245
+ const JwtOpPayload = {
1246
+ deprecated: true,
1247
+ title: "OP JWT Claims Set object",
1248
+ type: "object",
1249
+ properties: {
1250
+ iss: {
1251
+ title: "JWT Issuer",
1252
+ description: "[RFC 7519 Section 4.1.1](https://www.rfc-editor.org/rfc/rfc7519#section-4.1.1)",
1253
+ type: "string"
1254
+ },
1255
+ sub: {
1256
+ title: "JWT Subject",
1257
+ description: "[RFC 7519 Section 4.1.2](https://www.rfc-editor.org/rfc/rfc7519#section-4.1.2)",
1258
+ type: "string"
1259
+ },
1260
+ exp: {
1261
+ title: "JWT Expiration Time",
1262
+ description: "[RFC 7519 Section 4.1.4](https://www.rfc-editor.org/rfc/rfc7519#section-4.1.4)",
1263
+ type: "number"
1264
+ },
1265
+ iat: {
1266
+ title: "JWT Issued At",
1267
+ description: "[RFC 7519 Section 4.1.6](https://www.rfc-editor.org/rfc/rfc7519#section-4.1.6)",
1268
+ type: "number"
1269
+ },
1270
+ "https://originator-profile.org/op": {
1271
+ type: "object",
1272
+ properties: {
1273
+ item: { type: "array", items: OpItem },
1274
+ jwks: Jwks
1275
+ },
1276
+ required: ["item"],
1277
+ additionalProperties: false
1278
+ }
1279
+ },
1280
+ required: ["iss", "sub", "exp", "iat", "https://originator-profile.org/op"],
1281
+ additionalProperties: false
1282
+ };
1283
+
1284
+ const JwtProfilePayload = {
1285
+ deprecated: true,
1286
+ title: "Profile JWT Claims Set object",
1287
+ anyOf: [JwtOpPayload, JwtDpPayload]
1288
+ };
1289
+
1290
+ const Op = {
1291
+ deprecated: true,
1292
+ title: "Originator Profile",
1293
+ type: "object",
1294
+ properties: {
1295
+ type: { const: "op" },
1296
+ issuer: {
1297
+ title: "Issuer",
1298
+ description: "\u8A8D\u8A3C\u6A5F\u95A2\u307E\u305F\u306F\u7D44\u7E54\u3092\u8868\u3059\u4E00\u7FA9\u7684\u306A\u8B58\u5225\u5B50",
1299
+ type: "string"
1300
+ },
1301
+ subject: {
1302
+ title: "Subject",
1303
+ description: "\u30E1\u30C7\u30A3\u30A2\u30FB\u5E83\u544A\u306A\u3069\u306B\u95A2\u308F\u308B\u7D44\u7E54\u306E\u8EAB\u5143\u307E\u305F\u306F\u305D\u306E\u7D44\u7E54\u306E\u4E3B\u8981\u306A\u51FA\u7248\u7269\u3092\u8868\u3059\u4E00\u7FA9\u7684\u306A\u8B58\u5225\u5B50",
1304
+ type: "string"
1305
+ },
1306
+ issuedAt: {
1307
+ title: "\u767A\u884C\u65E5\u6642",
1308
+ type: "string",
1309
+ format: "date-time"
1310
+ },
1311
+ expiredAt: {
1312
+ title: "\u671F\u9650\u5207\u308C\u65E5\u6642",
1313
+ type: "string",
1314
+ format: "date-time"
1315
+ },
1316
+ item: {
1317
+ title: OpItem.title,
1318
+ type: "array",
1319
+ items: OpItem
1320
+ },
1321
+ jwks: Jwks
1322
+ },
1323
+ required: ["type", "issuer", "subject", "issuedAt", "expiredAt", "item"],
1324
+ additionalProperties: false
1325
+ };
1326
+
1327
+ const Profile = {
1328
+ deprecated: true,
1329
+ title: "Profile",
1330
+ anyOf: [Op, Dp]
1331
+ };
1332
+
1333
+ const OriginatorProfileSetItem = {
1334
+ title: "Originator Profile",
1335
+ type: "object",
1336
+ additionalProperties: true,
1337
+ properties: {
1338
+ core: {
1339
+ title: "Core Profile",
1340
+ type: "string"
1341
+ },
1342
+ annotations: {
1343
+ title: "Profile Annotation \u306E\u914D\u5217",
1344
+ type: "array",
1345
+ items: {
1346
+ type: "string",
1347
+ title: "Profile Annotation"
1348
+ }
1349
+ },
1350
+ media: {
1351
+ title: "Web Media Profile",
1352
+ type: "string"
1353
+ }
1354
+ },
1355
+ required: ["core"]
1356
+ };
1357
+ const OriginatorProfileSet = {
1358
+ title: "Originator Profile Set",
1359
+ type: "array",
1360
+ items: OriginatorProfileSetItem
1361
+ };
1362
+
1363
+ const ReviewComment = {
1364
+ title: "\u5BE9\u67FB\u30B3\u30E1\u30F3\u30C8",
1365
+ description: "OP \u767A\u884C\u7533\u8ACB\u306E\u5185\u5BB9\u306B\u5BFE\u3059\u308B\u30B3\u30E1\u30F3\u30C8",
1366
+ type: "object",
1367
+ properties: {
1368
+ requestFieldName: {
1369
+ title: "\u7533\u8ACB\u9805\u76EE\u540D (HTML \u8981\u7D20\u306E name \u5C5E\u6027)",
1370
+ type: "string"
1371
+ },
1372
+ comment: {
1373
+ title: "\u30B3\u30E1\u30F3\u30C8",
1374
+ type: "string"
1375
+ }
1376
+ },
1377
+ required: ["requestFieldName", "comment"],
1378
+ additionalProperties: false
1379
+ };
1380
+
1381
+ const Request = {
1382
+ title: "\u7533\u8ACB",
1383
+ description: "OP \u767A\u884C\u7533\u8ACB",
1384
+ type: "object",
1385
+ properties: {
1386
+ group: {
1387
+ title: "\u7D44\u7E54\u540D",
1388
+ type: "string"
1389
+ },
1390
+ status: {
1391
+ title: "\u627F\u8A8D\u30D5\u30ED\u30FC\u30B9\u30C6\u30FC\u30BF\u30B9",
1392
+ enum: ["pending", "approved", "rejected", "cancelled"]
1393
+ },
1394
+ requestSummary: {
1395
+ title: "\u7533\u8ACB\u6982\u8981",
1396
+ type: "string"
1397
+ },
1398
+ reviewSummary: {
1399
+ title: "\u5BE9\u67FB\u6982\u8981",
1400
+ type: "string"
1401
+ },
1402
+ reviewComments: {
1403
+ title: "\u5BE9\u67FB\u30B3\u30E1\u30F3\u30C8",
1404
+ type: "array",
1405
+ items: ReviewComment
1406
+ },
1407
+ createdAt: {
1408
+ title: "\u4F5C\u6210\u65E5\u6642",
1409
+ type: "string",
1410
+ format: "date-time"
1411
+ },
1412
+ updatedAt: {
1413
+ title: "\u66F4\u65B0\u65E5\u6642",
1414
+ type: "string",
1415
+ format: "date-time"
1416
+ }
1417
+ },
1418
+ required: ["group", "status", "reviewComments", "createdAt", "updatedAt"],
1419
+ additionalProperties: false
1420
+ };
1421
+
1422
+ const SiteProfile = {
1423
+ title: "Site Profile",
1424
+ type: "object",
1425
+ additionalProperties: true,
1426
+ properties: {
1427
+ originators: {
1428
+ type: "array",
1429
+ items: OriginatorProfileSetItem,
1430
+ minItems: 1
1431
+ },
1432
+ credential: {
1433
+ type: "string",
1434
+ title: "Credential"
1435
+ }
1436
+ },
1437
+ required: ["originators", "credential"]
1438
+ };
1439
+
1440
+ const User = {
1441
+ title: "\u30E6\u30FC\u30B6\u30FC",
1442
+ description: "\u30E6\u30FC\u30B6\u30FC",
1443
+ type: "object",
1444
+ properties: {
1445
+ id: {
1446
+ title: "\u30E6\u30FC\u30B6\u30FC\u30A2\u30AB\u30A6\u30F3\u30C8\u8B58\u5225\u5B50",
1447
+ type: "string"
1448
+ },
1449
+ email: {
1450
+ title: "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",
1451
+ type: "string"
1452
+ },
1453
+ name: {
1454
+ title: "\u540D\u524D",
1455
+ type: "string"
1456
+ },
1457
+ picture: {
1458
+ title: "\u753B\u50CF",
1459
+ type: "string"
1460
+ }
1461
+ },
1462
+ required: ["id", "name", "picture"],
1463
+ additionalProperties: false
1464
+ };
1465
+
1466
+ const subject$1 = {
1467
+ type: "object",
1468
+ additionalProperties: true,
1469
+ properties: {
1470
+ id: { title: "WMP \u4FDD\u6709\u7D44\u7E54\u306E OP ID", type: "string", format: "uri" },
1471
+ type: { const: "OnlineBusiness" },
1472
+ url: { title: "Web \u30E1\u30C7\u30A3\u30A2 URL", type: "string", format: "uri" },
1473
+ name: { title: "Web \u30E1\u30C7\u30A3\u30A2\u540D", type: "string" },
1474
+ logo: Image,
1475
+ email: { title: "\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9", type: "string", format: "email" },
1476
+ telephone: { title: "\u96FB\u8A71\u756A\u53F7", type: "string" },
1477
+ contactPoint: {
1478
+ type: "object",
1479
+ properties: {
1480
+ id: { title: "\u9023\u7D61\u5148\u30DA\u30FC\u30B8 URL", type: "string", format: "uri" },
1481
+ name: { title: "\u9023\u7D61\u5148\u30DA\u30FC\u30B8\u8868\u793A\u540D", type: "string" }
1482
+ },
1483
+ required: ["id", "name"]
1484
+ },
1485
+ informationTransmissionPolicy: {
1486
+ type: "object",
1487
+ properties: {
1488
+ id: { title: "\u60C5\u5831\u767A\u4FE1\u30DD\u30EA\u30B7\u30FC URL", type: "string", format: "uri" },
1489
+ name: { title: "\u60C5\u5831\u767A\u4FE1\u30DD\u30EA\u30B7\u30FC\u8868\u793A\u540D", type: "string" }
1490
+ },
1491
+ required: ["id", "name"]
1492
+ },
1493
+ privacyPolicy: {
1494
+ type: "object",
1495
+ properties: {
1496
+ id: {
1497
+ title: "\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC\u30DA\u30FC\u30B8 URL",
1498
+ type: "string",
1499
+ format: "uri"
1500
+ },
1501
+ name: { title: "\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC\u30DA\u30FC\u30B8\u8868\u793A\u540D", type: "string" }
1502
+ },
1503
+ required: ["id", "name"]
1504
+ },
1505
+ description: { title: "\u7D44\u7E54\u306B\u95A2\u3059\u308B\u8AAC\u660E", type: "string" }
1506
+ },
1507
+ required: ["id", "type", "url", "name"]
1508
+ };
1509
+ const WebMediaProfile = {
1510
+ title: "Web Media Profile",
1511
+ type: "object",
1512
+ additionalProperties: true,
1513
+ allOf: [
1514
+ OpVc,
1515
+ {
1516
+ type: "object",
1517
+ properties: {
1518
+ type: {
1519
+ type: "array",
1520
+ minItems: 2,
1521
+ items: [
1522
+ { const: "VerifiableCredential" },
1523
+ { const: "WebMediaProfile" }
1524
+ ],
1525
+ additionalItems: false
1526
+ },
1527
+ credentialSubject: subject$1
1528
+ },
1529
+ required: ["type", "credentialSubject"]
1530
+ }
1531
+ ],
1532
+ required: ["type", "credentialSubject"]
1533
+ };
1534
+
1535
+ const deprecatedSubject = {
1536
+ deprecated: true,
1537
+ type: "object",
1538
+ additionalProperties: true,
1539
+ properties: {
1540
+ id: {
1541
+ type: "string",
1542
+ title: "Web \u30B5\u30A4\u30C8\u306E\u30AA\u30EA\u30B8\u30F3 (\u5F62\u5F0F: https://<\u30DB\u30B9\u30C8\u540D>)",
1543
+ format: "uri"
1544
+ },
1545
+ type: {
1546
+ const: "WebSite"
1547
+ },
1548
+ name: {
1549
+ type: "string",
1550
+ title: "Web \u30B5\u30A4\u30C8\u306E\u540D\u79F0"
1551
+ },
1552
+ image: Image,
1553
+ description: {
1554
+ type: "string",
1555
+ title: "Web \u30B5\u30A4\u30C8\u306E\u8AAC\u660E"
1556
+ },
1557
+ url: AllowedOrigin
1558
+ },
1559
+ required: ["id", "type", "name", "url"]
1560
+ };
1561
+ const subject = {
1562
+ type: "object",
1563
+ additionalProperties: true,
1564
+ properties: {
1565
+ id: {
1566
+ type: "string",
1567
+ title: "Web \u30B5\u30A4\u30C8\u306E\u30AA\u30EA\u30B8\u30F3 (\u5F62\u5F0F: https://<\u30DB\u30B9\u30C8\u540D>)",
1568
+ format: "uri"
1569
+ },
1570
+ type: {
1571
+ const: "WebSite"
1572
+ },
1573
+ name: {
1574
+ type: "string",
1575
+ title: "Web \u30B5\u30A4\u30C8\u306E\u540D\u79F0"
1576
+ },
1577
+ image: Image,
1578
+ description: {
1579
+ type: "string",
1580
+ title: "Web \u30B5\u30A4\u30C8\u306E\u8AAC\u660E"
1581
+ },
1582
+ allowedOrigin: AllowedOrigin
1583
+ },
1584
+ required: ["id", "type", "name", "allowedOrigin"]
1585
+ };
1586
+ const WebsiteProfile = {
1587
+ title: "Website Profile",
1588
+ type: "object",
1589
+ additionalProperties: true,
1590
+ allOf: [
1591
+ OpVc,
1592
+ {
1593
+ type: "object",
1594
+ properties: {
1595
+ "@context": OpCipContext,
1596
+ type: {
1597
+ type: "array",
1598
+ minItems: 2,
1599
+ items: [
1600
+ { const: "VerifiableCredential" },
1601
+ { const: "WebsiteProfile" }
1602
+ ]
1603
+ },
1604
+ credentialSubject: {
1605
+ anyOf: [deprecatedSubject, subject]
1606
+ }
1607
+ },
1608
+ required: ["@context", "type", "credentialSubject"]
1609
+ }
1610
+ ]
1611
+ };
1612
+
1613
+ export { Advertisement, AllowedOrigin, AllowedUrl, ArticleCA, BasicTarget, Certificate, CertificationSystem, ContentAttestation, ContentAttestationSet, ContentAttestationSetItem, CoreProfile, Dp, DpAllowedOrigins, DpHtml, DpItem, DpText, DpVisibleText, ExternalResourceTarget, Image, JapaneseExistenceCertificate, JapaneseExistenceCertificateProperties, Jwk, Jwks, JwtDpPayload, JwtOpPayload, JwtProfilePayload, OgWebsite, Op, OpCertifier, OpCredential, OpHolder, OpItem, OpVc, OpVerifier, OriginatorProfileSet, OriginatorProfileSetItem, Profile, RawTarget, Request, SiteProfile, Target, UnsignedContentAttestation, User, WebMediaProfile, WebsiteProfile };