@originator-profile/model 0.4.0-beta.4 → 0.4.0-beta.5

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 CHANGED
@@ -410,6 +410,16 @@ const ContentAttestation = {
410
410
  ]
411
411
  };
412
412
 
413
+ const Page = {
414
+ title: "\u30DA\u30FC\u30B8",
415
+ type: "object",
416
+ properties: {
417
+ id: { title: "\u30DA\u30FC\u30B8 URL", type: "string", format: "uri" },
418
+ name: { title: "\u30DA\u30FC\u30B8\u8868\u793A\u540D", type: "string" }
419
+ },
420
+ required: ["id", "name"]
421
+ };
422
+
413
423
  const subject$4 = {
414
424
  type: "object",
415
425
  additionalProperties: false,
@@ -1576,6 +1586,14 @@ const subject$1 = {
1576
1586
  },
1577
1587
  required: ["id", "name"]
1578
1588
  },
1589
+ publishingPrinciple: {
1590
+ type: "object",
1591
+ properties: {
1592
+ id: { title: "\u7DE8\u96C6\u30AC\u30A4\u30C9\u30E9\u30A4\u30F3 URL", type: "string", format: "uri" },
1593
+ name: { title: "\u7DE8\u96C6\u30AC\u30A4\u30C9\u30E9\u30A4\u30F3\u8868\u793A\u540D", type: "string" }
1594
+ },
1595
+ required: ["id", "name"]
1596
+ },
1579
1597
  privacyPolicy: {
1580
1598
  type: "object",
1581
1599
  properties: {
@@ -1588,7 +1606,23 @@ const subject$1 = {
1588
1606
  },
1589
1607
  required: ["id", "name"]
1590
1608
  },
1591
- description: { title: "\u7D44\u7E54\u306B\u95A2\u3059\u308B\u8AAC\u660E", type: "string" }
1609
+ description: {
1610
+ title: "\u7D44\u7E54\u306B\u95A2\u3059\u308B\u8AAC\u660E",
1611
+ type: ["string", "object"],
1612
+ properties: {
1613
+ text: {
1614
+ type: "string",
1615
+ description: "Text value."
1616
+ },
1617
+ encodingFormat: {
1618
+ type: "string",
1619
+ title: "Encoding format",
1620
+ description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).",
1621
+ enum: ["text/plain", "text/html"]
1622
+ }
1623
+ },
1624
+ required: ["text", "encodingFormat"]
1625
+ }
1592
1626
  },
1593
1627
  required: ["id", "type", "url", "name"]
1594
1628
  };
@@ -1733,6 +1767,7 @@ exports.OpVc = OpVc;
1733
1767
  exports.OpVerifier = OpVerifier;
1734
1768
  exports.OriginatorProfileSet = OriginatorProfileSet;
1735
1769
  exports.OriginatorProfileSetItem = OriginatorProfileSetItem;
1770
+ exports.Page = Page;
1736
1771
  exports.Profile = Profile;
1737
1772
  exports.RawTarget = RawTarget;
1738
1773
  exports.Request = Request;
package/dist/index.d.cts CHANGED
@@ -1317,6 +1317,157 @@ declare const JapaneseExistenceCertificate: {
1317
1317
  };
1318
1318
  type JapaneseExistenceCertificate = FromSchema<typeof JapaneseExistenceCertificate>;
1319
1319
 
