{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-secure-firewall/json-schema/cisco-secure-firewall-bgpgeneral-setting-model-schema.json",
  "title": "BGPGeneralSettingModel",
  "description": "BGP is an inter and intra autonomous system routing protocol.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-secure-firewall-devices-api-openapi.yml#/components/schemas/BGPGeneralSettingModel",
  "properties": {
    "aggregateTimer": {
      "description": "Integer stating Interval at which BGP routes will be aggregated or to disable timer-based router aggregation.",
      "format": "int32",
      "type": "integer"
    },
    "asNumber": {
      "description": "Integer specifying the BGP Autonomous number",
      "type": "string"
    },
    "asNumberVariable": {
      "$ref": "#/$defs/IReference",
      "type": "object"
    },
    "asnotationDot": {
      "description": "Boolean stating default display and regular expression match format of BGP 4-byte autonomous system numbers from asplain (decimal values) to dot notation.",
      "type": "boolean"
    },
    "bestPath": {
      "$ref": "#/$defs/IBGPGSBestPath",
      "description": "Object specifying the AS about which path has preference to exist the AS in other to reach a certain network",
      "type": "object"
    },
    "bgpGracefulRestart": {
      "$ref": "#/$defs/IBGPGSGracefulRestart",
      "description": "Object representing the graceful Restart capability",
      "type": "object"
    },
    "bgpNextHopTriggerDelay": {
      "description": "Integer to set the delay to tigger nexthop tracking",
      "format": "int32",
      "type": "integer"
    },
    "bgpNextHopTriggerEnable": {
      "description": "Boolean stating whetther to enable BGP next-hop address tracking immediately",
      "type": "boolean"
    },
    "bgptimers": {
      "$ref": "#/$defs/IBGPGSTimers",
      "description": "Object to adjust BGP network timers",
      "type": "object"
    },
    "clusterPool": {
      "$ref": "#/$defs/IIPv4AddressPool",
      "type": "object"
    },
    "description": {
      "description": "User provided resource description.",
      "type": "string"
    },
    "enforceFirstAs": {
      "description": "Boolean stating whether to discard updates received from an external BGP (eBGP) peers that do not list their autonomous system (AS) number.",
      "type": "boolean"
    },
    "fastExternalFallOver": {
      "type": "boolean"
    },
    "id": {
      "description": "Unique identifier (UUID) for the BGP.",
      "type": "string"
    },
    "links": {
      "$ref": "#/$defs/ILinks",
      "description": "Object containing links to this resource.",
      "type": "object"
    },
    "logNeighborChanges": {
      "description": "Boolean stating whether to enable logging when the status of BGP neighbor changes.",
      "type": "boolean"
    },
    "maxasLimit": {
      "description": "Integer stating the range to discard routes that have as-path segments that exceed a specified value.",
      "format": "int32",
      "type": "integer"
    },
    "metadata": {
      "$ref": "#/$defs/Metadata",
      "description": "Object representing metadata attributes for the BGP.",
      "type": "object"
    },
    "name": {
      "description": "Name of the BGP object",
      "type": "string"
    },
    "routerId": {
      "description": "String value for the routerID.Possible values can be \"AUTOMATIC\" or valid ipv4 address",
      "type": "string"
    },
    "routerIdVariable": {
      "$ref": "#/$defs/IReference",
      "type": "object"
    },
    "scanTime": {
      "description": "Integer stating Scanning interval of BGP routers for next hop validation.",
      "format": "int32",
      "type": "integer"
    },
    "transportPathMtuDiscovery": {
      "description": "Boolean indicating whether BGP to automatically discover the best TCP path MTU for each BGP session.",
      "type": "boolean"
    },
    "type": {
      "description": "Type of BGP Object",
      "type": "string"
    },
    "version": {
      "description": "Version number of the response object.",
      "type": "string"
    }
  },
  "required": [
    "routerId",
    "routerIdVariable"
  ],
  "type": "object",
  "$defs": {
    "Domain": {
      "description": "The details about the domain.",
      "properties": {
        "id": {
          "description": "Unique UUID of this domain",
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "description": "Links to the domain resource URLs.",
          "type": "object"
        },
        "name": {
          "description": "Name of the domain.",
          "type": "string"
        },
        "type": {
          "description": "Domain type definition (fixed).",
          "type": "string"
        },
        "uuid": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "IBGPGSBestPath": {
      "properties": {
        "alwaysCompareMed": {
          "type": "boolean"
        },
        "bestPathCompareRouterId": {
          "type": "boolean"
        },
        "bestPathMedMissingAsWorst": {
          "type": "boolean"
        },
        "defaultLocalPreferenceValue": {
          "format": "int32",
          "type": "integer"
        },
        "deterministicMed": {
          "type": "boolean"
        },
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "IBGPGSGracefulRestart": {
      "properties": {
        "gracefulRestart": {
          "type": "boolean"
        },
        "gracefulRestartRestartTime": {
          "format": "int32",
          "type": "integer"
        },
        "gracefulRestartStalePathTime": {
          "format": "int32",
          "type": "integer"
        },
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "IBGPGSTimers": {
      "properties": {
        "holdTime": {
          "format": "int32",
          "type": "integer"
        },
        "id": {
          "type": "string"
        },
        "keepAlive": {
          "format": "int32",
          "type": "integer"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "minHoldTime": {
          "format": "int32",
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "IDomain": {
      "properties": {
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "IIPv4AddressPool": {
      "properties": {
        "addressType": {
          "enum": [
            "RANGE",
            "SUPERNET"
          ],
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "id": {
          "type": "string"
        },
        "ipAddressRange": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "mask": {
          "type": "string"
        },
        "metadata": {
          "$ref": "#/$defs/IMetadata",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "numberOfAddresses": {
          "format": "int32",
          "type": "integer"
        },
        "overridable": {
          "type": "boolean"
        },
        "overrides": {
          "$ref": "#/$defs/IOverride",
          "type": "object"
        },
        "rangeStart": {
          "format": "int32",
          "type": "integer"
        },
        "subnetPrefix": {
          "format": "int32",
          "type": "integer"
        },
        "supernetAddress": {
          "type": "string"
        },
        "supernetPrefix": {
          "format": "int32",
          "type": "integer"
        },
        "type": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "ipAddressRange"
      ],
      "type": "object"
    },
    "ILinks": {
      "description": "This defines the self referencing links for the given resource.",
      "properties": {
        "parent": {
          "description": "Full resource URL path to reference the parent (if any) for this resource.",
          "type": "string"
        },
        "self": {
          "description": "Full resource URL path to reference this particular resource.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "IMetadata": {
      "properties": {
        "domain": {
          "$ref": "#/$defs/IDomain",
          "type": "object"
        },
        "isLocked": {
          "type": "boolean"
        },
        "lastUser": {
          "$ref": "#/$defs/IMetadataUser",
          "type": "object"
        },
        "matches": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "readOnly": {
          "$ref": "#/$defs/IReadonly",
          "type": "object"
        },
        "timestamp": {
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "IMetadataUser": {
      "properties": {
        "id": {
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "type": "object"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "IOverride": {
      "description": "Defines the override details for this object.",
      "properties": {
        "parent": {
          "$ref": "#/$defs/IReference",
          "description": "Link to the parent/global resource which is overriden.",
          "type": "object"
        },
        "target": {
          "$ref": "#/$defs/IReference",
          "description": "The device or the domain target on which this override is enabled.",
          "type": "object"
        }
      },
      "type": "object"
    },
    "IReadonly": {
      "properties": {
        "reason": {
          "enum": [
            "RBAC",
            "SYSTEM",
            "DOMAIN"
          ],
          "type": "string"
        },
        "state": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "IReference": {
      "description": "Contains reference information.",
      "properties": {
        "id": {
          "description": "Unique identifier representing resource.",
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "description": "Object containing links to this resource.",
          "type": "object"
        },
        "name": {
          "description": "User chosen resource name.",
          "type": "string"
        },
        "type": {
          "description": "Response object associated with resource.",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Metadata": {
      "description": "Defines read only details about the object - whether it is system defined, last user who modified the object etc.",
      "properties": {
        "domain": {
          "$ref": "#/$defs/Domain",
          "description": "Defines the domains this instance belongs to (if applicable).",
          "type": "object"
        },
        "isLocked": {
          "type": "boolean"
        },
        "lastUser": {
          "$ref": "#/$defs/MetadataUser",
          "description": "The last user who modified this instance.",
          "type": "object"
        },
        "matches": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "readOnly": {
          "$ref": "#/$defs/ReadOnly",
          "description": "Details regarding the read only status of this instance",
          "type": "object"
        },
        "timestamp": {
          "description": "The last updated timestamp.",
          "format": "int32",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "MetadataUser": {
      "description": "This object defines details about the user.",
      "properties": {
        "id": {
          "description": "The unique UUID of the user",
          "type": "string"
        },
        "links": {
          "$ref": "#/$defs/ILinks",
          "description": "Contains the self referencing links to this resource",
          "type": "object"
        },
        "name": {
          "description": "Name of the user.",
          "type": "string"
        },
        "type": {
          "description": "The user type (fixed).",
          "type": "string"
        }
      },
      "type": "object"
    },
    "ReadOnly": {
      "description": "Defines the read only conditions if the referenced resource is read only.",
      "properties": {
        "reason": {
          "description": "Reason the resource is read only - SYSTEM (if it is system defined), RBAC (if user RBAC permissions make it read only) or DOMAIN (if resource is read only in current domain).",
          "enum": [
            "RBAC",
            "SYSTEM",
            "DOMAIN"
          ],
          "type": "string"
        },
        "state": {
          "description": "True if this resource us read only and false otherwise.",
          "type": "boolean"
        }
      },
      "type": "object"
    }
  }
}