{
  "mocks": [
    {
      "route": "/",
      "response": {
        "body": "<h1>Welcome to the Mock Responses example</h1>"
      }
    },
    {
      "route": "/one",
      "response": {
        "type": "text/plain",
        "body": "<h1>Welcome to the Mock Responses example</h1>"
      }
    },
    {
      "route": "/two",
      "request": { "accepts": "xml" },
      "response": {
        "body": "<result id='2' name='whatever' />"
      }
    },
    {
      "route": "/three",
      "responses": [
        {
          "request": { "method": "GET" },
          "response": {
            "body": "<h1>Mock response for 'GET' request on /three</h1>"
          }
        },
        {
          "request": { "method": "POST" },
          "response": {
            "status": 400,
            "body": { "message": "That method is not allowed." }
          }
        }
      ]
    },
    {
      "route": "/stream",
      "module": "/mocks/stream-self.js"
    },
    {
      "route": "/five/:id",
      "module": "/mocks/five.js"
    },
    {
      "route": "/users",
      "module": "/mocks/users.js"
    },
    {
      "route": "/users/:id",
      "module": "/mocks/user.js"
    }
  ]
}