@originator-profile/model 0.4.0-beta.5 → 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.cts 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,33 +2545,42 @@ 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
- }];
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
+ };
2429
2566
  };
2430
- readonly cssSelector: {
2431
- readonly type: "string";
2432
- readonly description: "CSS セレクター (optional)";
2567
+ readonly required: readonly ["type", "integrity", "cssSelector"];
2568
+ }, {
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";
2576
+ };
2577
+ readonly integrity: {
2578
+ readonly type: "string";
2579
+ readonly description: "ハッシュ値の形式は Subresource Integrity セクション 3.1 の Integrity metadata でなければなりません (MUST)。";
2580
+ };
2433
2581
  };
2434
- };
2435
- readonly required: readonly ["type"];
2436
- readonly additionalProperties: true;
2582
+ readonly required: readonly ["type", "integrity"];
2583
+ }];
2437
2584
  };
2438
2585
  readonly minItems: 1;
2439
2586
  };
@@ -2441,267 +2588,87 @@ declare const UnsignedContentAttestation: {
2441
2588
  readonly required: readonly ["@context", "type", "credentialSubject", "target"];
2442
2589
  }];
2443
2590
  };
2444
- type UnsignedContentAttestation = FromSchema<typeof UnsignedContentAttestation>;
2591
+ type ContentAttestation = FromSchema<typeof ContentAttestation>;
2445
2592
 
2446
- declare const AdvertorialCA: {
2593
+ declare const UnsignedContentAttestation: {
2447
2594
  readonly type: "object";
2448
2595
  readonly additionalProperties: true;
2449
2596
  readonly allOf: readonly [{
2450
2597
  readonly type: "object";
2451
2598
  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";
2599
+ readonly properties: {
2600
+ readonly "@context": {
2601
+ readonly type: "array";
2602
+ readonly allOf: readonly [{
2470
2603
  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
- };
2604
+ readonly const: "https://www.w3.org/ns/credentials/v2";
2486
2605
  };
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";
2606
+ }, {
2509
2607
  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
- };
2608
+ readonly const: "https://originator-profile.org/ns/credentials/v1";
2526
2609
  };
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
- }];
2610
+ }];
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
+ };
2622
+ readonly credentialSubject: {
2623
+ readonly type: "object";
2624
+ readonly additionalProperties: true;
2625
+ readonly properties: {
2626
+ readonly id: {
2627
+ readonly type: "string";
2628
+ readonly format: "uri";
2597
2629
  };
2598
- readonly minItems: 1;
2599
2630
  };
2631
+ readonly required: readonly ["id"];
2600
2632
  };
2601
- readonly required: readonly ["@context", "type", "credentialSubject", "target"];
2602
- }];
2633
+ };
2634
+ readonly required: readonly ["@context", "type", "issuer", "credentialSubject"];
2603
2635
  }, {
2604
2636
  readonly type: "object";
2605
2637
  readonly additionalProperties: true;
2606
2638
  readonly properties: {
2607
2639
  readonly "@context": {
2608
2640
  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";
2641
+ readonly allOf: readonly [{
2642
+ readonly contains: {
2643
+ readonly const: "https://www.w3.org/ns/credentials/v2";
2644
+ };
2620
2645
  }, {
2621
- readonly type: "object";
2622
- readonly properties: {
2623
- readonly "@language": {
2624
- readonly type: "string";
2625
- readonly title: "言語コード";
2626
- };
2646
+ readonly contains: {
2647
+ readonly const: "https://originator-profile.org/ns/credentials/v1";
2627
2648
  };
2628
- readonly required: readonly ["@language"];
2629
2649
  }];
2630
2650
  };
2651
+ readonly type: {
2652
+ readonly type: "array";
2653
+ readonly contains: {
2654
+ readonly const: "ContentAttestation";
2655
+ };
2656
+ };
2631
2657
  readonly credentialSubject: {
2632
2658
  readonly type: "object";
2633
- readonly additionalProperties: false;
2659
+ readonly additionalProperties: true;
2634
2660
  readonly properties: {
2635
2661
  readonly id: {
2662
+ readonly title: "CA ID";
2636
2663
  readonly type: "string";
2637
2664
  readonly format: "uri";
2638
- readonly description: "CA ID";
2639
2665
  };
2640
2666
  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: "ジャンル";
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";
@@ -6953,6 +6961,30 @@ declare const Profile: {
6953
6961
  /** @deprecated */
6954
6962
  type Profile = FromSchema<typeof Profile>;
6955
6963
 
6964
+ declare const Description: {
6965
+ readonly title: "Description";
6966
+ readonly anyOf: readonly [{
6967
+ readonly type: "string";
6968
+ }, {
6969
+ readonly type: "object";
6970
+ readonly additionalProperties: true;
6971
+ readonly properties: {
6972
+ readonly text: {
6973
+ readonly type: "string";
6974
+ readonly description: "Text value.";
6975
+ };
6976
+ readonly encodingFormat: {
6977
+ readonly type: "string";
6978
+ readonly title: "Encoding format";
6979
+ readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
6980
+ readonly enum: readonly ["text/plain", "text/html"];
6981
+ };
6982
+ };
6983
+ readonly required: readonly ["text", "encodingFormat"];
6984
+ }];
6985
+ };
6986
+ type Description = FromSchema<typeof Description>;
6987
+
6956
6988
  declare const Image: {
6957
6989
  readonly title: "画像";
6958
6990
  readonly type: "object";
@@ -7131,8 +7163,17 @@ declare const OriginatorProfileSetItem: {
7131
7163
  };
7132
7164
  };
7133
7165
  readonly media: {
7134
- readonly title: "Web Media Profile";
7135
- 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
+ }];
7136
7177
  };
7137
7178
  };
7138
7179
  readonly required: readonly ["core"];
@@ -7159,8 +7200,17 @@ declare const OriginatorProfileSet: {
7159
7200
  };
7160
7201
  };
7161
7202
  readonly media: {
7162
- readonly title: "Web Media Profile";
7163
- 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
+ }];
7164
7214
  };
