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

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,
@@ -1416,6 +1426,30 @@ const Profile = {
1416
1426
  anyOf: [Op, Dp]
1417
1427
  };
1418
1428
 
1429
+ const Description = {
1430
+ title: "Description",
1431
+ anyOf: [
1432
+ { type: "string" },
1433
+ {
1434
+ type: "object",
1435
+ additionalProperties: true,
1436
+ properties: {
1437
+ text: {
1438
+ type: "string",
1439
+ description: "Text value."
1440
+ },
1441
+ encodingFormat: {
1442
+ type: "string",
1443
+ title: "Encoding format",
1444
+ description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).",
1445
+ enum: ["text/plain", "text/html"]
1446
+ }
1447
+ },
1448
+ required: ["text", "encodingFormat"]
1449
+ }
1450
+ ]
1451
+ };
1452
+
1419
1453
  const OriginatorProfileSetItem = {
1420
1454
  title: "Originator Profile",
1421
1455
  type: "object",
@@ -1576,6 +1610,14 @@ const subject$1 = {
1576
1610
  },
1577
1611
  required: ["id", "name"]
1578
1612
  },
1613
+ publishingPrinciple: {
1614
+ type: "object",
1615
+ properties: {
1616
+ id: { title: "\u7DE8\u96C6\u30AC\u30A4\u30C9\u30E9\u30A4\u30F3 URL", type: "string", format: "uri" },
1617
+ name: { title: "\u7DE8\u96C6\u30AC\u30A4\u30C9\u30E9\u30A4\u30F3\u8868\u793A\u540D", type: "string" }
1618
+ },
1619
+ required: ["id", "name"]
1620
+ },
1579
1621
  privacyPolicy: {
1580
1622
  type: "object",
1581
1623
  properties: {
@@ -1588,7 +1630,9 @@ const subject$1 = {
1588
1630
  },
1589
1631
  required: ["id", "name"]
1590
1632
  },
1591
- description: { title: "\u7D44\u7E54\u306B\u95A2\u3059\u308B\u8AAC\u660E", type: "string" }
1633
+ description: {
1634
+ anyOf: [Description, { type: "array", items: Description }]
1635
+ }
1592
1636
  },
1593
1637
  required: ["id", "type", "url", "name"]
1594
1638
  };
@@ -1708,6 +1752,7 @@ exports.ContentAttestation = ContentAttestation;
1708
1752
  exports.ContentAttestationSet = ContentAttestationSet;
1709
1753
  exports.ContentAttestationSetItem = ContentAttestationSetItem;
1710
1754
  exports.CoreProfile = CoreProfile;
1755
+ exports.Description = Description;
1711
1756
  exports.Dp = Dp;
1712
1757
  exports.DpAllowedOrigins = DpAllowedOrigins;
1713
1758
  exports.DpHtml = DpHtml;
@@ -1733,6 +1778,7 @@ exports.OpVc = OpVc;
1733
1778
  exports.OpVerifier = OpVerifier;
1734
1779
  exports.OriginatorProfileSet = OriginatorProfileSet;
1735
1780
  exports.OriginatorProfileSetItem = OriginatorProfileSetItem;
1781
+ exports.Page = Page;
1736
1782
  exports.Profile = Profile;
1737
1783
  exports.RawTarget = RawTarget;
1738
1784
  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"];