1320
+ declare const subject: {
1321
+ readonly type: "object";
1322
+ readonly additionalProperties: true;
1323
+ readonly properties: {
1324
+ readonly id: {
1325
+ readonly type: "string";
1326
+ readonly format: "uri";
1327
+ readonly description: "CA ID";
1328
+ };
1329
+ readonly type: {
1330
+ readonly type: "string";
1331
+ readonly const: "OnlineAd";
1332
+ };
1333
+ readonly name: {
1334
+ readonly type: "string";
1335
+ readonly description: "広告のタイトル。";
1336
+ };
1337
+ readonly description: {
1338
+ readonly type: "string";
1339
+ readonly description: "広告の説明(プレーンテキスト)。";
1340
+ };
1341
+ readonly image: {
1342
+ readonly title: "画像";
1343
+ readonly type: "object";
1344
+ readonly properties: {
1345
+ readonly id: {
1346
+ readonly type: "string";
1347
+ readonly format: "uri";
1348
+ };
1349
+ readonly digestSRI: {
1350
+ readonly type: "string";
1351
+ readonly title: "Integrity Metadata";
1352
+ readonly description: "Subresource Integrity (SRI) digest";
1353
+ };
1354
+ };
1355
+ readonly required: readonly ["id"];
1356
+ };
1357
+ readonly genre: {
1358
+ readonly title: "ジャンル";
1359
+ readonly type: "string";
1360
+ };
1361
+ readonly landingPageUrl: {
1362
+ readonly title: "ランディングページ URL";
1363
+ readonly type: "string";
1364
+ readonly format: "uri";
1365
+ };
1366
+ readonly adReportContact: {
1367
+ readonly title: "ページ";
1368
+ readonly type: "object";
1369
+ readonly properties: {
1370
+ readonly id: {
1371
+ readonly title: "ページ URL";
1372
+ readonly type: "string";
1373
+ readonly format: "uri";
1374
+ };
1375
+ readonly name: {
1376
+ readonly title: "ページ表示名";
1377
+ readonly type: "string";
1378
+ };
1379
+ };
1380
+ readonly required: readonly ["id", "name"];
1381
+ };
1382
+ readonly adReviewGuidelines: {
1383
+ readonly title: "ページ";
1384
+ readonly type: "object";
1385
+ readonly properties: {
1386
+ readonly id: {
1387
+ readonly title: "ページ URL";
1388
+ readonly type: "string";
1389
+ readonly format: "uri";
1390
+ };
1391
+ readonly name: {
1392
+ readonly title: "ページ表示名";
1393
+ readonly type: "string";
1394
+ };
1395
+ };
1396
+ readonly required: readonly ["id", "name"];
1397
+ };
1398
+ readonly targetingPolicy: {
1399
+ readonly title: "ページ";
1400
+ readonly type: "object";
1401
+ readonly properties: {
1402
+ readonly id: {
1403
+ readonly title: "ページ URL";
1404
+ readonly type: "string";
1405
+ readonly format: "uri";
1406
+ };
1407
+ readonly name: {
1408
+ readonly title: "ページ表示名";
1409
+ readonly type: "string";
1410
+ };
1411
+ };
1412
+ readonly required: readonly ["id", "name"];
1413
+ };
1414
+ readonly adDataHandlingPolicy: {
1415
+ readonly title: "ページ";
1416
+ readonly type: "object";
1417
+ readonly properties: {
1418
+ readonly id: {
1419
+ readonly title: "ページ URL";
1420
+ readonly type: "string";
1421
+ readonly format: "uri";
1422
+ };
1423
+ readonly name: {
1424
+ readonly title: "ページ表示名";
1425
+ readonly type: "string";
1426
+ };
1427
+ };
1428
+ readonly required: readonly ["id", "name"];
1429
+ };
1430
+ readonly adDisplayRationale: {
1431
+ readonly title: "この広告が表示されている理由";
1432
+ readonly type: "object";
1433
+ readonly properties: {
1434
+ readonly page: {
1435
+ readonly title: "ページ";
1436
+ readonly type: "object";
1437
+ readonly properties: {
1438
+ readonly id: {
1439
+ readonly title: "ページ URL";
1440
+ readonly type: "string";
1441
+ readonly format: "uri";
1442
+ };
1443
+ readonly name: {
1444
+ readonly title: "ページ表示名";
1445
+ readonly type: "string";
1446
+ };
1447
+ };
1448
+ readonly required: readonly ["id", "name"];
1449
+ };
1450
+ readonly description: {
1451
+ readonly type: "string";
1452
+ };
1453
+ };
1454
+ readonly anyOf: readonly [{
1455
+ readonly required: readonly ["page"];
1456
+ }, {
1457
+ readonly required: readonly ["description"];
1458
+ }];
1459
+ };
1460
+ };
1461
+ readonly required: readonly ["id", "type"];
1462
+ readonly anyOf: readonly [{
1463
+ readonly required: readonly ["name"];
1464
+ }, {
1465
+ readonly required: readonly ["description"];
1466
+ }, {
1467
+ readonly required: readonly ["image"];
1468
+ }];
1469
+ };
1470
+ type AdvertisementSubject = FromSchema<typeof subject>;
1320
1471
  declare const AdvertisementCA: {
1321
1472
  readonly type: "object";
1322
1473
  readonly additionalProperties: true;
@@ -1548,8 +1699,109 @@ declare const AdvertisementCA: {
1548
1699
  readonly type: "string";
1549
1700
  readonly format: "uri";
1550
1701
  };
1702
+ readonly adReportContact: {
1703
+ readonly title: "ページ";
1704
+ readonly type: "object";
1705
+ readonly properties: {
1706
+ readonly id: {
1707
+ readonly title: "ページ URL";
1708
+ readonly type: "string";
1709
+ readonly format: "uri";
1710
+ };
1711
+ readonly name: {
1712
+ readonly title: "ページ表示名";
1713
+ readonly type: "string";
1714
+ };
1715
+ };
1716
+ readonly required: readonly ["id", "name"];
1717
+ };
1718
+ readonly adReviewGuidelines: {
1719
+ readonly title: "ページ";
1720
+ readonly type: "object";
1721
+ readonly properties: {
1722
+ readonly id: {
1723
+ readonly title: "ページ URL";
1724
+ readonly type: "string";
1725
+ readonly format: "uri";
1726
+ };
1727
+ readonly name: {
1728
+ readonly title: "ページ表示名";
1729
+ readonly type: "string";
1730
+ };
1731
+ };
1732
+ readonly required: readonly ["id", "name"];
1733
+ };
1734
+ readonly targetingPolicy: {
1735
+ readonly title: "ページ";
1736
+ readonly type: "object";
1737
+ readonly properties: {
1738
+ readonly id: {
1739
+ readonly title: "ページ URL";
1740
+ readonly type: "string";
1741
+ readonly format: "uri";
1742
+ };
1743
+ readonly name: {
1744
+ readonly title: "ページ表示名";
1745
+ readonly type: "string";
1746
+ };
1747
+ };
1748
+ readonly required: readonly ["id", "name"];
1749
+ };
1750
+ readonly adDataHandlingPolicy: {
1751
+ readonly title: "ページ";
1752
+ readonly type: "object";
1753
+ readonly properties: {
1754
+ readonly id: {
1755
+ readonly title: "ページ URL";
1756
+ readonly type: "string";
1757
+ readonly format: "uri";
1758
+ };
1759
+ readonly name: {
1760
+ readonly title: "ページ表示名";
1761
+ readonly type: "string";
1762
+ };
1763
+ };
1764
+ readonly required: readonly ["id", "name"];
1765
+ };
1766
+ readonly adDisplayRationale: {
1767
+ readonly title: "この広告が表示されている理由";
1768
+ readonly type: "object";
1769
+ readonly properties: {
1770
+ readonly page: {
1771
+ readonly title: "ページ";
1772
+ readonly type: "object";
1773
+ readonly properties: {
1774
+ readonly id: {
1775
+ readonly title: "ページ URL";
1776
+ readonly type: "string";
1777
+ readonly format: "uri";
1778
+ };
1779
+ readonly name: {
1780
+ readonly title: "ページ表示名";
1781
+ readonly type: "string";
1782
+ };
1783
+ };
1784
+ readonly required: readonly ["id", "name"];
1785
+ };
1786
+ readonly description: {
1787
+ readonly type: "string";
1788
+ };
1789
+ };
1790
+ readonly anyOf: readonly [{
1791
+ readonly required: readonly ["page"];
1792
+ }, {
1793
+ readonly required: readonly ["description"];
1794
+ }];
1795
+ };
1551
1796
  };
