{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "title": "localize_entity_finished_event",
    "description": "Localize entity finished event schema.",
    "additionalProperties": false,
    "required": [
        "service_id",
        "entity_type",
        "entity_id",
        "skipped_language_tags",
        "processed_language_tags"
    ],
    "properties": {
        "service_id": {
            "type": "string",
            "minLength": 1,
            "pattern": "^$|.*\\S.*",
            "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
        },
        "entity_type": {
            "type": "string",
            "minLength": 1,
            "pattern": "^$|.*\\S.*",
            "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
        },
        "entity_id": {
            "type": "string",
            "minLength": 1,
            "pattern": "^$|.*\\S.*",
            "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
        },
        "skipped_language_tags": {
            "type": "array",
            "description": "An array of language tags that were skipped. This might include tags for the default or not configured locales.",
            "additionalItems": false,
            "items": {
                "type": "string",
                "minLength": 1,
                "pattern": "^$|.*\\S.*",
                "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
            }
        },
        "processed_language_tags": {
            "type": "array",
            "description": "An array of language tags that were used for localization.",
            "additionalItems": false,
            "items": {
                "type": "string",
                "minLength": 1,
                "pattern": "^$|.*\\S.*",
                "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
            }
        }
    }
}
