From 56ba1b7c00ac4a24e8445e141d2792e6beb78d7e Mon Sep 17 00:00:00 2001 From: Keith Hazelton Date: Wed, 2 Sep 2020 11:50:47 -0500 Subject: [PATCH] Update idMatchApi.yml --- idMatchApi.yml | 78 +++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 67 insertions(+), 11 deletions(-) diff --git a/idMatchApi.yml b/idMatchApi.yml index 6058aa2..0970c88 100644 --- a/idMatchApi.yml +++ b/idMatchApi.yml @@ -2,17 +2,14 @@ openapi: 3.0.0 info: version: 1.1.0 title: ID Match API - description: - -ID Match API Specification from Internet2 Trust and Identity, and Spherical Cow Group - + description: ID Match API Specification from Internet2 Trust and Identity, and Spherical Cow Group security: - accessCode: - read - write servers: - description: SwaggerHub API Auto Mocking - url: https://virtserver.swaggerhub.com/I2_TrustAndIdentity/ID_Match/1.0.0 + url: https://virtserver.swaggerhub.com/I2/idMatch/1.0.0 paths: /sis: @@ -30,7 +27,7 @@ paths: schema: type: array items: - $ref: '#/components/schemas/corePerson' + $ref: '#/components/schemas/person' '400': $ref: '#/components/responses/400Error' @@ -41,7 +38,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/corePerson' + $ref: '#/components/schemas/person' responses: '200': description: Found (or added) person record @@ -108,7 +105,7 @@ components: read: allows reading resources schemas: - corePerson: + person: required: - sorId type: object @@ -122,12 +119,71 @@ components: items: type: object properties: - nameType: + type: + type: string + given: + type: string + family: + type: string + address: + type: array + items: + type: object + properties: + country: + type: string + formatted: + type: string + language: + type: string + locality: + type: string + postalCode: + type: string + region: + type: string + room: + type: string + streetAddress: + type: string + type: + type: string + verified: + type: string + emailAddress: + type: array + items: + type: object + properties: + address: + type: string + type: type: string - givenName: + verified: + type: string + identifier: + type: array + items: + type: object + properties: + id: type: string - familyName: + type: type: string + primaryAffiliation: + type: string + gender: + type: string + telephoneNumber: + type: array + items: + type: object + properties: + number: + type: string + type: + type: string + parameters: PageLimit: name: limit