{
    "additionalProperties": false,
    "description": "Schema for storage loader errors with unknown data, e.g. invalid enriched event",
    "properties": {
        "errors": {
            "description": "Errors that happened when not recognizing the event as an enriched event",
            "items": {
                "type": "string"
            },
            "type": "array"
        },
        "payload": {
            "description": "Data blob which was not recognized as an enriched event by the storage loader",
            "type": "string"
        },
        "processor": {
            "additionalProperties": false,
            "description": "Information about the piece of software responsible for the creation of enrichment failures",
            "properties": {
                "artifact": {
                    "description": "Artifact responsible for the creation of enrichment failures",
                    "maxLength": 512,
                    "type": "string"
                },
                "version": {
                    "description": "Version of the artifact responsible for the creation of enrichment failures",
                    "maxLength": 32,
                    "pattern": "^(\\d+\\.\\d+\\.\\d+.*)$",
                    "type": "string"
                }
            },
            "required": [
                "artifact",
                "version"
            ],
            "type": "object"
        }
    },
    "required": [
        "payload",
        "errors",
        "processor"
    ],
    "self": {
        "format": "jsonschema",
        "name": "loader_parsing_error",
        "vendor": "com.snowplowanalytics.snowplow.badrows",
        "version": "1-0-0"
    },
    "type": "object"
}