diff --git a/EI-IICS-Team/SSN_POC/GetSSN.json b/EI-IICS-Team/SSN_POC/GetSSN.json new file mode 100644 index 0000000000000000000000000000000000000000..4194f86abe2cf724b59759806e1c4abeac10a9ac --- /dev/null +++ b/EI-IICS-Team/SSN_POC/GetSSN.json @@ -0,0 +1,132 @@ +{ + "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" : { + "/{id}/socialSecurityNumbers" : { + "get" : { + "tags" : [ "GetSSN" ], + "summary" : null, + "description" : null, + "operationId" : "GetSSN", + "produces" : [ "application/json" ], + "consumes" : [ "application/json" ], + "parameters" : [ { + "name" : "person-api-certificate-id", + "in" : "header", + "description" : null, + "required" : false, + "type" : "string" + }, { + "name" : "id", + "in" : "path", + "description" : null, + "required" : false, + "type" : "string" + } ], + "responses" : { + "200" : { + "description" : "successful operation", + "schema" : { + "$ref" : "#/definitions/GetSSN" + } + } + } + } + } + }, + "definitions" : { + "GetSSN##data##attributes" : { + "properties" : { + "institution" : { + "type" : "string" + }, + "socialSecurityNumber" : { + "type" : "string" + }, + "source" : { + "type" : "string" + } + } + }, + "GetSSN##data##relationships##person##data" : { + "properties" : { + "id" : { + "type" : "string" + }, + "type" : { + "type" : "string" + } + } + }, + "GetSSN##data##relationships##person##links" : { + "properties" : { + "related" : { + "type" : "string" + } + } + }, + "GetSSN##data##relationships##person" : { + "properties" : { + "data" : { + "$ref" : "#/definitions/GetSSN##data##relationships##person##data" + }, + "links" : { + "$ref" : "#/definitions/GetSSN##data##relationships##person##links" + } + } + }, + "GetSSN##data##relationships" : { + "properties" : { + "person" : { + "$ref" : "#/definitions/GetSSN##data##relationships##person" + } + } + }, + "GetSSN##data" : { + "properties" : { + "attributes" : { + "$ref" : "#/definitions/GetSSN##data##attributes" + }, + "id" : { + "type" : "string" + }, + "relationships" : { + "$ref" : "#/definitions/GetSSN##data##relationships" + }, + "type" : { + "type" : "string" + } + } + }, + "GetSSN##links" : { + "properties" : { + "self" : { + "type" : "string" + } + } + }, + "GetSSN" : { + "properties" : { + "data" : { + "type" : "array", + "items" : { + "$ref" : "#/definitions/GetSSN##data" + } + }, + "links" : { + "$ref" : "#/definitions/GetSSN##links" + } + } + } + } +} \ No newline at end of file