{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/intersight/json-schema/intersight-boot-precision-policy-schema.json",
  "title": "Boot Order",
  "description": "The Boot PrecisionPolicy object is a reusable policy that defines a precise and ordered list of bootable devices for a server. It supports both UEFI and Legacy boot modes and provides granular control over the boot sequence.\n#### Purpose\nThe primary purpose of this policy is to automate and enforce a specific boot order on servers. It is critical for ensuring that servers boot from the correct media, whether it is a local disk, a SAN LUN, a PXE server, or a virtual media device. By using a policy, administrators can guarantee consistent boot behavior for servers assigned to a Server Profile.\n#### Key Concepts\n- **UEFI and Legacy Support:** The policy allows administrators to specify the desired boot mode (Uefi or Legacy) and whether to enforce UEFI Secure Boot.\n- **Ordered Device List:** It contains an ordered list of boot devices, where each entry specifies the device type (e.g., LocalDisk, Pxe, San, Nvme) and its specific configuration.\n- **Profile-Based Application:** The policy is attached to a Server Profile to apply the defined boot order to a physical server.\n- **Reboot Required:** Changes to the boot order policy are flagged with ActivationRequiresReboot, as a server reboot is necessary to apply the new boot sequence.\n- **Dependent on Connectivity Policies:** The policy's effectiveness can depend on other policies, such as LAN and SAN connectivity policies, which configure the network interfaces used for PXE or SAN booting.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/intersight-boot-api-openapi.yml#/components/schemas/boot.PrecisionPolicy",
  "x-allOf-name": "boot.PrecisionPolicy",
  "allOf": [
    {
      "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/policy.AbstractPolicy"
    },
    {
      "type": "object",
      "description": "Definition of the list of properties defined in 'boot.PrecisionPolicy', excluding properties defined in parent classes.",
      "required": [
        "ClassId",
        "ObjectType"
      ],
      "properties": {
        "ClassId": {
          "description": "The fully-qualified name of the instantiated, concrete type.\nThis property is used as a discriminator to identify the type of the payload\nwhen marshaling and unmarshaling data.",
          "enum": [
            "boot.PrecisionPolicy"
          ],
          "default": "boot.PrecisionPolicy",
          "x-enum-as-string": true
        },
        "ObjectType": {
          "description": "The fully-qualified name of the instantiated, concrete type.\nThe value should be the same as the 'ClassId' property.",
          "enum": [
            "boot.PrecisionPolicy"
          ],
          "default": "boot.PrecisionPolicy",
          "x-enum-as-string": true
        },
        "BootDevices": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "description": "Set of boot devices to be configured.",
            "$ref": "#/$defs/boot.DeviceBase",
            "x-omitempty": true
          },
          "minItems": 0,
          "maxItems": 255
        },
        "ConfiguredBootMode": {
          "description": "Sets the BIOS boot mode. UEFI uses the GUID Partition Table (GPT) whereas Legacy mode uses the MBR partitioning scheme. Unified Edge servers support only UEFI boot mode. Legacy mode is not supported on these platforms. To apply this setting, Please reboot the server.\n* `Uefi` - UEFI mode uses the GUID Partition Table (GPT) to locate EFI Service Partitions to boot from.\n* `Legacy` - Legacy mode refers to the traditional process of booting from BIOS. Legacy mode uses the MBR to locate the bootloader. Not supported on Unified Edge Server.",
          "type": "string",
          "enum": [
            "Uefi",
            "Legacy"
          ],
          "default": "Uefi",
          "x-omitempty": true
        },
        "EnableBootMigrationSupport": {
          "description": "Flag to denote if migration is enabled for the boot devices.",
          "type": "boolean",
          "x-omitempty": true
        },
        "EnforceUefiSecureBoot": {
          "description": "If UEFI secure boot is enabled, the boot mode is set to UEFI by default. Secure boot enforces that device boots using only software that is trusted by the Original Equipment Manufacturer (OEM).",
          "type": "boolean",
          "default": false,
          "x-omitempty": true
        },
        "Organization": {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/organization.Organization.Relationship",
          "description": "A reference to a organizationOrganization resource.\nWhen the $expand query parameter is specified, the referenced resource is returned inline.",
          "x-createOnly": true
        },
        "Profiles": {
          "deprecated": true,
          "x-sunset": "2028-03-01",
          "description": "An array of relationships to policyAbstractConfigProfile resources.",
          "type": [
            "array",
            "null"
          ],
          "items": {
            "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/policy.AbstractConfigProfile.Relationship"
          }
        }
      }
    }
  ],
  "$defs": {
    "boot.DeviceBase": {
      "title": "Boot:Device Base",
      "description": "Lists properties that are common to all device types. It serves as base class for other device types.",
      "x-allOf-name": "boot.DeviceBase",
      "allOf": [
        {
          "$ref": "intersight-system-v3-1.0.11-20260807064027971.json#/components/schemas/mo.BaseComplexType"
        },
        {
          "type": "object",
          "description": "Definition of the list of properties defined in 'boot.DeviceBase', excluding properties defined in parent classes.",
          "required": [
            "ClassId",
            "ObjectType"
          ],
          "properties": {
            "ClassId": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThis property is used as a discriminator to identify the type of the payload\nwhen marshaling and unmarshaling data.\nThe enum values provides the list of concrete types that can be instantiated from this abstract type.",
              "enum": [
                "boot.FlexMmc",
                "boot.Http",
                "boot.Iscsi",
                "boot.LocalCdd",
                "boot.LocalDisk",
                "boot.Nvme",
                "boot.PchStorage",
                "boot.Pxe",
                "boot.San",
                "boot.SdCard",
                "boot.UefiShell",
                "boot.Usb",
                "boot.VirtualMedia"
              ],
              "x-enum-as-string": true
            },
            "ObjectType": {
              "description": "The fully-qualified name of the instantiated, concrete type.\nThe value should be the same as the 'ClassId' property.\nThe enum values provides the list of concrete types that can be instantiated from this abstract type.",
              "enum": [
                "boot.FlexMmc",
                "boot.Http",
                "boot.Iscsi",
                "boot.LocalCdd",
                "boot.LocalDisk",
                "boot.Nvme",
                "boot.PchStorage",
                "boot.Pxe",
                "boot.San",
                "boot.SdCard",
                "boot.UefiShell",
                "boot.Usb",
                "boot.VirtualMedia"
              ],
              "x-enum-as-string": true
            },
            "Enabled": {
              "description": "Specifies if the boot device is enabled or disabled.",
              "type": "boolean",
              "default": false,
              "x-omitempty": true
            },
            "Name": {
              "description": "A name that helps identify a boot device. It can be any string that adheres to the following constraints. It should start and end with an alphanumeric character. It can have underscores and hyphens. It cannot be more than 30 characters. It cannot be a reserved keyword. However, it can be used in conjunction with other letters, numbers, underscores, and hyphens (EU_CDROM-3, etc.). Reserved words include - all, ALL, CDROM, EFI, EOD, FDD, HDD, HDDANY, HTTP, ISCSI, ISCSIANY, LOCALCDD, LOCALHDD, NULL, NVME, NVMEANY, PCHSTORAGE, PCHSTORANY, PXE, SAN, SANANY, SDANY, SDCARD, UEFISHELL, USB, USBCD, USBFDD, USBHDD, VMCIMCCD, VMCIMCHDD, VMEDIA, VMFDD, VMKVMCD, VMKVMHDD.",
              "type": "string",
              "pattern": "((^[a-zA-Z0-9]$){1,30}|(^(([a-zA-Z0-9])([a-zA-Z0-9_\\-]{0,28})([a-zA-Z0-9]))$))",
              "x-omitempty": true
            }
          }
        }
      ]
    }
  }
}