@originator-profile/model 0.4.0-beta.1 → 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/LICENSE +201 -0
- package/NOTICE +5 -0
- package/README.md +6 -3
- package/dist/index.cjs +130 -10
- package/dist/index.d.cts +599 -14
- package/dist/index.d.mts +599 -14
- package/dist/index.mjs +129 -11
- package/package.json +24 -19
- package/context.json +0 -59
package/dist/index.d.cts
CHANGED
|
@@ -837,7 +837,7 @@ declare const AllowedOrigin: {
|
|
|
837
837
|
readonly format: "uri";
|
|
838
838
|
};
|
|
839
839
|
}];
|
|
840
|
-
readonly description:
|
|
840
|
+
readonly description: string;
|
|
841
841
|
};
|
|
842
842
|
type AllowedOrigin = FromSchema<typeof AllowedOrigin>;
|
|
843
843
|
|
|
@@ -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;
|
|
@@ -1427,7 +1578,7 @@ declare const AdvertisementCA: {
|
|
|
1427
1578
|
readonly format: "uri";
|
|
1428
1579
|
};
|
|
1429
1580
|
}];
|
|
1430
|
-
readonly description:
|
|
1581
|
+
readonly description: string;
|
|
1431
1582
|
};
|
|
1432
1583
|
readonly target: {
|
|
1433
1584
|
readonly type: "array";
|
|
@@ -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"
|
|
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"];
|
|
@@ -1597,7 +1849,7 @@ declare const AdvertisementCA: {
|
|
|
1597
1849
|
readonly format: "uri";
|
|
1598
1850
|
};
|
|
1599
1851
|
}];
|
|
1600
|
-
readonly description:
|
|
1852
|
+
readonly description: string;
|
|
1601
1853
|
};
|
|
1602
1854
|
};
|
|
1603
1855
|
readonly required: readonly ["allowedOrigin"];
|
|
@@ -1716,7 +1968,7 @@ declare const ArticleCA: {
|
|
|
1716
1968
|
readonly format: "uri";
|
|
1717
1969
|
};
|
|
1718
1970
|
}];
|
|
1719
|
-
readonly description:
|
|
1971
|
+
readonly description: string;
|
|
1720
1972
|
};
|
|
1721
1973
|
readonly target: {
|
|
1722
1974
|
readonly type: "array";
|
|
@@ -1810,7 +2062,7 @@ declare const ArticleCA: {
|
|
|
1810
2062
|
};
|
|
1811
2063
|
readonly description: {
|
|
1812
2064
|
readonly type: "string";
|
|
1813
|
-
readonly description: "
|
|
2065
|
+
readonly description: "コンテンツの説明(文字列)。";
|
|
1814
2066
|
};
|
|
1815
2067
|
readonly image: {
|
|
1816
2068
|
readonly title: "画像";
|
|
@@ -1993,7 +2245,7 @@ declare const ContentAttestation: {
|
|
|
1993
2245
|
readonly format: "uri";
|
|
1994
2246
|
};
|
|
1995
2247
|
}];
|
|
1996
|
-
readonly description:
|
|
2248
|
+
readonly description: string;
|
|
1997
2249
|
};
|
|
1998
2250
|
readonly target: {
|
|
1999
2251
|
readonly type: "array";
|
|
@@ -2150,7 +2402,7 @@ declare const UnsignedContentAttestation: {
|
|
|
2150
2402
|
readonly format: "uri";
|
|
2151
2403
|
};
|
|
2152
2404
|
}];
|
|
2153
|
-
readonly description:
|
|
2405
|
+
readonly description: string;
|
|
2154
2406
|
};
|
|
2155
2407
|
readonly target: {
|
|
2156
2408
|
readonly type: "array";
|
|
@@ -2164,7 +2416,7 @@ declare const UnsignedContentAttestation: {
|
|
|
2164
2416
|
readonly enum: readonly ["TextTargetIntegrity", "VisibleTextTargetIntegrity", "HtmlTargetIntegrity", "ExternalResourceTargetIntegrity"];
|
|
2165
2417
|
};
|
|
2166
2418
|
readonly content: {
|
|
2167
|
-
readonly
|
|
2419
|
+
readonly anyOf: readonly [{
|
|
2168
2420
|
readonly type: "array";
|
|
2169
2421
|
readonly items: {
|
|
2170
2422
|
readonly type: "string";
|
|
@@ -2191,6 +2443,293 @@ declare const UnsignedContentAttestation: {
|
|
|
2191
2443
|
};
|
|
2192
2444
|
type UnsignedContentAttestation = FromSchema<typeof UnsignedContentAttestation>;
|
|
2193
2445
|
|
|
2446
|
+
declare const AdvertorialCA: {
|
|
2447
|
+
readonly type: "object";
|
|
2448
|
+
readonly additionalProperties: true;
|
|
2449
|
+
readonly allOf: readonly [{
|
|
2450
|
+
readonly type: "object";
|
|
2451
|
+
readonly additionalProperties: true;
|
|
2452
|
+
readonly allOf: readonly [{
|
|
2453
|
+
readonly type: "object";
|
|
2454
|
+
readonly additionalProperties: true;
|
|
2455
|
+
readonly properties: {
|
|
2456
|
+
readonly "@context": {
|
|
2457
|
+
readonly type: "array";
|
|
2458
|
+
readonly allOf: readonly [{
|
|
2459
|
+
readonly contains: {
|
|
2460
|
+
readonly const: "https://www.w3.org/ns/credentials/v2";
|
|
2461
|
+
};
|
|
2462
|
+
}, {
|
|
2463
|
+
readonly contains: {
|
|
2464
|
+
readonly const: "https://originator-profile.org/ns/credentials/v1";
|
|
2465
|
+
};
|
|
2466
|
+
}];
|
|
2467
|
+
};
|
|
2468
|
+
readonly type: {
|
|
2469
|
+
readonly type: "array";
|
|
2470
|
+
readonly contains: {
|
|
2471
|
+
readonly const: "VerifiableCredential";
|
|
2472
|
+
};
|
|
2473
|
+
};
|
|
2474
|
+
readonly issuer: {
|
|
2475
|
+
readonly type: "string";
|
|
2476
|
+
readonly format: "uri";
|
|
2477
|
+
};
|
|
2478
|
+
readonly credentialSubject: {
|
|
2479
|
+
readonly type: "object";
|
|
2480
|
+
readonly additionalProperties: true;
|
|
2481
|
+
readonly properties: {
|
|
2482
|
+
readonly id: {
|
|
2483
|
+
readonly type: "string";
|
|
2484
|
+
readonly format: "uri";
|
|
2485
|
+
};
|
|
2486
|
+
};
|
|
2487
|
+
readonly required: readonly ["id"];
|
|
2488
|
+
};
|
|
2489
|
+
};
|
|
2490
|
+
readonly required: readonly ["@context", "type", "issuer", "credentialSubject"];
|
|
2491
|
+
}, {
|
|
2492
|
+
readonly type: "object";
|
|
2493
|
+
readonly additionalProperties: true;
|
|
2494
|
+
readonly properties: {
|
|
2495
|
+
readonly "@context": {
|
|
2496
|
+
readonly type: "array";
|
|
2497
|
+
readonly allOf: readonly [{
|
|
2498
|
+
readonly contains: {
|
|
2499
|
+
readonly const: "https://www.w3.org/ns/credentials/v2";
|
|
2500
|
+
};
|
|
2501
|
+
}, {
|
|
2502
|
+
readonly contains: {
|
|
2503
|
+
readonly const: "https://originator-profile.org/ns/credentials/v1";
|
|
2504
|
+
};
|
|
2505
|
+
}];
|
|
2506
|
+
};
|
|
2507
|
+
readonly type: {
|
|
2508
|
+
readonly type: "array";
|
|
2509
|
+
readonly contains: {
|
|
2510
|
+
readonly const: "ContentAttestation";
|
|
2511
|
+
};
|
|
2512
|
+
};
|
|
2513
|
+
readonly credentialSubject: {
|
|
2514
|
+
readonly type: "object";
|
|
2515
|
+
readonly additionalProperties: true;
|
|
2516
|
+
readonly properties: {
|
|
2517
|
+
readonly id: {
|
|
2518
|
+
readonly title: "CA ID";
|
|
2519
|
+
readonly type: "string";
|
|
2520
|
+
readonly format: "uri";
|
|
2521
|
+
};
|
|
2522
|
+
readonly type: {
|
|
2523
|
+
readonly title: "JSON-LD タイプ";
|
|
2524
|
+
readonly type: "string";
|
|
2525
|
+
};
|
|
2526
|
+
};
|
|
2527
|
+
readonly required: readonly ["id", "type"];
|
|
2528
|
+
};
|
|
2529
|
+
readonly allowedUrl: {
|
|
2530
|
+
readonly title: "Allowed URLs";
|
|
2531
|
+
readonly anyOf: readonly [{
|
|
2532
|
+
readonly type: "string";
|
|
2533
|
+
readonly format: "uri";
|
|
2534
|
+
}, {
|
|
2535
|
+
readonly type: "array";
|
|
2536
|
+
readonly items: {
|
|
2537
|
+
readonly type: "string";
|
|
2538
|
+
readonly format: "uri";
|
|
2539
|
+
};
|
|
2540
|
+
readonly minItems: 1;
|
|
2541
|
+
}];
|
|
2542
|
+
readonly description: "Content Attestation によって表明される情報の対象となる URL です。 文字列は必ず URL Pattern string でなければなりません (MUST)。空配列にしてはなりません (MUST NOT)。";
|
|
2543
|
+
};
|
|
2544
|
+
readonly allowedOrigin: {
|
|
2545
|
+
readonly title: "Allowed Origin";
|
|
2546
|
+
readonly anyOf: readonly [{
|
|
2547
|
+
readonly type: "string";
|
|
2548
|
+
readonly format: "uri";
|
|
2549
|
+
}, {
|
|
2550
|
+
readonly type: "array";
|
|
2551
|
+
readonly items: {
|
|
2552
|
+
readonly type: "string";
|
|
2553
|
+
readonly format: "uri";
|
|
2554
|
+
};
|
|
2555
|
+
}];
|
|
2556
|
+
readonly description: string;
|
|
2557
|
+
};
|
|
2558
|
+
readonly target: {
|
|
2559
|
+
readonly type: "array";
|
|
2560
|
+
readonly items: {
|
|
2561
|
+
readonly title: "Target";
|
|
2562
|
+
readonly oneOf: readonly [{
|
|
2563
|
+
readonly title: "Basic Target";
|
|
2564
|
+
readonly type: "object";
|
|
2565
|
+
readonly additionalProperties: true;
|
|
2566
|
+
readonly properties: {
|
|
2567
|
+
readonly type: {
|
|
2568
|
+
readonly type: "string";
|
|
2569
|
+
readonly enum: readonly ["TextTargetIntegrity", "VisibleTextTargetIntegrity", "HtmlTargetIntegrity"];
|
|
2570
|
+
};
|
|
2571
|
+
readonly integrity: {
|
|
2572
|
+
readonly type: "string";
|
|
2573
|
+
readonly description: "ハッシュ値の形式は Subresource Integrity セクション 3.1 の Integrity metadata でなければなりません (MUST)。";
|
|
2574
|
+
};
|
|
2575
|
+
readonly cssSelector: {
|
|
2576
|
+
readonly type: "string";
|
|
2577
|
+
readonly description: "CSS セレクター";
|
|
2578
|
+
};
|
|
2579
|
+
};
|
|
2580
|
+
readonly required: readonly ["type", "integrity", "cssSelector"];
|
|
2581
|
+
}, {
|
|
2582
|
+
readonly title: "External Resource Target";
|
|
2583
|
+
readonly type: "object";
|
|
2584
|
+
readonly additionalProperties: true;
|
|
2585
|
+
readonly properties: {
|
|
2586
|
+
readonly type: {
|
|
2587
|
+
readonly type: "string";
|
|
2588
|
+
readonly const: "ExternalResourceTargetIntegrity";
|
|
2589
|
+
};
|
|
2590
|
+
readonly integrity: {
|
|
2591
|
+
readonly type: "string";
|
|
2592
|
+
readonly description: "ハッシュ値の形式は Subresource Integrity セクション 3.1 の Integrity metadata でなければなりません (MUST)。";
|
|
2593
|
+
};
|
|
2594
|
+
};
|
|
2595
|
+
readonly required: readonly ["type", "integrity"];
|
|
2596
|
+
}];
|
|
2597
|
+
};
|
|
2598
|
+
readonly minItems: 1;
|
|
2599
|
+
};
|
|
2600
|
+
};
|
|
2601
|
+
readonly required: readonly ["@context", "type", "credentialSubject", "target"];
|
|
2602
|
+
}];
|
|
2603
|
+
}, {
|
|
2604
|
+
readonly type: "object";
|
|
2605
|
+
readonly additionalProperties: true;
|
|
2606
|
+
readonly properties: {
|
|
2607
|
+
readonly "@context": {
|
|
2608
|
+
readonly type: "array";
|
|
2609
|
+
readonly additionalItems: false;
|
|
2610
|
+
readonly minItems: 4;
|
|
2611
|
+
readonly items: readonly [{
|
|
2612
|
+
readonly type: "string";
|
|
2613
|
+
readonly const: "https://www.w3.org/ns/credentials/v2";
|
|
2614
|
+
}, {
|
|
2615
|
+
readonly type: "string";
|
|
2616
|
+
readonly const: "https://originator-profile.org/ns/credentials/v1";
|
|
2617
|
+
}, {
|
|
2618
|
+
readonly type: "string";
|
|
2619
|
+
readonly const: "https://originator-profile.org/ns/cip/v1";
|
|
2620
|
+
}, {
|
|
2621
|
+
readonly type: "object";
|
|
2622
|
+
readonly properties: {
|
|
2623
|
+
readonly "@language": {
|
|
2624
|
+
readonly type: "string";
|
|
2625
|
+
readonly title: "言語コード";
|
|
2626
|
+
};
|
|
2627
|
+
};
|
|
2628
|
+
readonly required: readonly ["@language"];
|
|
2629
|
+
}];
|
|
2630
|
+
};
|
|
2631
|
+
readonly credentialSubject: {
|
|
2632
|
+
readonly type: "object";
|
|
2633
|
+
readonly additionalProperties: false;
|
|
2634
|
+
readonly properties: {
|
|
2635
|
+
readonly id: {
|
|
2636
|
+
readonly type: "string";
|
|
2637
|
+
readonly format: "uri";
|
|
2638
|
+
readonly description: "CA ID";
|
|
2639
|
+
};
|
|
2640
|
+
readonly type: {
|
|
2641
|
+
readonly type: "string";
|
|
2642
|
+
readonly const: "Advertorial";
|
|
2643
|
+
};
|
|
2644
|
+
readonly headline: {
|
|
2645
|
+
readonly type: "string";
|
|
2646
|
+
readonly description: "記事広告のタイトル。";
|
|
2647
|
+
};
|
|
2648
|
+
readonly description: {
|
|
2649
|
+
readonly type: "string";
|
|
2650
|
+
readonly description: "記事広告の説明(文字列)。";
|
|
2651
|
+
};
|
|
2652
|
+
readonly image: {
|
|
2653
|
+
readonly title: "画像";
|
|
2654
|
+
readonly type: "object";
|
|
2655
|
+
readonly properties: {
|
|
2656
|
+
readonly id: {
|
|
2657
|
+
readonly type: "string";
|
|
2658
|
+
readonly format: "uri";
|
|
2659
|
+
};
|
|
2660
|
+
readonly digestSRI: {
|
|
2661
|
+
readonly type: "string";
|
|
2662
|
+
readonly title: "Integrity Metadata";
|
|
2663
|
+
readonly description: "Subresource Integrity (SRI) digest";
|
|
2664
|
+
};
|
|
2665
|
+
};
|
|
2666
|
+
readonly required: readonly ["id"];
|
|
2667
|
+
};
|
|
2668
|
+
readonly datePublished: {
|
|
2669
|
+
readonly title: "公開日時";
|
|
2670
|
+
readonly type: "string";
|
|
2671
|
+
readonly description: "http://www.w3.org/2001/XMLSchema#dateTime 形式の公開日時";
|
|
2672
|
+
};
|
|
2673
|
+
readonly dateModified: {
|
|
2674
|
+
readonly title: "最終更新日時";
|
|
2675
|
+
readonly type: "string";
|
|
2676
|
+
readonly description: "http://www.w3.org/2001/XMLSchema#dateTime 形式の最終更新日時";
|
|
2677
|
+
};
|
|
2678
|
+
readonly author: {
|
|
2679
|
+
readonly title: "著者名";
|
|
2680
|
+
readonly type: "array";
|
|
2681
|
+
readonly items: {
|
|
2682
|
+
readonly type: "string";
|
|
2683
|
+
};
|
|
2684
|
+
};
|
|
2685
|
+
readonly editor: {
|
|
2686
|
+
readonly title: "編集者名";
|
|
2687
|
+
readonly type: "array";
|
|
2688
|
+
readonly items: {
|
|
2689
|
+
readonly type: "string";
|
|
2690
|
+
};
|
|
2691
|
+
};
|
|
2692
|
+
readonly sponsor: {
|
|
2693
|
+
readonly title: "スポンサー名";
|
|
2694
|
+
readonly type: "array";
|
|
2695
|
+
readonly items: {
|
|
2696
|
+
readonly type: "string";
|
|
2697
|
+
};
|
|
2698
|
+
};
|
|
2699
|
+
readonly genre: {
|
|
2700
|
+
readonly title: "ジャンル";
|
|
2701
|
+
readonly type: "string";
|
|
2702
|
+
};
|
|
2703
|
+
};
|
|
2704
|
+
readonly required: readonly ["id", "type", "headline", "description"];
|
|
2705
|
+
};
|
|
2706
|
+
readonly allowedUrl: {
|
|
2707
|
+
readonly title: "Allowed URLs";
|
|
2708
|
+
readonly anyOf: readonly [{
|
|
2709
|
+
readonly type: "string";
|
|
2710
|
+
readonly format: "uri";
|
|
2711
|
+
}, {
|
|
2712
|
+
readonly type: "array";
|
|
2713
|
+
readonly items: {
|
|
2714
|
+
readonly type: "string";
|
|
2715
|
+
readonly format: "uri";
|
|
2716
|
+
};
|
|
2717
|
+
readonly minItems: 1;
|
|
2718
|
+
}];
|
|
2719
|
+
readonly description: "Content Attestation によって表明される情報の対象となる URL です。 文字列は必ず URL Pattern string でなければなりません (MUST)。空配列にしてはなりません (MUST NOT)。";
|
|
2720
|
+
};
|
|
2721
|
+
};
|
|
2722
|
+
readonly required: readonly ["@context", "type", "credentialSubject", "allowedUrl"];
|
|
2723
|
+
}];
|
|
2724
|
+
readonly not: {
|
|
2725
|
+
readonly properties: {
|
|
2726
|
+
readonly allowedOrigin: {};
|
|
2727
|
+
};
|
|
2728
|
+
readonly required: readonly ["allowedOrigin"];
|
|
2729
|
+
};
|
|
2730
|
+
};
|
|
2731
|
+
type AdvertorialCA = FromSchema<typeof AdvertorialCA>;
|
|
2732
|
+
|
|
2194
2733
|
declare const ContentAttestationSetItem: {
|
|
2195
2734
|
readonly title: "Content Attestation Set Item";
|
|
2196
2735
|
readonly oneOf: readonly [{
|
|
@@ -6629,6 +7168,24 @@ declare const OriginatorProfileSet: {
|
|
|
6629
7168
|
};
|
|
6630
7169
|
type OriginatorProfileSet = FromSchema<typeof OriginatorProfileSet>;
|
|
6631
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
|
+
|
|
6632
7189
|
declare const Request: {
|
|
6633
7190
|
readonly title: "申請";
|
|
6634
7191
|
readonly description: "OP 発行申請";
|
|
@@ -6779,7 +7336,7 @@ declare const RawTarget: {
|
|
|
6779
7336
|
readonly enum: readonly ["TextTargetIntegrity", "VisibleTextTargetIntegrity", "HtmlTargetIntegrity", "ExternalResourceTargetIntegrity"];
|
|
6780
7337
|
};
|
|
6781
7338
|
readonly content: {
|
|
6782
|
-
readonly
|
|
7339
|
+
readonly anyOf: readonly [{
|
|
6783
7340
|
readonly type: "array";
|
|
6784
7341
|
readonly items: {
|
|
6785
7342
|
readonly type: "string";
|
|
@@ -7000,6 +7557,21 @@ declare const WebMediaProfile: {
|
|
|
7000
7557
|
};
|
|
7001
7558
|
readonly required: readonly ["id", "name"];
|
|
7002
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
|
+
};
|
|
7003
7575
|
readonly privacyPolicy: {
|
|
7004
7576
|
readonly type: "object";
|
|
7005
7577
|
readonly properties: {
|
|
@@ -7017,7 +7589,20 @@ declare const WebMediaProfile: {
|
|
|
7017
7589
|
};
|
|
7018
7590
|
readonly description: {
|
|
7019
7591
|
readonly title: "組織に関する説明";
|
|
7020
|
-
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"];
|
|
7021
7606
|
};
|
|
7022
7607
|
};
|
|
7023
7608
|
readonly required: readonly ["id", "type", "url", "name"];
|
|
@@ -7158,7 +7743,7 @@ declare const WebsiteProfile: {
|
|
|
7158
7743
|
readonly format: "uri";
|
|
7159
7744
|
};
|
|
7160
7745
|
}];
|
|
7161
|
-
readonly description:
|
|
7746
|
+
readonly description: string;
|
|
7162
7747
|
};
|
|
7163
7748
|
};
|
|
7164
7749
|
readonly required: readonly ["id", "type", "name", "url"];
|
|
@@ -7210,7 +7795,7 @@ declare const WebsiteProfile: {
|
|
|
7210
7795
|
readonly format: "uri";
|
|
7211
7796
|
};
|
|
7212
7797
|
}];
|
|
7213
|
-
readonly description:
|
|
7798
|
+
readonly description: string;
|
|
7214
7799
|
};
|
|
7215
7800
|
};
|
|
7216
7801
|
readonly required: readonly ["id", "type", "name", "allowedOrigin"];
|
|
@@ -7222,4 +7807,4 @@ declare const WebsiteProfile: {
|
|
|
7222
7807
|
};
|
|
7223
7808
|
type WebsiteProfile = FromSchema<typeof WebsiteProfile>;
|
|
7224
7809
|
|
|
7225
|
-
export { Advertisement, AdvertisementCA, 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 };
|