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