{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "rules example",
    "description": "",
    "termsOfService": "",
    "contact": {
      "name": "",
      "email": "",
      "url": ""
    },
    "license": {
      "name": "",
      "url": ""
    }
  },
  "servers": [
    {
      "url": "http://rules.example.io/api"
    }
  ],
  "paths": {
    "/r1/p1": {
      "get": {
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sa"
                }
              }
            }
          },
          "300": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sb"
                }
              }
            }
          },
          "400": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sc"
                }
              }
            }
          }
        }
      }
    },
    "/r1/p2": {
      "get": {
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sd"
                }
              }
            }
          },
          "300": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Se"
                }
              }
            }
          }
        }
      }
    },
    "/r3/p3": {
      "get": {
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sf"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Sa": {
        "properties": {
          "aProp": {
            "type": "string"
          }
        }
      },
      "Sb": {
        "properties": {
          "aProp": {
            "type": "string"
          }
        }
      },
      "Sc": {
        "properties": {
          "aProp": {
            "type": "string"
          }
        }
      },
      "Sd": {
        "properties": {
          "aProp": {
            "type": "string"
          }
        }
      },
      "Se": {
        "properties": {
          "aProp": {
            "$ref": "#/components/schemas/Sc"
          }
        }
      },
      "Sf": {
        "properties": {
          "aProp": {
            "$ref": "#/components/schemas/Se"
          }
        }
      }
    }
  }
}