[
    {
        "name": "prompt_id",
        "type": "INTEGER",
        "description": "Prompt ID",
        "mode": "NULLABLE"
    },
    {
        "name": "brand_id",
        "type": "INTEGER",
        "description": "Brand ID",
        "mode": "NULLABLE"
    },
    {
        "name": "search_date",
        "type": "DATE",
        "description": "Search date",
        "mode": "NULLABLE"
    },
    {
        "name": "rank",
        "type": "INTEGER",
        "description": "Rank of brand mentioned in prompt response",
        "mode": "NULLABLE"
    },
    {
        "name": "url",
        "type": "STRING",
        "description": "URL of the source link",
        "mode": "NULLABLE"
    },
    {
        "name": "title",
        "type": "STRING",
        "description": "Title of the source if available",
        "mode": "NULLABLE"
    },
    {
        "name": "prompt",
        "type": "STRING",
        "description": "Prompt string asked to the LLM",
        "mode": "NULLABLE"
    },
    {
        "name": "text_indexes",
        "type": "RECORD",
        "description": "Text indexes in the prompt response related to this source",
        "mode": "REPEATED",
        "fields": [
            {
                "name": "start",
                "type": "INTEGER",
                "description": null,
                "mode": "NULLABLE"
            },
            {
                "name": "end",
                "type": "INTEGER",
                "description": null,
                "mode": "NULLABLE"
            }
        ]
    },
    {
        "name": "search_engine",
        "type": "STRING",
        "description": "The search engine/LLM used",
        "mode": "NULLABLE"
    }
]