{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-chassis-interface-schema.json",
  "title": "ChassisInterface",
  "description": "Represents ChassisInterface attributes.",
  "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/ChassisInterface",
  "properties": {
    "autoNegState": {
      "description": "Describes the auto negotiation state of the interface.",
      "type": "string"
    },
    "duplex": {
      "description": "Describes the duplex value of the interface.",
      "enum": [
        "AUTO",
        "FULL",
        "HALF"
      ],
      "type": "string"
    },
    "fecvalue": {
      "description": "Describes the Forward Error Correction value of the chassis interface.",
      "enum": [
        "AUTO",
        "CL108RS",
        "CL74FC",
        "CL91RS",
        "DISABLE"
      ],
      "type": "string"
    },
    "id": {
      "description": "UUID of the chassis interface.",
      "type": "string"
    },
    "isBreakOutCapable": {
      "type": "boolean"
    },
    "isSplitInterface": {
      "type": "boolean"
    },
    "links": {
      "$ref": "#/$defs/ILinks",
      "type": "object"
    },
    "mediaType": {
      "description": "Describes the media type of the interface",
      "type": "string"
    },
    "metadata": {
      "$ref": "#/$defs/ChassisInterfaceMetadata",
      "type": "object"
    },
    "name": {
      "type": "string"
    },
    "portType": {
      "enum": [
        "DATA",
        "DATA_SHARING"
      ],
      "type": "string"
    },
    "sfptype": {
      "description": "Describes the sfp type of the interface.",
      "type": "string"
    },
    "speed": {
      "description": "Describes the administration speed of the interface.",
      "type": "string"
    },
    "type": {
      "description": "Type of the payload. This will always be ChassisInterface.",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "ChassisInterfaceMetadata": {
      "properties": {
        "breakoutCapability": {
          "type": "string"
        },
        "breakoutFactor": {
          "type": "string"
        },
        "breakoutType": {
          "enum": [
            "FOUR_X_TEN",
            "FOUR_X_TEN_TWENTYFIVE",
            "FOUR_X_HUNDRED",
            "TWO_X_HUNDRED",
            "TWO_X_TWOHUNDRED"
          ],
          "type": "string"
        },
        "domain": {
          "$ref": "#/$defs/Domain",
          "type": "object"
        },
        "instances": {
          "items": {
            "$ref": "#/$defs/IFTDInterface",
            "type": "object"
          },
          "type": "array"
        },
        "isBreakOutCapable": {
          "type": "boolean"
        },
        "isBreakoutCapable": {
          "type": "boolean"
        },
        "isLocked": {
          "type": "boolean"
        },
        "isSplitInterface": {
          "type": "boolean"
        },
        "lastUser": {
          "$ref": "#/$defs/MetadataUser",
          "type": "object"
        },
        "lockingStatus": {
          "$ref": "#/$defs/IPolicyLockData",
          "type": "object"
        },
        "matches": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "mediaType": {
          "type": "string"
        },
        "netModEventState": {
          "type": "string"
        },
        "readOnly": {
          "$ref": "#/$defs/ReadOnly",
          "type": "object"
        },
        "sfpType": {
          "type": "string"
        },
        "sfptype": {
          "type": "string"
        },
        "supportedSpeed": {
          "type": "string"
        },
        "timestamp": {
          "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"
    },
    "IDomain": {
      "properties": {
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "IFTDInterface": {
      "properties": {
        "description": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "ifname": {
          "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"
    },
    "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"
    },
    "IPolicyLockData": {
      "description": "Represents information about a policy's lock status.",
      "properties": {
        "lock": {
          "description": "Boolean indicating whether the policy must be locked or unlocked. When set to 'true' policy is locked and when set to 'false' will unlock the policy.",
          "type": "boolean"
        },
        "lockParentsInHierarchy": {
          "description": "Boolean indicating whether the policy and all parents in hierarchy must be locked or unlocked. When set to 'true' policy and parents in hierarchy are locked and will 'unlock' when set to false.",
          "type": "boolean"
        },
        "metadata": {
          "$ref": "#/$defs/IPolicyLockMetadata",
          "description": "Object representing metadata attributes for Policy Lock.",
          "type": "object"
        },
        "policy": {
          "$ref": "#/$defs/IReference",
          "description": "specifies the details of the policy which was locked",
          "type": "object"
        },
        "status": {
          "description": "String indicating whether the policy is locked",
          "enum": [
            "LOCKED",
            "UNLOCKED"
          ],
          "type": "string"
        },
        "type": {
          "description": "Type must be PolicyLock",
          "type": "string"
        }
      },
      "required": [
        "policy",
        "status",
        "type"
      ],
      "type": "object"
    },
    "IPolicyLockMetadata": {
      "description": "Represents the information of the Metadata for Policy lock",
      "properties": {
        "domain": {
          "$ref": "#/$defs/IDomain",
          "type": "object"
        },
        "isLocked": {
          "type": "boolean"
        },
        "lastUser": {
          "$ref": "#/$defs/IMetadataUser",
          "type": "object"
        },
        "lockedByUser": {
          "$ref": "#/$defs/IMetadataUser",
          "description": "String indicating the user who has locked the policy. This field will be empty if the policy is not locked.",
          "type": "object"
        },
        "matches": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "readOnly": {
          "$ref": "#/$defs/IReadonly",
          "type": "object"
        },
        "timestamp": {
          "format": "int32",
          "type": "integer"
        }
      },
      "required": [
        "lockedByUser"
      ],
      "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"
    },
    "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"
    },
    "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"
    }
  }
}