{
    "format": "csv",
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/root.json",
    "type": "object",
    "title": "Gras repertoire_owner_hierarchy Schema",
    "required": [
        "rep_owner_key",
        "label_key",
        "label_ext",
        "profit_center_key",
        "parent_rep_owner_key",
        "is_repertoire_owner",
        "is_profit_center",
        "is_parent_rep_owner",
        "main_source",
        "mod_stamp",
        "mod_flag_pc",
        "mod_flag_pro",
        "mod_flag_ro"
    ],
    "properties": {
        "rep_owner_key": {
            "$id": "#/properties/rep_owner_key",
            "type": "string",
            "title": "rep_owner_key",
            "default": "",
            "examples": [
                "B961"
            ],
            "pattern": "^[A-Z0-9]*$"
        },
        "label_ext": {
            "$id": "#/properties/label_ext",
            "type": "string",
            "title": "label_ext",
            "default": "",
            "examples": [
                "890"
            ],
            "pattern": "^[0-9]*$"
        },
        "profit_center_key": {
            "$id": "#/properties/profit_center_key",
            "type": "string",
            "title": "profit_center_key",
            "default": "",
            "examples": [
                "R890"
            ],
            "pattern": "^[A-Z0-9]*$"
        },
        "parent_rep_owner_key": {
            "$id": "#/properties/parent_rep_owner_key",
            "type": "string",
            "title": "parent_rep_owner_key",
            "default": "",
            "examples": [
                "G890"
            ],
            "pattern": "^[A-Z0-9]*$"
        },
        "is_repertoire_owner": {
            "$id": "#/properties/is_repertoire_owner",
            "type": "string",
            "title": "is_repertoire_owner",
            "default": "",
            "examples": [
                "0"
            ],
            "pattern": "^[0-1]$"
        },
        "is_profit_center": {
            "$id": "#/properties/is_profit_center",
            "type": "string",
            "title": "is_profit_center",
            "default": "",
            "examples": [
                "0"
            ],
            "pattern": "^[0-1]$"
        },
        "is_parent_rep_owner": {
            "$id": "#/properties/is_parent_rep_owner",
            "type": "string",
            "title": "is_parent_rep_owner",
            "default": "",
            "examples": [
                "0"
            ],
            "pattern": "^[0-1]$"
        },
        "is_maint_owner": {
            "$id": "#/properties/is_maint_owner",
            "type": "string",
            "title": "is_maint_owner",
            "default": "",
            "examples": [
                "0"
            ],
            "pattern": "^[0-1]$"
        },
        "label_key": {
            "$id": "#/properties/label_key",
            "type": "string",
            "title": "label_key",
            "default": "",
            "examples": [],
            "pattern": "^(.*)$"
        },
        "is_active_pa_repown_flag": {
            "$id": "#/properties/is_active_pa_repown_flag",
            "type": "string",
            "title": "is_active_pa_repown_flag",
            "default": "",
            "examples": [
                "Y",
                "N"
            ],
            "pattern": "^(.+)$"
        },
        "is_active_pj_repown_flag": {
            "$id": "#/properties/is_active_pj_repown_flag",
            "type": "string",
            "title": "is_active_pj_repown_flag",
            "default": "",
            "examples": [
                "Y",
                "N"
            ],
            "pattern": "^(.+)$"
        },
        "is_active_pr_repown_flag": {
            "$id": "#/properties/is_active_pr_repown_flag",
            "type": "string",
            "title": "is_active_pr_repown_flag",
            "default": "",
            "examples": [
                "Y",
                "N"
            ],
            "pattern": "^(.*)$"
        },
        "is_active_tr_repown_flag": {
            "$id": "#/properties/is_active_tr_repown_flag",
            "type": "string",
            "title": "is_active_tr_repown_flag",
            "default": "",
            "examples": [
                "Y",
                "N"
            ],
            "pattern": "^(.*)$"
        },
        "is_particip_rep_owner": {
            "$id": "#/properties/is_particip_rep_owner",
            "type": "string",
            "title": "is_particip_rep_owner",
            "default": "",
            "examples": [
                "Y",
                "N"
            ],
            "pattern": "^(.+)$"
        },
        "is_prod_rep_owner": {
            "$id": "#/properties/is_prod_rep_owner",
            "type": "string",
            "title": "is_prod_rep_owner",
            "default": "",
            "examples": [
                "Y",
                "N"
            ],
            "pattern": "^(.+)$"
        },
        "is_rec_project_rep_owner": {
            "$id": "#/properties/is_rec_project_rep_owner",
            "type": "string",
            "title": "is_rec_project_rep_owner",
            "default": "",
            "examples": [
                "Y",
                "N"
            ],
            "pattern": "^(.+)$"
        },
        "is_track_rep_owner": {
            "$id": "#/properties/is_track_rep_owner",
            "type": "string",
            "title": "is_track_rep_owner",
            "default": "",
            "examples": [
                "Y",
                "N"
            ],
            "pattern": "^(.+)$"
        },
        "rights_reversion_date": {
            "$id": "#/properties/rights_reversion_date",
            "type": "string",
            "title": "rights_reversion_date",
            "default": "",
            "examples": [
                "20190101"
            ],
            "pattern": "^[0-9]{8}$"
        },
        "mod_stamp": {
            "$id": "#/properties/mod_stamp",
            "type": "string",
            "title": "mod_stamp",
            "examples": [
                "1995-12-12 10:08:34.227",
                "1995-12-12 10:08:34.227"
            ],
            "pattern": "\\d{4}-\\d{2}-\\d{2}\\s\\d{2}:\\d{2}:\\d{2}\\.\\d+"
        },
        "mod_flag_pc": {
            "$id": "#/properties/mod_flag_pc",
            "type": "string",
            "title": "mod_flag_pc",
            "examples": [
                "l"
            ],
            "pattern": "^[A-Za-z]{1}$"
        },
        "mod_flag_pro": {
            "$id": "#/properties/mod_flag_pro",
            "type": "string",
            "title": "mod_flag_pro",
            "examples": [
                "l"
            ],
            "pattern": "^[A-Za-z]{1}$"
        },
        "mod_flag_ro": {
            "$id": "#/properties/mod_flag_ro",
            "type": "string",
            "title": "mod_flag_ro",
            "examples": [
                "l"
            ],
            "pattern": "^[A-Za-z]{1}$"
        }
    }
}
