{
    "format": "csv",
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/dim_fin_label_label_schema.json",
    "type": "object",
    "title": "GRAS DIM Financial Label Label Schema",
    "required": [
        "financ_label_key",
        "client_key",
        "financ_profit_center_key",
        "mod_stamp",
        "mod_flag",
        "mod_user"
    ],
    "properties": {
        "financ_label_key": {
            "$id": "#/properties/financ_label_key",
            "type": "string",
            "title": "Financial Label Key",
            "pattern": "^[A-Z0-9]{4}$"
        },
        "client_key": {
            "$id": "#/properties/client_key",
            "type": "string",
            "title": "Client Key",
            "pattern": "^[A-Z0-9]{4}$"
        },
        "financ_profit_center_key": {
            "$id": "#/properties/financ_profit_center_key",
            "type": "string",
            "title": "Financial Profit Center Key",
            "pattern": "^[A-Z0-9]{4}$"
        },
        "mod_stamp": {
            "$id": "#/properties/mod_stamp",
            "type": "string",
            "title": "Modification Timestamp",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$",
            "description": "The timestamp when the record was last modified, in UTC."
        },
        "mod_flag": {
            "$id": "#/properties/mod_flag",
            "type": "string",
            "title": "Modification Flag",
            "enum": ["I", "U", "D"],
            "description": "A flag indicating the type of modification. 'I' for Insert, 'U' for Update, and 'D' for Delete."
        },
        "mod_user": {
            "$id": "#/properties/mod_user",
            "type": "string",
            "title": "Modification User",
            "pattern": "^[A-Z0-9]{8}$"
        }
    }
}
