@originator-profile/model 0.4.0 → 0.5.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1074,16 +1074,20 @@ declare const JapaneseExistenceCertificateProperties: {
1074
1074
  };
1075
1075
  readonly type: {
1076
1076
  readonly type: "string";
1077
- readonly const: "ECJPProperties";
1077
+ readonly const: "JP-OrganizationExistenceCertificate";
1078
1078
  };
1079
1079
  readonly name: {
1080
- readonly title: "法人名";
1080
+ readonly title: "PA 名";
1081
1081
  readonly type: "string";
1082
1082
  };
1083
1083
  readonly description: {
1084
1084
  readonly type: "string";
1085
1085
  readonly title: "説明";
1086
1086
  };
1087
+ readonly corporateName: {
1088
+ readonly title: "法人名";
1089
+ readonly type: "string";
1090
+ };
1087
1091
  readonly corporateNumber: {
1088
1092
  readonly title: "法人番号";
1089
1093
  readonly type: "string";
@@ -1140,7 +1144,7 @@ declare const JapaneseExistenceCertificateProperties: {
1140
1144
  readonly required: readonly ["id", "type", "name"];
1141
1145
  };
1142
1146
  };
1143
- readonly required: readonly ["id", "type", "name", "corporateNumber", "postalCode", "addressCountry", "addressRegion", "addressLocality", "streetAddress", "certificationSystem"];
1147
+ readonly required: readonly ["id", "type", "name", "corporateName", "corporateNumber", "postalCode", "addressCountry", "addressRegion", "addressLocality", "streetAddress", "certificationSystem"];
1144
1148
  };
