@originator-profile/model 0.5.2 → 0.5.3
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 +484 -0
- package/dist/{index.d.ts → index.d.cts} +4 -288
- package/dist/index.d.mts +664 -0
- package/dist/{index.js → index.mjs} +1 -104
- package/package.json +16 -10
|
@@ -10,10 +10,6 @@ type AllowedOrigin = z.infer<typeof AllowedOrigin>;
|
|
|
10
10
|
declare const AllowedUrl: z.ZodUnion<readonly [z.ZodCustomStringFormat<"url-pattern">, z.ZodArray<z.ZodCustomStringFormat<"url-pattern">>]>;
|
|
11
11
|
type AllowedUrl = z.infer<typeof AllowedUrl>;
|
|
12
12
|
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated Use {@link ProfileAnnotationPolicy} instead.
|
|
15
|
-
* The CertificationSystem will be removed after 2027-01-01.
|
|
16
|
-
*/
|
|
17
13
|
declare const CertificationSystem: z.ZodObject<{
|
|
18
14
|
id: z.ZodURL;
|
|
19
15
|
type: z.ZodLiteral<"CertificationSystem">;
|
|
@@ -23,10 +19,6 @@ declare const CertificationSystem: z.ZodObject<{
|
|
|
23
19
|
}, z.core.$strip>;
|
|
24
20
|
type CertificationSystem = z.infer<typeof CertificationSystem>;
|
|
25
21
|
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated Use {@link ProfileAnnotation} instead.
|
|
28
|
-
* The Certificate schema will be removed after 2027-01-01.
|
|
29
|
-
*/
|
|
30
22
|
declare const Certificate: z.ZodObject<{
|
|
31
23
|
"@context": z.ZodTuple<[z.ZodLiteral<"https://www.w3.org/ns/credentials/v2">, z.ZodLiteral<"https://originator-profile.org/ns/credentials/v1">, z.ZodLiteral<"https://originator-profile.org/ns/cip/v1">, z.ZodObject<{
|
|
32
24
|
"@language": z.ZodString;
|
|
@@ -56,10 +48,6 @@ declare const Certificate: z.ZodObject<{
|
|
|
56
48
|
}, z.core.$strip>;
|
|
57
49
|
type Certificate = z.infer<typeof Certificate>;
|
|
58
50
|
|
|
59
|
-
/**
|
|
60
|
-
* @deprecated Use {@link JapaneseExistencePAProperties} instead.
|
|
61
|
-
* The legacy Certificate-based schema will be removed after 2027-01-01.
|
|
62
|
-
*/
|
|
63
51
|
declare const JapaneseExistenceCertificateProperties: z.ZodObject<{
|
|
64
52
|
id: z.ZodString;
|
|
65
53
|
type: z.ZodLiteral<"JP-OrganizationExistenceCertificate">;
|
|
@@ -84,10 +72,6 @@ declare const JapaneseExistenceCertificateProperties: z.ZodObject<{
|
|
|
84
72
|
ref: z.ZodOptional<z.ZodURL>;
|
|
85
73
|
}, z.core.$strip>;
|
|
86
74
|
}, z.core.$strip>;
|
|
87
|
-
/**
|
|
88
|
-
* @deprecated Use {@link JapaneseExistencePA} instead.
|
|
89
|
-
* The legacy Certificate-based schema will be removed after 2027-01-01.
|
|
90
|
-
*/
|
|
91
75
|
declare const JapaneseExistenceCertificate: z.ZodObject<{
|
|
92
76
|
"@context": z.ZodTuple<[z.ZodLiteral<"https://www.w3.org/ns/credentials/v2">, z.ZodLiteral<"https://originator-profile.org/ns/credentials/v1">, z.ZodLiteral<"https://originator-profile.org/ns/cip/v1">, z.ZodObject<{
|
|
93
77
|
"@language": z.ZodString;
|
|
@@ -464,12 +448,14 @@ type OpVc = z.infer<typeof OpVc>;
|
|
|
464
448
|
declare const OriginatorProfile: z.ZodObject<{
|
|
465
449
|
core: z.ZodString;
|
|
466
450
|
annotations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
451
|
+
/** @deprecated 後方互換性のため 2026-11-01 まで非配列 WMP を許容。代わりに配列を使用してください。 */
|
|
467
452
|
media: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
468
453
|
}, z.core.$loose>;
|
|
469
454
|
type OriginatorProfile = z.infer<typeof OriginatorProfile>;
|
|
470
455
|
declare const OriginatorProfileSet: z.ZodArray<z.ZodObject<{
|
|
471
456
|
core: z.ZodString;
|
|
472
457
|
annotations: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
458
|
+
/** @deprecated 後方互換性のため 2026-11-01 まで非配列 WMP を許容。代わりに配列を使用してください。 */
|
|
473
459
|
media: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
474
460
|
}, z.core.$loose>>;
|
|
475
461
|
type OriginatorProfileSet = z.infer<typeof OriginatorProfileSet>;
|
|
@@ -480,221 +466,6 @@ declare const Page: z.ZodObject<{
|
|
|
480
466
|
}, z.core.$strip>;
|
|
481
467
|
type Page = z.infer<typeof Page>;
|
|
482
468
|
|
|
483
|
-
declare const AdvertisingQualityPAProperties: z.ZodObject<{
|
|
484
|
-
id: z.ZodString;
|
|
485
|
-
name: z.ZodOptional<z.ZodString>;
|
|
486
|
-
description: z.ZodOptional<z.ZodString>;
|
|
487
|
-
image: z.ZodOptional<z.ZodObject<{
|
|
488
|
-
id: z.ZodURL;
|
|
489
|
-
digestSRI: z.ZodOptional<z.ZodCustomStringFormat<"sri">>;
|
|
490
|
-
}, z.core.$strip>>;
|
|
491
|
-
annotationScheme: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
492
|
-
annotation: z.ZodObject<{
|
|
493
|
-
id: z.ZodURL;
|
|
494
|
-
type: z.ZodLiteral<"ProfileAnnotationPolicy">;
|
|
495
|
-
name: z.ZodString;
|
|
496
|
-
description: z.ZodOptional<z.ZodString>;
|
|
497
|
-
ref: z.ZodOptional<z.ZodURL>;
|
|
498
|
-
}, z.core.$strip>;
|
|
499
|
-
type: z.ZodLiteral<"AdvertisingQualityCertificate">;
|
|
500
|
-
verifier: z.ZodOptional<z.ZodString>;
|
|
501
|
-
}, z.core.$loose>;
|
|
502
|
-
declare const AdvertisingQualityPA: z.ZodObject<{
|
|
503
|
-
type: z.ZodTuple<[z.ZodLiteral<"VerifiableCredential">, z.ZodLiteral<"ProfileAnnotation">], null>;
|
|
504
|
-
issuer: z.ZodString;
|
|
505
|
-
validFrom: z.ZodOptional<z.ZodISODateTime>;
|
|
506
|
-
validUntil: z.ZodOptional<z.ZodISODateTime>;
|
|
507
|
-
"@context": z.ZodTuple<[z.ZodLiteral<"https://www.w3.org/ns/credentials/v2">, z.ZodLiteral<"https://originator-profile.org/ns/credentials/v1">, z.ZodLiteral<"https://originator-profile.org/ns/cip/v1">, z.ZodObject<{
|
|
508
|
-
"@language": z.ZodString;
|
|
509
|
-
}, z.core.$strip>], null>;
|
|
510
|
-
credentialSubject: z.ZodObject<{
|
|
511
|
-
id: z.ZodString;
|
|
512
|
-
name: z.ZodOptional<z.ZodString>;
|
|
513
|
-
description: z.ZodOptional<z.ZodString>;
|
|
514
|
-
image: z.ZodOptional<z.ZodObject<{
|
|
515
|
-
id: z.ZodURL;
|
|
516
|
-
digestSRI: z.ZodOptional<z.ZodCustomStringFormat<"sri">>;
|
|
517
|
-
}, z.core.$strip>>;
|
|
518
|
-
annotationScheme: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
519
|
-
annotation: z.ZodObject<{
|
|
520
|
-
id: z.ZodURL;
|
|
521
|
-
type: z.ZodLiteral<"ProfileAnnotationPolicy">;
|
|
522
|
-
name: z.ZodString;
|
|
523
|
-
description: z.ZodOptional<z.ZodString>;
|
|
524
|
-
ref: z.ZodOptional<z.ZodURL>;
|
|
525
|
-
}, z.core.$strip>;
|
|
526
|
-
type: z.ZodLiteral<"AdvertisingQualityCertificate">;
|
|
527
|
-
verifier: z.ZodOptional<z.ZodString>;
|
|
528
|
-
}, z.core.$loose>;
|
|
529
|
-
}, z.core.$loose>;
|
|
530
|
-
type AdvertisingQualityPA = z.infer<typeof AdvertisingQualityPA>;
|
|
531
|
-
|
|
532
|
-
declare const JapaneseExistencePAProperties: z.ZodObject<{
|
|
533
|
-
id: z.ZodString;
|
|
534
|
-
name: z.ZodOptional<z.ZodString>;
|
|
535
|
-
description: z.ZodOptional<z.ZodString>;
|
|
536
|
-
image: z.ZodOptional<z.ZodObject<{
|
|
537
|
-
id: z.ZodURL;
|
|
538
|
-
digestSRI: z.ZodOptional<z.ZodCustomStringFormat<"sri">>;
|
|
539
|
-
}, z.core.$strip>>;
|
|
540
|
-
annotationScheme: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
541
|
-
annotation: z.ZodObject<{
|
|
542
|
-
id: z.ZodURL;
|
|
543
|
-
type: z.ZodLiteral<"ProfileAnnotationPolicy">;
|
|
544
|
-
name: z.ZodString;
|
|
545
|
-
description: z.ZodOptional<z.ZodString>;
|
|
546
|
-
ref: z.ZodOptional<z.ZodURL>;
|
|
547
|
-
}, z.core.$strip>;
|
|
548
|
-
type: z.ZodLiteral<"JP-OrganizationExistenceCertificate">;
|
|
549
|
-
corporateName: z.ZodString;
|
|
550
|
-
corporateNumber: z.ZodString;
|
|
551
|
-
postalCode: z.ZodString;
|
|
552
|
-
addressCountry: z.ZodString;
|
|
553
|
-
addressRegion: z.ZodString;
|
|
554
|
-
addressLocality: z.ZodString;
|
|
555
|
-
streetAddress: z.ZodString;
|
|
556
|
-
}, z.core.$loose>;
|
|
557
|
-
declare const JapaneseExistencePA: z.ZodObject<{
|
|
558
|
-
type: z.ZodTuple<[z.ZodLiteral<"VerifiableCredential">, z.ZodLiteral<"ProfileAnnotation">], null>;
|
|
559
|
-
issuer: z.ZodString;
|
|
560
|
-
validFrom: z.ZodOptional<z.ZodISODateTime>;
|
|
561
|
-
validUntil: z.ZodOptional<z.ZodISODateTime>;
|
|
562
|
-
"@context": z.ZodTuple<[z.ZodLiteral<"https://www.w3.org/ns/credentials/v2">, z.ZodLiteral<"https://originator-profile.org/ns/credentials/v1">, z.ZodLiteral<"https://originator-profile.org/ns/cip/v1">, z.ZodObject<{
|
|
563
|
-
"@language": z.ZodString;
|
|
564
|
-
}, z.core.$strip>], null>;
|
|
565
|
-
credentialSubject: z.ZodObject<{
|
|
566
|
-
id: z.ZodString;
|
|
567
|
-
name: z.ZodOptional<z.ZodString>;
|
|
568
|
-
description: z.ZodOptional<z.ZodString>;
|
|
569
|
-
image: z.ZodOptional<z.ZodObject<{
|
|
570
|
-
id: z.ZodURL;
|
|
571
|
-
digestSRI: z.ZodOptional<z.ZodCustomStringFormat<"sri">>;
|
|
572
|
-
}, z.core.$strip>>;
|
|
573
|
-
annotationScheme: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
574
|
-
annotation: z.ZodObject<{
|
|
575
|
-
id: z.ZodURL;
|
|
576
|
-
type: z.ZodLiteral<"ProfileAnnotationPolicy">;
|
|
577
|
-
name: z.ZodString;
|
|
578
|
-
description: z.ZodOptional<z.ZodString>;
|
|
579
|
-
ref: z.ZodOptional<z.ZodURL>;
|
|
580
|
-
}, z.core.$strip>;
|
|
581
|
-
type: z.ZodLiteral<"JP-OrganizationExistenceCertificate">;
|
|
582
|
-
corporateName: z.ZodString;
|
|
583
|
-
corporateNumber: z.ZodString;
|
|
584
|
-
postalCode: z.ZodString;
|
|
585
|
-
addressCountry: z.ZodString;
|
|
586
|
-
addressRegion: z.ZodString;
|
|
587
|
-
addressLocality: z.ZodString;
|
|
588
|
-
streetAddress: z.ZodString;
|
|
589
|
-
}, z.core.$loose>;
|
|
590
|
-
}, z.core.$loose>;
|
|
591
|
-
type JapaneseExistencePA = z.infer<typeof JapaneseExistencePA>;
|
|
592
|
-
|
|
593
|
-
declare const ProfileAnnotation: z.ZodObject<{
|
|
594
|
-
"@context": z.ZodArray<z.ZodUnknown>;
|
|
595
|
-
type: z.ZodTuple<[z.ZodLiteral<"VerifiableCredential">, z.ZodLiteral<"ProfileAnnotation">], null>;
|
|
596
|
-
issuer: z.ZodString;
|
|
597
|
-
validFrom: z.ZodOptional<z.ZodISODateTime>;
|
|
598
|
-
validUntil: z.ZodOptional<z.ZodISODateTime>;
|
|
599
|
-
credentialSubject: z.ZodObject<{
|
|
600
|
-
id: z.ZodString;
|
|
601
|
-
type: z.ZodString;
|
|
602
|
-
name: z.ZodOptional<z.ZodString>;
|
|
603
|
-
description: z.ZodOptional<z.ZodString>;
|
|
604
|
-
image: z.ZodOptional<z.ZodObject<{
|
|
605
|
-
id: z.ZodURL;
|
|
606
|
-
digestSRI: z.ZodOptional<z.ZodCustomStringFormat<"sri">>;
|
|
607
|
-
}, z.core.$strip>>;
|
|
608
|
-
annotationScheme: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
609
|
-
annotation: z.ZodObject<{
|
|
610
|
-
id: z.ZodURL;
|
|
611
|
-
type: z.ZodLiteral<"ProfileAnnotationPolicy">;
|
|
612
|
-
name: z.ZodString;
|
|
613
|
-
description: z.ZodOptional<z.ZodString>;
|
|
614
|
-
ref: z.ZodOptional<z.ZodURL>;
|
|
615
|
-
}, z.core.$strip>;
|
|
616
|
-
}, z.core.$loose>;
|
|
617
|
-
}, z.core.$loose>;
|
|
618
|
-
type ProfileAnnotation = z.infer<typeof ProfileAnnotation>;
|
|
619
|
-
|
|
620
|
-
declare const ProfileAnnotationIssuerRegistrationProperties: z.ZodObject<{
|
|
621
|
-
id: z.ZodString;
|
|
622
|
-
name: z.ZodOptional<z.ZodString>;
|
|
623
|
-
description: z.ZodOptional<z.ZodString>;
|
|
624
|
-
image: z.ZodOptional<z.ZodObject<{
|
|
625
|
-
id: z.ZodURL;
|
|
626
|
-
digestSRI: z.ZodOptional<z.ZodCustomStringFormat<"sri">>;
|
|
627
|
-
}, z.core.$strip>>;
|
|
628
|
-
annotation: z.ZodObject<{
|
|
629
|
-
id: z.ZodURL;
|
|
630
|
-
type: z.ZodLiteral<"ProfileAnnotationPolicy">;
|
|
631
|
-
name: z.ZodString;
|
|
632
|
-
description: z.ZodOptional<z.ZodString>;
|
|
633
|
-
ref: z.ZodOptional<z.ZodURL>;
|
|
634
|
-
}, z.core.$strip>;
|
|
635
|
-
type: z.ZodLiteral<"ProfileAnnotationIssuerRegistration">;
|
|
636
|
-
annotationIssuerName: z.ZodString;
|
|
637
|
-
annotationScheme: z.ZodArray<z.ZodURL>;
|
|
638
|
-
}, z.core.$loose>;
|
|
639
|
-
declare const ProfileAnnotationIssuerRegistration: z.ZodObject<{
|
|
640
|
-
type: z.ZodTuple<[z.ZodLiteral<"VerifiableCredential">, z.ZodLiteral<"ProfileAnnotation">], null>;
|
|
641
|
-
issuer: z.ZodString;
|
|
642
|
-
validFrom: z.ZodOptional<z.ZodISODateTime>;
|
|
643
|
-
validUntil: z.ZodOptional<z.ZodISODateTime>;
|
|
644
|
-
"@context": z.ZodTuple<[z.ZodLiteral<"https://www.w3.org/ns/credentials/v2">, z.ZodLiteral<"https://originator-profile.org/ns/credentials/v1">, z.ZodLiteral<"https://originator-profile.org/ns/cip/v1">, z.ZodObject<{
|
|
645
|
-
"@language": z.ZodString;
|
|
646
|
-
}, z.core.$strip>], null>;
|
|
647
|
-
credentialSubject: z.ZodObject<{
|
|
648
|
-
id: z.ZodString;
|
|
649
|
-
name: z.ZodOptional<z.ZodString>;
|
|
650
|
-
description: z.ZodOptional<z.ZodString>;
|
|
651
|
-
image: z.ZodOptional<z.ZodObject<{
|
|
652
|
-
id: z.ZodURL;
|
|
653
|
-
digestSRI: z.ZodOptional<z.ZodCustomStringFormat<"sri">>;
|
|
654
|
-
}, z.core.$strip>>;
|
|
655
|
-
annotation: z.ZodObject<{
|
|
656
|
-
id: z.ZodURL;
|
|
657
|
-
type: z.ZodLiteral<"ProfileAnnotationPolicy">;
|
|
658
|
-
name: z.ZodString;
|
|
659
|
-
description: z.ZodOptional<z.ZodString>;
|
|
660
|
-
ref: z.ZodOptional<z.ZodURL>;
|
|
661
|
-
}, z.core.$strip>;
|
|
662
|
-
type: z.ZodLiteral<"ProfileAnnotationIssuerRegistration">;
|
|
663
|
-
annotationIssuerName: z.ZodString;
|
|
664
|
-
annotationScheme: z.ZodArray<z.ZodURL>;
|
|
665
|
-
}, z.core.$loose>;
|
|
666
|
-
}, z.core.$loose>;
|
|
667
|
-
type ProfileAnnotationIssuerRegistration = z.infer<typeof ProfileAnnotationIssuerRegistration>;
|
|
668
|
-
|
|
669
|
-
declare const ProfileAnnotationPolicy: z.ZodObject<{
|
|
670
|
-
id: z.ZodURL;
|
|
671
|
-
type: z.ZodLiteral<"ProfileAnnotationPolicy">;
|
|
672
|
-
name: z.ZodString;
|
|
673
|
-
description: z.ZodOptional<z.ZodString>;
|
|
674
|
-
ref: z.ZodOptional<z.ZodURL>;
|
|
675
|
-
}, z.core.$strip>;
|
|
676
|
-
type ProfileAnnotationPolicy = z.infer<typeof ProfileAnnotationPolicy>;
|
|
677
|
-
|
|
678
|
-
declare const ProfileAnnotationProperties: z.ZodObject<{
|
|
679
|
-
id: z.ZodString;
|
|
680
|
-
type: z.ZodString;
|
|
681
|
-
name: z.ZodOptional<z.ZodString>;
|
|
682
|
-
description: z.ZodOptional<z.ZodString>;
|
|
683
|
-
image: z.ZodOptional<z.ZodObject<{
|
|
684
|
-
id: z.ZodURL;
|
|
685
|
-
digestSRI: z.ZodOptional<z.ZodCustomStringFormat<"sri">>;
|
|
686
|
-
}, z.core.$strip>>;
|
|
687
|
-
annotationScheme: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
688
|
-
annotation: z.ZodObject<{
|
|
689
|
-
id: z.ZodURL;
|
|
690
|
-
type: z.ZodLiteral<"ProfileAnnotationPolicy">;
|
|
691
|
-
name: z.ZodString;
|
|
692
|
-
description: z.ZodOptional<z.ZodString>;
|
|
693
|
-
ref: z.ZodOptional<z.ZodURL>;
|
|
694
|
-
}, z.core.$strip>;
|
|
695
|
-
}, z.core.$loose>;
|
|
696
|
-
type ProfileAnnotationProperties = z.infer<typeof ProfileAnnotationProperties>;
|
|
697
|
-
|
|
698
469
|
declare const SiteProfile: z.ZodObject<{
|
|
699
470
|
originators: z.ZodArray<z.ZodObject<{
|
|
700
471
|
core: z.ZodString;
|
|
@@ -702,6 +473,7 @@ declare const SiteProfile: z.ZodObject<{
|
|
|
702
473
|
media: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
703
474
|
}, z.core.$loose>>;
|
|
704
475
|
sites: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
476
|
+
/** @deprecated 後方互換性のため 2026-11-01 まで許容。sites が優先され、存在しない場合に credential を使用。 */
|
|
705
477
|
credential: z.ZodOptional<z.ZodString>;
|
|
706
478
|
}, z.core.$loose>;
|
|
707
479
|
type SiteProfile = z.infer<typeof SiteProfile>;
|
|
@@ -808,62 +580,6 @@ declare const UnsignedWebsiteProfile: z.ZodObject<{
|
|
|
808
580
|
}, z.core.$loose>;
|
|
809
581
|
type UnsignedWebsiteProfile = z.infer<typeof UnsignedWebsiteProfile>;
|
|
810
582
|
|
|
811
|
-
declare const UnsignedWebsiteProfileSet: z.ZodArray<z.ZodObject<{
|
|
812
|
-
credentialSubject: z.ZodUnion<readonly [z.ZodObject<{
|
|
813
|
-
id: z.ZodURL;
|
|
814
|
-
type: z.ZodLiteral<"WebSite">;
|
|
815
|
-
name: z.ZodString;
|
|
816
|
-
image: z.ZodOptional<z.ZodObject<{
|
|
817
|
-
id: z.ZodURL;
|
|
818
|
-
digestSRI: z.ZodOptional<z.ZodCustomStringFormat<"sri">>;
|
|
819
|
-
}, z.core.$strip>>;
|
|
820
|
-
description: z.ZodOptional<z.ZodString>;
|
|
821
|
-
url: z.ZodUnion<readonly [z.ZodCustomStringFormat<"origin">, z.ZodArray<z.ZodCustomStringFormat<"origin">>]>;
|
|
822
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
823
|
-
id: z.ZodURL;
|
|
824
|
-
type: z.ZodLiteral<"WebSite">;
|
|
825
|
-
name: z.ZodString;
|
|
826
|
-
image: z.ZodOptional<z.ZodObject<{
|
|
827
|
-
id: z.ZodURL;
|
|
828
|
-
digestSRI: z.ZodOptional<z.ZodCustomStringFormat<"sri">>;
|
|
829
|
-
}, z.core.$strip>>;
|
|
830
|
-
description: z.ZodOptional<z.ZodString>;
|
|
831
|
-
allowedOrigin: z.ZodUnion<readonly [z.ZodCustomStringFormat<"origin">, z.ZodArray<z.ZodCustomStringFormat<"origin">>]>;
|
|
832
|
-
}, z.core.$loose>, z.ZodObject<{
|
|
833
|
-
id: z.ZodURL;
|
|
834
|
-
type: z.ZodLiteral<"WebSite">;
|
|
835
|
-
name: z.ZodString;
|
|
836
|
-
description: z.ZodOptional<z.ZodString>;
|
|
837
|
-
url: z.ZodUnion<readonly [z.ZodCustomStringFormat<"origin">, z.ZodArray<z.ZodCustomStringFormat<"origin">>]>;
|
|
838
|
-
image: z.ZodUnion<readonly [z.ZodObject<{
|
|
839
|
-
id: z.ZodURL;
|
|
840
|
-
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
841
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
842
|
-
id: z.ZodURL;
|
|
843
|
-
digestSRI: z.ZodOptional<z.ZodCustomStringFormat<"sri">>;
|
|
844
|
-
}, z.core.$strip>]>;
|
|
845
|
-
}, z.core.$loose> | z.ZodObject<{
|
|
846
|
-
id: z.ZodURL;
|
|
847
|
-
type: z.ZodLiteral<"WebSite">;
|
|
848
|
-
name: z.ZodString;
|
|
849
|
-
description: z.ZodOptional<z.ZodString>;
|
|
850
|
-
allowedOrigin: z.ZodUnion<readonly [z.ZodCustomStringFormat<"origin">, z.ZodArray<z.ZodCustomStringFormat<"origin">>]>;
|
|
851
|
-
image: z.ZodUnion<readonly [z.ZodObject<{
|
|
852
|
-
id: z.ZodURL;
|
|
853
|
-
content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
854
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
855
|
-
id: z.ZodURL;
|
|
856
|
-
digestSRI: z.ZodOptional<z.ZodCustomStringFormat<"sri">>;
|
|
857
|
-
}, z.core.$strip>]>;
|
|
858
|
-
}, z.core.$loose> | z.ZodNever]>;
|
|
859
|
-
"@context": z.ZodTuple<[z.ZodLiteral<"https://www.w3.org/ns/credentials/v2">, z.ZodLiteral<"https://originator-profile.org/ns/credentials/v1">, z.ZodLiteral<"https://originator-profile.org/ns/cip/v1">, z.ZodObject<{
|
|
860
|
-
"@language": z.ZodString;
|
|
861
|
-
}, z.core.$strip>], null>;
|
|
862
|
-
type: z.ZodTuple<[z.ZodLiteral<"VerifiableCredential">, z.ZodLiteral<"WebsiteProfile">], null>;
|
|
863
|
-
issuer: z.ZodString;
|
|
864
|
-
}, z.core.$loose>>;
|
|
865
|
-
type UnsignedWebsiteProfileSet = z.infer<typeof UnsignedWebsiteProfileSet>;
|
|
866
|
-
|
|
867
583
|
declare const WebMediaProfile: z.ZodObject<{
|
|
868
584
|
"@context": z.ZodTuple<[z.ZodLiteral<"https://www.w3.org/ns/credentials/v2">, z.ZodLiteral<"https://originator-profile.org/ns/credentials/v1">, z.ZodLiteral<"https://originator-profile.org/ns/cip/v1">, z.ZodObject<{
|
|
869
585
|
"@language": z.ZodString;
|
|
@@ -944,5 +660,5 @@ declare const WebsiteProfile: z.ZodObject<{
|
|
|
944
660
|
}, z.core.$loose>;
|
|
945
661
|
type WebsiteProfile = z.infer<typeof WebsiteProfile>;
|
|
946
662
|
|
|
947
|
-
export { AdvertisementCA,
|
|
663
|
+
export { AdvertisementCA, AdvertorialCA, AllowedOrigin, AllowedUrl, ArticleCA, BasicTarget, Certificate, CertificationSystem, ContentAttestation, ContentAttestationSet, ContentAttestationSetItem, CoreProfile, DateTimeStamp, Description, ExternalResourceTarget, Image, JapaneseExistenceCertificate, JapaneseExistenceCertificateProperties, Jwk, Jwks, OpId, OpMeta, OpVc, OriginatorProfile, OriginatorProfileSet, Page, RawImage, RawTarget, SiteProfile, SubresourceIntegrity, Target, UnsignedContentAttestation, UnsignedWebsiteProfile, WebMediaProfile, WebsiteProfile, subject };
|
|
948
664
|
export type { AdvertisementSubject };
|