1552
- readonly required: readonly ["id", "type", "name", "description"];
1797
+ readonly required: readonly ["id", "type"];
1798
+ readonly anyOf: readonly [{
1799
+ readonly required: readonly ["name"];
1800
+ }, {
1801
+ readonly required: readonly ["description"];
1802
+ }, {
1803
+ readonly required: readonly ["image"];
1804
+ }];
1553
1805
  };
1554
1806
  };
1555
1807
  readonly required: readonly ["@context", "type", "credentialSubject"];
@@ -6916,6 +7168,24 @@ declare const OriginatorProfileSet: {
6916
7168
  };
6917
7169
  type OriginatorProfileSet = FromSchema<typeof OriginatorProfileSet>;
6918
7170
 
7171
+ declare const Page: {
7172
+ readonly title: "ページ";
7173
+ readonly type: "object";
7174
+ readonly properties: {
7175
+ readonly id: {
7176
+ readonly title: "ページ URL";
7177
+ readonly type: "string";
7178
+ readonly format: "uri";
7179
+ };
7180
+ readonly name: {
7181
+ readonly title: "ページ表示名";
7182
+ readonly type: "string";
7183
+ };
7184
+ };
7185
+ readonly required: readonly ["id", "name"];
7186
+ };
7187
+ type Page = FromSchema<typeof Page>;
7188
+
6919
7189
  declare const Request: {
6920
7190
  readonly title: "申請";
6921
7191
  readonly description: "OP 発行申請";
@@ -7287,6 +7557,21 @@ declare const WebMediaProfile: {
7287
7557
  };
7288
7558
  readonly required: readonly ["id", "name"];
7289
7559
  };
