{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-netmap-host-list-container-schema.json",
  "title": "NetmapHostListContainer",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-network-map-api-openapi.yml#/components/schemas/NetmapHostListContainer",
  "properties": {
    "items": {
      "$ref": "#/$defs/NetmapHost",
      "type": "array"
    },
    "links": {
      "$ref": "#/$defs/ILinks",
      "type": "object"
    },
    "paging": {
      "$ref": "#/$defs/PagingContainer",
      "type": "object"
    }
  },
  "type": "object",
  "$defs": {
    "IDomain": {
      "properties": {
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "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"
    },
    "NetmapApplication": {
      "properties": {
        "AppVersion": {
          "type": "string"
        },
        "appVersion": {
          "type": "string"
        },
        "clientAppId": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "NetmapHost": {
      "description": "Represents the host object in the Network Map",
      "properties": {
        "applications": {
          "items": {
            "$ref": "#/$defs/NetmapApplication",
            "type": "object"
          },
          "type": "array"
        },
        "apps": {
          "type": "string"
        },
        "criticalityLevel": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "hostname": {
          "type": "string"
        },
        "id": {
          "description": "UUID of the host",
          "type": "string"
        },
        "ipAddress": {
          "description": "List of IPs of the host. At this point, when creating a host, only one IP is supported, but must still be in an array",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "lastSeen": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "macAddress": {
          "description": "MAC of the host. This is the primary MAC of the host",
          "type": "string"
        },
        "metadata": {
          "$ref": "#/$defs/IMetadata",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "netbiosName": {
          "type": "string"
        },
        "netmapNum": {
          "type": "number"
        },
        "operatingSystem": {
          "items": {
            "$ref": "#/$defs/NetmapOS",
            "type": "object"
          },
          "type": "array"
        },
        "operatingSystems": {
          "items": {
            "$ref": "#/$defs/NetmapOS",
            "type": "object"
          },
          "type": "array"
        },
        "os": {
          "type": "string"
        },
        "service": {
          "type": "string"
        },
        "services": {
          "items": {
            "$ref": "#/$defs/NetmapService",
            "type": "object"
          },
          "type": "array"
        },
        "type": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "NetmapOS": {
      "properties": {
        "osProduct": {
          "type": "string"
        },
        "osVendor": {
          "type": "string"
        },
        "osVersion": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "NetmapService": {
      "properties": {
        "confidence": {
          "type": "string"
        },
        "port": {
          "format": "int32",
          "type": "integer"
        },
        "protocol": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "PagingContainer": {
      "properties": {
        "count": {
          "format": "int32",
          "type": "integer"
        },
        "limit": {
          "format": "int32",
          "type": "integer"
        },
        "offset": {
          "format": "int32",
          "type": "integer"
        },
        "pages": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    }
  }
}