{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-logical-device-schema.json",
  "title": "LogicalDevice",
  "description": "Logical Device Model for Chassis",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-chassis-api-openapi.yml#/components/schemas/LogicalDevice",
  "properties": {
    "adminState": {
      "description": "Admin State of the Logical Device. Possible values are 'enabled'/'disabled'",
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "deviceRegistration": {
      "$ref": "#/$defs/DeviceRegistration",
      "type": "object"
    },
    "externalPortLink": {
      "description": "Interface assignment to the Logical Device. Atleast one interface should be assigned",
      "items": {
        "$ref": "#/$defs/ExternalPortLink",
        "type": "object"
      },
      "type": "array"
    },
    "ftdApplicationVersion": {
      "description": "FTD version. This is applicable only for CREATE request",
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "links": {
      "$ref": "#/$defs/ILinks",
      "type": "object"
    },
    "logicalDeviceMode": {
      "type": "string"
    },
    "managementBootstrap": {
      "$ref": "#/$defs/MgmtBootstrap",
      "type": "object"
    },
    "metadata": {
      "$ref": "#/$defs/LogicalDeviceMetadata",
      "type": "object"
    },
    "name": {
      "description": "Logical Device name. This is applicable only for CREATE request",
      "type": "string"
    },
    "operationalState": {
      "type": "string"
    },
    "resourceProfile": {
      "$ref": "#/$defs/ReferenceObject",
      "description": "Resource Profile assigned to the Logical Device",
      "type": "object"
    },
    "type": {
      "type": "string"
    },
    "version": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "DeviceAcessPolicy": {
      "properties": {
        "description": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "metadata": {
          "$ref": "#/$defs/IMetadata",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "DeviceRegistration": {
      "description": "Data required for auto registration. This is applicable only for CREATE request",
      "properties": {
        "accessPolicy": {
          "$ref": "#/$defs/DeviceAcessPolicy",
          "type": "object"
        },
        "deviceGroup": {
          "$ref": "#/$defs/ReferenceObject",
          "type": "object"
        },
        "licenseCaps": {
          "description": "Licenses assigned to the Logical Device",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "platformSettings": {
          "$ref": "#/$defs/ReferenceObject",
          "type": "object"
        }
      },
      "type": "object"
    },
    "DialHost": {
      "properties": {
        "host": {
          "type": "string"
        },
        "port": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "Domain": {
      "description": "The details about the domain.",
      "properties": {
        "id": {
          "description": "Unique UUID of this domain",
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "description": "Links to the domain resource URLs.",
          "type": "object"
        },
        "name": {
          "description": "Name of the domain.",
          "type": "string"
        },
        "type": {
          "description": "Domain type definition (fixed).",
          "type": "string"
        },
        "uuid": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "ExternalPortLink": {
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "portType": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "HealthAlertConfig": {
      "properties": {
        "enabled": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "thresholds": {
          "items": {
            "$ref": "#/$defs/HealthThreshold",
            "type": "object"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "HealthModule": {
      "properties": {
        "alertConfig": {
          "items": {
            "$ref": "#/$defs/HealthAlertConfig",
            "type": "object"
          },
          "type": "array"
        },
        "alertEnabled": {
          "type": "boolean"
        },
        "criticalThreshold": {
          "format": "int32",
          "type": "integer"
        },
        "customThresholds": {
          "items": {
            "$ref": "#/$defs/HealthThreshold",
            "type": "object"
          },
          "type": "array"
        },
        "enabled": {
          "type": "boolean"
        },
        "moduleId": {
          "type": "string"
        },
        "severity": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "warningThreshold": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "HealthSetting": {
      "properties": {
        "alertEvaluationInterval": {
          "format": "int32",
          "type": "integer"
        },
        "certFileContent": {
          "type": "string"
        },
        "certFileName": {
          "type": "string"
        },
        "certFileType": {
          "type": "string"
        },
        "certPassphrase": {
          "type": "string"
        },
        "configType": {
          "type": "string"
        },
        "dataCollectionInterval": {
          "format": "int32",
          "type": "integer"
        },
        "dialInHosts": {
          "items": {
            "$ref": "#/$defs/DialHost",
            "type": "object"
          },
          "type": "array"
        },
        "dialOutHosts": {
          "items": {
            "$ref": "#/$defs/DialHost",
            "type": "object"
          },
          "type": "array"
        },
        "enabledOpenConfig": {
          "type": "boolean"
        },
        "grpcPassword": {
          "type": "string"
        },
        "grpcUsername": {
          "type": "string"
        },
        "readOnly": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "HealthThreshold": {
      "properties": {
        "type": {
          "type": "string"
        },
        "value": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "IAdvanced": {
      "properties": {
        "enableOGS": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "IBaseDevice": {
      "properties": {
        "accessPolicy": {
          "$ref": "#/$defs/IPolicyModel",
          "type": "object"
        },
        "advanced": {
          "$ref": "#/$defs/IAdvanced",
          "type": "object"
        },
        "description": {
          "type": "string"
        },
        "healthMessage": {
          "type": "string"
        },
        "healthPolicy": {
          "$ref": "#/$defs/IHealthPolicy",
          "type": "object"
        },
        "healthStatus": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "metadata": {
          "$ref": "#/$defs/IMetadata",
          "type": "object"
        },
        "model": {
          "type": "string"
        },
        "modelId": {
          "type": "string"
        },
        "modelNumber": {
          "type": "string"
        },
        "modelType": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "role": {
          "type": "string"
        },
        "status": {
          "type": "string"
        },
        "sw_version": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "IDomain": {
      "properties": {
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "IHealthPolicy": {
      "description": "Description of Health Policy.",
      "properties": {
        "basePolicyID": {
          "type": "string"
        },
        "defaultPolicy": {
          "type": "boolean"
        },
        "description": {
          "description": "Description of Health Policy.",
          "type": "string"
        },
        "healthModules": {
          "items": {
            "$ref": "#/$defs/HealthModule",
            "type": "object"
          },
          "type": "array"
        },
        "id": {
          "description": "Unique identifier (UUID) representing the Health policy.",
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "description": "Object containing links to this resource.",
          "type": "object"
        },
        "metadata": {
          "$ref": "#/$defs/IMetadata",
          "description": "Object representing metadata attributes for the Health policy.",
          "type": "object"
        },
        "name": {
          "description": "User-specified name of the Health policy.",
          "type": "string"
        },
        "policyType": {
          "type": "string"
        },
        "setting": {
          "$ref": "#/$defs/HealthSetting",
          "type": "object"
        },
        "type": {
          "description": "Type of the Health policy; this value is always HealthPolicy.",
          "type": "string"
        },
        "version": {
          "description": "Version number of the response object.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ILinks": {
      "description": "This defines the self referencing links for the given resource.",
      "properties": {
        "parent": {
          "description": "Full resource URL path to reference the parent (if any) for this resource.",
          "type": "string"
        },
        "self": {
          "description": "Full resource URL path to reference this particular resource.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "IMetadata": {
      "properties": {
        "domain": {
          "$ref": "#/$defs/IDomain",
          "type": "object"
        },
        "isLocked": {
          "type": "boolean"
        },
        "lastUser": {
          "$ref": "#/$defs/IMetadataUser",
          "type": "object"
        },
        "matches": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "readOnly": {
          "$ref": "#/$defs/IReadonly",
          "type": "object"
        },
        "timestamp": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "IMetadataUser": {
      "properties": {
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "IPV4": {
      "description": "IPv4 details",
      "properties": {
        "gateway": {
          "description": "IPv4 Gateway",
          "type": "string"
        },
        "ip": {
          "description": "IPv4 IP Address",
          "type": "string"
        },
        "mask": {
          "description": "IPv4 Netmask",
          "type": "string"
        }
      },
      "type": "object"
    },
    "IPV6": {
      "description": "IPv6 details",
      "properties": {
        "gateway": {
          "description": "IPv6 gateway",
          "type": "string"
        },
        "ip": {
          "description": "IPv6 IP Address",
          "type": "string"
        },
        "prefixLength": {
          "description": "IPv6 prefix length",
          "type": "string"
        }
      },
      "type": "object"
    },
    "IPolicyModel": {
      "properties": {
        "description": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "metadata": {
          "$ref": "#/$defs/IMetadata",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "IReadonly": {
      "properties": {
        "reason": {
          "enum": [
            "RBAC",
            "SYSTEM",
            "DOMAIN"
          ],
          "type": "string"
        },
        "state": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "IReference": {
      "description": "Contains reference information.",
      "properties": {
        "id": {
          "description": "Unique identifier representing resource.",
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "description": "Object containing links to this resource.",
          "type": "object"
        },
        "name": {
          "description": "User chosen resource name.",
          "type": "string"
        },
        "type": {
          "description": "Response object associated with resource.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "LogicalDeviceMetadata": {
      "properties": {
        "containerDetails": {
          "$ref": "#/$defs/IBaseDevice",
          "type": "object"
        },
        "deviceRecordDetails": {
          "$ref": "#/$defs/IReference",
          "type": "object"
        },
        "domain": {
          "$ref": "#/$defs/Domain",
          "type": "object"
        },
        "isLocked": {
          "type": "boolean"
        },
        "lastUser": {
          "$ref": "#/$defs/MetadataUser",
          "type": "object"
        },
        "matches": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "readOnly": {
          "$ref": "#/$defs/ReadOnly",
          "type": "object"
        },
        "timestamp": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "MetadataUser": {
      "description": "This object defines details about the user.",
      "properties": {
        "id": {
          "description": "The unique UUID of the user",
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "description": "Contains the self referencing links to this resource",
          "type": "object"
        },
        "name": {
          "description": "Name of the user.",
          "type": "string"
        },
        "type": {
          "description": "The user type (fixed).",
          "type": "string"
        }
      },
      "type": "object"
    },
    "MgmtBootstrap": {
      "description": "Management bootstrap for Logical Device",
      "properties": {
        "adminPassword": {
          "description": "Admin Password to login to the FTD. This is applicable only for CREATE request",
          "type": "string"
        },
        "dnsServers": {
          "type": "string"
        },
        "firepowerManagerIP": {
          "description": "Manager IP to manage the FTD from",
          "type": "string"
        },
        "firewallMode": {
          "description": "Firewall Mode for Logical Device. Possible values are 'routed'/'transparent'",
          "type": "string"
        },
        "fqdn": {
          "description": "FQDN configuration for the Logical Device. This is applicable only for CREATE request",
          "type": "string"
        },
        "ipv4": {
          "$ref": "#/$defs/IPV4",
          "description": "IPv4 details for Logical Device. This is applicable only for CREATE request",
          "type": "object"
        },
        "ipv6": {
          "$ref": "#/$defs/IPV6",
          "description": "IPv6 details for Logical Device. This is applicable only for CREATE request",
          "type": "object"
        },
        "natId": {
          "type": "string"
        },
        "permitExpertMode": {
          "description": "Permit Expert mode for CLI. Possible values are 'yes'/'no'",
          "type": "string"
        },
        "registrationKey": {
          "type": "string"
        },
        "searchDomain": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "ReadOnly": {
      "description": "Defines the read only conditions if the referenced resource is read only.",
      "properties": {
        "reason": {
          "description": "Reason the resource is read only - SYSTEM (if it is system defined), RBAC (if user RBAC permissions make it read only) or DOMAIN (if resource is read only in current domain).",
          "enum": [
            "RBAC",
            "SYSTEM",
            "DOMAIN"
          ],
          "type": "string"
        },
        "state": {
          "description": "True if this resource us read only and false otherwise.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "ReferenceObject": {
      "properties": {
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}