@originator-profile/model 0.4.0-beta.5 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +26 -15
- package/dist/index.d.cts +69 -14
- package/dist/index.d.mts +69 -14
- package/dist/index.mjs +26 -16
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -1426,6 +1426,30 @@ const Profile = {
|
|
|
1426
1426
|
anyOf: [Op, Dp]
|
|
1427
1427
|
};
|
|
1428
1428
|
|
|
1429
|
+
const Description = {
|
|
1430
|
+
title: "Description",
|
|
1431
|
+
anyOf: [
|
|
1432
|
+
{ type: "string" },
|
|
1433
|
+
{
|
|
1434
|
+
type: "object",
|
|
1435
|
+
additionalProperties: true,
|
|
1436
|
+
properties: {
|
|
1437
|
+
text: {
|
|
1438
|
+
type: "string",
|
|
1439
|
+
description: "Text value."
|
|
1440
|
+
},
|
|
1441
|
+
encodingFormat: {
|
|
1442
|
+
type: "string",
|
|
1443
|
+
title: "Encoding format",
|
|
1444
|
+
description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).",
|
|
1445
|
+
enum: ["text/plain", "text/html"]
|
|
1446
|
+
}
|
|
1447
|
+
},
|
|
1448
|
+
required: ["text", "encodingFormat"]
|
|
1449
|
+
}
|
|
1450
|
+
]
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1429
1453
|
const OriginatorProfileSetItem = {
|
|
1430
1454
|
title: "Originator Profile",
|
|
1431
1455
|
type: "object",
|
|
@@ -1607,21 +1631,7 @@ const subject$1 = {
|
|
|
1607
1631
|
required: ["id", "name"]
|
|
1608
1632
|
},
|
|
1609
1633
|
description: {
|
|
1610
|
-
|
|
1611
|
-
type: ["string", "object"],
|
|
1612
|
-
properties: {
|
|
1613
|
-
text: {
|
|
1614
|
-
type: "string",
|
|
1615
|
-
description: "Text value."
|
|
1616
|
-
},
|
|
1617
|
-
encodingFormat: {
|
|
1618
|
-
type: "string",
|
|
1619
|
-
title: "Encoding format",
|
|
1620
|
-
description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).",
|
|
1621
|
-
enum: ["text/plain", "text/html"]
|
|
1622
|
-
}
|
|
1623
|
-
},
|
|
1624
|
-
required: ["text", "encodingFormat"]
|
|
1634
|
+
anyOf: [Description, { type: "array", items: Description }]
|
|
1625
1635
|
}
|
|
1626
1636
|
},
|
|
1627
1637
|
required: ["id", "type", "url", "name"]
|
|
@@ -1742,6 +1752,7 @@ exports.ContentAttestation = ContentAttestation;
|
|
|
1742
1752
|
exports.ContentAttestationSet = ContentAttestationSet;
|
|
1743
1753
|
exports.ContentAttestationSetItem = ContentAttestationSetItem;
|
|
1744
1754
|
exports.CoreProfile = CoreProfile;
|
|
1755
|
+
exports.Description = Description;
|
|
1745
1756
|
exports.Dp = Dp;
|
|
1746
1757
|
exports.DpAllowedOrigins = DpAllowedOrigins;
|
|
1747
1758
|
exports.DpHtml = DpHtml;
|
package/dist/index.d.cts
CHANGED
|
@@ -6953,6 +6953,30 @@ declare const Profile: {
|
|
|
6953
6953
|
/** @deprecated */
|
|
6954
6954
|
type Profile = FromSchema<typeof Profile>;
|
|
6955
6955
|
|
|
6956
|
+
declare const Description: {
|
|
6957
|
+
readonly title: "Description";
|
|
6958
|
+
readonly anyOf: readonly [{
|
|
6959
|
+
readonly type: "string";
|
|
6960
|
+
}, {
|
|
6961
|
+
readonly type: "object";
|
|
6962
|
+
readonly additionalProperties: true;
|
|
6963
|
+
readonly properties: {
|
|
6964
|
+
readonly text: {
|
|
6965
|
+
readonly type: "string";
|
|
6966
|
+
readonly description: "Text value.";
|
|
6967
|
+
};
|
|
6968
|
+
readonly encodingFormat: {
|
|
6969
|
+
readonly type: "string";
|
|
6970
|
+
readonly title: "Encoding format";
|
|
6971
|
+
readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
|
|
6972
|
+
readonly enum: readonly ["text/plain", "text/html"];
|
|
6973
|
+
};
|
|
6974
|
+
};
|
|
6975
|
+
readonly required: readonly ["text", "encodingFormat"];
|
|
6976
|
+
}];
|
|
6977
|
+
};
|
|
6978
|
+
type Description = FromSchema<typeof Description>;
|
|
6979
|
+
|
|
6956
6980
|
declare const Image: {
|
|
6957
6981
|
readonly title: "画像";
|
|
6958
6982
|
readonly type: "object";
|
|
@@ -7588,21 +7612,52 @@ declare const WebMediaProfile: {
|
|
|
7588
7612
|
readonly required: readonly ["id", "name"];
|
|
7589
7613
|
};
|
|
7590
7614
|
readonly description: {
|
|
7591
|
-
readonly
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
readonly text: {
|
|
7595
|
-
readonly type: "string";
|
|
7596
|
-
readonly description: "Text value.";
|
|
7597
|
-
};
|
|
7598
|
-
readonly encodingFormat: {
|
|
7615
|
+
readonly anyOf: readonly [{
|
|
7616
|
+
readonly title: "Description";
|
|
7617
|
+
readonly anyOf: readonly [{
|
|
7599
7618
|
readonly type: "string";
|
|
7600
|
-
|
|
7601
|
-
readonly
|
|
7602
|
-
readonly
|
|
7619
|
+
}, {
|
|
7620
|
+
readonly type: "object";
|
|
7621
|
+
readonly additionalProperties: true;
|
|
7622
|
+
readonly properties: {
|
|
7623
|
+
readonly text: {
|
|
7624
|
+
readonly type: "string";
|
|
7625
|
+
readonly description: "Text value.";
|
|
7626
|
+
};
|
|
7627
|
+
readonly encodingFormat: {
|
|
7628
|
+
readonly type: "string";
|
|
7629
|
+
readonly title: "Encoding format";
|
|
7630
|
+
readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
|
|
7631
|
+
readonly enum: readonly ["text/plain", "text/html"];
|
|
7632
|
+
};
|
|
7633
|
+
};
|
|
7634
|
+
readonly required: readonly ["text", "encodingFormat"];
|
|
7635
|
+
}];
|
|
7636
|
+
}, {
|
|
7637
|
+
readonly type: "array";
|
|
7638
|
+
readonly items: {
|
|
7639
|
+
readonly title: "Description";
|
|
7640
|
+
readonly anyOf: readonly [{
|
|
7641
|
+
readonly type: "string";
|
|
7642
|
+
}, {
|
|
7643
|
+
readonly type: "object";
|
|
7644
|
+
readonly additionalProperties: true;
|
|
7645
|
+
readonly properties: {
|
|
7646
|
+
readonly text: {
|
|
7647
|
+
readonly type: "string";
|
|
7648
|
+
readonly description: "Text value.";
|
|
7649
|
+
};
|
|
7650
|
+
readonly encodingFormat: {
|
|
7651
|
+
readonly type: "string";
|
|
7652
|
+
readonly title: "Encoding format";
|
|
7653
|
+
readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
|
|
7654
|
+
readonly enum: readonly ["text/plain", "text/html"];
|
|
7655
|
+
};
|
|
7656
|
+
};
|
|
7657
|
+
readonly required: readonly ["text", "encodingFormat"];
|
|
7658
|
+
}];
|
|
7603
7659
|
};
|
|
7604
|
-
};
|
|
7605
|
-
readonly required: readonly ["text", "encodingFormat"];
|
|
7660
|
+
}];
|
|
7606
7661
|
};
|
|
7607
7662
|
};
|
|
7608
7663
|
readonly required: readonly ["id", "type", "url", "name"];
|
|
@@ -7807,4 +7862,4 @@ declare const WebsiteProfile: {
|
|
|
7807
7862
|
};
|
|
7808
7863
|
type WebsiteProfile = FromSchema<typeof WebsiteProfile>;
|
|
7809
7864
|
|
|
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 };
|
|
7865
|
+
export { Advertisement, AdvertisementCA, type AdvertisementSubject, AdvertorialCA, AllowedOrigin, AllowedUrl, ArticleCA, type BaseTarget, BasicTarget, Certificate, CertificationSystem, ContentAttestation, ContentAttestationSet, ContentAttestationSetItem, CoreProfile, Description, Dp, DpAllowedOrigins, DpHtml, DpItem, DpText, DpVisibleText, ExternalResourceTarget, Image, JapaneseExistenceCertificate, JapaneseExistenceCertificateProperties, Jwk, Jwks, JwtDpPayload, JwtOpPayload, JwtProfilePayload, OgWebsite, Op, OpCertifier, OpCredential, OpHolder, OpItem, OpVc, OpVerifier, OriginatorProfileSet, OriginatorProfileSetItem, Page, Profile, RawTarget, Request, SiteProfile, Target, UnsignedContentAttestation, User, WebMediaProfile, WebsiteProfile };
|
package/dist/index.d.mts
CHANGED
|
@@ -6953,6 +6953,30 @@ declare const Profile: {
|
|
|
6953
6953
|
/** @deprecated */
|
|
6954
6954
|
type Profile = FromSchema<typeof Profile>;
|
|
6955
6955
|
|
|
6956
|
+
declare const Description: {
|
|
6957
|
+
readonly title: "Description";
|
|
6958
|
+
readonly anyOf: readonly [{
|
|
6959
|
+
readonly type: "string";
|
|
6960
|
+
}, {
|
|
6961
|
+
readonly type: "object";
|
|
6962
|
+
readonly additionalProperties: true;
|
|
6963
|
+
readonly properties: {
|
|
6964
|
+
readonly text: {
|
|
6965
|
+
readonly type: "string";
|
|
6966
|
+
readonly description: "Text value.";
|
|
6967
|
+
};
|
|
6968
|
+
readonly encodingFormat: {
|
|
6969
|
+
readonly type: "string";
|
|
6970
|
+
readonly title: "Encoding format";
|
|
6971
|
+
readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
|
|
6972
|
+
readonly enum: readonly ["text/plain", "text/html"];
|
|
6973
|
+
};
|
|
6974
|
+
};
|
|
6975
|
+
readonly required: readonly ["text", "encodingFormat"];
|
|
6976
|
+
}];
|
|
6977
|
+
};
|
|
6978
|
+
type Description = FromSchema<typeof Description>;
|
|
6979
|
+
|
|
6956
6980
|
declare const Image: {
|
|
6957
6981
|
readonly title: "画像";
|
|
6958
6982
|
readonly type: "object";
|
|
@@ -7588,21 +7612,52 @@ declare const WebMediaProfile: {
|
|
|
7588
7612
|
readonly required: readonly ["id", "name"];
|
|
7589
7613
|
};
|
|
7590
7614
|
readonly description: {
|
|
7591
|
-
readonly
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
readonly text: {
|
|
7595
|
-
readonly type: "string";
|
|
7596
|
-
readonly description: "Text value.";
|
|
7597
|
-
};
|
|
7598
|
-
readonly encodingFormat: {
|
|
7615
|
+
readonly anyOf: readonly [{
|
|
7616
|
+
readonly title: "Description";
|
|
7617
|
+
readonly anyOf: readonly [{
|
|
7599
7618
|
readonly type: "string";
|
|
7600
|
-
|
|
7601
|
-
readonly
|
|
7602
|
-
readonly
|
|
7619
|
+
}, {
|
|
7620
|
+
readonly type: "object";
|
|
7621
|
+
readonly additionalProperties: true;
|
|
7622
|
+
readonly properties: {
|
|
7623
|
+
readonly text: {
|
|
7624
|
+
readonly type: "string";
|
|
7625
|
+
readonly description: "Text value.";
|
|
7626
|
+
};
|
|
7627
|
+
readonly encodingFormat: {
|
|
7628
|
+
readonly type: "string";
|
|
7629
|
+
readonly title: "Encoding format";
|
|
7630
|
+
readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
|
|
7631
|
+
readonly enum: readonly ["text/plain", "text/html"];
|
|
7632
|
+
};
|
|
7633
|
+
};
|
|
7634
|
+
readonly required: readonly ["text", "encodingFormat"];
|
|
7635
|
+
}];
|
|
7636
|
+
}, {
|
|
7637
|
+
readonly type: "array";
|
|
7638
|
+
readonly items: {
|
|
7639
|
+
readonly title: "Description";
|
|
7640
|
+
readonly anyOf: readonly [{
|
|
7641
|
+
readonly type: "string";
|
|
7642
|
+
}, {
|
|
7643
|
+
readonly type: "object";
|
|
7644
|
+
readonly additionalProperties: true;
|
|
7645
|
+
readonly properties: {
|
|
7646
|
+
readonly text: {
|
|
7647
|
+
readonly type: "string";
|
|
7648
|
+
readonly description: "Text value.";
|
|
7649
|
+
};
|
|
7650
|
+
readonly encodingFormat: {
|
|
7651
|
+
readonly type: "string";
|
|
7652
|
+
readonly title: "Encoding format";
|
|
7653
|
+
readonly description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).";
|
|
7654
|
+
readonly enum: readonly ["text/plain", "text/html"];
|
|
7655
|
+
};
|
|
7656
|
+
};
|
|
7657
|
+
readonly required: readonly ["text", "encodingFormat"];
|
|
7658
|
+
}];
|
|
7603
7659
|
};
|
|
7604
|
-
};
|
|
7605
|
-
readonly required: readonly ["text", "encodingFormat"];
|
|
7660
|
+
}];
|
|
7606
7661
|
};
|
|
7607
7662
|
};
|
|
7608
7663
|
readonly required: readonly ["id", "type", "url", "name"];
|
|
@@ -7807,4 +7862,4 @@ declare const WebsiteProfile: {
|
|
|
7807
7862
|
};
|
|
7808
7863
|
type WebsiteProfile = FromSchema<typeof WebsiteProfile>;
|
|
7809
7864
|
|
|
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 };
|
|
7865
|
+
export { Advertisement, AdvertisementCA, type AdvertisementSubject, AdvertorialCA, AllowedOrigin, AllowedUrl, ArticleCA, type BaseTarget, BasicTarget, Certificate, CertificationSystem, ContentAttestation, ContentAttestationSet, ContentAttestationSetItem, CoreProfile, Description, Dp, DpAllowedOrigins, DpHtml, DpItem, DpText, DpVisibleText, ExternalResourceTarget, Image, JapaneseExistenceCertificate, JapaneseExistenceCertificateProperties, Jwk, Jwks, JwtDpPayload, JwtOpPayload, JwtProfilePayload, OgWebsite, Op, OpCertifier, OpCredential, OpHolder, OpItem, OpVc, OpVerifier, OriginatorProfileSet, OriginatorProfileSetItem, Page, Profile, RawTarget, Request, SiteProfile, Target, UnsignedContentAttestation, User, WebMediaProfile, WebsiteProfile };
|
package/dist/index.mjs
CHANGED
|
@@ -1424,6 +1424,30 @@ const Profile = {
|
|
|
1424
1424
|
anyOf: [Op, Dp]
|
|
1425
1425
|
};
|
|
1426
1426
|
|
|
1427
|
+
const Description = {
|
|
1428
|
+
title: "Description",
|
|
1429
|
+
anyOf: [
|
|
1430
|
+
{ type: "string" },
|
|
1431
|
+
{
|
|
1432
|
+
type: "object",
|
|
1433
|
+
additionalProperties: true,
|
|
1434
|
+
properties: {
|
|
1435
|
+
text: {
|
|
1436
|
+
type: "string",
|
|
1437
|
+
description: "Text value."
|
|
1438
|
+
},
|
|
1439
|
+
encodingFormat: {
|
|
1440
|
+
type: "string",
|
|
1441
|
+
title: "Encoding format",
|
|
1442
|
+
description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).",
|
|
1443
|
+
enum: ["text/plain", "text/html"]
|
|
1444
|
+
}
|
|
1445
|
+
},
|
|
1446
|
+
required: ["text", "encodingFormat"]
|
|
1447
|
+
}
|
|
1448
|
+
]
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1427
1451
|
const OriginatorProfileSetItem = {
|
|
1428
1452
|
title: "Originator Profile",
|
|
1429
1453
|
type: "object",
|
|
@@ -1605,21 +1629,7 @@ const subject$1 = {
|
|
|
1605
1629
|
required: ["id", "name"]
|
|
1606
1630
|
},
|
|
1607
1631
|
description: {
|
|
1608
|
-
|
|
1609
|
-
type: ["string", "object"],
|
|
1610
|
-
properties: {
|
|
1611
|
-
text: {
|
|
1612
|
-
type: "string",
|
|
1613
|
-
description: "Text value."
|
|
1614
|
-
},
|
|
1615
|
-
encodingFormat: {
|
|
1616
|
-
type: "string",
|
|
1617
|
-
title: "Encoding format",
|
|
1618
|
-
description: "MIME type. Allowed values: 'text/plain' and 'text/html' (only br, p, ol, ul, li allowed).",
|
|
1619
|
-
enum: ["text/plain", "text/html"]
|
|
1620
|
-
}
|
|
1621
|
-
},
|
|
1622
|
-
required: ["text", "encodingFormat"]
|
|
1632
|
+
anyOf: [Description, { type: "array", items: Description }]
|
|
1623
1633
|
}
|
|
1624
1634
|
},
|
|
1625
1635
|
required: ["id", "type", "url", "name"]
|
|
@@ -1728,4 +1738,4 @@ const WebsiteProfile = {
|
|
|
1728
1738
|
]
|
|
1729
1739
|
};
|
|
1730
1740
|
|
|
1731
|
-
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, Page, Profile, RawTarget, Request, SiteProfile, Target, UnsignedContentAttestation, User, WebMediaProfile, WebsiteProfile };
|
|
1741
|
+
export { Advertisement, AdvertorialCA, AllowedOrigin, AllowedUrl, ArticleCA, BasicTarget, Certificate, CertificationSystem, ContentAttestation, ContentAttestationSet, ContentAttestationSetItem, CoreProfile, Description, Dp, DpAllowedOrigins, DpHtml, DpItem, DpText, DpVisibleText, ExternalResourceTarget, Image, JapaneseExistenceCertificate, JapaneseExistenceCertificateProperties, Jwk, Jwks, JwtDpPayload, JwtOpPayload, JwtProfilePayload, OgWebsite, Op, OpCertifier, OpCredential, OpHolder, OpItem, OpVc, OpVerifier, OriginatorProfileSet, OriginatorProfileSetItem, Page, Profile, RawTarget, Request, SiteProfile, Target, UnsignedContentAttestation, User, WebMediaProfile, WebsiteProfile };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@originator-profile/model",
|
|
3
|
-
"version": "0.4.0
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"homepage": "https://docs.originator-profile.org",
|
|
6
6
|
"repository": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"pkgroll": "^2.12.2",
|
|
36
36
|
"typescript": "^5.8.3",
|
|
37
37
|
"vitest": "^4.0.0",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
38
|
+
"eslint-config-originator-profile": "0.4.0",
|
|
39
|
+
"@originator-profile/tsconfig": "0.4.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "pkgroll --clean-dist --target=node20",
|