{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/phala/json-schema/phala-firewall-status-response-schema.json",
  "title": "FirewallStatusResponse",
  "description": "Firewall availability for the node hosting a CVM.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/phala-cvms-network-config-api-openapi.yml#/components/schemas/FirewallStatusResponse",
  "properties": {
    "available": {
      "type": "boolean",
      "title": "Available",
      "description": "Whether firewall/port-mapping is available"
    },
    "reason": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reason",
      "description": "Why it is unavailable"
    }
  },
  "type": "object",
  "required": [
    "available"
  ]
}