Skip to content

Commit af90850

Browse files
committed
fix relatedCryptographicAssets, add reason for certificate lifecycle state, update spelling
Signed-off-by: Nicklas Körtge <[email protected]>
1 parent a6feb56 commit af90850

File tree

1 file changed

+34
-15
lines changed

1 file changed

+34
-15
lines changed

schema/bom-1.7.schema.json

Lines changed: 34 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5442,6 +5442,11 @@
54425442
"revoked": "A revoked certificate is a digital certificate that has been invalidated by the issuing certificate authority (CA) before its scheduled expiration date.",
54435443
"destroyed": "The certificate has been destroyed."
54445444
},
5445+
},
5446+
"reason": {
5447+
"type": "string",
5448+
"title": "Reason",
5449+
"description": "A reason for the certificate being in this state."
54455450
}
54465451
}
54475452
},
@@ -5450,15 +5455,20 @@
54505455
"required": ["name"],
54515456
"additionalProperties": false,
54525457
"properties": {
5453-
"name": {
5458+
"state": {
54545459
"type": "string",
5455-
"title": "Name",
5456-
"description": "The name of the certificate lifecycle state"
5460+
"title": "State",
5461+
"description": "The name of the certificate lifecycle state."
54575462
},
54585463
"description": {
54595464
"type": "string",
54605465
"title": "Description",
5461-
"description": "The description of the certificate lifecycle state"
5466+
"description": "The description of the certificate lifecycle state."
5467+
},
5468+
"reason": {
5469+
"type": "string",
5470+
"title": "Reason",
5471+
"description": "A reason for the certificate being in this state."
54625472
}
54635473
}
54645474
}
@@ -5512,7 +5522,7 @@
55125522
"name": {
55135523
"type": "string",
55145524
"title": "name",
5515-
"description": "Extention name",
5525+
"description": "The name if the extention.",
55165526
"enum": [
55175527
"basicConstraints",
55185528
"keyUsage",
@@ -5541,7 +5551,7 @@
55415551
"value": {
55425552
"type": "string",
55435553
"title": "Value",
5544-
"description": ""
5554+
"description": "The value of the certificate extension."
55455555
}
55465556
}
55475557
},
@@ -5553,12 +5563,12 @@
55535563
"name": {
55545564
"type": "string",
55555565
"title": "Name",
5556-
"description": ""
5566+
"description": "The name for the custom certificate extension."
55575567
},
55585568
"value": {
55595569
"type": "string",
55605570
"title": "Value",
5561-
"description": ""
5571+
"description": "The description of the custom certificate extension."
55625572
}
55635573
}
55645574
}
@@ -5568,7 +5578,7 @@
55685578
"relatedCryptographicAssets": {
55695579
"$ref": "#/definitions/relatedCryptographicAssets",
55705580
"title": "Related Cryptographic Assets",
5571-
"description": "A list of bom-refs to cryptographic assets related to this protocol.",
5581+
"description": "A list of cryptographic assets related to this component.",
55725582
},
55735583
}
55745584
},
@@ -5703,7 +5713,7 @@
57035713
"relatedCryptographicAssets": {
57045714
"$ref": "#/definitions/relatedCryptographicAssets",
57055715
"title": "Related Cryptographic Assets",
5706-
"description": "A list of bom-refs to cryptographic assets related to this protocol.",
5716+
"description": "A list of cryptographic assets related to this component.",
57075717
},
57085718
}
57095719
},
@@ -5804,7 +5814,7 @@
58045814
"relatedCryptographicAssets": {
58055815
"$ref": "#/definitions/relatedCryptographicAssets",
58065816
"title": "Related Cryptographic Assets",
5807-
"description": "A list of bom-refs to cryptographic assets related to this protocol.",
5817+
"description": "A list of cryptographic assets related to this component.",
58085818
},
58095819
}
58105820
},
@@ -5863,9 +5873,18 @@
58635873
}
58645874
},
58655875
"relatedCryptographicAssets": {
5866-
"type": "object",
5876+
"type": "array",
58675877
"title": "Related Cryptographic Assets",
5868-
"description": "A list of bom-refs to cryptographic assets related to this protocol.",
5878+
"description": "A list of cryptographic assets related to this component.",
5879+
"items": {
5880+
"$ref": "#/definitions/relatedCryptographicAsset",
5881+
"title": "Related Cryptographic Asset"
5882+
}
5883+
},
5884+
"relatedCryptographicAsset": {
5885+
"type": "object",
5886+
"title": "Related Cryptographic Asset",
5887+
"description": "A cryptographic assets related to this component.",
58695888
"additionalProperties": false,
58705889
"properties": {
58715890
"type": {
@@ -5880,8 +5899,8 @@
58805899
},
58815900
"ref": {
58825901
"$ref": "#/definitions/refType",
5883-
"title": "Algorithm Reference",
5884-
"description": "The bom-ref to the algorithm."
5902+
"title": "Reference to cryptographic asset",
5903+
"description": "The bom-ref to cryptographic asset."
58855904
}
58865905
}
58875906
},

0 commit comments

Comments
 (0)