{
  "name": "OpenAI_API_Pricing_Schema",
  "type": "object",
  "properties": {
    "patternProperties": {
      "^.+$": {
        "type": "object",
        "properties": {
          "pricing_table_schema": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "columns"
            ]
          },
          "pricing_table": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "Model": {
                  "type": "string"
                },
                "Input": {
                  "type": "string"
                },
                "Alternate Model Names": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "Model",
                "Input"
              ]
            }
          },
          "extras": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "pricing_table_schema-Batch": {
            "type": "object",
            "properties": {
              "columns": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "columns"
            ]
          },
          "pricing_table-Batch": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "Model": {
                  "type": "string"
                },
                "Input": {
                  "type": "string"
                },
                "Alternate Model Names": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              },
              "required": [
                "Model",
                "Input"
              ]
            }
          },
          "extras-Batch": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "required": [
          "pricing_table_schema",
          "pricing_table",
          "extras"
        ]
      }
    }
  },
  "additionalProperties": false
}