-
Notifications
You must be signed in to change notification settings - Fork 16
/
field-data.json
32 lines (32 loc) · 1.46 KB
/
field-data.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"field-data":{
"title": "FieldData",
"type": "object",
"description": "Captures field data with a malware instance or family. At least one of \"delivery_vectors\" or \"first_seen\" or \"last_seen\" MUST be included when using this type.",
"properties": {
"delivery_vectors": {
"type": "array",
"items": {"type": "string"},
"description": "Captures the vectors used to distribute/deploy the Malware Instance. The values for this property SHOULD come from the delivery-vector-ov vocabulary."
},
"first_seen": {
"type": "string",
"format": "date-time",
"description": "Captures the date/time that the malware instance was first seen by the producer of the Malware Instance Object."
},
"last_seen": {
"type": "string",
"format": "date-time",
"description": "Captures the date/time that the malware instance was last seen by producer of the Malware Instance Object."
}
},
"anyOf": [
{"required": ["delivery_vectors"]},
{"required": ["first_seen"]},
{"required": ["last_seen"]}
]
}
}
}