{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dbt-se/json-schema/dbt-se-get-excel-request-body-schema.json",
  "title": "GetExcelRequestBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dbt-se-files-api-openapi.yml#/components/schemas/GetExcelRequestBody",
  "type": "object",
  "properties": {
    "columns": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "rows": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "dateString": {
                  "type": "string"
                },
                "day": {
                  "type": "number"
                },
                "monthIndex": {
                  "type": "number"
                },
                "timeZone": {
                  "type": "string"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "date"
                  ]
                },
                "year": {
                  "type": "number"
                }
              },
              "required": [
                "dateString",
                "day",
                "monthIndex",
                "timeZone",
                "type",
                "year"
              ]
            },
            {
              "type": "object",
              "properties": {
                "format": {
                  "type": "object",
                  "properties": {
                    "maximumFractionDigits": {
                      "type": "number",
                      "minimum": 0
                    },
                    "minimumFractionDigits": {
                      "type": "number",
                      "minimum": 0
                    }
                  }
                },
                "number": {
                  "type": "number"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "number"
                  ]
                }
              },
              "required": [
                "number",
                "type"
              ]
            },
            {
              "type": "object",
              "properties": {
                "string": {
                  "type": "string"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "string"
                  ]
                }
              },
              "required": [
                "string",
                "type"
              ]
            },
            {
              "type": "object",
              "properties": {
                "amount": {
                  "type": "string"
                },
                "currency": {
                  "type": "string"
                },
                "format": {
                  "type": "object",
                  "properties": {
                    "notation": {
                      "type": "string",
                      "enum": [
                        "scientific",
                        "engineering",
                        "compact"
                      ]
                    },
                    "roundingPriority": {
                      "type": "string",
                      "enum": [
                        "morePrecision",
                        "lessPrecision"
                      ]
                    }
                  }
                },
                "numericAmount": {
                  "type": "number"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "currency"
                  ]
                }
              },
              "required": [
                "amount",
                "currency",
                "numericAmount",
                "type"
              ]
            },
            {
              "type": "object",
              "properties": {
                "format": {
                  "type": "object",
                  "properties": {
                    "maximumFractionDigits": {
                      "type": "number",
                      "minimum": 0
                    },
                    "maximumIntegerDigits": {
                      "type": "number",
                      "minimum": 0
                    },
                    "minimumFractionDigits": {
                      "type": "number",
                      "minimum": 0
                    },
                    "minimumIntegerDigits": {
                      "type": "number",
                      "minimum": 0
                    }
                  }
                },
                "percentageAsFraction": {
                  "type": "number"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "percent"
                  ]
                }
              },
              "required": [
                "percentageAsFraction",
                "type"
              ]
            },
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "rowFormats": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "fill": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "positive",
              "negative",
              null
            ]
          },
          "outlineLevel": {
            "type": "integer",
            "minimum": 0,
            "maximum": 7
          }
        },
        "required": [
          "fill",
          "outlineLevel"
        ]
      }
    }
  },
  "required": [
    "columns",
    "rows"
  ]
}