{
    "format": "csv",
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/sap_company_schema.json",
    "type": "object",
    "title": "SAP Company Data Schema",
    "required": [
        "sap_company_key",
        "sap_company_name",
        "sap_country_key",
        "mod_stamp",
        "mod_flag"
    ],
    "properties": {
        "sap_company_key": {
            "$id": "#/properties/sap_company_key",
            "type": "string",
            "title": "SAP Company Key",
            "pattern": "^(.*)$"
        },
        "sap_company_name": {
            "$id": "#/properties/sap_company_name",
            "type": "string",
            "title": "SAP Company Name",
            "pattern": "^(.*)$"
        },
        "sap_country_key": {
            "$id": "#/properties/sap_country_key",
            "type": "string",
            "title": "SAP Country Key",
            "pattern": "^(.*)$"
        },
        "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"],
            "default": "I",
            "description": "A flag indicating the type of modification. 'I' for Insert, 'U' for Update, and 'D' for Delete."
        }
    }
}
