{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-network-module-schema.json",
  "title": "NetworkModule",
  "description": "Represents the Network Module of the 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/NetworkModule",
  "properties": {
    "description": {
      "description": "A one line description of the EPM.",
      "type": "string"
    },
    "id": {
      "description": "Describes the UUID of the module object.",
      "type": "string"
    },
    "links": {
      "$ref": "#/$defs/ILinks",
      "type": "object"
    },
    "metadata": {
      "$ref": "#/$defs/Metadata",
      "type": "object"
    },
    "model": {
      "description": "Model of the EPM inserted.",
      "type": "string"
    },
    "moduleState": {
      "description": "User configurable setting to power On/Off EPM (permissible values enabled/disabled).",
      "enum": [
        "ENABLED",
        "DISABLED",
        "ONLINE",
        "BUSY",
        "ENABLE_IN_PROGRESS",
        "DISABLE_IN_PROGRESS"
      ],
      "type": "string"
    },
    "name": {
      "description": "Name of the Network Module.",
      "type": "string"
    },
    "numOfPorts": {
      "description": "Number of Ports present on EPM, Maryland has 4 ports, Brentwood has 8 ports.",
      "format": "int32",
      "type": "integer"
    },
    "operationState": {
      "description": "Operation State returned by FXOS, (sample values operable/inoperable/degraded/powered-off/power-problem/voltage-problem/thermal-problem/performance-problem/accessibility-problem/disabled ).",
      "type": "string"
    },
    "slotId": {
      "description": " Slot ID of the EPM slot.",
      "type": "string"
    },
    "type": {
      "description": "Payload type. This will always be NetworkModule.",
      "type": "string"
    },
    "vendor": {
      "description": "Describes the vendor name of the module.",
      "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"
    },
    "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"
    },
    "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"
    }
  }
}