1145
1149
  declare const JapaneseExistenceCertificate: {
1146
1150
  readonly allOf: readonly [{
@@ -1233,16 +1237,20 @@ declare const JapaneseExistenceCertificate: {
1233
1237
  };
1234
1238
  readonly type: {
1235
1239
  readonly type: "string";
1236
- readonly const: "ECJPProperties";
1240
+ readonly const: "JP-OrganizationExistenceCertificate";
1237
1241
  };
1238
1242
  readonly name: {
1239
- readonly title: "法人名";
1243
+ readonly title: "PA 名";
1240
1244
  readonly type: "string";
1241
1245
  };
1242
1246
  readonly description: {
1243
1247
  readonly type: "string";
1244
1248
  readonly title: "説明";
1245
1249
  };
1250
+ readonly corporateName: {
1251
+ readonly title: "法人名";
1252
+ readonly type: "string";
1253
+ };
1246
1254
  readonly corporateNumber: {
1247
1255
  readonly title: "法人番号";
1248
1256
  readonly type: "string";
@@ -1299,7 +1307,7 @@ declare const JapaneseExistenceCertificate: {
1299
1307
  readonly required: readonly ["id", "type", "name"];
1300
1308
  };
1301
1309
  };
1302
- readonly required: readonly ["id", "type", "name", "corporateNumber", "postalCode", "addressCountry", "addressRegion", "addressLocality", "streetAddress", "certificationSystem"];
1310
+ readonly required: readonly ["id", "type", "name", "corporateName", "corporateNumber", "postalCode", "addressCountry", "addressRegion", "addressLocality", "streetAddress", "certificationSystem"];
1303
1311
  };
1304
1312
  readonly validFrom: {
1305
1313
  readonly type: "string";
@@ -1858,7 +1866,7 @@ declare const AdvertisementCA: {
1858
1866
  };
1859
1867
  type AdvertisementCA = FromSchema<typeof AdvertisementCA>;
1860
1868
 
1861
- declare const ArticleCA: {
1869
+ declare const AdvertorialCA: {
1862
1870
  readonly type: "object";
1863
1871
  readonly additionalProperties: true;
1864
1872
  readonly allOf: readonly [{
@@ -2054,15 +2062,15 @@ declare const ArticleCA: {
2054
2062
  };
2055
2063
  readonly type: {
2056
2064
  readonly type: "string";
2057
- readonly const: "Article";
2065
+ readonly const: "Advertorial";
2058
2066
  };
2059
2067
  readonly headline: {
2060
2068
  readonly type: "string";
2061
- readonly description: "コンテンツのタイトル。";
2069
+ readonly description: "記事広告のタイトル。";
2062
2070
  };
2063
2071
  readonly description: {
2064
2072
  readonly type: "string";
2065
- readonly description: "コンテンツの説明(文字列)。";
2073
+ readonly description: "記事広告の説明(文字列)。";
2066
2074
  };
2067
2075
  readonly image: {
2068
2076
  readonly title: "画像";
@@ -2104,6 +2112,13 @@ declare const ArticleCA: {
2104
2112
  readonly type: "string";
2105
2113
  };
2106
2114
  };
2115
+ readonly sponsor: {
2116
+ readonly title: "スポンサー名";
2117
+ readonly type: "array";
2118
+ readonly items: {
2119
+ readonly type: "string";
2120
+ };
2121
+ };
2107
2122
  readonly genre: {
2108
2123
  readonly title: "ジャンル";
2109
2124
  readonly type: "string";
@@ -2136,166 +2151,289 @@ declare const ArticleCA: {
2136
2151
  readonly required: readonly ["allowedOrigin"];
2137
2152
  };
2138
2153
  };
2139
- type ArticleCA = FromSchema<typeof ArticleCA>;
2154
+ type AdvertorialCA = FromSchema<typeof AdvertorialCA>;
2140
2155
 
2141
- declare const ContentAttestation: {
2156
+ declare const ArticleCA: {
2142
2157
  readonly type: "object";
2143
2158
  readonly additionalProperties: true;
2144
2159
  readonly allOf: readonly [{
2145
2160
  readonly type: "object";
2146
2161
  readonly additionalProperties: true;
2147
- readonly properties: {
2148
- readonly "@context": {
2149
- readonly type: "array";
2150
- readonly allOf: readonly [{
2162
+ readonly allOf: readonly [{
2163
+ readonly type: "object";
2164
+ readonly additionalProperties: true;
2165
+ readonly properties: {
2166
+ readonly "@context": {
2167
+ readonly type: "array";
2168
+ readonly allOf: readonly [{
2169
+ readonly contains: {
2170
+ readonly const: "https://www.w3.org/ns/credentials/v2";
2171
+ };
2172
+ }, {
2173
+ readonly contains: {
2174
+ readonly const: "https://originator-profile.org/ns/credentials/v1";
2175
+ };
2176
+ }];
2177
+ };
2178
+ readonly type: {
2179
+ readonly type: "array";
2151
2180
  readonly contains: {
2152
- readonly const: "https://www.w3.org/ns/credentials/v2";
2181
+ readonly const: "VerifiableCredential";
2153
2182
  };
2154
- }, {
2155
- readonly contains: {
2156
- readonly const: "https://originator-profile.org/ns/credentials/v1";
2183
+ };
2184
+ readonly issuer: {
2185
+ readonly type: "string";
2186
+ readonly format: "uri";
2187
+ };
2188
+ readonly credentialSubject: {
2189
+ readonly type: "object";
2190
+ readonly additionalProperties: true;
2191
+ readonly properties: {
2192
+ readonly id: {
2193
+ readonly type: "string";
2194
+ readonly format: "uri";
2195
+ };
2157
2196
  };
2158
- }];
2159
- };
2160
- readonly type: {
2161
- readonly type: "array";
2162
- readonly contains: {
2163
- readonly const: "VerifiableCredential";
2197
+ readonly required: readonly ["id"];
2164
2198
  };
2165
2199
  };
2166
- readonly issuer: {
2167
- readonly type: "string";
2168
- readonly format: "uri";
2169
- };
2170
- readonly credentialSubject: {
2171
- readonly type: "object";
2172
- readonly additionalProperties: true;
2173
- readonly properties: {
2174
- readonly id: {
2200
+ readonly required: readonly ["@context", "type", "issuer", "credentialSubject"];
2201
+ }, {
2202
+ readonly type: "object";
2203
+ readonly additionalProperties: true;
2204
+ readonly properties: {
2205
+ readonly "@context": {
2206
+ readonly type: "array";
2207
+ readonly allOf: readonly [{
2208
+ readonly contains: {
2209
+ readonly const: "https://www.w3.org/ns/credentials/v2";
2210
+ };
2211
+ }, {
2212
+ readonly contains: {
2213
+ readonly const: "https://originator-profile.org/ns/credentials/v1";
2214
+ };
2215
+ }];
2216
+ };
2217
+ readonly type: {
2218
+ readonly type: "array";
2219
+ readonly contains: {
2220
+ readonly const: "ContentAttestation";
2221
+ };
2222
+ };
2223
+ readonly credentialSubject: {
2224
+ readonly type: "object";
2225
+ readonly additionalProperties: true;
2226
+ readonly properties: {
2227
+ readonly id: {
2228
+ readonly title: "CA ID";
2229
+ readonly type: "string";
2230
+ readonly format: "uri";
2231
+ };
2232
+ readonly type: {
2233
+ readonly title: "JSON-LD タイプ";
2234
+ readonly type: "string";
2235
+ };
2236
+ };
2237
+ readonly required: readonly ["id", "type"];
2238
+ };
2239
+ readonly allowedUrl: {
2240
+ readonly title: "Allowed URLs";
2241
+ readonly anyOf: readonly [{
2242
+ readonly type: "string";
2243
+ readonly format: "uri";
2244
+ }, {
2245
+ readonly type: "array";
2246
+ readonly items: {
2247
+ readonly type: "string";
2248
+ readonly format: "uri";
2249
+ };
2250
+ readonly minItems: 1;
2251
+ }];
2252
+ readonly description: "Content Attestation によって表明される情報の対象となる URL です。 文字列は必ず URL Pattern string でなければなりません (MUST)。空配列にしてはなりません (MUST NOT)。";
2253
+ };
2254
+ readonly allowedOrigin: {
2255
+ readonly title: "Allowed Origin";
2256
+ readonly anyOf: readonly [{
2175
2257
  readonly type: "string";
2176
2258
  readonly format: "uri";
2259
+ }, {
2260
+ readonly type: "array";
2261
+ readonly items: {
2262
+ readonly type: "string";
2263
+ readonly format: "uri";
2264
+ };
2265
+ }];
2266
+ readonly description: string;
2267
+ };
2268
+ readonly target: {
2269
+ readonly type: "array";
2270
+ readonly items: {
2271
+ readonly title: "Target";
2272
+ readonly oneOf: readonly [{
2273
+ readonly title: "Basic Target";
2274
+ readonly type: "object";
2275
+ readonly additionalProperties: true;
2276
+ readonly properties: {
2277
+ readonly type: {
2278
+ readonly type: "string";
2279
+ readonly enum: readonly ["TextTargetIntegrity", "VisibleTextTargetIntegrity", "HtmlTargetIntegrity"];
2280
+ };
2281
+ readonly integrity: {
2282
+ readonly type: "string";
2283
+ readonly description: "ハッシュ値の形式は Subresource Integrity セクション 3.1 の Integrity metadata でなければなりません (MUST)。";
2284
+ };
2285
+ readonly cssSelector: {
2286
+ readonly type: "string";
2287
+ readonly description: "CSS セレクター";
2288
+ };
2289
+ };
2290
+ readonly required: readonly ["type", "integrity", "cssSelector"];
2291
+ }, {
2292
+ readonly title: "External Resource Target";
2293
+ readonly type: "object";
2294
+ readonly additionalProperties: true;
2295
+ readonly properties: {
2296
+ readonly type: {
2297
+ readonly type: "string";
2298
+ readonly const: "ExternalResourceTargetIntegrity";
2299
+ };
2300
+ readonly integrity: {
2301
+ readonly type: "string";
2302
+ readonly description: "ハッシュ値の形式は Subresource Integrity セクション 3.1 の Integrity metadata でなければなりません (MUST)。";
2303
+ };
2304
+ };
2305
+ readonly required: readonly ["type", "integrity"];
2306
+ }];
2177
2307
  };
2308
+ readonly minItems: 1;
2178
2309
  };
2179
- readonly required: readonly ["id"];
2180
2310
  };
2181
- };
2182
- readonly required: readonly ["@context", "type", "issuer", "credentialSubject"];
2311
+ readonly required: readonly ["@context", "type", "credentialSubject", "target"];
2312
+ }];
2183
2313
  }, {
2184
2314
  readonly type: "object";
2185
2315
  readonly additionalProperties: true;
2186
2316
  readonly properties: {
2187
2317
  readonly "@context": {
2188
2318
  readonly type: "array";
2189
- readonly allOf: readonly [{
2190
- readonly contains: {
2191
- readonly const: "https://www.w3.org/ns/credentials/v2";
2192
- };
2319
+ readonly additionalItems: false;
2320
+ readonly minItems: 4;
2321
+ readonly items: readonly [{
2322
+ readonly type: "string";
2323
+ readonly const: "https://www.w3.org/ns/credentials/v2";
2193
2324
  }, {
2194
- readonly contains: {
2195
- readonly const: "https://originator-profile.org/ns/credentials/v1";
2325
+ readonly type: "string";
2326
+ readonly const: "https://originator-profile.org/ns/credentials/v1";
2327
+ }, {
2328
+ readonly type: "string";
2329
+ readonly const: "https://originator-profile.org/ns/cip/v1";
2330
+ }, {
2331
+ readonly type: "object";
2332
+ readonly properties: {
2333
+ readonly "@language": {
2334
+ readonly type: "string";
2335
+ readonly title: "言語コード";
2336
+ };
2196
2337
  };
2338
+ readonly required: readonly ["@language"];
2197
2339
  }];
2198
2340
  };
2199
- readonly type: {
2200
- readonly type: "array";
2201
- readonly contains: {
2202
- readonly const: "ContentAttestation";
2203
- };
2204
- };
2205
2341
  readonly credentialSubject: {
2206
2342
  readonly type: "object";
2207
- readonly additionalProperties: true;
2343
+ readonly additionalProperties: false;
2208
2344
  readonly properties: {
2209
2345
  readonly id: {
2210
- readonly title: "CA ID";
2211
2346
  readonly type: "string";
2212
2347
  readonly format: "uri";
2348
+ readonly description: "CA ID";
2213
2349
  };
2214
2350
  readonly type: {
2215
- readonly title: "JSON-LD タイプ";
2216
2351
  readonly type: "string";
2352
+ readonly const: "Article";
2217
2353
  };
2218
- };
2219
- readonly required: readonly ["id", "type"];
2220
- };
2221
- readonly allowedUrl: {
2222
- readonly title: "Allowed URLs";
2223
- readonly anyOf: readonly [{
2224
- readonly type: "string";
2225
- readonly format: "uri";
2226
- }, {
2227
- readonly type: "array";
2228
- readonly items: {
2354
+ readonly headline: {
2229
2355
  readonly type: "string";
2230
- readonly format: "uri";
2356
+ readonly description: "コンテンツのタイトル。";
2231
2357
  };
2232
- readonly minItems: 1;
2233
- }];
2234
- readonly description: "Content Attestation によって表明される情報の対象となる URL です。 文字列は必ず URL Pattern string でなければなりません (MUST)。空配列にしてはなりません (MUST NOT)。";
2235
- };
2236
- readonly allowedOrigin: {
2237
- readonly title: "Allowed Origin";
2238
- readonly anyOf: readonly [{
2239
- readonly type: "string";
2240
- readonly format: "uri";
2241
- }, {
2242
- readonly type: "array";
2243
- readonly items: {
2358
+ readonly description: {
2244
2359
  readonly type: "string";
2245
- readonly format: "uri";
2360
+ readonly description: "コンテンツの説明(文字列)。";
2246
2361
  };
2247
- }];
2248
- readonly description: string;
2249
- };
2250
- readonly target: {
2251
- readonly type: "array";
2252
- readonly items: {
2253
- readonly title: "Target";
2254
- readonly oneOf: readonly [{
2255
- readonly title: "Basic Target";
2362
+ readonly image: {
2363
+ readonly title: "画像";
2256
2364
  readonly type: "object";
2257
- readonly additionalProperties: true;
2258
2365
  readonly properties: {
2259
- readonly type: {
2260
- readonly type: "string";
2261
- readonly enum: readonly ["TextTargetIntegrity", "VisibleTextTargetIntegrity", "HtmlTargetIntegrity"];
2262
- };
2263
- readonly integrity: {
2366
+ readonly id: {
2264
2367
  readonly type: "string";
2265
- readonly description: "ハッシュ値の形式は Subresource Integrity セクション 3.1 の Integrity metadata でなければなりません (MUST)。";
2368
+ readonly format: "uri";
2266
2369
  };
2267
- readonly cssSelector: {
2370
+ readonly digestSRI: {
2268
2371
  readonly type: "string";
2269
- readonly description: "CSS セレクター";
2372
+ readonly title: "Integrity Metadata";
2373
+ readonly description: "Subresource Integrity (SRI) digest";
2270
2374
  };
2271
2375
  };
2272
- readonly required: readonly ["type", "integrity", "cssSelector"];
2273
- }, {
2274
- readonly title: "External Resource Target";
2275
- readonly type: "object";
2276
- readonly additionalProperties: true;
2277
- readonly properties: {
2278
- readonly type: {
2279
- readonly type: "string";
2280
- readonly const: "ExternalResourceTargetIntegrity";
2281
- };
2282
- readonly integrity: {
2283
- readonly type: "string";
2284
- readonly description: "ハッシュ値の形式は Subresource Integrity セクション 3.1 の Integrity metadata でなければなりません (MUST)。";
2285
- };
2376
+ readonly required: readonly ["id"];
2377
+ };
2378
+ readonly datePublished: {
2379
+ readonly title: "公開日時";
2380
+ readonly type: "string";
2381
+ readonly description: "http://www.w3.org/2001/XMLSchema#dateTime 形式の公開日時";
2382
+ };
2383
+ readonly dateModified: {
2384
+ readonly title: "最終更新日時";
2385
+ readonly type: "string";
2386
+ readonly description: "http://www.w3.org/2001/XMLSchema#dateTime 形式の最終更新日時";
2387
+ };
2388
+ readonly author: {
2389
+ readonly title: "著者名";
2390
+ readonly type: "array";
2391
+ readonly items: {
2392
+ readonly type: "string";
2286
2393
  };
2287
- readonly required: readonly ["type", "integrity"];
2288
- }];
2394
+ };
2395
+ readonly editor: {
2396
+ readonly title: "編集者名";
2397
+ readonly type: "array";
2398
+ readonly items: {
2399
+ readonly type: "string";
2400
+ };
2401
+ };
2402
+ readonly genre: {
2403
+ readonly title: "ジャンル";
2404
+ readonly type: "string";
2405
+ };
2289
2406
  };
2290
- readonly minItems: 1;
2407
+ readonly required: readonly ["id", "type", "headline", "description"];
2408
+ };
2409
+ readonly allowedUrl: {
2410
+ readonly title: "Allowed URLs";
2411
+ readonly anyOf: readonly [{
2412
+ readonly type: "string";
2413
+ readonly format: "uri";
2414
+ }, {
2415
+ readonly type: "array";
2416
+ readonly items: {
2417
+ readonly type: "string";
2418
+ readonly format: "uri";
2419
+ };
2420
+ readonly minItems: 1;
2421
+ }];
2422
+ readonly description: "Content Attestation によって表明される情報の対象となる URL です。 文字列は必ず URL Pattern string でなければなりません (MUST)。空配列にしてはなりません (MUST NOT)。";
2291
2423
  };
2292
2424
  };
2293
- readonly required: readonly ["@context", "type", "credentialSubject", "target"];
2425
+ readonly required: readonly ["@context", "type", "credentialSubject", "allowedUrl"];
2294
2426
  }];
2427
+ readonly not: {
2428
+ readonly properties: {
2429
+ readonly allowedOrigin: {};
2430
+ };
2431
+ readonly required: readonly ["allowedOrigin"];
2432
+ };
2295
2433
  };
2296
- type ContentAttestation = FromSchema<typeof ContentAttestation>;
2434
+ type ArticleCA = FromSchema<typeof ArticleCA>;
2297
2435
 
2298
- declare const UnsignedContentAttestation: {
2436
+ declare const ContentAttestation: {
2299
2437
  readonly type: "object";
2300
2438
  readonly additionalProperties: true;
2301
2439
  readonly allOf: readonly [{
@@ -2407,301 +2545,130 @@ declare const UnsignedContentAttestation: {
2407
2545
  readonly target: {
2408
2546
  readonly type: "array";
2409
2547
  readonly items: {
2410
- readonly type: "object";
2411
- readonly description: "未加工のターゲット";
2412
- readonly properties: {
2413
- readonly type: {
2414
- readonly type: "string";
2415
- readonly description: "Target Integrityの種別 (e.g., TextTargetIntegrity)";
2416
- readonly enum: readonly ["TextTargetIntegrity", "VisibleTextTargetIntegrity", "HtmlTargetIntegrity", "ExternalResourceTargetIntegrity"];
2417
- };
2418
- readonly content: {
2419
- readonly anyOf: readonly [{
2420
- readonly type: "array";
2421
- readonly items: {
2422
- readonly type: "string";
2423
- readonly description: "コンテンツ本体 (text/html or URL)";
2424
- };
2425
- }, {
2548
+ readonly title: "Target";
2549
+ readonly oneOf: readonly [{
2550
+ readonly title: "Basic Target";
2551
+ readonly type: "object";
2552
+ readonly additionalProperties: true;
2553
+ readonly properties: {
2554
+ readonly type: {
2426
2555
  readonly type: "string";
2427
- readonly description: "コンテンツ本体 (text/html or URL)";
2428
- }];
2429
- };
2430
- readonly cssSelector: {
2431
- readonly type: "string";
2432
- readonly description: "CSS セレクター (optional)";
2433
- };
2434
- };
2435
- readonly required: readonly ["type"];
2436
- readonly additionalProperties: true;
2437
- };
2438
- readonly minItems: 1;
2439
- };
2440
- };
2441
- readonly required: readonly ["@context", "type", "credentialSubject", "target"];
2442
- }];
2443
- };
2444
- type UnsignedContentAttestation = FromSchema<typeof UnsignedContentAttestation>;
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";
2556
+ readonly enum: readonly ["TextTargetIntegrity", "VisibleTextTargetIntegrity", "HtmlTargetIntegrity"];
2557
+ };
2558
+ readonly integrity: {
2559
+ readonly type: "string";
2560
+ readonly description: "ハッシュ値の形式は Subresource Integrity セクション 3.1 の Integrity metadata でなければなりません (MUST)。";
2561
+ };
2562
+ readonly cssSelector: {
2563
+ readonly type: "string";
2564
+ readonly description: "CSS セレクター";
2565
+ };
2539
2566
  };
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";
2567
+ readonly required: readonly ["type", "integrity", "cssSelector"];
2549
2568
  }, {
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
- };
2569
+ readonly title: "External Resource Target";
2570
+ readonly type: "object";
2571
+ readonly additionalProperties: true;
2572
+ readonly properties: {
2573
+ readonly type: {
2574
+ readonly type: "string";
2575
+ readonly const: "ExternalResourceTargetIntegrity";
2594
2576
  };
2595
- readonly required: readonly ["type", "integrity"];
2596
- }];
2597
- };
2598
- readonly minItems: 1;
2577
+ readonly integrity: {
2578
+ readonly type: "string";
2579
+ readonly description: "ハッシュ値の形式は Subresource Integrity セクション 3.1 の Integrity metadata でなければなりません (MUST)。";
2580
+ };
2581
+ };
2582
+ readonly required: readonly ["type", "integrity"];
2583
+ }];
2599
2584
  };
2585
+ readonly minItems: 1;
2600
2586
  };
2601
- readonly required: readonly ["@context", "type", "credentialSubject", "target"];
2602
- }];
2603
- }, {
2587
+ };
2588
+ readonly required: readonly ["@context", "type", "credentialSubject", "target"];
2589
+ }];
2590
+ };
2591
+ type ContentAttestation = FromSchema<typeof ContentAttestation>;
2592
+
2593
+ declare const UnsignedContentAttestation: {
2594
+ readonly type: "object";
2595
+ readonly additionalProperties: true;
2596
+ readonly allOf: readonly [{
2604
2597
  readonly type: "object";
2605
2598
  readonly additionalProperties: true;
2606
2599
  readonly properties: {
2607
2600
  readonly "@context": {
2608
2601
  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";
2602
+ readonly allOf: readonly [{
2603
+ readonly contains: {
2604
+ readonly const: "https://www.w3.org/ns/credentials/v2";
2605
+ };
2620
2606
  }, {
2621
- readonly type: "object";
2622
- readonly properties: {
2623
- readonly "@language": {
2624
- readonly type: "string";
2625
- readonly title: "言語コード";
2626
- };
2607
+ readonly contains: {
2608
+ readonly const: "https://originator-profile.org/ns/credentials/v1";
2627
2609
  };
2628
- readonly required: readonly ["@language"];
2629
2610
  }];
2630
2611
  };
2612
+ readonly type: {
2613
+ readonly type: "array";
2614
+ readonly contains: {
2615
+ readonly const: "VerifiableCredential";
2616
+ };
2617
+ };
2618
+ readonly issuer: {
2619
+ readonly type: "string";
2620
+ readonly format: "uri";
2621
+ };
2631
2622
  readonly credentialSubject: {
2632
2623
  readonly type: "object";
2633
- readonly additionalProperties: false;
2624
+ readonly additionalProperties: true;
2634
2625
  readonly properties: {
2635
2626
  readonly id: {
2636
2627
  readonly type: "string";
2637
2628
  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
2629
  };
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"];
2630
+ };
2631
+ readonly required: readonly ["id"];
2632
+ };
2633
+ };
2634
+ readonly required: readonly ["@context", "type", "issuer", "credentialSubject"];
2635
+ }, {
2636
+ readonly type: "object";
2637
+ readonly additionalProperties: true;
2638
+ readonly properties: {
2639
+ readonly "@context": {
2640
+ readonly type: "array";
2641
+ readonly allOf: readonly [{
2642
+ readonly contains: {
2643
+ readonly const: "https://www.w3.org/ns/credentials/v2";
2667
2644
  };
2668
- readonly datePublished: {
2669
- readonly title: "公開日時";
2670
- readonly type: "string";
2671
- readonly description: "http://www.w3.org/2001/XMLSchema#dateTime 形式の公開日時";
2645
+ }, {
2646
+ readonly contains: {
2647
+ readonly const: "https://originator-profile.org/ns/credentials/v1";
2672
2648
  };
2673
- readonly dateModified: {
2674
- readonly title: "最終更新日時";
2649
+ }];
2650
+ };
2651
+ readonly type: {
2652
+ readonly type: "array";
2653
+ readonly contains: {
2654
+ readonly const: "ContentAttestation";
2655
+ };
2656
+ };
2657
+ readonly credentialSubject: {
2658
+ readonly type: "object";
2659
+ readonly additionalProperties: true;
2660
+ readonly properties: {
2661
+ readonly id: {
2662
+ readonly title: "CA ID";
2675
2663
  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
- };
2664
+ readonly format: "uri";
2698
2665
  };
2699
- readonly genre: {
2700
- readonly title: "ジャンル";
2666
+ readonly type: {
2667
+ readonly title: "JSON-LD タイプ";
2701
2668
  readonly type: "string";
2702
2669
  };
2703
2670
  };
2704
- readonly required: readonly ["id", "type", "headline", "description"];
2671
+ readonly required: readonly ["id", "type"];
2705
2672
  };
2706
2673
  readonly allowedUrl: {
2707
2674
  readonly title: "Allowed URLs";
@@ -2718,17 +2685,58 @@ declare const AdvertorialCA: {
2718
2685
  }];
2719
2686
  readonly description: "Content Attestation によって表明される情報の対象となる URL です。 文字列は必ず URL Pattern string でなければなりません (MUST)。空配列にしてはなりません (MUST NOT)。";
2720
2687
  };
2688
+ readonly allowedOrigin: {
2689
+ readonly title: "Allowed Origin";
2690
+ readonly anyOf: readonly [{
2691
+ readonly type: "string";
2692
+ readonly format: "uri";
2693
+ }, {
2694
+ readonly type: "array";
2695
+ readonly items: {
2696
+ readonly type: "string";
2697
+ readonly format: "uri";
2698
+ };
2699
+ }];
2700
+ readonly description: string;
2701
+ };
2702
+ readonly target: {
2703
+ readonly type: "array";
2704
+ readonly items: {
2705
+ readonly type: "object";
2706
+ readonly description: "未加工のターゲット";
2707
+ readonly properties: {
2708
+ readonly type: {
2709
+ readonly type: "string";
2710
+ readonly description: "Target Integrityの種別 (e.g., TextTargetIntegrity)";
2711
+ readonly enum: readonly ["TextTargetIntegrity", "VisibleTextTargetIntegrity", "HtmlTargetIntegrity", "ExternalResourceTargetIntegrity"];
2712
+ };
2713
+ readonly content: {
2714
+ readonly anyOf: readonly [{
2715
+ readonly type: "array";
2716
+ readonly items: {
2717
+ readonly type: "string";
2718
+ readonly description: "コンテンツ本体 (text/html or URL)";
2719
+ };
2720
+ }, {
2721
+ readonly type: "string";
2722
+ readonly description: "コンテンツ本体 (text/html or URL)";
2723
+ }];
2724
+ };
2725
+ readonly cssSelector: {
2726
+ readonly type: "string";
2727
+ readonly description: "CSS セレクター (optional)";
2728
+ };
2729
+ };
2730
+ readonly required: readonly ["type"];
2731
+ readonly additionalProperties: true;
2732
+ };
2733
+ readonly minItems: 1;
2734
+ };
2721
2735
  };
2722
- readonly required: readonly ["@context", "type", "credentialSubject", "allowedUrl"];
2736
+ readonly required: readonly ["@context", "type", "credentialSubject", "target"];
2723
2737
  }];
2724
- readonly not: {
2725
- readonly properties: {
2726
- readonly allowedOrigin: {};
2727
- };
2728
- readonly required: readonly ["allowedOrigin"];
2729
- };
2730
2738
  };
2731
- type AdvertorialCA = FromSchema<typeof AdvertorialCA>;
2739
+ type UnsignedContentAttestation = FromSchema<typeof UnsignedContentAttestation>;
2732
2740
 
2733
2741
  declare const ContentAttestationSetItem: {
2734
2742
  readonly title: "Content Attestation Set Item";
@@ -7155,8 +7163,17 @@ declare const OriginatorProfileSetItem: {
7155
7163
  };
7156
7164
  };
7157
7165
  readonly media: {
7158
- readonly title: "Web Media Profile";
7159
- readonly type: "string";
7166
+ readonly title: "Web Media Profile または Web Media Profile の配列";
7167
+ readonly oneOf: readonly [{
7168
+ readonly type: "string";
7169
+ readonly title: "Web Media Profile";
7170
+ }, {
7171
+ readonly type: "array";
7172
+ readonly items: {
7173
+ readonly type: "string";
7174
+ readonly title: "Web Media Profile";
7175
+ };
7176
+ }];
7160
7177
  };
7161
7178
  };
7162
7179
  readonly required: readonly ["core"];
@@ -7183,8 +7200,17 @@ declare const OriginatorProfileSet: {
7183
7200
  };
7184
7201
  };
7185
7202
  readonly media: {
7186
- readonly title: "Web Media Profile";
7187
- readonly type: "string";
7203
+ readonly title: "Web Media Profile または Web Media Profile の配列";
7204
+ readonly oneOf: readonly [{
7205
+ readonly type: "string";
7206
+ readonly title: "Web Media Profile";
7207
+ }, {
7208
+ readonly type: "array";
7209
+ readonly items: {
7210
+ readonly type: "string";
7211
+ readonly title: "Web Media Profile";
7212
+ };
7213
+ }];
7188
7214
  };
7189
7215
  };
7190
7216
  readonly required: readonly ["core"];
@@ -7293,20 +7319,37 @@ declare const SiteProfile: {
7293
7319
  };
7294
7320
  };
7295
7321
  readonly media: {
7296
- readonly title: "Web Media Profile";
7297
- readonly type: "string";
7322
+ readonly title: "Web Media Profile または Web Media Profile の配列";
7323
+ readonly oneOf: readonly [{
7324
+ readonly type: "string";
7325
+ readonly title: "Web Media Profile";
7326
+ }, {
7327
+ readonly type: "array";
7328
+ readonly items: {
7329
+ readonly type: "string";
7330
+ readonly title: "Web Media Profile";
7331
+ };
7332
+ }];
7298
7333
  };
7299
7334
  };
7300
7335
  readonly required: readonly ["core"];
7301
7336
  };
7302
7337
  readonly minItems: 1;
7303
7338
  };
7339
+ readonly sites: {
7340
+ readonly title: "Website Profile の配列";
7341
+ readonly type: "array";
7342
+ readonly items: {
7343
+ readonly type: "string";
7344
+ readonly title: "Website Profile";
7345
+ };
7346
+ };
7304
7347
  readonly credential: {
7305
7348
  readonly type: "string";
7306
7349
  readonly title: "Credential";
7307
7350
  };
7308
7351
  };
7309
- readonly required: readonly ["originators", "credential"];
7352
+ readonly required: readonly ["originators"];
7310
7353
  };
7311
7354
  type SiteProfile = FromSchema<typeof SiteProfile>;
7312
7355
 
@@ -7808,7 +7851,7 @@ declare const WebsiteProfile: {
7808
7851
  readonly properties: {
7809
7852
  readonly id: {
7810
7853
  readonly type: "string";
7811
- readonly title: "Web サイトのオリジン (形式: https://<ホスト名>)";
7854
+ readonly description: "It MUST be the Web site URL. If the same content exists on multiple URLs, specify the most representative URL.";
7812
7855
  readonly format: "uri";
7813
7856
  };
7814
7857
  readonly type: {
@@ -7816,7 +7859,7 @@ declare const WebsiteProfile: {
7816
7859
  };
7817
7860
  readonly name: {
7818
7861
  readonly type: "string";
7819
- readonly title: "Web サイトの名称";
7862
+ readonly description: "The name of the Web site.";
7820
7863
  };
7821
7864
  readonly image: {
7822
7865
  readonly title: "画像";
@@ -7836,7 +7879,7 @@ declare const WebsiteProfile: {
7836
7879
  };
7837
7880
  readonly description: {
7838
7881
  readonly type: "string";
7839
- readonly title: "Web サイトの説明";
7882
+ readonly description: "A description of the Web site.";
7840
7883
  };
7841
7884
  readonly allowedOrigin: {
7842
7885
  readonly title: "Allowed Origin";