{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "update_ospf_instance",
  "type": "object",
  "properties": {
    "unset": {
      "description": "Properties to UNSET (RouterOS `!prop`), so they no longer apply — e.g. ['dst-address'] removes the destination-address match. snake_case or kebab-case. Not for setting a value.",
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[a-z][a-z0-9_-]*$"
      }
    },
    "name": {
      "type": "string",
      "description": "Existing OSPF instance name"
    },
    "router_id": {
      "type": "string"
    },
    "redistribute": {
      "type": "string"
    },
    "in_filter_chain": {
      "type": "string"
    },
    "out_filter_chain": {
      "type": "string"
    },
    "originate_default": {
      "type": "string"
    },
    "domain_id": {
      "description": "OSPF domain ID (MPLS VPN PE-CE OSPF)",
      "type": "string"
    },
    "domain_tag": {
      "description": "OSPF domain tag (MPLS VPN PE-CE OSPF)",
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "use_dn": {
      "description": "Use/ignore DN bit on OSPF routes (MPLS VPN)",
      "type": "boolean"
    },
    "mpls_te_area": {
      "description": "Area used for MPLS traffic engineering",
      "type": "string"
    },
    "mpls_te_address": {
      "description": "Router address advertised for MPLS TE",
      "type": "string"
    },
    "comment": {
      "type": "string"
    },
    "disabled": {
      "type": "boolean"
    }
  },
  "required": ["name"],
  "additionalProperties": false
}