7560
+ readonly publishingPrinciple: {
7561
+ readonly type: "object";
7562
+ readonly properties: {
7563
+ readonly id: {
7564
+ readonly title: "編集ガイドライン URL";
7565
+ readonly type: "string";
7566
+ readonly format: "uri";
7567
+ };
7568
+ readonly name: {
7569
+ readonly title: "編集ガイドライン表示名";
7570
+ readonly type: "string";
7571
+ };
7572
+ };
7573
+ readonly required: readonly ["id", "name"];
7574
+ };
7290
7575
  readonly privacyPolicy: {
7291
7576
  readonly type: "object";
7292
7577
  readonly properties: {
@@ -7304,7 +7589,20 @@ declare const WebMediaProfile: {
7304
7589
  };
7305
7590
  readonly description: {
7306
7591
  readonly title: "組織に関する説明";
7307
- readonly type: "string";
7592
+ readonly type: readonly ["string", "object"];
7593
+ readonly properties: {
7594
+ readonly text: {
7595
+ readonly type: "string";
7596
+ readonly description: "Text value.";
7597
+ };
7598
+ readonly encodingFormat: {
7599
+ readonly type: "string";
7600
+ readonly title: "Encoding format";
7601
+ readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
7602
+ readonly enum: readonly ["text/plain", "text/html"];
7603
+ };
7604
+ };
7605
+ readonly required: readonly ["text", "encodingFormat"];
7308
7606
  };
7309
7607
  };
7310
7608
  readonly required: readonly ["id", "type", "url", "name"];
@@ -7509,4 +7807,4 @@ declare const WebsiteProfile: {
7509
7807
  };
7510
7808
  type WebsiteProfile = FromSchema<typeof WebsiteProfile>;
7511
7809
 
7512
- export { Advertisement, AdvertisementCA, AdvertorialCA, AllowedOrigin, AllowedUrl, ArticleCA, type BaseTarget, 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 };
7810
+ export { Advertisement, AdvertisementCA, type AdvertisementSubject, AdvertorialCA, AllowedOrigin, AllowedUrl, ArticleCA, type BaseTarget, 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, Page, Profile, RawTarget, Request, SiteProfile, Target, UnsignedContentAttestation, User, WebMediaProfile, WebsiteProfile };
package/dist/index.d.mts CHANGED
@@ -1317,6 +1317,157 @@ declare const JapaneseExistenceCertificate: {
1317
1317
  };
1318
1318
  type JapaneseExistenceCertificate = FromSchema<typeof JapaneseExistenceCertificate>;
1319
1319
 
1320
+ declare const subject: {
1321
+ readonly type: "object";
1322
+ readonly additionalProperties: true;
1323
+ readonly properties: {
1324
+ readonly id: {
1325
+ readonly type: "string";
1326
+ readonly format: "uri";
1327
+ readonly description: "CA ID";
1328
+ };
1329
+ readonly type: {
1330
+ readonly type: "string";
1331
+ readonly const: "OnlineAd";
1332
+ };
1333
+ readonly name: {
1334
+ readonly type: "string";
1335
+ readonly description: "広告のタイトル。";
1336
+ };
1337
+ readonly description: {
1338
+ readonly type: "string";
1339
+ readonly description: "広告の説明(プレーンテキスト)。";
1340
+ };
1341
+ readonly image: {
1342
+ readonly title: "画像";
1343
+ readonly type: "object";
1344
+ readonly properties: {
1345
+ readonly id: {
1346
+ readonly type: "string";
1347
+ readonly format: "uri";
1348
+ };
1349
+ readonly digestSRI: {
1350
+ readonly type: "string";
1351
+ readonly title: "Integrity Metadata";
1352
+ readonly description: "Subresource Integrity (SRI) digest";
1353
+ };
1354
+ };
1355
+ readonly required: readonly ["id"];
1356
+ };
1357
+ readonly genre: {
1358
+ readonly title: "ジャンル";
1359
+ readonly type: "string";
1360
+ };
1361
+ readonly landingPageUrl: {
1362
+ readonly title: "ランディングページ URL";
1363
+ readonly type: "string";
1364
+ readonly format: "uri";
1365
+ };
1366
+ readonly adReportContact: {
1367
+ readonly title: "ページ";
1368
+ readonly type: "object";
1369
+ readonly properties: {
1370
+ readonly id: {
1371
+ readonly title: "ページ URL";
1372
+ readonly type: "string";
1373
+ readonly format: "uri";
1374
+ };
1375
+ readonly name: {
1376
+ readonly title: "ページ表示名";
1377
+ readonly type: "string";
1378
+ };
1379
+ };
1380
+ readonly required: readonly ["id", "name"];
1381
+ };
1382
+ readonly adReviewGuidelines: {
1383
+ readonly title: "ページ";
1384
+ readonly type: "object";
1385
+ readonly properties: {
1386
+ readonly id: {
1387
+ readonly title: "ページ URL";
1388
+ readonly type: "string";
1389
+ readonly format: "uri";
1390
+ };
1391
+ readonly name: {
1392
+ readonly title: "ページ表示名";
1393
+ readonly type: "string";
1394
+ };
1395
+ };
1396
+ readonly required: readonly ["id", "name"];
1397
+ };
1398
+ readonly targetingPolicy: {
1399
+ readonly title: "ページ";
1400
+ readonly type: "object";
1401
+ readonly properties: {
1402
+ readonly id: {
1403
+ readonly title: "ページ URL";
1404
+ readonly type: "string";
1405
+ readonly format: "uri";
1406
+ };
1407
+ readonly name: {
1408
+ readonly title: "ページ表示名";
1409
+ readonly type: "string";
1410
+ };
1411
+ };
1412
+ readonly required: readonly ["id", "name"];
1413
+ };
1414
+ readonly adDataHandlingPolicy: {
1415
+ readonly title: "ページ";
1416
+ readonly type: "object";
1417
+ readonly properties: {
1418
+ readonly id: {
1419
+ readonly title: "ページ URL";
1420
+ readonly type: "string";
1421
+ readonly format: "uri";
1422
+ };
1423
+ readonly name: {
1424
+ readonly title: "ページ表示名";
1425
+ readonly type: "string";
1426
+ };
1427
+ };
1428
+ readonly required: readonly ["id", "name"];
1429
+ };
1430
+ readonly adDisplayRationale: {
1431
+ readonly title: "この広告が表示されている理由";
1432
+ readonly type: "object";
1433
+ readonly properties: {
1434
+ readonly page: {
1435
+ readonly title: "ページ";
1436
+ readonly type: "object";
1437
+ readonly properties: {
1438
+ readonly id: {
1439
+ readonly title: "ページ URL";
1440
+ readonly type: "string";
1441
+ readonly format: "uri";
1442
+ };
1443
+ readonly name: {
1444
+ readonly title: "ページ表示名";
1445
+ readonly type: "string";
1446
+ };
1447
+ };
1448
+ readonly required: readonly ["id", "name"];
1449
+ };
1450
+ readonly description: {
1451
+ readonly type: "string";
1452
+ };
1453
+ };
1454
+ readonly anyOf: readonly [{
1455
+ readonly required: readonly ["page"];
1456
+ }, {
1457
+ readonly required: readonly ["description"];
1458
+ }];
1459
+ };
1460
+ };
1461
+ readonly required: readonly ["id", "type"];
1462
+ readonly anyOf: readonly [{
1463
+ readonly required: readonly ["name"];
1464
+ }, {
1465
+ readonly required: readonly ["description"];
1466
+ }, {
1467
+ readonly required: readonly ["image"];
1468
+ }];
1469
+ };
1470
+ type AdvertisementSubject = FromSchema<typeof subject>;
1320
1471
  declare const AdvertisementCA: {
1321
1472
  readonly type: "object";
1322
1473
  readonly additionalProperties: true;
@@ -1548,8 +1699,109 @@ declare const AdvertisementCA: {
1548
1699
  readonly type: "string";
1549
1700
  readonly format: "uri";
1550
1701
  };
1702
+ readonly adReportContact: {
1703
+ readonly title: "ページ";
1704
+ readonly type: "object";
1705
+ readonly properties: {
1706
+ readonly id: {
1707
+ readonly title: "ページ URL";
1708
+ readonly type: "string";
1709
+ readonly format: "uri";
1710
+ };
1711
+ readonly name: {
1712
+ readonly title: "ページ表示名";
1713
+ readonly type: "string";
1714
+ };
1715
+ };
1716
+ readonly required: readonly ["id", "name"];
1717
+ };
1718
+ readonly adReviewGuidelines: {
1719
+ readonly title: "ページ";
1720
+ readonly type: "object";
1721
+ readonly properties: {
1722
+ readonly id: {
1723
+ readonly title: "ページ URL";
1724
+ readonly type: "string";
1725
+ readonly format: "uri";
1726
+ };
1727
+ readonly name: {
1728
+ readonly title: "ページ表示名";
1729
+ readonly type: "string";
1730
+ };
1731
+ };
1732
+ readonly required: readonly ["id", "name"];
1733
+ };
1734
+ readonly targetingPolicy: {
1735
+ readonly title: "ページ";
1736
+ readonly type: "object";
1737
+ readonly properties: {
1738
+ readonly id: {
1739
+ readonly title: "ページ URL";
1740
+ readonly type: "string";
1741
+ readonly format: "uri";
1742
+ };
1743
+ readonly name: {
1744
+ readonly title: "ページ表示名";
1745
+ readonly type: "string";
1746
+ };
1747
+ };
1748
+ readonly required: readonly ["id", "name"];
1749
+ };
1750
+ readonly adDataHandlingPolicy: {
1751
+ readonly title: "ページ";
1752
+ readonly type: "object";
1753
+ readonly properties: {
1754
+ readonly id: {
1755
+ readonly title: "ページ URL";
1756
+ readonly type: "string";
1757
+ readonly format: "uri";
1758
+ };
1759
+ readonly name: {
1760
+ readonly title: "ページ表示名";
1761
+ readonly type: "string";
1762
+ };
1763
+ };
1764
+ readonly required: readonly ["id", "name"];
1765
+ };
1766
+ readonly adDisplayRationale: {
1767
+ readonly title: "この広告が表示されている理由";
1768
+ readonly type: "object";
1769
+ readonly properties: {
1770
+ readonly page: {
1771
+ readonly title: "ページ";
1772
+ readonly type: "object";
1773
+ readonly properties: {
1774
+ readonly id: {
1775
+ readonly title: "ページ URL";
1776
+ readonly type: "string";
1777
+ readonly format: "uri";
1778
+ };
1779
+ readonly name: {
1780
+ readonly title: "ページ表示名";
1781
+ readonly type: "string";
1782
+ };
1783
+ };
1784
+ readonly required: readonly ["id", "name"];
1785
+ };
1786
+ readonly description: {
1787
+ readonly type: "string";
1788
+ };
1789
+ };
1790
+ readonly anyOf: readonly [{
1791
+ readonly required: readonly ["page"];
1792
+ }, {
1793
+ readonly required: readonly ["description"];
1794
+ }];
1795
+ };
1551
1796
  };
1552
- readonly required: readonly ["id", "type", "name", "description"];
1797
+ readonly required: readonly ["id", "type"];
1798
+ readonly anyOf: readonly [{
1799
+ readonly required: readonly ["name"];
1800
+ }, {
1801
+ readonly required: readonly ["description"];
1802
+ }, {
1803
+ readonly required: readonly ["image"];
1804
+ }];
1553
1805
  };
