{
    "basePath": "/basepath/v1/",
    "schemas": {
      "MyReference": {
        "type": "object",
        "properties": {
          "referenceProp": {
            "type": "string"
          }
        }
      }
    },
    "resources": {
      "myResource": {
        "methods": {
          "myMethod": {
            "path": "{pathParam}",
            "httpMethod": "POST",
            "parameters": {
              "queryParam": {
                "type": "string",
                "location": "query"
              },
              "pathParam": {
                "type": "string",
                "required": true,
                "location": "path"
              },
              "repeatedParam": {
                "type": "string",
                "required": true,
                "repeated": true,
                "location": "query"
              }
            },
            "request": {
              "$ref": "MyReference"
            }
          }
        }
      },
      "projects": {
        "otherThing": {
          "resources": {
            "myOtherResource": {
              "methods": {
                "myOtherMethod": {
                  "path": "{pathParam}",
                  "httpMethod": "POST",
                  "parameters": {
                    "queryParam": {
                      "type": "string",
                      "location": "query"
                    },
                    "pathParam": {
                      "type": "string",
                      "required": true,
                      "location": "path"
                    }
                  },
                  "request": {
                    "$ref": "MyReference"
                  }
                }
              },
              "resources": {
                "evenMoreNestedThing": {
                  "methods": {
                    "evenMoreNestedResource": {
                      "path": "{pathParam}",
                      "httpMethod": "POST",
                      "parameters": {
                        "queryParam": {
                          "type": "string",
                          "location": "query"
                        },
                        "pathParam": {
                          "type": "string",
                          "required": true,
                          "location": "path"
                        }
                      },
                      "request": {
                        "$ref": "MyReference"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
