UNPKG

sra-stix2-validator

Version:
53 lines 2.09 kB
{ "$id": "../observables/directory.json", "$schema": "http://json-schema.org/draft-06/schema#", "title": "directory", "description": "The Directory Object represents the properties common to a file system directory.", "type": "object", "allOf": [ { "$ref": "../common/cyber-observable-core.json" }, { "properties": { "type": { "type": "string", "description": "The value of this property MUST be `directory`.", "const": "directory" }, "path": { "type": "string", "description": "Specifies the path, as originally observed, to the directory on the file system." }, "path_enc": { "type": "string", "pattern": "^[a-zA-Z0-9/\\.+_:-]{2,250}$", "description": "Specifies the observed encoding for the path." }, "created": { "$ref": "../common/timestamp.json", "description": "Specifies the date/time the directory was created." }, "modified": { "$ref": "../common/timestamp.json", "description": "Specifies the date/time the directory was last written to/modified." }, "accessed": { "$ref": "../common/timestamp.json", "description": "Specifies the date/time the directory was last accessed." }, "contains_refs": { "type": "array", "description": "Specifies a list of references to other File and/or Directory Objects contained within the directory.", "items": { "type": "string" }, "minItems": 1 } }, "required": [ "path" ] } ] }