{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/strata-cloud-manager-api-nat-rule-structure.json", "name": "NatRule", "description": "A NAT policy rule defining source or destination address translation for matching traffic flows.", "type": "object", "properties": { "id": { "type": "uuid" }, "name": { "type": "string" }, "folder": { "type": "string" }, "position": { "type": "string", "enum": [ "pre", "post" ] }, "from": { "type": "array", "description": "Source zones.", "items": { "type": "string" } }, "to": { "type": "array", "description": "Destination zones.", "items": { "type": "string" } }, "source": { "type": "array", "items": { "type": "string" } }, "destination": { "type": "array", "items": { "type": "string" } }, "service": { "type": "string", "description": "Service object name or any." }, "source_translation": { "type": "object", "properties": { "dynamic_ip_and_port": { "type": "object", "properties": { "translated_address": { "type": "array", "items": { "type": "string" } } } }, "static_ip": { "type": "object", "properties": { "translated_address": { "type": "string" }, "bi_directional": { "type": "boolean" } } } } }, "destination_translation": { "type": "object", "properties": { "translated_address": { "type": "string" }, "translated_port": { "type": "int32" } } }, "nat_type": { "type": "string", "enum": [ "ipv4", "nat64", "nptv6" ] }, "disabled": { "type": "boolean", "default": false }, "description": { "type": "string" }, "tag": { "type": "array", "items": { "type": "string" } } } }