1554
1806
  };
1555
1807
  readonly required: readonly ["@context", "type", "credentialSubject"];
@@ -6916,6 +7168,24 @@ declare const OriginatorProfileSet: {
6916
7168
  };
6917
7169
  type OriginatorProfileSet = FromSchema<typeof OriginatorProfileSet>;
6918
7170
 
7171
+ declare const Page: {
7172
+ readonly title: "ページ";
7173
+ readonly type: "object";
7174
+ readonly properties: {
7175
+ readonly id: {
7176
+ readonly title: "ページ URL";
7177
+ readonly type: "string";
7178
+ readonly format: "uri";
7179
+ };
7180
+ readonly name: {
7181
+ readonly title: "ページ表示名";
7182
+ readonly type: "string";
7183
+ };
7184
+ };
7185
+ readonly required: readonly ["id", "name"];
7186
+ };
7187
+ type Page = FromSchema<typeof Page>;
7188
+
6919
7189
  declare const Request: {
6920
7190
  readonly title: "申請";
6921
7191
  readonly description: "OP 発行申請";
@@ -7287,6 +7557,21 @@ declare const WebMediaProfile: {
7287
7557
  };
7288
7558
  readonly required: readonly ["id", "name"];
7289
7559
  };
7560
+ readonly publishingPrinciple: {
7561
+ readonly type: "object";
7562
+ readonly properties: {
7563
+ readonly id: {
7564
+ readonly title: "編集ガイドライン URL";
7565
+ readonly type: "string";
7566
+ readonly format: "uri";
7567
+ };
7568
+ readonly name: {
7569
+ readonly title: "編集ガイドライン表示名";
7570
+ readonly type: "string";
7571
+ };
7572
+ };
7573
+ readonly required: readonly ["id", "name"];
7574
+ };
7290
7575
  readonly privacyPolicy: {
7291
7576
  readonly type: "object";
7292
7577
  readonly properties: {
@@ -7304,7 +7589,20 @@ declare const WebMediaProfile: {
7304
7589
  };
7305
7590
  readonly description: {
7306
7591
  readonly title: "組織に関する説明";
7307
- readonly type: "string";
7592
+ readonly type: readonly ["string", "object"];
7593
+ readonly properties: {
7594
+ readonly text: {
7595
+ readonly type: "string";
7596
+ readonly description: "Text value.";
7597
+ };
7598
+ readonly encodingFormat: {
7599
+ readonly type: "string";
7600
+ readonly title: "Encoding format";
7601
+ readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
7602
+ readonly enum: readonly ["text/plain", "text/html"];
7603
+ };
7604
+ };
7605
+ readonly required: readonly ["text", "encodingFormat"];
7308
7606
  };
7309
7607
  };
7310
7608
  readonly required: readonly ["id", "type", "url", "name"];
@@ -7509,4 +7807,4 @@ declare const WebsiteProfile: {
7509
7807
  };
7510
7808
  type WebsiteProfile = FromSchema<typeof WebsiteProfile>;
7511
7809
 
7512
- export { Advertisement, AdvertisementCA, AdvertorialCA, AllowedOrigin, AllowedUrl, ArticleCA, type BaseTarget, 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 };
7810
+ export { Advertisement, AdvertisementCA, type AdvertisementSubject, AdvertorialCA, AllowedOrigin, AllowedUrl, ArticleCA, type BaseTarget, 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, Page, Profile, RawTarget, Request, SiteProfile, Target, UnsignedContentAttestation, User, WebMediaProfile, WebsiteProfile };
package/dist/index.mjs CHANGED
@@ -408,6 +408,16 @@ const ContentAttestation = {
408
408
  ]
409
409
  };
