[2.0] enforce refType/refLinkType non-conflicting with BOM-Link - #997
[2.0] enforce refType/refLinkType non-conflicting with BOM-Link#997jkowalleck wants to merge 8 commits into
refType/refLinkType non-conflicting with BOM-Link#997Conversation
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
2434866 to
2c43df6
Compare
refType/refLinkType non-conflicting with BOM-Link
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
| }, | ||
| "affiliation": { | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refLinkType", | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/elementLink", |
There was a problem hiding this comment.
description sayed - bom-link or ref to an element - so fixed the $ref
| }, | ||
| "issuer": { | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refLinkType", | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/elementLink", |
There was a problem hiding this comment.
description sayed - bom-link or ref to an element - so fixed the $ref
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
| "description": "A list of algorithms related to the cipher suite.", | ||
| "items": { | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refType", | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refLinkType", |
There was a problem hiding this comment.
fixed the type, as the description implied it
| }, | ||
| "algorithm": { | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refType", | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refLinkType", |
There was a problem hiding this comment.
fixed the type, as the description implied it
| }, | ||
| "algorithm": { | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refType", | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refLinkType", |
There was a problem hiding this comment.
fixed the type, as the description implied it
| }, | ||
| "algorithm": { | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refType", | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refLinkType", |
There was a problem hiding this comment.
fixed the type, as the description implied it
| }, | ||
| "algorithm": { | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refType", | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refLinkType", |
There was a problem hiding this comment.
fixed the type, as the description implied it
| }, | ||
| "algorithm": { | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refType", | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refLinkType", |
There was a problem hiding this comment.
fixed the type, as the description implied it
| }, | ||
| "ref": { | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refType", | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refLinkType", |
There was a problem hiding this comment.
fixed the type, as the description implied it
| "description": "The bom-refs to the assets securing this asset (e.g., algorithms, hardware, keys).", | ||
| "items": { | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refType" | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refLinkType" |
There was a problem hiding this comment.
fixed the type, as the description implied it
| "description": "A list of BOM references (`bom-ref`) linking to patents or patent families associated with this assertion.", | ||
| "items": { | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refType" | ||
| "$ref": "cyclonedx-common-2.0.schema.json#/$defs/refLinkType" |
There was a problem hiding this comment.
fixed the type, as the description implied it
fixes #991
common.schema.json#$defs/refTypecommon.schema.json#$defs/elementLinkcommon.schema.json#$defs/elementLinkwhere same structure was already usedcommon.schema.json#$defs/elementLinkwhere description implied itcommon.schema.json#$defs/refLinkTypewhere description implied it