{
  "swagger": "2.0",
  "info": {
    "description": "An API to interact with the Cosmos Tax CLI backend.",
    "title": "Cosmos Tax CLI",
    "contact": {
      "name": "Defiant Labs",
      "url": "https://defiantlabs.net/",
      "email": "info@defiantlabs.net"
    },
    "version": "1.0"
  },
  "basePath": "/",
  "paths": {
    "/events.csv": {
      "post": {
        "consumes": [
          "application/json"
        ],
        "produces": [
          "text/csv"
        ],
        "parameters": [
          {
            "description": "The options for the POST body",
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/main.TaxableEventsCSVRequest"
            }
          }
        ],
        "responses": {}
      }
    },
    "/events.json": {
      "post": {
        "consumes": [
          "application/json"
        ],
        "produces": [
          "application/json"
        ],
        "parameters": [
          {
            "description": "The options for the POST body",
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/main.TaxableEventsCSVRequest"
            }
          }
        ],
        "responses": {}
      }
    },
    "/gcphealth": {
      "get": {
        "responses": {}
      }
    }
  },
  "definitions": {
    "main.TaxableEventsCSVRequest": {
      "type": "object",
      "properties": {
        "addresses": {
          "type": "string"
        },
        "chain": {
          "type": "string"
        },
        "endDate": {
          "description": "can be null",
          "type": "string"
        },
        "format": {
          "type": "string"
        },
        "startDate": {
          "description": "can be null",
          "type": "string"
        }
      }
    }
  }
}