410
410
 
411
+ const Page = {
412
+ title: "\u30DA\u30FC\u30B8",
413
+ type: "object",
414
+ properties: {
415
+ id: { title: "\u30DA\u30FC\u30B8 URL", type: "string", format: "uri" },
416
+ name: { title: "\u30DA\u30FC\u30B8\u8868\u793A\u540D", type: "string" }
417
+ },
418
+ required: ["id", "name"]
419
+ };
420
+
411
421
  const subject$4 = {
412
422
  type: "object",
413
423
  additionalProperties: false,
@@ -1574,6 +1584,14 @@ const subject$1 = {
1574
1584
  },
1575
1585
  required: ["id", "name"]
1576
1586
  },
1587
+ publishingPrinciple: {
1588
+ type: "object",
1589
+ properties: {
1590
+ id: { title: "\u7DE8\u96C6\u30AC\u30A4\u30C9\u30E9\u30A4\u30F3 URL", type: "string", format: "uri" },
1591
+ name: { title: "\u7DE8\u96C6\u30AC\u30A4\u30C9\u30E9\u30A4\u30F3\u8868\u793A\u540D", type: "string" }
1592
+ },
1593
+ required: ["id", "name"]
1594
+ },
1577
1595
  privacyPolicy: {
1578
1596
  type: "object",
1579
1597
  properties: {
@@ -1586,7 +1604,23 @@ const subject$1 = {
1586
1604
  },
1587
1605
  required: ["id", "name"]
1588
1606
  },
1589
- description: { title: "\u7D44\u7E54\u306B\u95A2\u3059\u308B\u8AAC\u660E", type: "string" }
1607
+ description: {
1608
+ title: "\u7D44\u7E54\u306B\u95A2\u3059\u308B\u8AAC\u660E",
1609
+ type: ["string", "object"],
1610
+ properties: {
1611
+ text: {
1612
+ type: "string",
1613
+ description: "Text value."
1614
+ },
1615
+ encodingFormat: {
1616
+ type: "string",
1617
+ title: "Encoding format",
1618
+ description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).",
1619
+ enum: ["text/plain", "text/html"]
1620
+ }
1621
+ },
1622
+ required: ["text", "encodingFormat"]
1623
+ }
1590
1624
  },
