{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ai-foundry/json-schema/azure-ai-foundry-analyze-request-schema.json",
  "title": "AnalyzeRequest",
  "description": "Analyze operation request.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/azure-ai-foundry-analyzers-api-openapi.yml#/components/schemas/AnalyzeRequest",
  "type": "object",
  "properties": {
    "inputs": {
      "type": "array",
      "description": "Inputs to analyze.  Currently, only pro mode supports multiple inputs.",
      "items": {
        "$ref": "#/$defs/AnalysisInput"
      }
    },
    "modelDeployments": {
      "type": "object",
      "description": "Specify the default mapping of model names to LLM/embedding deployments in Microsoft Foundry. For details and current semantics, see https://aka.ms/cudoc-quickstart-rest.",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "inputs"
  ],
  "$defs": {
    "AnalysisInput": {
      "type": "object",
      "description": "Additional input to analyze.",
      "properties": {
        "url": {
          "type": "string",
          "format": "uri",
          "description": "The URL of the input to analyze.  Only one of url or data should be specified."
        },
        "data": {
          "type": "string",
          "format": "byte",
          "description": "Base64-encoded binary content of the input to analyze.  Only one of url or data should be specified."
        },
        "name": {
          "type": "string",
          "description": "Name of the input."
        },
        "mimeType": {
          "type": "string",
          "description": "The MIME type of the input content.  Ex. application/pdf, image/jpeg, etc."
        },
        "range": {
          "$ref": "#/$defs/RangeExpression",
          "description": "Range of the input to analyze (ex. `1-3,5,9-`).  Document content uses 1-based page numbers, while audio visual content uses integer milliseconds."
        }
      }
    },
    "RangeExpression": {
      "type": "string",
      "description": "  Range expression for specifying parts of the input to analyze (ex. `1-3,5,9-`).\n  Document content uses 1-based page numbers, while audio visual content uses integer milliseconds."
    }
  }
}