Closed xntrik closed 7 months ago
in my opinion the schema is correct here and that the example should be changed
the comment
is given its context by the risk
attribute, so riskComments
unnecessarily repeats risk
Totally agree. Changed :heavy_check_mark:. Thanks!
I've noticed that schema for assets/risk/comment is not matched to the EXAMPLE.json
https://github.com/iriusrisk/OpenThreatModel/blob/main/otm_schema.json#L68
"comment": {"type": ["string", "null"]}
https://github.com/iriusrisk/OpenThreatModel/blob/main/EXAMPLE.json#L43
"riskComments": "We have decided that the values are a 100 for all values since this highly sensitive information"
Unsure if we should adjust EXAMPLE.json to be
comment
or adjust the spec to beriskComments
.