[
    {
        "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": "prompt",
        "type": "STRING",
        "description": "Prompt string asked to the LLM",
        "mode": "NULLABLE"
    },
    {
        "name": "brand",
        "type": "STRING",
        "description": "The brand that owns this rank",
        "mode": "NULLABLE"
    },
    {
        "name": "sentiment",
        "type": "INTEGER",
        "description": "Sentiment of LLM response[1-100]",
        "mode": "NULLABLE"
    },
    {
        "name": "related_prompts",
        "type": "STRING",
        "description": "Related prompts",
        "mode": "REPEATED"
    },
    {
        "name": "prompt_response",
        "type": "STRING",
        "description": "The response from the LLM",
        "mode": "NULLABLE"
    },
    {
        "name": "text_indexes",
        "type": "RECORD",
        "description": "Text indexes in the prompt response related to this brand",
        "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"
    },
    {
        "name": "brand_name_start_indexes",
        "type": "INTEGER",
        "description": "The text indexes of the first character of the brand names found in the prompt response",
        "mode": "REPEATED"
    },
    {
        "name": "prompt_response_length",
        "type": "INTEGER",
        "description": "The length of the full prompt response",
        "mode": "NULLABLE"
    }
]