{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-openai/json-schema/microsoft-azure-openai-batch-create-request-schema.json",
  "title": "BatchCreateRequest",
  "description": "Defines the request to create a batch.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-openai-batch-api-openapi.yml#/components/schemas/BatchCreateRequest",
  "required": [
    "input_file_id",
    "endpoint",
    "completion_window"
  ],
  "type": "object",
  "properties": {
    "input_file_id": {
      "description": "The ID if the input file for the batch.",
      "minLength": 1,
      "type": "string"
    },
    "endpoint": {
      "description": "The API endpoint used by the batch.",
      "type": "string"
    },
    "completion_window": {
      "description": "The time frame within which the batch should be processed.",
      "type": "string"
    },
    "metadata": {
      "description": "A set of key-value pairs that can be attached to the batch. This can be useful for storing additional information about the batch in a structured format.",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}