{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "captureObj",
    "description": "Used to log details associated with a capture",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "storedJpgSize": {
            "type": "number",
            "description": "Size in bytes of the JPG file(s)"
        },
        "storedRawSize": {
            "type": "number",
            "description": "Size in bytes of the RAW file(s)"
        },
        "totalCaptureSize": {
            "type": "number",
            "description": "Size in bytes of all pictures captured (SUM storedJpgSize and storedRawSize)"
        },
        "scriptStartDate": {
            "type": [
                "string",
                "null"
            ],
            "description": "Record when the capture script started"
        },
        "scriptEndDate": {
            "type": [
                "string",
                "null"
            ],
            "description": "Record when the capture script ended"
        },
        "scriptRuntime": {
            "type": [
                "number",
                "null"
            ],
            "description": "In miliseconds, record script runtime"
        },
        "processedPicturesCount": {
            "type": "number",
            "description": "Number of pictures captued, in some situations multiple files might be processed in batch"
        },
        "captureSuccess": {
            "type": [
                "boolean",
                "null"
            ],
            "description": "Record if capture was successful"
        },
        "captureDate": {
            "type": [
                "string",
                "null"
            ],
            "description": "Date of the capture"
        }
    }
}