Skip to content

Commit

Permalink
Merge pull request #19 from iriusrisk/feature/OPT-899
Browse files Browse the repository at this point in the history
[OPT-899] Add assetInstance definition
  • Loading branch information
daFont-iriusrisk authored Jul 5, 2023
2 parents 47e2586 + bf65c45 commit 5861353
Showing 1 changed file with 33 additions and 17 deletions.
50 changes: 33 additions & 17 deletions otm_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,23 +107,7 @@
"type": ["array", "null"],
"items": {"$ref": "#/definitions/representationElement"}
},
"assets": {
"type": ["object", "null"],
"properties": {
"stored": {
"type": ["array", "null"],
"items": {
"type": ["string", "null"]
}
},
"processed": {
"type": ["array", "null"],
"items": {
"type": ["string", "null"]
}
}
}
},
"assets": {"$ref": "#/definitions/assetInstance"},
"threats": {
"type": ["array", "null"],
"items": {"$ref": "#/definitions/threat"}
Expand Down Expand Up @@ -281,6 +265,38 @@
}
}
}
},
"assetInstance": {
"type": [
"object",
"null"
],
"properties": {
"processed": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
}
},
"stored": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string",
"null"
]
}
}
}
}
}
}

0 comments on commit 5861353

Please sign in to comment.