{

"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Fray Response",
"description": "Schema representing a successful result of a Fray pipe",
"type": "object",
"required": [ "status", "headers", "body" ],
"properties": {
  "status": {
    "description": "HTTP status code",
    "type": "string",
    "pattern": "^[1-5][0-9]{2}$"
  },
  "headers": {
    "description": "HTTP headers",
    "type": "object",
    "additionalProperties": true
  },
  "body": {
    "description": "The contents of the HTTP body",
    "type": "string"
  }
}

}