{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-mpm-policy-obj-schema.json",
  "title": "MpmPolicyObj",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-mpm-policy-api-openapi.yml#/components/schemas/MpmPolicyObj",
  "properties": {
    "description": {
      "type": "string"
    },
    "id": {
      "format": "uuid",
      "type": "string"
    },
    "installTargets": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "name": {
      "type": "string"
    },
    "natRules": {
      "items": {
        "$ref": "#/$defs/MpmNatRuleObj"
      },
      "type": "array"
    },
    "policyType": {
      "enum": [
        "SECURITY",
        "GOVERNANCE_PREPEND",
        "GOVERNANCE_APPEND",
        "NAT"
      ],
      "type": "string"
    },
    "rules": {
      "items": {
        "$ref": "#/$defs/MpmRuleObj"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "IdValue": {
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "MpmAppGroupObj": {
      "properties": {
        "aps": {
          "items": {
            "$ref": "#/$defs/MpmAppObj"
          },
          "type": "array"
        },
        "description": {
          "type": "string"
        },
        "id": {
          "format": "uuid",
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "MpmAppObj": {
      "properties": {
        "alg": {
          "type": "string"
        },
        "anyApp": {
          "type": "boolean"
        },
        "description": {
          "type": "string"
        },
        "ianaProtocol": {
          "format": "int32",
          "type": "integer"
        },
        "icmpCode": {
          "format": "int32",
          "type": "integer"
        },
        "icmpType": {
          "format": "int32",
          "type": "integer"
        },
        "id": {
          "format": "uuid",
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "portEnd": {
          "format": "int32",
          "type": "integer"
        },
        "portStart": {
          "format": "int32",
          "type": "integer"
        },
        "timeout": {
          "format": "int32",
          "type": "integer"
        },
        "value": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "MpmEndpointGroupObj": {
      "properties": {
        "description": {
          "type": "string"
        },
        "epgs": {
          "items": {
            "$ref": "#/$defs/MpmEndpointGroupObj"
          },
          "type": "array"
        },
        "eps": {
          "items": {
            "$ref": "#/$defs/MpmEndpointObj"
          },
          "type": "array"
        },
        "id": {
          "format": "uuid",
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "MpmEndpointObj": {
      "properties": {
        "addressEnd": {
          "format": "int64",
          "type": "integer"
        },
        "addressStart": {
          "format": "int64",
          "type": "integer"
        },
        "description": {
          "type": "string"
        },
        "id": {
          "format": "uuid",
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "value": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "MpmNatRuleObj": {
      "properties": {
        "apTranslated": {
          "$ref": "#/$defs/MpmAppObj"
        },
        "apgsMatch": {
          "items": {
            "$ref": "#/$defs/MpmAppGroupObj"
          },
          "type": "array"
        },
        "appNatType": {
          "enum": [
            "MATCH",
            "STATIC"
          ],
          "type": "string"
        },
        "apsMatch": {
          "items": {
            "$ref": "#/$defs/MpmAppObj"
          },
          "type": "array"
        },
        "description": {
          "type": "string"
        },
        "dstEpTranslated": {
          "$ref": "#/$defs/MpmEndpointObj"
        },
        "dstEpgsMatch": {
          "items": {
            "$ref": "#/$defs/MpmEndpointGroupObj"
          },
          "type": "array"
        },
        "dstEpsMatch": {
          "items": {
            "$ref": "#/$defs/MpmEndpointObj"
          },
          "type": "array"
        },
        "dstNatType": {
          "enum": [
            "MATCH",
            "STATIC"
          ],
          "type": "string"
        },
        "enabled": {
          "type": "boolean"
        },
        "id": {
          "format": "uuid",
          "type": "string"
        },
        "srcEpTranslated": {
          "$ref": "#/$defs/MpmEndpointObj"
        },
        "srcEpgsMatch": {
          "items": {
            "$ref": "#/$defs/MpmEndpointGroupObj"
          },
          "type": "array"
        },
        "srcEpsMatch": {
          "items": {
            "$ref": "#/$defs/MpmEndpointObj"
          },
          "type": "array"
        },
        "srcNatType": {
          "enum": [
            "MATCH",
            "STATIC",
            "HIDE"
          ],
          "type": "string"
        }
      },
      "type": "object"
    },
    "MpmRuleObj": {
      "properties": {
        "action": {
          "enum": [
            "PERMIT",
            "DENY"
          ],
          "type": "string"
        },
        "apgs": {
          "items": {
            "$ref": "#/$defs/MpmAppGroupObj"
          },
          "type": "array"
        },
        "aps": {
          "items": {
            "$ref": "#/$defs/MpmAppObj"
          },
          "type": "array"
        },
        "description": {
          "type": "string"
        },
        "dstDgs": {
          "items": {
            "$ref": "#/$defs/IdValue"
          },
          "type": "array"
        },
        "dstEpgs": {
          "items": {
            "$ref": "#/$defs/MpmEndpointGroupObj"
          },
          "type": "array"
        },
        "dstEps": {
          "items": {
            "$ref": "#/$defs/MpmEndpointObj"
          },
          "type": "array"
        },
        "enabled": {
          "type": "boolean"
        },
        "fullyPinned": {
          "type": "boolean"
        },
        "id": {
          "format": "uuid",
          "type": "string"
        },
        "onClose": {
          "type": "boolean"
        },
        "onInit": {
          "type": "boolean"
        },
        "ruleGroup": {
          "type": "string"
        },
        "srcDgs": {
          "items": {
            "$ref": "#/$defs/IdValue"
          },
          "type": "array"
        },
        "srcEpgs": {
          "items": {
            "$ref": "#/$defs/MpmEndpointGroupObj"
          },
          "type": "array"
        },
        "srcEps": {
          "items": {
            "$ref": "#/$defs/MpmEndpointObj"
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  }
}