{
    "format": "csv",
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/gras_product_country_schema.json",
    "type": "object",
    "title": "GRAS Product Country Data Schema",
    "required": [
        "prod_no",
        "country_key",
        "loc_release_date",
        "prod_manager",
        "company_key",
        "additional_info_tid",
        "xrate_key",
        "sap_profit_center_key",
        "sap_company_key",
        "omit_from_sap_upds",
        "vod_type_key",
        "mod_stamp",
        "mod_flag"
    ],
    "properties": {
        "prod_no": {
            "$id": "#/properties/prod_no",
            "type": "string",
            "title": "Product Number",
            "pattern": "^(.*)$"
        },
        "country_key": {
            "$id": "#/properties/country_key",
            "type": "string",
            "title": "Country Key",
            "pattern": "^(.*)$"
        },
        "loc_release_date": {
            "$id": "#/properties/loc_release_date",
            "type": "string",
            "title": "Local Release Date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "The local release date of the product, in YYYY-MM-DD format."
        },
        "prod_manager": {
            "$id": "#/properties/prod_manager",
            "type": "string",
            "title": "Product Manager",
            "pattern": "^(.*)$"
        },
        "company_key": {
            "$id": "#/properties/company_key",
            "type": "string",
            "title": "Company Key",
            "pattern": "^(.*)$"
        },
        "additional_info_tid": {
            "$id": "#/properties/additional_info_tid",
            "type": "string",
            "title": "Additional Info TID",
            "pattern": "^(.*)$"
        },
        "xrate_key": {
            "$id": "#/properties/xrate_key",
            "type": "string",
            "title": "Exchange Rate Key",
            "pattern": "^(.*)$"
        },
        "sap_profit_center_key": {
            "$id": "#/properties/sap_profit_center_key",
            "type": "string",
            "title": "SAP Profit Center Key",
            "pattern": "^(.*)$"
        },
        "sap_company_key": {
            "$id": "#/properties/sap_company_key",
            "type": "string",
            "title": "SAP Company Key",
            "pattern": "^(.*)$"
        },
        "omit_from_sap_upds": {
            "$id": "#/properties/omit_from_sap_upds",
            "type": "boolean",
            "title": "Omit from SAP Updates",
            "description": "Indicates whether the product should be omitted from SAP updates (true or false)."
        },
        "vod_type_key": {
            "$id": "#/properties/vod_type_key",
            "type": "string",
            "title": "VOD Type 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."
        }
    }
}
