Skip to content

Commit

Permalink
Add reference field to the metaschema definitions of event class and …
Browse files Browse the repository at this point in the history
…object. The field is added diredctly as the description is unique to each case.
  • Loading branch information
rmouritzen-splunk committed Oct 8, 2024
1 parent 5fd2c1a commit 00e5801
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions metaschema/event.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@
}
},
"additionalProperties": false
},
"reference": {
"type": "string",
"description": "A hyperlink to an associated definition of this event class, for example where an equivalent is defined in MITRE d3fend."
}
},
"additionalProperties": false
Expand Down
6 changes: 4 additions & 2 deletions metaschema/object.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
"observable": {
"$ref": "observable.schema.json"
},
"reference": true
},
"reference": {
"type": "string",
"description": "A hyperlink to an associated definition of this object, for example where an equivalent is defined in MITRE d3fend."
} },
"additionalProperties": false
}
]
Expand Down

0 comments on commit 00e5801

Please sign in to comment.