{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-mpm-rule-obj-schema.json",
  "title": "MpmRuleObj",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-mpm-rule-api-openapi.yml#/components/schemas/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",
  "$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"
    }
  }
}