{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-deadline-cloud/json-schema/amazon-deadline-cloud-create-queue-environment-request-schema.json",
  "title": "CreateQueueEnvironmentRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-deadline-cloud-environments-api-openapi.yml#/components/schemas/CreateQueueEnvironmentRequest",
  "type": "object",
  "properties": {
    "farmId": {
      "type": "string",
      "description": "The farm ID of the farm to connect to the environment."
    },
    "queueId": {
      "type": "string",
      "description": "The queue ID to connect the queue and environment."
    },
    "clientToken": {
      "type": "string",
      "description": "The unique token which the server uses to recognize retries of the same request."
    },
    "priority": {
      "type": "integer",
      "description": "Sets the priority of the environments in the queue from 0 to 10,000, where 0 is the highest priority (activated first and deactivated last). If two environments share the same priority value, the environment created first takes higher priority."
    },
    "templateType": {
      "type": "string",
      "enum": [
        "JSON",
        "YAML"
      ],
      "description": "The template's file type, JSON or YAML."
    },
    "template": {
      "type": "string",
      "description": "The environment template to use in the queue."
    }
  },
  "required": [
    "farmId",
    "queueId",
    "priority",
    "templateType",
    "template"
  ]
}