{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://nao1215.github.io/jsonize/schemas/ip/rule.json",
  "title": "ip/rule",
  "description": "ip rule, routing policy rules",
  "x-jsonize": {
    "definition": "ip/rule",
    "version": 1
  },
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "priority": {
        "type": "integer"
      },
      "selectors": {
        "type": "string"
      },
      "table": {
        "type": "string"
      },
      "attributes": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "action": {
        "type": "string"
      }
    },
    "required": [
      "priority",
      "selectors"
    ]
  }
}
