Skip to content

Commit

Permalink
Update idMatchApi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
khazelton authored Sep 2, 2020
1 parent 7e13d9f commit 56ba1b7
Showing 1 changed file with 67 additions and 11 deletions.
78 changes: 67 additions & 11 deletions idMatchApi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -30,7 +27,7 @@ paths:
schema:
type: array
items:
$ref: '#/components/schemas/corePerson'
$ref: '#/components/schemas/person'
'400':
$ref: '#/components/responses/400Error'

Expand All @@ -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
Expand Down Expand Up @@ -108,7 +105,7 @@ components:
read: allows reading resources

schemas:
corePerson:
person:
required:
- sorId
type: object
Expand All @@ -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
Expand Down

0 comments on commit 56ba1b7

Please sign in to comment.