7165
7215
  };
7166
7216
  readonly required: readonly ["core"];
@@ -7269,20 +7319,37 @@ declare const SiteProfile: {
7269
7319
  };
7270
7320
  };
7271
7321
  readonly media: {
7272
- readonly title: "Web Media Profile";
7273
- 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
+ }];
7274
7333
  };
7275
7334
  };
7276
7335
  readonly required: readonly ["core"];
7277
7336
  };
7278
7337
  readonly minItems: 1;
7279
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
+ };
7280
7347
  readonly credential: {
7281
7348
  readonly type: "string";
7282
7349
  readonly title: "Credential";
7283
7350
  };
7284
7351
  };
7285
- readonly required: readonly ["originators", "credential"];
7352
+ readonly required: readonly ["originators"];
7286
7353
  };
7287
7354
  type SiteProfile = FromSchema<typeof SiteProfile>;
7288
7355
 
@@ -7588,21 +7655,52 @@ declare const WebMediaProfile: {
7588
7655
  readonly required: readonly ["id", "name"];
7589
7656
  };
7590
7657
  readonly description: {
7591
- readonly title: "組織に関する説明";
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: {
7658
+ readonly anyOf: readonly [{
7659
+ readonly title: "Description";
7660
+ readonly anyOf: readonly [{
7599
7661
  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"];
7662
+ }, {
7663
+ readonly type: "object";
7664
+ readonly additionalProperties: true;
7665
+ readonly properties: {
7666
+ readonly text: {
7667
+ readonly type: "string";
7668
+ readonly description: "Text value.";
7669
+ };
7670
+ readonly encodingFormat: {
7671
+ readonly type: "string";
7672
+ readonly title: "Encoding format";
7673
+ readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
7674
+ readonly enum: readonly ["text/plain", "text/html"];
7675
+ };
7676
+ };
7677
+ readonly required: readonly ["text", "encodingFormat"];
7678
+ }];
7679
+ }, {
7680
+ readonly type: "array";
7681
+ readonly items: {
7682
+ readonly title: "Description";
7683
+ readonly anyOf: readonly [{
7684
+ readonly type: "string";
7685
+ }, {
7686
+ readonly type: "object";
7687
+ readonly additionalProperties: true;
7688
+ readonly properties: {
7689
+ readonly text: {
7690
+ readonly type: "string";
7691
+ readonly description: "Text value.";
7692
+ };
7693
+ readonly encodingFormat: {
7694
+ readonly type: "string";
7695
+ readonly title: "Encoding format";
7696
+ readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
7697
+ readonly enum: readonly ["text/plain", "text/html"];
7698
+ };
7699
+ };
7700
+ readonly required: readonly ["text", "encodingFormat"];
7701
+ }];
7603
7702
  };
7604
- };
7605
- readonly required: readonly ["text", "encodingFormat"];
7703
+ }];
7606
7704
  };
7607
7705
  };
7608
7706
  readonly required: readonly ["id", "type", "url", "name"];
@@ -7753,7 +7851,7 @@ declare const WebsiteProfile: {
7753
7851
  readonly properties: {
7754
7852
  readonly id: {
7755
7853
  readonly type: "string";
7756
- 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.";
7757
7855
  readonly format: "uri";
7758
7856
  };
7759
7857
  readonly type: {
@@ -7761,7 +7859,7 @@ declare const WebsiteProfile: {
7761
7859
  };
7762
7860
  readonly name: {
7763
7861
  readonly type: "string";
7764
- readonly title: "Web サイトの名称";
7862
+ readonly description: "The name of the Web site.";
7765
7863
  };
7766
7864
  readonly image: {
7767
7865
  readonly title: "画像";
@@ -7781,7 +7879,7 @@ declare const WebsiteProfile: {
7781
7879
  };
7782
7880
  readonly description: {
7783
7881
  readonly type: "string";
7784
- readonly title: "Web サイトの説明";
7882
+ readonly description: "A description of the Web site.";
7785
7883
  };
7786
7884
  readonly allowedOrigin: {
7787
7885
  readonly title: "Allowed Origin";
@@ -7807,4 +7905,4 @@ declare const WebsiteProfile: {
7807
7905
  };
7808
7906
  type WebsiteProfile = FromSchema<typeof WebsiteProfile>;
7809
7907
 
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 };
7908
+ 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 };