Skip to content

Commit

Permalink
rename artifact.json, remove unevaluatedProperties from impact schema
Browse files Browse the repository at this point in the history
  • Loading branch information
rpiazza committed Dec 2, 2024
1 parent 8368eaa commit 70dcb92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 58 deletions.
32 changes: 0 additions & 32 deletions extension-definition-specifications/artifact-805/artifact.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"impact_category",
"extensions"
],
"unevaluatedProperties": false,
"allOf": [
{
"$ref": "#/definitions/STIX_Uncommon"
Expand Down Expand Up @@ -98,14 +97,15 @@
},
"extensions": {
"type": "object",
"description": "STIX extensions.",
"description": "STIX extensions.",
"additionalProperties": true,
"minProperties": 2,
"$comment": "re-consider min_properties: 2 if undetermined is removed",
"required": ["extension-definition--7cc33dd6-f6a1-489b-98ea-522d351d71b9"],
"properties": {
"extension-definition--7cc33dd6-f6a1-489b-98ea-522d351d71b9": {
"type": "object",
"additionalProperties": false,
"required": ["extension_type"],
"additionalProperties": false,
"type": "object",
"properties": {
"extension_type": {
"type": "string",
Expand All @@ -124,26 +124,7 @@
}
}
},
"confidentiality-ext": {
"additionalProperties": false,
"anyOf": [
{
"required": [
"information_type",
"loss_type"
]
},
{
"required": [
"loss_type"
],
"properties": {
"loss_type": {
"const": "none"
}
}
}
],
"confidentiality-ext": {
"properties": {
"information_type": {
"type": "string",
Expand Down Expand Up @@ -489,4 +470,4 @@
}
}
}
}
}

0 comments on commit 70dcb92

Please sign in to comment.