{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-ether-channel-interface-schema.json",
  "title": "EtherChannelInterface",
  "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/EtherChannelInterface",
  "properties": {
    "adminState": {
      "enum": [
        "ENABLED",
        "DISABLED",
        "ONLINE",
        "BUSY",
        "ENABLE_IN_PROGRESS",
        "DISABLE_IN_PROGRESS"
      ],
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "etherChannelId": {
      "format": "int32",
      "type": "integer"
    },
    "hardware": {
      "$ref": "#/$defs/IInterfaceHardwareContainer",
      "type": "object"
    },
    "id": {
      "type": "string"
    },
    "lacpMode": {
      "enum": [
        "ACTIVE",
        "ON",
        "PASSIVE"
      ],
      "type": "string"
    },
    "lacpRate": {
      "enum": [
        "DEFAULT",
        "FAST",
        "NORMAL"
      ],
      "type": "string"
    },
    "links": {
      "$ref": "#/$defs/ILinks",
      "type": "object"
    },
    "metadata": {
      "$ref": "#/$defs/Metadata",
      "type": "object"
    },
    "name": {
      "type": "string"
    },
    "portType": {
      "enum": [
        "DATA",
        "DATA_SHARING"
      ],
      "type": "string"
    },
    "selectedInterfaces": {
      "items": {
        "$ref": "#/$defs/IFTDInterface",
        "type": "object"
      },
      "type": "array"
    },
    "type": {
      "type": "string"
    },
    "version": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "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"
    },
    "IInterfaceHardwareContainer": {
      "properties": {
        "autoNegState": {
          "type": "boolean"
        },
        "duplex": {
          "enum": [
            "AUTO",
            "FULL",
            "HALF"
          ],
          "type": "string"
        },
        "fecMode": {
          "enum": [
            "AUTO",
            "CL108RS",
            "CL74FC",
            "CL91RS",
            "DISABLE"
          ],
          "type": "string"
        },
        "speed": {
          "enum": [
            "AUTO",
            "TEN_MBPS",
            "HUNDRED_MBPS",
            "ONE_GBPS",
            "TEN_GBPS",
            "TWENTY_FIVE_GBPS",
            "FORTY_GBPS",
            "HUNDRED_GBPS",
            "TWO_HUNDRED_GBPS",
            "FOUR_HUNDRED_GBPS",
            "DETECT_SFP"
          ],
          "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"
    },
    "IReadonly": {
      "properties": {
        "reason": {
          "enum": [
            "RBAC",
            "SYSTEM",
            "DOMAIN"
          ],
          "type": "string"
        },
        "state": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "Metadata": {
      "description": "Defines read only details about the object - whether it is system defined, last user who modified the object etc.",
      "properties": {
        "domain": {
          "$ref": "#/$defs/Domain",
          "description": "Defines the domains this instance belongs to (if applicable).",
          "type": "object"
        },
        "isLocked": {
          "type": "boolean"
        },
        "lastUser": {
          "$ref": "#/$defs/MetadataUser",
          "description": "The last user who modified this instance.",
          "type": "object"
        },
        "matches": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "readOnly": {
          "$ref": "#/$defs/ReadOnly",
          "description": "Details regarding the read only status of this instance",
          "type": "object"
        },
        "timestamp": {
          "description": "The last updated 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"
    },
    "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"
    }
  }
}