Skip to content
Snippets Groups Projects
get+people_2_.json 4.51 KiB
Newer Older
SAM CARPENTER's avatar
SAM CARPENTER committed
{
  "swagger" : "2.0",
  "info" : {
    "description" : null,
    "version" : "1.0.0",
    "title" : null,
    "termsOfService" : null,
    "contact" : null,
    "license" : null
  },
  "host" : "mock.api.wisc.edu",
  "basePath" : "/",
  "schemes" : [ "https" ],
  "paths" : {
    "/people" : {
      "get" : {
        "tags" : [ "get people" ],
        "summary" : null,
        "description" : null,
        "operationId" : "get people",
        "produces" : [ "application/json" ],
        "consumes" : [ "application/json" ],
        "parameters" : [ ],
        "responses" : {
          "200" : {
            "description" : "successful operation",
            "schema" : {
              "$ref" : "#/definitions/get people"
            }
          }
        }
      }
    }
  },
  "definitions" : {
    "get people##data##attributes" : {
      "properties" : {
        "emailAddress" : {
          "type" : "string"
        },
        "firstName" : {
          "type" : "string"
        },
        "lastName" : {
          "type" : "string"
        },
        "officeAddress" : {
          "type" : "string"
        },
        "officePhoneNumber" : {
          "type" : "string"
        }
      }
    },
    "get people##data##links" : {
      "properties" : {
        "self" : {
          "type" : "string"
        }
      }
    },
    "get people##data##meta" : {
      "properties" : {
        "ferpa" : {
          "type" : "boolean"
        },
        "ferpaAttributes" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        },
        "privateAttributes" : {
          "type" : "array",
          "items" : {
            "type" : "string"
          }
        }
      }
    },
    "get people##data##relationships##identifiers##data" : {
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "type" : {
          "type" : "string"
        }
      }
    },
    "get people##data##relationships##identifiers##links" : {
      "properties" : {
        "related" : {
          "type" : "string"
        }
      }
    },
    "get people##data##relationships##identifiers" : {
      "properties" : {
        "data" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/get people##data##relationships##identifiers##data"
          }
        },
        "links" : {
          "$ref" : "#/definitions/get people##data##relationships##identifiers##links"
        }
      }
    },
    "get people##data##relationships##jobs##data" : {
      "properties" : {
        "id" : {
          "type" : "string"
        },
        "type" : {
          "type" : "string"
        }
      }
    },
    "get people##data##relationships##jobs##links" : {
      "properties" : {
        "related" : {
          "type" : "string"
        }
      }
    },
    "get people##data##relationships##jobs" : {
      "properties" : {
        "data" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/get people##data##relationships##jobs##data"
          }
        },
        "links" : {
          "$ref" : "#/definitions/get people##data##relationships##jobs##links"
        }
      }
    },
    "get people##data##relationships" : {
      "properties" : {
        "identifiers" : {
          "$ref" : "#/definitions/get people##data##relationships##identifiers"
        },
        "jobs" : {
          "$ref" : "#/definitions/get people##data##relationships##jobs"
        }
      }
    },
    "get people##data" : {
      "properties" : {
        "attributes" : {
          "$ref" : "#/definitions/get people##data##attributes"
        },
        "id" : {
          "type" : "string"
        },
        "links" : {
          "$ref" : "#/definitions/get people##data##links"
        },
        "meta" : {
          "$ref" : "#/definitions/get people##data##meta"
        },
        "relationships" : {
          "$ref" : "#/definitions/get people##data##relationships"
        },
        "type" : {
          "type" : "string"
        }
      }
    },
    "get people##links" : {
      "properties" : {
        "next" : {
          "type" : "string"
        },
        "prev" : {
          "type" : "string"
        },
        "self" : {
          "type" : "string"
        }
      }
    },
    "get people" : {
      "properties" : {
        "data" : {
          "type" : "array",
          "items" : {
            "$ref" : "#/definitions/get people##data"
          }
        },
        "links" : {
          "$ref" : "#/definitions/get people##links"
        }
      }
    }
  }
}