{
    "format": "csv",
    "definitions": {},
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "http://example.com/song_participant_schema.json",
    "type": "object",
    "title": "Song Participant Data Schema",
    "required": [
        "song_no",
        "particip_no",
        "id_no",
        "task_type_key",
        "seq_no",
        "link_word_key",
        "associated_to",
        "is_primary_artist",
        "do_not_display_flag",
        "deliv_mod_task_type_flag",
        "mod_stamp",
        "mod_flag"
    ],
    "properties": {
        "song_no": {
            "$id": "#/properties/song_no",
            "type": "string",
            "title": "Song Number",
            "pattern": "^(.*)$"
        },
        "particip_no": {
            "$id": "#/properties/particip_no",
            "type": "string",
            "title": "Participant Number",
            "pattern": "^(.*)$"
        },
        "id_no": {
            "$id": "#/properties/id_no",
            "type": "string",
            "title": "ID Number",
            "pattern": "^(.*)$"
        },
        "task_type_key": {
            "$id": "#/properties/task_type_key",
            "type": "string",
            "title": "Task Type Key",
            "pattern": "^(.*)$"
        },
        "seq_no": {
            "$id": "#/properties/seq_no",
            "type": "integer",
            "title": "Sequence Number",
            "description": "The order of the participant in relation to the song."
        },
        "link_word_key": {
            "$id": "#/properties/link_word_key",
            "type": "string",
            "title": "Link Word Key",
            "pattern": "^(.*)$"
        },
        "associated_to": {
            "$id": "#/properties/associated_to",
            "type": "string",
            "title": "Associated To",
            "pattern": "^(.*)$"
        },
        "is_primary_artist": {
            "$id": "#/properties/is_primary_artist",
            "type": "boolean",
            "title": "Is Primary Artist",
            "description": "Indicates whether the participant is the primary artist (true or false)."
        },
        "do_not_display_flag": {
            "$id": "#/properties/do_not_display_flag",
            "type": "boolean",
            "title": "Do Not Display Flag",
            "description": "Indicates whether the participant should not be displayed (true or false)."
        },
        "deliv_mod_task_type_flag": {
            "$id": "#/properties/deliv_mod_task_type_flag",
            "type": "boolean",
            "title": "Delivery Modification Task Type Flag",
            "description": "Indicates a specific flag for delivery modification task type (true or false)."
        },
        "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."
        }
    }
}