1591
1625
  required: ["id", "type", "url", "name"]
1592
1626
  };
@@ -1694,4 +1728,4 @@ const WebsiteProfile = {
1694
1728
  ]
1695
1729
  };
1696
1730
 
1697
- export { Advertisement, AdvertorialCA, 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 };
1731
+ export { Advertisement, AdvertorialCA, 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, Page, Profile, RawTarget, Request, SiteProfile, Target, UnsignedContentAttestation, User, WebMediaProfile, WebsiteProfile };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@originator-profile/model",
3
- "version": "0.4.0-beta.4",
3
+ "version": "0.4.0-beta.5",
4
4
  "license": "Apache-2.0",
5
5
  "homepage": "https://docs.originator-profile.org",
6
6
  "repository": {
@@ -35,8 +35,8 @@
35
35
  "pkgroll": "^2.12.2",
36
36
  "typescript": "^5.8.3",
37
37
  "vitest": "^4.0.0",
38
- "@originator-profile/tsconfig": "0.4.0-beta.4",
39
- "eslint-config-originator-profile": "0.4.0-beta.4"
38
+ "@originator-profile/tsconfig": "0.4.0-beta.5",
39
+ "eslint-config-originator-profile": "0.4.0-beta.5"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "pkgroll --clean-dist --target=node20",