{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "apiVersion": {
      "type": "string"
    },
    "kind": {
      "type": "string"
    },
    "metadata": {
      "type": "object"
    },
    "spec": {
      "properties": {
        "exportV4": {
          "items": {
            "properties": {
              "action": {
                "type": "string"
              },
              "cidr": {
                "type": "string"
              },
              "interface": {
                "type": "string"
              },
              "matchOperator": {
                "type": "string"
              },
              "prefixLength": {
                "properties": {
                  "max": {
                    "format": "int32",
                    "maximum": 32,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "min": {
                    "format": "int32",
                    "maximum": 32,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "source": {
                "type": "string"
              }
            },
            "required": [
              "action"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "exportV6": {
          "items": {
            "properties": {
              "action": {
                "type": "string"
              },
              "cidr": {
                "type": "string"
              },
              "interface": {
                "type": "string"
              },
              "matchOperator": {
                "type": "string"
              },
              "prefixLength": {
                "properties": {
                  "max": {
                    "format": "int32",
                    "maximum": 128,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "min": {
                    "format": "int32",
                    "maximum": 128,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "source": {
                "type": "string"
              }
            },
            "required": [
              "action"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "importV4": {
          "items": {
            "properties": {
              "action": {
                "type": "string"
              },
              "cidr": {
                "type": "string"
              },
              "interface": {
                "type": "string"
              },
              "matchOperator": {
                "type": "string"
              },
              "prefixLength": {
                "properties": {
                  "max": {
                    "format": "int32",
                    "maximum": 32,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "min": {
                    "format": "int32",
                    "maximum": 32,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "source": {
                "type": "string"
              }
            },
            "required": [
              "action"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "importV6": {
          "items": {
            "properties": {
              "action": {
                "type": "string"
              },
              "cidr": {
                "type": "string"
              },
              "interface": {
                "type": "string"
              },
              "matchOperator": {
                "type": "string"
              },
              "prefixLength": {
                "properties": {
                  "max": {
                    "format": "int32",
                    "maximum": 128,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "min": {
                    "format": "int32",
                    "maximum": 128,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "source": {
                "type": "string"
              }
            },
            "required": [
              "action"
            ],
            "type": "object"
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}
