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

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
@@ -837,7 +837,7 @@ declare const AllowedOrigin: {
837
837
  readonly format: "uri";
838
838
  };
839
839
  }];
840
- readonly description: "Content Attestation によって表明される情報の対象となる [origin](https://www.rfc-editor.org/rfc/rfc6454#section-7)";
840
+ readonly description: string;
841
841
  };
842
842
  type AllowedOrigin = FromSchema<typeof AllowedOrigin>;
843
843
 
@@ -1427,7 +1427,7 @@ declare const AdvertisementCA: {
1427
1427
  readonly format: "uri";
1428
1428
  };
1429
1429
  }];
1430
- readonly description: "Content Attestation によって表明される情報の対象となる [origin](https://www.rfc-editor.org/rfc/rfc6454#section-7)";
1430
+ readonly description: string;
1431
1431
  };
1432
1432
  readonly target: {
1433
1433
  readonly type: "array";
@@ -1597,7 +1597,7 @@ declare const AdvertisementCA: {
1597
1597
  readonly format: "uri";
1598
1598
  };
1599
1599
  }];
1600
- readonly description: "Content Attestation によって表明される情報の対象となる [origin](https://www.rfc-editor.org/rfc/rfc6454#section-7)";
1600
+ readonly description: string;
1601
1601
  };
1602
1602
  };
1603
1603
  readonly required: readonly ["allowedOrigin"];
@@ -1716,7 +1716,7 @@ declare const ArticleCA: {
1716
1716
  readonly format: "uri";
1717
1717
  };
1718
1718
  }];
1719
- readonly description: "Content Attestation によって表明される情報の対象となる [origin](https://www.rfc-editor.org/rfc/rfc6454#section-7)";
1719
+ readonly description: string;
1720
1720
  };
1721
1721
  readonly target: {
1722
1722
  readonly type: "array";
@@ -1810,7 +1810,7 @@ declare const ArticleCA: {
1810
1810
  };
1811
1811
  readonly description: {
1812
1812
  readonly type: "string";
1813
- readonly description: "コンテンツの説明(プレーンテキスト)。";
1813
+ readonly description: "コンテンツの説明(文字列)。";
1814
1814
  };
1815
1815
  readonly image: {
1816
1816
  readonly title: "画像";
@@ -1993,7 +1993,7 @@ declare const ContentAttestation: {
1993
1993
  readonly format: "uri";
1994
1994
  };
1995
1995
  }];
1996
- readonly description: "Content Attestation によって表明される情報の対象となる [origin](https://www.rfc-editor.org/rfc/rfc6454#section-7)";
1996
+ readonly description: string;
1997
1997
  };
1998
1998
  readonly target: {
1999
1999
  readonly type: "array";
@@ -2150,7 +2150,7 @@ declare const UnsignedContentAttestation: {
2150
2150
  readonly format: "uri";
2151
2151
  };
2152
2152
  }];
2153
- readonly description: "Content Attestation によって表明される情報の対象となる [origin](https://www.rfc-editor.org/rfc/rfc6454#section-7)";
2153
+ readonly description: string;
2154
2154
  };