@@ -6701,6 +6953,30 @@ declare const Profile: {
6701
6953
  /** @deprecated */
6702
6954
  type Profile = FromSchema<typeof Profile>;
6703
6955
 
6956
+ declare const Description: {
6957
+ readonly title: "Description";
6958
+ readonly anyOf: readonly [{
6959
+ readonly type: "string";
6960
+ }, {
6961
+ readonly type: "object";
6962
+ readonly additionalProperties: true;
6963
+ readonly properties: {
6964
+ readonly text: {
6965
+ readonly type: "string";
6966
+ readonly description: "Text value.";
6967
+ };
6968
+ readonly encodingFormat: {
6969
+ readonly type: "string";
6970
+ readonly title: "Encoding format";
6971
+ readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
6972
+ readonly enum: readonly ["text/plain", "text/html"];
6973
+ };
6974
+ };
6975
+ readonly required: readonly ["text", "encodingFormat"];
6976
+ }];
6977
+ };
6978
+ type Description = FromSchema<typeof Description>;
6979
+
6704
6980
  declare const Image: {
6705
6981
  readonly title: "画像";
6706
6982
  readonly type: "object";
@@ -6916,6 +7192,24 @@ declare const OriginatorProfileSet: {
6916
7192
  };
6917
7193
  type OriginatorProfileSet = FromSchema<typeof OriginatorProfileSet>;
6918
7194
 
7195
+ declare const Page: {
7196
+ readonly title: "ページ";
7197
+ readonly type: "object";
7198
+ readonly properties: {
7199
+ readonly id: {
7200
+ readonly title: "ページ URL";
7201
+ readonly type: "string";
7202
+ readonly format: "uri";
7203
+ };
7204
+ readonly name: {
7205
+ readonly title: "ページ表示名";
7206
+ readonly type: "string";
7207
+ };
7208
+ };
7209
+ readonly required: readonly ["id", "name"];
7210
+ };
7211
+ type Page = FromSchema<typeof Page>;
7212
+
6919
7213
  declare const Request: {
6920
7214
  readonly title: "申請";
6921
7215
  readonly description: "OP 発行申請";
@@ -7287,6 +7581,21 @@ declare const WebMediaProfile: {
7287
7581
  };
7288
7582
  readonly required: readonly ["id", "name"];
7289
7583
  };
7584
+ readonly publishingPrinciple: {
7585
+ readonly type: "object";
7586
+ readonly properties: {
7587
+ readonly id: {
7588
+ readonly title: "編集ガイドライン URL";
7589
+ readonly type: "string";
7590
+ readonly format: "uri";
7591
+ };
7592
+ readonly name: {
7593
+ readonly title: "編集ガイドライン表示名";
7594
+ readonly type: "string";
7595
+ };
7596
+ };
7597
+ readonly required: readonly ["id", "name"];
7598
+ };
7290
7599
  readonly privacyPolicy: {
7291
7600
  readonly type: "object";
7292
7601
  readonly properties: {
@@ -7303,8 +7612,52 @@ declare const WebMediaProfile: {
7303
7612
  readonly required: readonly ["id", "name"];
7304
7613
  };
7305
7614
  readonly description: {
7306
- readonly title: "組織に関する説明";
7307
- readonly type: "string";
7615
+ readonly anyOf: readonly [{
7616
+ readonly title: "Description";
7617
+ readonly anyOf: readonly [{
7618
+ readonly type: "string";
7619
+ }, {
7620
+ readonly type: "object";
7621
+ readonly additionalProperties: true;
7622
+ readonly properties: {
7623
+ readonly text: {
7624
+ readonly type: "string";
7625
+ readonly description: "Text value.";
7626
+ };
7627
+ readonly encodingFormat: {
7628
+ readonly type: "string";
7629
+ readonly title: "Encoding format";
7630
+ readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
7631
+ readonly enum: readonly ["text/plain", "text/html"];
7632
+ };
7633
+ };
7634
+ readonly required: readonly ["text", "encodingFormat"];
7635
+ }];
7636
+ }, {
7637
+ readonly type: "array";
7638
+ readonly items: {
7639
+ readonly title: "Description";
7640
+ readonly anyOf: readonly [{
7641
+ readonly type: "string";
7642
+ }, {
7643
+ readonly type: "object";
7644
+ readonly additionalProperties: true;
7645
+ readonly properties: {
7646
+ readonly text: {
7647
+ readonly type: "string";
7648
+ readonly description: "Text value.";
7649
+ };
7650
+ readonly encodingFormat: {
7651
+ readonly type: "string";
7652
+ readonly title: "Encoding format";
7653
+ readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
7654
+ readonly enum: readonly ["text/plain", "text/html"];
7655
+ };
7656
+ };
7657
+ readonly required: readonly ["text", "encodingFormat"];
7658
+ }];
7659
+ };
7660
+ }];
7308
7661
  };
7309
7662
  };
7310
7663
  readonly required: readonly ["id", "type", "url", "name"];
@@ -7509,4 +7862,4 @@ declare const WebsiteProfile: {
7509
7862
  };
7510
7863
  type WebsiteProfile = FromSchema<typeof WebsiteProfile>;
7511
7864
 
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 };
7865
+ export { Advertisement, AdvertisementCA, type AdvertisementSubject, AdvertorialCA, AllowedOrigin, AllowedUrl, ArticleCA, type BaseTarget, BasicTarget, Certificate, CertificationSystem, ContentAttestation, ContentAttestationSet, ContentAttestationSetItem, CoreProfile, Description, 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"];
@@ -6701,6 +6953,30 @@ declare const Profile: {
6701
6953
  /** @deprecated */
6702
6954
  type Profile = FromSchema<typeof Profile>;
6703
6955
 
6956
+ declare const Description: {
6957
+ readonly title: "Description";
6958
+ readonly anyOf: readonly [{
6959
+ readonly type: "string";
6960
+ }, {
6961
+ readonly type: "object";
6962
+ readonly additionalProperties: true;
6963
+ readonly properties: {
6964
+ readonly text: {
6965
+ readonly type: "string";
6966
+ readonly description: "Text value.";
6967
+ };
6968
+ readonly encodingFormat: {
6969
+ readonly type: "string";
6970
+ readonly title: "Encoding format";
6971
+ readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
6972
+ readonly enum: readonly ["text/plain", "text/html"];
6973
+ };
6974
+ };
6975
+ readonly required: readonly ["text", "encodingFormat"];
6976
+ }];
6977
+ };
6978
+ type Description = FromSchema<typeof Description>;
6979
+
6704
6980
  declare const Image: {
6705
6981
  readonly title: "画像";
6706
6982
  readonly type: "object";
@@ -6916,6 +7192,24 @@ declare const OriginatorProfileSet: {
6916
7192
  };
6917
7193
  type OriginatorProfileSet = FromSchema<typeof OriginatorProfileSet>;
6918
7194
 
7195
+ declare const Page: {
7196
+ readonly title: "ページ";
7197
+ readonly type: "object";
7198
+ readonly properties: {
7199
+ readonly id: {
7200
+ readonly title: "ページ URL";
7201
+ readonly type: "string";
7202
+ readonly format: "uri";
7203
+ };
7204
+ readonly name: {
7205
+ readonly title: "ページ表示名";
7206
+ readonly type: "string";
7207
+ };
7208
+ };
7209
+ readonly required: readonly ["id", "name"];
7210
+ };
7211
+ type Page = FromSchema<typeof Page>;
7212
+
6919
7213
  declare const Request: {
6920
7214
  readonly title: "申請";
6921
7215
  readonly description: "OP 発行申請";
@@ -7287,6 +7581,21 @@ declare const WebMediaProfile: {
7287
7581
  };
7288
7582
  readonly required: readonly ["id", "name"];
7289
7583
  };
7584
+ readonly publishingPrinciple: {
7585
+ readonly type: "object";
7586
+ readonly properties: {
7587
+ readonly id: {
7588
+ readonly title: "編集ガイドライン URL";
7589
+ readonly type: "string";
7590
+ readonly format: "uri";
7591
+ };
7592
+ readonly name: {
7593
+ readonly title: "編集ガイドライン表示名";
7594
+ readonly type: "string";
7595
+ };
7596
+ };
7597
+ readonly required: readonly ["id", "name"];
7598
+ };
7290
7599
  readonly privacyPolicy: {
7291
7600
  readonly type: "object";
7292
7601
  readonly properties: {
@@ -7303,8 +7612,52 @@ declare const WebMediaProfile: {
7303
7612
  readonly required: readonly ["id", "name"];
7304
7613
  };
7305
7614
  readonly description: {
7306
- readonly title: "組織に関する説明";
7307
- readonly type: "string";
7615
+ readonly anyOf: readonly [{
7616
+ readonly title: "Description";
7617
+ readonly anyOf: readonly [{
7618
+ readonly type: "string";
7619
+ }, {
7620
+ readonly type: "object";
7621
+ readonly additionalProperties: true;
7622
+ readonly properties: {
7623
+ readonly text: {
7624
+ readonly type: "string";
7625
+ readonly description: "Text value.";
7626
+ };
7627
+ readonly encodingFormat: {
7628
+ readonly type: "string";
7629
+ readonly title: "Encoding format";
7630
+ readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
7631
+ readonly enum: readonly ["text/plain", "text/html"];
7632
+ };
7633
+ };
7634
+ readonly required: readonly ["text", "encodingFormat"];
7635
+ }];
7636
+ }, {
7637
+ readonly type: "array";
7638
+ readonly items: {
7639
+ readonly title: "Description";
7640
+ readonly anyOf: readonly [{
7641
+ readonly type: "string";
7642
+ }, {
7643
+ readonly type: "object";
7644
+ readonly additionalProperties: true;
7645
+ readonly properties: {
7646
+ readonly text: {
7647
+ readonly type: "string";
7648
+ readonly description: "Text value.";
7649
+ };
7650
+ readonly encodingFormat: {
7651
+ readonly type: "string";
7652
+ readonly title: "Encoding format";
7653
+ readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
7654
+ readonly enum: readonly ["text/plain", "text/html"];
7655
+ };
7656
+ };
7657
+ readonly required: readonly ["text", "encodingFormat"];
7658
+ }];
7659
+ };
7660
+ }];
7308
7661
  };
7309
7662
  };
7310
7663
  readonly required: readonly ["id", "type", "url", "name"];
@@ -7509,4 +7862,4 @@ declare const WebsiteProfile: {
7509
7862
  };
7510
7863
  type WebsiteProfile = FromSchema<typeof WebsiteProfile>;
7511
7864
 
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 };
7865
+ export { Advertisement, AdvertisementCA, type AdvertisementSubject, AdvertorialCA, AllowedOrigin, AllowedUrl, ArticleCA, type BaseTarget, BasicTarget, Certificate, CertificationSystem, ContentAttestation, ContentAttestationSet, ContentAttestationSetItem, CoreProfile, Description, 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,
@@ -1414,6 +1424,30 @@ const Profile = {
1414
1424
  anyOf: [Op, Dp]
1415
1425
  };
1416
1426
 
1427
+ const Description = {
1428
+ title: "Description",
1429
+ anyOf: [
1430
+ { type: "string" },
1431
+ {
1432
+ type: "object",
1433
+ additionalProperties: true,
1434
+ properties: {
1435
+ text: {
1436
+ type: "string",
1437
+ description: "Text value."
1438
+ },
1439
+ encodingFormat: {
1440
+ type: "string",
1441
+ title: "Encoding format",
1442
+ description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).",
1443
+ enum: ["text/plain", "text/html"]
1444
+ }
1445
+ },
1446
+ required: ["text", "encodingFormat"]
1447
+ }
1448
+ ]
1449
+ };
1450
+
1417
1451
  const OriginatorProfileSetItem = {
1418
1452
  title: "Originator Profile",
1419
1453
  type: "object",
@@ -1574,6 +1608,14 @@ const subject$1 = {
1574
1608
  },
1575
1609
  required: ["id", "name"]
1576
1610
  },
1611
+ publishingPrinciple: {
1612
+ type: "object",
1613
+ properties: {
1614
+ id: { title: "\u7DE8\u96C6\u30AC\u30A4\u30C9\u30E9\u30A4\u30F3 URL", type: "string", format: "uri" },
1615
+ name: { title: "\u7DE8\u96C6\u30AC\u30A4\u30C9\u30E9\u30A4\u30F3\u8868\u793A\u540D", type: "string" }
1616
+ },
1617
+ required: ["id", "name"]
1618
+ },
1577
1619
  privacyPolicy: {
1578
1620
  type: "object",
1579
1621
  properties: {
@@ -1586,7 +1628,9 @@ const subject$1 = {
1586
1628
  },
1587
1629
  required: ["id", "name"]
1588
1630
  },
1589
- description: { title: "\u7D44\u7E54\u306B\u95A2\u3059\u308B\u8AAC\u660E", type: "string" }
1631
+ description: {
1632
+ anyOf: [Description, { type: "array", items: Description }]
1633
+ }
1590
1634
  },
1591
1635
  required: ["id", "type", "url", "name"]
1592
1636
  };
@@ -1694,4 +1738,4 @@ const WebsiteProfile = {
1694
1738
  ]
1695
1739
  };
1696
1740
 
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 };
1741
+ export { Advertisement, AdvertorialCA, AllowedOrigin, AllowedUrl, ArticleCA, BasicTarget, Certificate, CertificationSystem, ContentAttestation, ContentAttestationSet, ContentAttestationSetItem, CoreProfile, Description, 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",
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
+ "eslint-config-originator-profile": "0.4.0",
39
+ "@originator-profile/tsconfig": "0.4.0"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "pkgroll --clean-dist --target=node20",