diff --git a/ASP-IICS-Team/GetPeople/getPeople.json b/ASP-IICS-Team/GetPeople/getPeople.json new file mode 100644 index 0000000000000000000000000000000000000000..106662d6cde66fc3cbfbeb2d510c9d03be62fd1f --- /dev/null +++ b/ASP-IICS-Team/GetPeople/getPeople.json @@ -0,0 +1,291 @@ +{ + "swagger" : "2.0", + "info" : { + "description" : null, + "version" : "1.0.0", + "title" : null, + "termsOfService" : null, + "contact" : null, + "license" : null + }, + "host" : "api.wisc.edu", + "basePath" : "/people", + "schemes" : [ "https" ], + "paths" : { + "/" : { + "get" : { + "tags" : [ "getPeople" ], + "summary" : null, + "description" : null, + "operationId" : "getPeople", + "produces" : [ "application/json" ], + "consumes" : [ "application/json" ], + "parameters" : [ ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/getPeople" + } + } + } + } + } + }, + "definitions" : { + "getPeople##data##attributes" : { + "properties" : { + "emailAddress" : { + "type" : "string" + }, + "firstName" : { + "type" : "string" + }, + "lastName" : { + "type" : "string" + }, + "officeAddress" : { + "type" : "string" + }, + "officePhoneNumber" : { + "type" : "string" + } + } + }, + "getPeople##data##links" : { + "properties" : { + "self" : { + "type" : "string" + } + } + }, + "getPeople##data##meta" : { + "properties" : { + "ferpa" : { + "type" : "boolean" + } + } + }, + "getPeople##data##relationships##addresses##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "getPeople##data##relationships##addresses##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "getPeople##data##relationships##addresses" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/getPeople##data##relationships##addresses##data" + } + }, + "links" : { + "$ref" : "#/definitions/getPeople##data##relationships##addresses##links" + } + } + }, + "getPeople##data##relationships##identifiers##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "getPeople##data##relationships##identifiers##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "getPeople##data##relationships##identifiers" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/getPeople##data##relationships##identifiers##data" + } + }, + "links" : { + "$ref" : "#/definitions/getPeople##data##relationships##identifiers##links" + } + } + }, + "getPeople##data##relationships##jobs##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "getPeople##data##relationships##jobs##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "getPeople##data##relationships##jobs" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/getPeople##data##relationships##jobs##data" + } + }, + "links" : { + "$ref" : "#/definitions/getPeople##data##relationships##jobs##links" + } + } + }, + "getPeople##data##relationships##names##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "getPeople##data##relationships##names" : { + "properties" : { + "data" : { + "type" : "string" + }, + "links" : { + "$ref" : "#/definitions/getPeople##data##relationships##names##links" + } + } + }, + "getPeople##data##relationships##phoneNumbers##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "getPeople##data##relationships##phoneNumbers##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "getPeople##data##relationships##phoneNumbers" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/getPeople##data##relationships##phoneNumbers##data" + } + }, + "links" : { + "$ref" : "#/definitions/getPeople##data##relationships##phoneNumbers##links" + } + } + }, + "getPeople##data##relationships##wiscard##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "getPeople##data##relationships##wiscard" : { + "properties" : { + "data" : { + "type" : "string" + }, + "links" : { + "$ref" : "#/definitions/getPeople##data##relationships##wiscard##links" + } + } + }, + "getPeople##data##relationships" : { + "properties" : { + "addresses" : { + "$ref" : "#/definitions/getPeople##data##relationships##addresses" + }, + "identifiers" : { + "$ref" : "#/definitions/getPeople##data##relationships##identifiers" + }, + "jobs" : { + "$ref" : "#/definitions/getPeople##data##relationships##jobs" + }, + "names" : { + "$ref" : "#/definitions/getPeople##data##relationships##names" + }, + "phoneNumbers" : { + "$ref" : "#/definitions/getPeople##data##relationships##phoneNumbers" + }, + "wiscard" : { + "$ref" : "#/definitions/getPeople##data##relationships##wiscard" + } + } + }, + "getPeople##data" : { + "properties" : { + "attributes" : { + "$ref" : "#/definitions/getPeople##data##attributes" + }, + "id" : { + "type" : "string" + }, + "links" : { + "$ref" : "#/definitions/getPeople##data##links" + }, + "meta" : { + "$ref" : "#/definitions/getPeople##data##meta" + }, + "relationships" : { + "$ref" : "#/definitions/getPeople##data##relationships" + }, + "type" : { + "type" : "string" + } + } + }, + "getPeople##links" : { + "properties" : { + "next" : { + "type" : "string" + }, + "self" : { + "type" : "string" + } + } + }, + "getPeople" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/getPeople##data" + } + }, + "links" : { + "$ref" : "#/definitions/getPeople##links" + } + } + } + } +} \ No newline at end of file diff --git a/ASP-IICS-Team/GetPeople/getPeopleAddresses.json b/ASP-IICS-Team/GetPeople/getPeopleAddresses.json new file mode 100644 index 0000000000000000000000000000000000000000..e3de271cb3176f4a427571f454dfc7ebc457f184 --- /dev/null +++ b/ASP-IICS-Team/GetPeople/getPeopleAddresses.json @@ -0,0 +1,150 @@ +{ + "swagger" : "2.0", + "info" : { + "description" : null, + "version" : "1.0.0", + "title" : null, + "termsOfService" : null, + "contact" : null, + "license" : null + }, + "host" : "api.wisc.edu", + "basePath" : "/people", + "schemes" : [ "https" ], + "paths" : { + "/{id}/addresses" : { + "get" : { + "tags" : [ "getPeopleAddresses" ], + "summary" : null, + "description" : null, + "operationId" : "getPeopleAddresses", + "produces" : [ "application/json" ], + "consumes" : [ "application/json" ], + "parameters" : [ { + "name" : "id", + "in" : "path", + "description" : null, + "required" : false, + "type" : "string" + } ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/getPeopleAddresses" + } + } + } + } + } + }, + "definitions" : { + "getPeopleAddresses##data##attributes" : { + "properties" : { + "addressType" : { + "type" : "string" + }, + "city" : { + "type" : "string" + }, + "country" : { + "type" : "string" + }, + "county" : { + "type" : "string" + }, + "line1" : { + "type" : "string" + }, + "line2" : { + "type" : "string" + }, + "line3" : { + "type" : "string" + }, + "line4" : { + "type" : "string" + }, + "postalCode" : { + "type" : "string" + }, + "source" : { + "type" : "string" + }, + "state" : { + "type" : "string" + } + } + }, + "getPeopleAddresses##data##relationships##person##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "getPeopleAddresses##data##relationships##person##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "getPeopleAddresses##data##relationships##person" : { + "properties" : { + "data" : { + "$ref" : "#/definitions/getPeopleAddresses##data##relationships##person##data" + }, + "links" : { + "$ref" : "#/definitions/getPeopleAddresses##data##relationships##person##links" + } + } + }, + "getPeopleAddresses##data##relationships" : { + "properties" : { + "person" : { + "$ref" : "#/definitions/getPeopleAddresses##data##relationships##person" + } + } + }, + "getPeopleAddresses##data" : { + "properties" : { + "attributes" : { + "$ref" : "#/definitions/getPeopleAddresses##data##attributes" + }, + "id" : { + "type" : "string" + }, + "relationships" : { + "$ref" : "#/definitions/getPeopleAddresses##data##relationships" + }, + "type" : { + "type" : "string" + } + } + }, + "getPeopleAddresses##links" : { + "properties" : { + "self" : { + "type" : "string" + } + } + }, + "getPeopleAddresses" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/getPeopleAddresses##data" + } + }, + "links" : { + "$ref" : "#/definitions/getPeopleAddresses##links" + } + } + } + } +} \ No newline at end of file diff --git a/ASP-IICS-Team/GetPeople/getPeopleIdentifiers.json b/ASP-IICS-Team/GetPeople/getPeopleIdentifiers.json new file mode 100644 index 0000000000000000000000000000000000000000..84002710f3b2a9da43aa5fc370e3e3cd4bf8e82b --- /dev/null +++ b/ASP-IICS-Team/GetPeople/getPeopleIdentifiers.json @@ -0,0 +1,129 @@ +{ + "swagger" : "2.0", + "info" : { + "description" : null, + "version" : "1.0.0", + "title" : null, + "termsOfService" : null, + "contact" : null, + "license" : null + }, + "host" : "api.wisc.edu", + "basePath" : "/people", + "schemes" : [ "https" ], + "paths" : { + "/{id}/identifiers" : { + "get" : { + "tags" : [ "getPeopleIdentifiers" ], + "summary" : null, + "description" : null, + "operationId" : "getPeopleIdentifiers", + "produces" : [ "application/json" ], + "consumes" : [ "application/json" ], + "parameters" : [ { + "name" : "id", + "in" : "path", + "description" : null, + "required" : false, + "type" : "string" + } ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/getPeopleIdentifiers" + } + } + } + } + } + }, + "definitions" : { + "getPeopleIdentifiers##data##attributes" : { + "properties" : { + "current" : { + "type" : "boolean" + }, + "name" : { + "type" : "string" + }, + "source" : { + "type" : "string" + }, + "value" : { + "type" : "string" + } + } + }, + "getPeopleIdentifiers##data##relationships##person##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "getPeopleIdentifiers##data##relationships##person##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "getPeopleIdentifiers##data##relationships##person" : { + "properties" : { + "data" : { + "$ref" : "#/definitions/getPeopleIdentifiers##data##relationships##person##data" + }, + "links" : { + "$ref" : "#/definitions/getPeopleIdentifiers##data##relationships##person##links" + } + } + }, + "getPeopleIdentifiers##data##relationships" : { + "properties" : { + "person" : { + "$ref" : "#/definitions/getPeopleIdentifiers##data##relationships##person" + } + } + }, + "getPeopleIdentifiers##data" : { + "properties" : { + "attributes" : { + "$ref" : "#/definitions/getPeopleIdentifiers##data##attributes" + }, + "id" : { + "type" : "string" + }, + "relationships" : { + "$ref" : "#/definitions/getPeopleIdentifiers##data##relationships" + }, + "type" : { + "type" : "string" + } + } + }, + "getPeopleIdentifiers##links" : { + "properties" : { + "self" : { + "type" : "string" + } + } + }, + "getPeopleIdentifiers" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/getPeopleIdentifiers##data" + } + }, + "links" : { + "$ref" : "#/definitions/getPeopleIdentifiers##links" + } + } + } + } +} \ No newline at end of file diff --git a/ASP-IICS-Team/GetPeople/getPeopleJobs.json b/ASP-IICS-Team/GetPeople/getPeopleJobs.json new file mode 100644 index 0000000000000000000000000000000000000000..fa6490f9dd2c40d1548d5cb572c6b10c81efb715 --- /dev/null +++ b/ASP-IICS-Team/GetPeople/getPeopleJobs.json @@ -0,0 +1,201 @@ +{ + "swagger" : "2.0", + "info" : { + "description" : null, + "version" : "1.0.0", + "title" : null, + "termsOfService" : null, + "contact" : null, + "license" : null + }, + "host" : "api.wisc.edu", + "basePath" : "/people", + "schemes" : [ "https" ], + "paths" : { + "/{id}/jobs" : { + "get" : { + "tags" : [ "getPeopleJobs" ], + "summary" : null, + "description" : null, + "operationId" : "getPeopleJobs", + "produces" : [ "application/json" ], + "consumes" : [ "application/json" ], + "parameters" : [ { + "name" : "id", + "in" : "path", + "description" : null, + "required" : false, + "type" : "string" + } ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/getPeopleJobs" + } + } + } + } + } + }, + "definitions" : { + "getPeopleJobs##data##attributes" : { + "properties" : { + "beginDate" : { + "type" : "string" + }, + "businessTitle" : { + "type" : "string" + }, + "costCenterId" : { + "type" : "string" + }, + "current" : { + "type" : "boolean" + }, + "departmentUnit" : { + "type" : "string" + }, + "division" : { + "type" : "string" + }, + "divisionCode" : { + "type" : "string" + }, + "effectiveDate" : { + "type" : "string" + }, + "employeeCategory" : { + "type" : "string" + }, + "employeeCategoryCode" : { + "type" : "string" + }, + "endDate" : { + "type" : "string" + }, + "fullTimeEquivalent" : { + "type" : "string" + }, + "jobCode" : { + "type" : "string" + }, + "payBasis" : { + "type" : "string" + }, + "position" : { + "type" : "string" + }, + "source" : { + "type" : "string" + }, + "supervisoryOrganizationId" : { + "type" : "string" + }, + "title" : { + "type" : "string" + } + } + }, + "getPeopleJobs##data##relationships##person##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "getPeopleJobs##data##relationships##person##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "getPeopleJobs##data##relationships##person" : { + "properties" : { + "data" : { + "$ref" : "#/definitions/getPeopleJobs##data##relationships##person##data" + }, + "links" : { + "$ref" : "#/definitions/getPeopleJobs##data##relationships##person##links" + } + } + }, + "getPeopleJobs##data##relationships##supervisor##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "getPeopleJobs##data##relationships##supervisor##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "getPeopleJobs##data##relationships##supervisor" : { + "properties" : { + "data" : { + "$ref" : "#/definitions/getPeopleJobs##data##relationships##supervisor##data" + }, + "links" : { + "$ref" : "#/definitions/getPeopleJobs##data##relationships##supervisor##links" + } + } + }, + "getPeopleJobs##data##relationships" : { + "properties" : { + "person" : { + "$ref" : "#/definitions/getPeopleJobs##data##relationships##person" + }, + "supervisor" : { + "$ref" : "#/definitions/getPeopleJobs##data##relationships##supervisor" + } + } + }, + "getPeopleJobs##data" : { + "properties" : { + "attributes" : { + "$ref" : "#/definitions/getPeopleJobs##data##attributes" + }, + "id" : { + "type" : "string" + }, + "relationships" : { + "$ref" : "#/definitions/getPeopleJobs##data##relationships" + }, + "type" : { + "type" : "string" + } + } + }, + "getPeopleJobs##links" : { + "properties" : { + "self" : { + "type" : "string" + } + } + }, + "getPeopleJobs" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/getPeopleJobs##data" + } + }, + "links" : { + "$ref" : "#/definitions/getPeopleJobs##links" + } + } + } + } +} \ No newline at end of file