{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-deadline-cloud/json-schema/amazon-deadline-cloud-create-storage-profile-request-schema.json",
  "title": "CreateStorageProfileRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-deadline-cloud-storage-profiles-api-openapi.yml#/components/schemas/CreateStorageProfileRequest",
  "type": "object",
  "properties": {
    "farmId": {
      "type": "string",
      "description": "The farm ID of the farm to connect to the storage profile."
    },
    "clientToken": {
      "type": "string",
      "description": "The unique token which the server uses to recognize retries of the same request."
    },
    "displayName": {
      "type": "string",
      "description": "The display name of the storage profile. This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field."
    },
    "osFamily": {
      "type": "string",
      "enum": [
        "WINDOWS",
        "LINUX",
        "MACOS"
      ],
      "description": "The type of operating system (OS) for the storage profile."
    },
    "fileSystemLocations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FileSystemLocation"
      },
      "description": "File system paths to include in the storage profile."
    }
  },
  "required": [
    "farmId",
    "displayName",
    "osFamily"
  ],
  "$defs": {
    "FileSystemLocation": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The location name."
        },
        "path": {
          "type": "string",
          "description": "The file path."
        },
        "type": {
          "type": "string",
          "enum": [
            "SHARED",
            "LOCAL"
          ],
          "description": "The type of file."
        }
      },
      "required": [
        "name",
        "path",
        "type"
      ]
    }
  }
}