diff --git a/EI-IICS-Team/SSN_POC/GetPeople.json b/EI-IICS-Team/SSN_POC/GetPeople.json new file mode 100644 index 0000000000000000000000000000000000000000..955643744ff61492acb7f26c69c2d1023508032d --- /dev/null +++ b/EI-IICS-Team/SSN_POC/GetPeople.json @@ -0,0 +1,440 @@ +{ + "swagger" : "2.0", + "info" : { + "description" : null, + "version" : "1.0.0", + "title" : null, + "termsOfService" : null, + "contact" : null, + "license" : null + }, + "host" : "mock.api.wisc.edu", + "basePath" : "/people", + "schemes" : [ "https" ], + "paths" : { + "/" : { + "get" : { + "tags" : [ "GetPeople" ], + "summary" : null, + "description" : null, + "operationId" : "GetPeople", + "produces" : [ "application/json" ], + "consumes" : [ "application/json" ], + "parameters" : [ { + "name" : "filter[lastName]", + "in" : "query", + "description" : null, + "required" : false, + "type" : "string" + } ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/GetPeople" + } + } + } + } + } + }, + "definitions" : { + "GetPeople##data##attributes" : { + "properties" : { + "continuousServiceDate" : { + "type" : "string" + }, + "dateOfBirth" : { + "type" : "string" + }, + "deceased" : { + "type" : "boolean" + }, + "emailAddress" : { + "type" : "string" + }, + "firstName" : { + "type" : "string" + }, + "lastName" : { + "type" : "string" + }, + "legalSex" : { + "type" : "string" + }, + "officeAddress" : { + "type" : "string" + }, + "officePhoneNumber" : { + "type" : "string" + } + } + }, + "GetPeople##data##links" : { + "properties" : { + "self" : { + "type" : "string" + } + } + }, + "GetPeople##data##meta" : { + "properties" : { + "ferpa" : { + "type" : "boolean" + }, + "ferpaAttributes" : { + "type" : "array", + "items" : { + "type" : "string" + } + }, + "privateAttributes" : { + "type" : "array", + "items" : { + "type" : "string" + } + } + } + }, + "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##affiliations##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "GetPeople##data##relationships##affiliations##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "GetPeople##data##relationships##affiliations" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/GetPeople##data##relationships##affiliations##data" + } + }, + "links" : { + "$ref" : "#/definitions/GetPeople##data##relationships##affiliations##links" + } + } + }, + "GetPeople##data##relationships##emailAddresses##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "GetPeople##data##relationships##emailAddresses##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "GetPeople##data##relationships##emailAddresses" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/GetPeople##data##relationships##emailAddresses##data" + } + }, + "links" : { + "$ref" : "#/definitions/GetPeople##data##relationships##emailAddresses##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##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "GetPeople##data##relationships##names##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "GetPeople##data##relationships##names" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/GetPeople##data##relationships##names##data" + } + }, + "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##socialSecurityNumbers##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "GetPeople##data##relationships##socialSecurityNumbers##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "GetPeople##data##relationships##socialSecurityNumbers" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/GetPeople##data##relationships##socialSecurityNumbers##data" + } + }, + "links" : { + "$ref" : "#/definitions/GetPeople##data##relationships##socialSecurityNumbers##links" + } + } + }, + "GetPeople##data##relationships##wiscard##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "GetPeople##data##relationships##wiscard##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "GetPeople##data##relationships##wiscard" : { + "properties" : { + "data" : { + "$ref" : "#/definitions/GetPeople##data##relationships##wiscard##data" + }, + "links" : { + "$ref" : "#/definitions/GetPeople##data##relationships##wiscard##links" + } + } + }, + "GetPeople##data##relationships" : { + "properties" : { + "addresses" : { + "$ref" : "#/definitions/GetPeople##data##relationships##addresses" + }, + "affiliations" : { + "$ref" : "#/definitions/GetPeople##data##relationships##affiliations" + }, + "emailAddresses" : { + "$ref" : "#/definitions/GetPeople##data##relationships##emailAddresses" + }, + "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" + }, + "socialSecurityNumbers" : { + "$ref" : "#/definitions/GetPeople##data##relationships##socialSecurityNumbers" + }, + "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" : { + "self" : { + "type" : "string" + } + } + }, + "GetPeople" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/GetPeople##data" + } + }, + "links" : { + "$ref" : "#/definitions/GetPeople##links" + } + } + } + } +} \ No newline at end of file