{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ai-foundry/json-schema/azure-ai-foundry-model-copy-authorization-schema.json",
  "title": "ModelCopyAuthorization",
  "description": "Authorization to copy a document model to the specified target resource and\nmodelId.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ai-foundry-document-models-api-openapi.yml#/components/schemas/ModelCopyAuthorization",
  "type": "object",
  "properties": {
    "targetResourceId": {
      "type": "string",
      "description": "ID of the target Azure resource where the document model should be copied to."
    },
    "targetResourceRegion": {
      "type": "string",
      "description": "Location of the target Azure resource where the document model should be copied\nto."
    },
    "targetModelId": {
      "type": "string",
      "description": "Identifier of the target document model.",
      "pattern": "^[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}$"
    },
    "targetModelLocation": {
      "type": "string",
      "format": "uri",
      "description": "URL of the copied document model in the target account."
    },
    "accessToken": {
      "type": "string",
      "description": "Token used to authorize the request."
    },
    "expirationDateTime": {
      "type": "string",
      "format": "date-time",
      "description": "Date/time when the access token expires."
    }
  },
  "required": [
    "targetResourceId",
    "targetResourceRegion",
    "targetModelId",
    "targetModelLocation",
    "accessToken",
    "expirationDateTime"
  ]
}