Created
June 14, 2019 15:45
-
-
Save ilyaglow/96e9ea414a2a7b613d017613ffc1b7cf to your computer and use it in GitHub Desktop.
Cortex Analyzer Result JSONSchema
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"definitions": {}, | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"$id": "http://example.com/root.json", | |
"type": "object", | |
"title": "The Root Schema", | |
"required": [ | |
"success", | |
"artifacts", | |
"summary", | |
"full", | |
], | |
"properties": { | |
"success": { | |
"$id": "#/properties/success", | |
"type": "boolean", | |
"title": "The Success Schema", | |
"default": false, | |
"examples": [ | |
true | |
] | |
}, | |
"artifacts": { | |
"$id": "#/properties/artifacts", | |
"type": "array", | |
"title": "The Artifacts Schema", | |
"items": { | |
"$id": "#/properties/artifacts/items", | |
"type": "object", | |
"title": "The Items Schema", | |
"required": [ | |
"dataType", | |
"data" | |
], | |
"properties": { | |
"dataType": { | |
"$id": "#/properties/artifacts/items/properties/dataType", | |
"type": "string", | |
"title": "The Datatype Schema", | |
"default": "", | |
"examples": [ | |
"ip" | |
] | |
}, | |
"data": { | |
"$id": "#/properties/artifacts/items/properties/data", | |
"type": "string", | |
"title": "The Data Schema", | |
"default": "", | |
"examples": [ | |
"1.1.1.1" | |
] | |
} | |
} | |
} | |
}, | |
"summary": { | |
"$id": "#/properties/summary", | |
"type": "object", | |
"title": "The Summary Schema", | |
"required": [ | |
"taxonomies" | |
], | |
"properties": { | |
"taxonomies": { | |
"$id": "#/properties/summary/properties/taxonomies", | |
"type": "array", | |
"title": "The Taxonomies Schema", | |
"items": { | |
"$id": "#/properties/summary/properties/taxonomies/items", | |
"type": "object", | |
"title": "The Items Schema", | |
"required": [ | |
"namespace", | |
"predicate", | |
"value", | |
"level" | |
], | |
"properties": { | |
"namespace": { | |
"$id": "#/properties/summary/properties/taxonomies/items/properties/namespace", | |
"type": "string", | |
"title": "The Namespace Schema", | |
"default": "", | |
"examples": [ | |
"NAME" | |
] | |
}, | |
"predicate": { | |
"$id": "#/properties/summary/properties/taxonomies/items/properties/predicate", | |
"type": "string", | |
"title": "The Predicate Schema", | |
"default": "", | |
"examples": [ | |
"PREDICATE" | |
] | |
}, | |
"value": { | |
"$id": "#/properties/summary/properties/taxonomies/items/properties/value", | |
"type": "string", | |
"title": "The Value Schema", | |
"default": "", | |
"examples": [ | |
"\"VALUE\"" | |
] | |
}, | |
"level": { | |
"$id": "#/properties/summary/properties/taxonomies/items/properties/level", | |
"type": "string", | |
"title": "The Level Schema", | |
"default": "", | |
"examples": [ | |
"info" | |
] | |
} | |
} | |
} | |
} | |
} | |
}, | |
"full": { | |
"$id": "#/properties/full", | |
"type": "object", | |
"title": "The Full Schema" | |
}, | |
"errorMessage": { | |
"$id": "#/properties/errorMessage", | |
"type": "string", | |
"title": "The Errormessage Schema", | |
"default": "", | |
"examples": [ | |
"string" | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment