Skip to content

Commit

Permalink
fix observed-string schema
Browse files Browse the repository at this point in the history
  • Loading branch information
rpiazza committed Mar 6, 2024
1 parent bffb04d commit 25af5ea
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"purpose": "mission-id",
"extensions": {
"extension-definition--8b1aa84c-5532-4c69-a8e7-b6170facfd3d": {
"extension_type": "new-sco"
}
"extension_type": "new-sco"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "object",
"allOf": [
{
"$ref": "http://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/stix2.1/schemas/common/cyber-observerable-core.json"
"$ref": "https://raw.githubusercontent.com/oasis-open/cti-stix2-json-schemas/master/schemas/common/cyber-observable-core.json"
},
{
"properties": {
Expand All @@ -15,14 +15,33 @@
"properties": {
"extension-definition--8b1aa84c-5532-4c69-a8e7-b6170facfd3d": {
"type": "object",
"$ref": "observed-string.json"
}
}
}
"additionalProperties": false,
"properties": {
"extension_type": {
"type": "string",
"const": "new-sco"
}
},
"required": [
"extension_type"
]
}
}
},
"required": [
"extensions"
]
"purpose": {
"type": "string",
"description": "What this string is used for"
},
"value": {
"type": "string",
"description": "The Unicode encoded value of the string. It SHOULD come from string-purpose-ov"
},
"required": [
"extensions",
"purpose",
"value"
]
}
}
]
}
Expand Down

This file was deleted.

0 comments on commit 25af5ea

Please sign in to comment.