From c785febfb42523379211fdfd2c4dee361faa20f0 Mon Sep 17 00:00:00 2001 From: Troy Taylor <44444967+troystaylor@users.noreply.github.com> Date: Tue, 27 Sep 2022 20:41:26 -0400 Subject: [PATCH] Badgr (Independent Publisher) v1.1 (#1933) * Add files via upload * Update apiDefinition.swagger.json --- .../Badgr/apiDefinition.swagger.json | 82 ++++++++++++++++++- 1 file changed, 78 insertions(+), 4 deletions(-) diff --git a/independent-publisher-connectors/Badgr/apiDefinition.swagger.json b/independent-publisher-connectors/Badgr/apiDefinition.swagger.json index 5cc5ffcb4..a9d44c193 100644 --- a/independent-publisher-connectors/Badgr/apiDefinition.swagger.json +++ b/independent-publisher-connectors/Badgr/apiDefinition.swagger.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "title": "Badgr", - "version": "1.0", + "version": "1.1", "description": "Organizations around the world use Badgr to create branded learning ecosystems that support their communities with skills-based digital credentials, stackable learning pathways, and portable learner records.", "contact": { "name": "Troy Taylor", @@ -113,8 +113,82 @@ "title": "Entity ID" }, "userProfile": { - "type": "string", - "description": "The profile of the user.", + "type": "object", + "properties": { + "entityType": { + "type": "string", + "description": "The entity type.", + "title": "Entity Type" + }, + "entityId": { + "type": "string", + "description": "The entity identifier.", + "title": "Entity ID" + }, + "firstName": { + "type": "string", + "description": "The first name.", + "title": "First Name" + }, + "lastName": { + "type": "string", + "description": "The last name.", + "title": "Last Name" + }, + "emails": { + "type": "array", + "items": { + "type": "object", + "properties": { + "email": { + "type": "string", + "description": "The email address.", + "title": "Email" + }, + "verified": { + "type": "boolean", + "description": "Whether verified.", + "title": "Verified" + }, + "primary": { + "type": "boolean", + "description": "Whether primary.", + "title": "Primary" + }, + "caseVariants": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The case variants.", + "title": "Case Variants" + } + } + }, + "title": "Emails" + }, + "url": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The URL addresses.", + "title": "URLs" + }, + "telephone": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The telephone numbers.", + "title": "Telephone Numbers" + }, + "badgrDomain": { + "type": "string", + "description": "The Badgr domain.", + "title": "Badgr Domain" + } + }, "title": "User Profile" }, "user": { @@ -8453,4 +8527,4 @@ "propertyValue": "Human Resources" } ] -} \ No newline at end of file +}