2155
2155
  readonly target: {
2156
2156
  readonly type: "array";
@@ -2164,7 +2164,7 @@ declare const UnsignedContentAttestation: {
2164
2164
  readonly enum: readonly ["TextTargetIntegrity", "VisibleTextTargetIntegrity", "HtmlTargetIntegrity", "ExternalResourceTargetIntegrity"];
2165
2165
  };
2166
2166
  readonly content: {
2167
- readonly oneOf: readonly [{
2167
+ readonly anyOf: readonly [{
2168
2168
  readonly type: "array";
2169
2169
  readonly items: {
2170
2170
  readonly type: "string";
@@ -2191,6 +2191,293 @@ declare const UnsignedContentAttestation: {
2191
2191
  };
2192
2192
  type UnsignedContentAttestation = FromSchema<typeof UnsignedContentAttestation>;
2193
2193
 
2194
+ declare const AdvertorialCA: {
2195
+ readonly type: "object";
2196
+ readonly additionalProperties: true;
2197
+ readonly allOf: readonly [{
2198
+ readonly type: "object";
2199
+ readonly additionalProperties: true;
2200
+ readonly allOf: readonly [{
2201
+ readonly type: "object";
2202
+ readonly additionalProperties: true;
2203
+ readonly properties: {
2204
+ readonly "@context": {
2205
+ readonly type: "array";
2206
+ readonly allOf: readonly [{
2207
+ readonly contains: {
2208
+ readonly const: "https://www.w3.org/ns/credentials/v2";
2209
+ };
2210
+ }, {
2211
+ readonly contains: {
2212
+ readonly const: "https://originator-profile.org/ns/credentials/v1";
2213
+ };
2214
+ }];
2215
+ };
2216
+ readonly type: {
2217
+ readonly type: "array";
2218
+ readonly contains: {
2219
+ readonly const: "VerifiableCredential";
2220
+ };
2221
+ };
2222
+ readonly issuer: {
2223
+ readonly type: "string";
2224
+ readonly format: "uri";
2225
+ };
2226
+ readonly credentialSubject: {
2227
+ readonly type: "object";
2228
+ readonly additionalProperties: true;
2229
+ readonly properties: {
2230
+ readonly id: {
2231
+ readonly type: "string";
2232
+ readonly format: "uri";
2233
+ };
2234
+ };
2235
+ readonly required: readonly ["id"];
2236
+ };
2237
+ };
2238
+ readonly required: readonly ["@context", "type", "issuer", "credentialSubject"];
2239
+ }, {
2240
+ readonly type: "object";
2241
+ readonly additionalProperties: true;
2242
+ readonly properties: {
2243
+ readonly "@context": {
2244
+ readonly type: "array";
2245
+ readonly allOf: readonly [{
2246
+ readonly contains: {
2247
+ readonly const: "https://www.w3.org/ns/credentials/v2";
2248
+ };
2249
+ }, {
2250
+ readonly contains: {
2251
+ readonly const: "https://originator-profile.org/ns/credentials/v1";
2252
+ };
2253
+ }];
2254
+ };
2255
+ readonly type: {
2256
+ readonly type: "array";
2257
+ readonly contains: {
2258
+ readonly const: "ContentAttestation";
2259
+ };
2260
+ };
2261
+ readonly credentialSubject: {
2262
+ readonly type: "object";
2263
+ readonly additionalProperties: true;
2264
+ readonly properties: {
2265
+ readonly id: {
2266
+ readonly title: "CA ID";
2267
+ readonly type: "string";
2268
+ readonly format: "uri";
2269
+ };
2270
+ readonly type: {
2271
+ readonly title: "JSON-LD タイプ";
2272
+ readonly type: "string";
2273
+ };
2274
+ };
2275
+ readonly required: readonly ["id", "type"];
2276
+ };
2277
+ readonly allowedUrl: {
2278
+ readonly title: "Allowed URLs";
2279
+ readonly anyOf: readonly [{
2280
+ readonly type: "string";
2281
+ readonly format: "uri";
2282
+ }, {
2283
+ readonly type: "array";
2284
+ readonly items: {
2285
+ readonly type: "string";
2286
+ readonly format: "uri";
2287
+ };
2288
+ readonly minItems: 1;
2289
+ }];
2290
+ readonly description: "Content Attestation によって表明される情報の対象となる URL です。 文字列は必ず URL Pattern string でなければなりません (MUST)。空配列にしてはなりません (MUST NOT)。";
2291
+ };
2292
+ readonly allowedOrigin: {
2293
+ readonly title: "Allowed Origin";
2294
+ readonly anyOf: readonly [{
2295
+ readonly type: "string";
2296
+ readonly format: "uri";
2297
+ }, {
2298
+ readonly type: "array";
2299
+ readonly items: {
2300
+ readonly type: "string";
2301
+ readonly format: "uri";
2302
+ };
2303
+ }];
2304
+ readonly description: string;
2305
+ };
2306
+ readonly target: {
2307
+ readonly type: "array";
2308
+ readonly items: {
2309
+ readonly title: "Target";
2310
+ readonly oneOf: readonly [{
2311
+ readonly title: "Basic Target";
2312
+ readonly type: "object";
2313
+ readonly additionalProperties: true;
2314
+ readonly properties: {
2315
+ readonly type: {
2316
+ readonly type: "string";
2317
+ readonly enum: readonly ["TextTargetIntegrity", "VisibleTextTargetIntegrity", "HtmlTargetIntegrity"];
2318
+ };
2319
+ readonly integrity: {
2320
+ readonly type: "string";
2321
+ readonly description: "ハッシュ値の形式は Subresource Integrity セクション 3.1 の Integrity metadata でなければなりません (MUST)。";
2322
+ };
2323
+ readonly cssSelector: {
2324
+ readonly type: "string";
2325
+ readonly description: "CSS セレクター";
2326
+ };
2327
+ };
2328
+ readonly required: readonly ["type", "integrity", "cssSelector"];
2329
+ }, {
2330
+ readonly title: "External Resource Target";
2331
+ readonly type: "object";
2332
+ readonly additionalProperties: true;
2333
+ readonly properties: {
2334
+ readonly type: {
2335
+ readonly type: "string";
2336
+ readonly const: "ExternalResourceTargetIntegrity";
2337
+ };
2338
+ readonly integrity: {
2339
+ readonly type: "string";
2340
+ readonly description: "ハッシュ値の形式は Subresource Integrity セクション 3.1 の Integrity metadata でなければなりません (MUST)。";
2341
+ };
2342
+ };
2343
+ readonly required: readonly ["type", "integrity"];
2344
+ }];
2345
+ };
2346
+ readonly minItems: 1;
2347
+ };
2348
+ };
2349
+ readonly required: readonly ["@context", "type", "credentialSubject", "target"];
2350
+ }];
2351
+ }, {
2352
+ readonly type: "object";
2353
+ readonly additionalProperties: true;
2354
+ readonly properties: {
2355
+ readonly "@context": {
2356
+ readonly type: "array";
2357
+ readonly additionalItems: false;
2358
+ readonly minItems: 4;
2359
+ readonly items: readonly [{
2360
+ readonly type: "string";
2361
+ readonly const: "https://www.w3.org/ns/credentials/v2";
2362
+ }, {
2363
+ readonly type: "string";
2364
+ readonly const: "https://originator-profile.org/ns/credentials/v1";
2365
+ }, {
2366
+ readonly type: "string";
2367
+ readonly const: "https://originator-profile.org/ns/cip/v1";
2368
+ }, {
2369
+ readonly type: "object";
2370
+ readonly properties: {
2371
+ readonly "@language": {
2372
+ readonly type: "string";
2373
+ readonly title: "言語コード";
2374
+ };
2375
+ };
2376
+ readonly required: readonly ["@language"];
2377
+ }];
2378
+ };
2379
+ readonly credentialSubject: {
2380
+ readonly type: "object";
2381
+ readonly additionalProperties: false;
2382
+ readonly properties: {
2383
+ readonly id: {
2384
+ readonly type: "string";
2385
+ readonly format: "uri";
2386
+ readonly description: "CA ID";
2387
+ };
2388
+ readonly type: {
2389
+ readonly type: "string";
2390
+ readonly const: "Advertorial";
2391
+ };
2392
+ readonly headline: {
2393
+ readonly type: "string";
2394
+ readonly description: "記事広告のタイトル。";
2395
+ };
2396
+ readonly description: {
2397
+ readonly type: "string";
2398
+ readonly description: "記事広告の説明(文字列)。";
2399
+ };
2400
+ readonly image: {
2401
+ readonly title: "画像";
2402
+ readonly type: "object";
2403
+ readonly properties: {
2404
+ readonly id: {
2405
+ readonly type: "string";
2406
+ readonly format: "uri";
2407
+ };
2408
+ readonly digestSRI: {
2409
+ readonly type: "string";
2410
+ readonly title: "Integrity Metadata";
2411
+ readonly description: "Subresource Integrity (SRI) digest";
2412
+ };
2413
+ };
2414
+ readonly required: readonly ["id"];
2415
+ };
2416
+ readonly datePublished: {
2417
+ readonly title: "公開日時";
2418
+ readonly type: "string";
2419
+ readonly description: "http://www.w3.org/2001/XMLSchema#dateTime 形式の公開日時";
2420
+ };
2421
+ readonly dateModified: {
2422
+ readonly title: "最終更新日時";
2423
+ readonly type: "string";
2424
+ readonly description: "http://www.w3.org/2001/XMLSchema#dateTime 形式の最終更新日時";
2425
+ };
2426
+ readonly author: {
2427
+ readonly title: "著者名";
2428
+ readonly type: "array";
2429
+ readonly items: {
2430
+ readonly type: "string";
2431
+ };
2432
+ };
2433
+ readonly editor: {
2434
+ readonly title: "編集者名";
2435
+ readonly type: "array";
2436
+ readonly items: {
2437
+ readonly type: "string";
2438
+ };
2439
+ };
2440
+ readonly sponsor: {
2441
+ readonly title: "スポンサー名";
2442
+ readonly type: "array";
2443
+ readonly items: {
2444
+ readonly type: "string";
2445
+ };
2446
+ };
2447
+ readonly genre: {
2448
+ readonly title: "ジャンル";
2449
+ readonly type: "string";
2450
+ };
2451
+ };
2452
+ readonly required: readonly ["id", "type", "headline", "description"];
2453
+ };
2454
+ readonly allowedUrl: {
2455
+ readonly title: "Allowed URLs";
2456
+ readonly anyOf: readonly [{
2457
+ readonly type: "string";
2458
+ readonly format: "uri";
2459
+ }, {
2460
+ readonly type: "array";
2461
+ readonly items: {
2462
+ readonly type: "string";
2463
+ readonly format: "uri";
2464
+ };
2465
+ readonly minItems: 1;
2466
+ }];
2467
+ readonly description: "Content Attestation によって表明される情報の対象となる URL です。 文字列は必ず URL Pattern string でなければなりません (MUST)。空配列にしてはなりません (MUST NOT)。";
2468
+ };
2469
+ };
2470
+ readonly required: readonly ["@context", "type", "credentialSubject", "allowedUrl"];
2471
+ }];
2472
+ readonly not: {
2473
+ readonly properties: {
2474
+ readonly allowedOrigin: {};
2475
+ };
2476
+ readonly required: readonly ["allowedOrigin"];
2477
+ };
2478
+ };
2479
+ type AdvertorialCA = FromSchema<typeof AdvertorialCA>;
2480
+
2194
2481
  declare const ContentAttestationSetItem: {
2195
2482
  readonly title: "Content Attestation Set Item";
2196
2483
  readonly oneOf: readonly [{
@@ -6779,7 +7066,7 @@ declare const RawTarget: {
6779
7066
  readonly enum: readonly ["TextTargetIntegrity", "VisibleTextTargetIntegrity", "HtmlTargetIntegrity", "ExternalResourceTargetIntegrity"];
6780
7067
  };
6781
7068
  readonly content: {
6782
- readonly oneOf: readonly [{
7069
+ readonly anyOf: readonly [{
6783
7070
  readonly type: "array";
6784
7071
  readonly items: {
6785
7072
  readonly type: "string";
@@ -7158,7 +7445,7 @@ declare const WebsiteProfile: {
7158
7445
  readonly format: "uri";
7159
7446
  };
7160
7447
  }];
7161
- readonly description: "Content Attestation によって表明される情報の対象となる [origin](https://www.rfc-editor.org/rfc/rfc6454#section-7)";
7448
+ readonly description: string;
7162
7449
  };
7163
7450
  };
7164
7451
  readonly required: readonly ["id", "type", "name", "url"];
@@ -7210,7 +7497,7 @@ declare const WebsiteProfile: {
7210
7497
  readonly format: "uri";
7211
7498
  };
7212
7499
  }];
7213
- readonly description: "Content Attestation によって表明される情報の対象となる [origin](https://www.rfc-editor.org/rfc/rfc6454#section-7)";
7500
+ readonly description: string;
7214
7501
  };
7215
7502
  };
7216
7503
  readonly required: readonly ["id", "type", "name", "allowedOrigin"];
@@ -7222,4 +7509,4 @@ declare const WebsiteProfile: {
7222
7509
  };
7223
7510
  type WebsiteProfile = FromSchema<typeof WebsiteProfile>;
7224
7511
 
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 };
7512
+ export { Advertisement, AdvertisementCA, AdvertorialCA, AllowedOrigin, AllowedUrl, ArticleCA, type BaseTarget, BasicTarget, Certificate, CertificationSystem, ContentAttestation, ContentAttestationSet, ContentAttestationSetItem, CoreProfile, Dp, DpAllowedOrigins, DpHtml, DpItem, DpText, DpVisibleText, ExternalResourceTarget, Image, JapaneseExistenceCertificate, JapaneseExistenceCertificateProperties, Jwk, Jwks, JwtDpPayload, JwtOpPayload, JwtProfilePayload, OgWebsite, Op, OpCertifier, OpCredential, OpHolder, OpItem, OpVc, OpVerifier, OriginatorProfileSet, OriginatorProfileSetItem, Profile, RawTarget, Request, SiteProfile, Target, UnsignedContentAttestation, User, WebMediaProfile, WebsiteProfile };
package/dist/index.mjs CHANGED
@@ -11,7 +11,7 @@ const AllowedOrigin = {
11
11
  items: Item$1
12
12
  }
13
13
  ],
14
- description: "Content Attestation \u306B\u3088\u3063\u3066\u8868\u660E\u3055\u308C\u308B\u60C5\u5831\u306E\u5BFE\u8C61\u3068\u306A\u308B [origin](https://www.rfc-editor.org/rfc/rfc6454#section-7)"
14
+ description: "@deprecated Content Attestation \u3067\u306F allowedOrigin \u306F\u975E\u63A8\u5968\u3067\u3059\u3002\u4EE3\u308F\u308A\u306B allowedUrl \u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u30022026\u5E749\u6708\u307E\u3067\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u307E\u3059\u3002\n\n\u8868\u660E\u3055\u308C\u308B\u60C5\u5831\u306E\u5BFE\u8C61\u3068\u306A\u308B [origin](https://www.rfc-editor.org/rfc/rfc6454#section-7)"
15
15
  };
16
16
 
17
17
  const Item = {
@@ -334,7 +334,7 @@ const RawTarget = {
334
334
  ]
335
335
  },
336
336
  content: {
337
- oneOf: [
337
+ anyOf: [
338
338
  {
339
339
  type: "array",
340
340
  items: {
@@ -362,7 +362,7 @@ const Target = {
362
362
  oneOf: [BasicTarget, ExternalResourceTarget]
363
363
  };
364
364
 
365
- const subject$4 = {
365
+ const subject$5 = {
366
366
  type: "object",
367
367
  additionalProperties: true,
368
368
  properties: {
@@ -394,7 +394,7 @@ const ContentAttestation = {
394
394
  const: "ContentAttestation"
395
395
  }
396
396
  },
397
- credentialSubject: subject$4,
397
+ credentialSubject: subject$5,
398
398
  allowedUrl: AllowedUrl,
399
399
  allowedOrigin: AllowedOrigin,
400
400
  target: {
@@ -408,7 +408,7 @@ const ContentAttestation = {
408
408
  ]
409
409
  };
410
410
 
411
- const subject$3 = {
411
+ const subject$4 = {
412
412
  type: "object",
413
413
  additionalProperties: false,
414
414
  properties: {
@@ -427,7 +427,7 @@ const subject$3 = {
427
427
  },
428
428
  description: {
429
429
  type: "string",
430
- description: "\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u8AAC\u660E\uFF08\u30D7\u30EC\u30FC\u30F3\u30C6\u30AD\u30B9\u30C8\uFF09\u3002"
430
+ description: "\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u8AAC\u660E\uFF08\u6587\u5B57\u5217\uFF09\u3002"
431
431
  },
432
432
  image: Image,
433
433
  datePublished: {
@@ -471,7 +471,7 @@ const ArticleCA = {
471
471
  additionalProperties: true,
472
472
  properties: {
473
473
  "@context": OpCipContext,
474
- credentialSubject: subject$3,
474
+ credentialSubject: subject$4,
475
475
  allowedUrl: AllowedUrl
476
476
  },
477
477
  required: ["@context", "type", "credentialSubject", "allowedUrl"]
@@ -485,7 +485,7 @@ const ArticleCA = {
485
485
  }
486
486
  };
487
487
 
488
- const subject$2 = {
488
+ const subject$3 = {
489
489
  type: "object",
490
490
  additionalProperties: true,
491
491
  properties: {
@@ -517,7 +517,7 @@ const UnsignedContentAttestation = {
517
517
  const: "ContentAttestation"
518
518
  }
519
519
  },
520
- credentialSubject: subject$2,
520
+ credentialSubject: subject$3,
521
521
  allowedUrl: AllowedUrl,
522
522
  allowedOrigin: AllowedOrigin,
523
523
  target: {
@@ -531,6 +531,90 @@ const UnsignedContentAttestation = {
531
531
  ]
532
532
  };
533
533
 
534
+ const subject$2 = {
535
+ type: "object",
536
+ additionalProperties: false,
537
+ properties: {
538
+ id: {
539
+ type: "string",
540
+ format: "uri",
541
+ description: "CA ID"
542
+ },
543
+ type: {
544
+ type: "string",
545
+ const: "Advertorial"
546
+ },
547
+ headline: {
548
+ type: "string",
549
+ description: "\u8A18\u4E8B\u5E83\u544A\u306E\u30BF\u30A4\u30C8\u30EB\u3002"
550
+ },
551
+ description: {
552
+ type: "string",
553
+ description: "\u8A18\u4E8B\u5E83\u544A\u306E\u8AAC\u660E\uFF08\u6587\u5B57\u5217\uFF09\u3002"
554
+ },
555
+ image: Image,
556
+ datePublished: {
557
+ title: "\u516C\u958B\u65E5\u6642",
558
+ type: "string",
559
+ description: "http://www.w3.org/2001/XMLSchema#dateTime \u5F62\u5F0F\u306E\u516C\u958B\u65E5\u6642"
560
+ },
561
+ dateModified: {
562
+ title: "\u6700\u7D42\u66F4\u65B0\u65E5\u6642",
563
+ type: "string",
564
+ description: "http://www.w3.org/2001/XMLSchema#dateTime \u5F62\u5F0F\u306E\u6700\u7D42\u66F4\u65B0\u65E5\u6642"
565
+ },
566
+ author: {
567
+ title: "\u8457\u8005\u540D",
568
+ type: "array",
569
+ items: {
570
+ type: "string"
571
+ }
572
+ },
573
+ editor: {
574
+ title: "\u7DE8\u96C6\u8005\u540D",
575
+ type: "array",
576
+ items: {
577
+ type: "string"
578
+ }
579
+ },
580
+ sponsor: {
581
+ title: "\u30B9\u30DD\u30F3\u30B5\u30FC\u540D",
582
+ type: "array",
583
+ items: {
584
+ type: "string"
585
+ }
586
+ },
587
+ genre: {
588
+ title: "\u30B8\u30E3\u30F3\u30EB",
589
+ type: "string"
590
+ }
591
+ },
592
+ required: ["id", "type", "headline", "description"]
593
+ };
594
+ const AdvertorialCA = {
595
+ type: "object",
596
+ additionalProperties: true,
597
+ allOf: [
598
+ ContentAttestation,
599
+ {
600
+ type: "object",
601
+ additionalProperties: true,
602
+ properties: {
603
+ "@context": OpCipContext,
604
+ credentialSubject: subject$2,
605
+ allowedUrl: AllowedUrl
606
+ },
607
+ required: ["@context", "type", "credentialSubject", "allowedUrl"]
608
+ }
609
+ ],
610
+ not: {
611
+ properties: {
612
+ allowedOrigin: {}
613
+ },
614
+ required: ["allowedOrigin"]
615
+ }
616
+ };
617
+
534
618
  const ContentAttestationSetItem = {
535
619
  title: "Content Attestation Set Item",
536
620
  oneOf: [
@@ -1610,4 +1694,4 @@ const WebsiteProfile = {
1610
1694
  ]
1611
1695
  };
1612
1696
 
1613
- export { Advertisement, AllowedOrigin, AllowedUrl, ArticleCA, BasicTarget, Certificate, CertificationSystem, ContentAttestation, ContentAttestationSet, ContentAttestationSetItem, CoreProfile, Dp, DpAllowedOrigins, DpHtml, DpItem, DpText, DpVisibleText, ExternalResourceTarget, Image, JapaneseExistenceCertificate, JapaneseExistenceCertificateProperties, Jwk, Jwks, JwtDpPayload, JwtOpPayload, JwtProfilePayload, OgWebsite, Op, OpCertifier, OpCredential, OpHolder, OpItem, OpVc, OpVerifier, OriginatorProfileSet, OriginatorProfileSetItem, Profile, RawTarget, Request, SiteProfile, Target, UnsignedContentAttestation, User, WebMediaProfile, WebsiteProfile };
1697
+ export { Advertisement, AdvertorialCA, AllowedOrigin, AllowedUrl, ArticleCA, BasicTarget, Certificate, CertificationSystem, ContentAttestation, ContentAttestationSet, ContentAttestationSetItem, CoreProfile, Dp, DpAllowedOrigins, DpHtml, DpItem, DpText, DpVisibleText, ExternalResourceTarget, Image, JapaneseExistenceCertificate, JapaneseExistenceCertificateProperties, Jwk, Jwks, JwtDpPayload, JwtOpPayload, JwtProfilePayload, OgWebsite, Op, OpCertifier, OpCredential, OpHolder, OpItem, OpVc, OpVerifier, OriginatorProfileSet, OriginatorProfileSetItem, Profile, RawTarget, Request, SiteProfile, Target, UnsignedContentAttestation, User, WebMediaProfile, WebsiteProfile };
package/package.json CHANGED
@@ -1,37 +1,42 @@
1
1
  {
2
2
  "name": "@originator-profile/model",
3
- "version": "0.4.0-beta.1",
4
- "private": false,
3
+ "version": "0.4.0-beta.4",
4
+ "license": "Apache-2.0",
5
+ "homepage": "https://docs.originator-profile.org",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/originator-profile/originator-profile.git",
9
+ "directory": "packages/model"
10
+ },
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
5
14
  "type": "module",
6
15
  "exports": {
7
- ".": {
8
- "require": {
9
- "types": "./dist/index.d.cts",
10
- "default": "./dist/index.cjs"
11
- },
12
- "import": {
13
- "types": "./dist/index.d.mts",
14
- "default": "./dist/index.mjs"
15
- }
16
+ "require": {
17
+ "types": "./dist/index.d.cts",
18
+ "default": "./dist/index.cjs"
16
19
  },
17
- "./context.json": "./context.json"
20
+ "import": {
21
+ "types": "./dist/index.d.mts",
22
+ "default": "./dist/index.mjs"
23
+ }
18
24
  },
19
25
  "files": [
20
- "context.json",
21
- "dist"
26
+ "dist",
27
+ "README.md",
28
+ "LICENSE",
29
+ "NOTICE"
22
30
  ],
23
31
  "devDependencies": {
24
- "@types/jsonld": "^1.5.15",
25
32
  "ajv": "^8.17.1",
26
33
  "eslint": "^9.25.1",
27
34
  "json-schema-to-ts": "^3.1.1",
28
- "jsonld": "^8.3.3",
29
- "msw": "^2.7.5",
30
35
  "pkgroll": "^2.12.2",
31
36
  "typescript": "^5.8.3",
32
37
  "vitest": "^4.0.0",
33
- "@originator-profile/tsconfig": "0.4.0-beta.1",
34
- "eslint-config-originator-profile": "0.4.0-beta.1"
38
+ "@originator-profile/tsconfig": "0.4.0-beta.4",
39
+ "eslint-config-originator-profile": "0.4.0-beta.4"
35
40
  },
36
41
  "scripts": {
37
42
  "build": "pkgroll --clean-dist --target=node20",