{
    "additionalProperties": false,
    "description": "Schema for a write to a storage sink failing",
    "properties": {
        "failureCount": {
            "maximum": 2147483647,
            "minimum": 0,
            "type": "integer"
        },
        "initialFailureTime": {
            "maximum": 9223372036854776000,
            "minimum": 0,
            "type": "integer"
        },
        "lastRetryPeriod": {
            "maximum": 9223372036854776000,
            "minimum": 0,
            "type": "integer"
        },
        "message": {
            "type": [
                "string",
                "null"
            ]
        },
        "storage": {
            "enum": [
                "AMAZON_S3",
                "ELASTICSEARCH"
            ]
        }
    },
    "self": {
        "format": "jsonschema",
        "name": "storage_write_failed",
        "vendor": "com.snowplowanalytics.monitoring.kinesis",
        "version": "1-0-0"
    },
    "type": "object"
}