{
  "openapi" : "3.0.0",
  "servers" : [ 
  {
    "url" : "https://micro-work.net/covid/v1/jhu/",
    "description" : "micro-work/covid/jhu is hosting slave web services.\nconverts CSV data from JHU into JSON and GraphQL\nfilters data from JHU\nenriches historical data with predictions into the future                              "
  } ],
  "info" : {
    "description" : "The micro-work.net/covid web server provides csv and json based get web services to work with covid data proveded by john hopkins university and published to github CSSEGISandData/COVID-19",
    "version" : "1.0.0",
    "license" : {
      "name" : "Apache 2.0",
      "url" : "http://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "title" : "mwnet/covid/jhu"
  },
  "tags" : [ {
    "name" : "developers",
    "description" : "Operations available to regular developers, journalists and researchers"
  } ],
  "paths" : {
    "/web.php" : {
      "get" : {
        "tags" : [ "developers" ],
        "summary" : "returns datasource for csv.php, json1.php, json2.php and json3.php",
        "operationId" : "returnSourceUrl",
        "description" : "response.source points to the github url where one can download the source data\n",
        "responses" : {
          "200" : {
            "description" : "return json document with response object",
            "content" : {
              "application/json" : {
                "schema" : {
                  "type" : "object",
                  "items" : {
                    "$ref" : "#/components/schemas/responseWeb"
                  }
                }
              }
            }
          },
          "400" : {
            "description" : "bad input parameter"
          }
        }
      }
    }
  },
  "components" : {
    "schemas" : {
      "responseWeb" : {
        "type" : "object",
        "required" : [ "response" ],
        "properties" : {
          "response" : {
            "type" : "object",
            "properties" : {
              "source" : {
                "type" : "string",
                "format" : "url"
              },
              "path" : {
                "type" : "string",
                "format" : "path"
              },
              "name" : {
                "type" : "string",
                "format" : "filename"
              },
              "size" : {
                "type" : "integer"
              },
              "sha" : {
                "type" : "string",
                "format" : "base64"
              },
              "html_url" : {
                "type" : "string",
                "format" : "url"
              }
            }
          }
        }
      }
    }
  }
}