{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-deadline-cloud/json-schema/amazon-deadline-cloud-associate-member-to-job-request-schema.json",
  "title": "AssociateMemberToJobRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-deadline-cloud-members-api-openapi.yml#/components/schemas/AssociateMemberToJobRequest",
  "type": "object",
  "properties": {
    "farmId": {
      "type": "string",
      "description": "The farm ID of the job to associate with the member."
    },
    "queueId": {
      "type": "string",
      "description": "The queue ID to associate to the member."
    },
    "jobId": {
      "type": "string",
      "description": "The job ID to associate with the member."
    },
    "principalType": {
      "type": "string",
      "enum": [
        "USER",
        "GROUP"
      ],
      "description": "The member's principal type to associate with the job."
    },
    "identityStoreId": {
      "type": "string",
      "description": "The member's identity store ID to associate with the job."
    },
    "membershipLevel": {
      "type": "string",
      "enum": [
        "VIEWER",
        "CONTRIBUTOR",
        "OWNER",
        "MANAGER"
      ],
      "description": "The principal's membership level for the associated job."
    },
    "principalId": {
      "type": "string",
      "description": "The member's principal ID to associate with the job."
    },
    "identityCenterRegion": {
      "type": "string",
      "description": "The Region of the IAM Identity Center instance. If not provided, the service defaults to the Region of the farm."
    }
  },
  "required": [
    "farmId",
    "queueId",
    "jobId",
    "principalType",
    "identityStoreId",
    "membershipLevel",
    "principalId"
  ]
}