{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "FirewallRequest",
  "description": "FirewallRequest schema from Palo Alto Networks Cloud NGFW for AWS REST API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/cloud-ngfw-api-firewall-request-schema.json",
  "type": "object",
  "properties": {
    "FirewallName": {
      "type": "string"
    },
    "FirewallEntry": {
      "type": "object",
      "required": [
        "VpcId",
        "AssociatedRuleStack",
        "SubnetMappings"
      ],
      "properties": {
        "Description": {
          "type": "string"
        },
        "VpcId": {
          "type": "string"
        },
        "AssociatedRuleStack": {
          "type": "string"
        },
        "SubnetMappings": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "SubnetId": {
                "type": "string"
              }
            }
          }
        },
        "Tags": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "Key": {
                "type": "string"
              },
              "Value": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  },
  "required": [
    "FirewallName",
    "FirewallEntry"
  ]
}
