{ "openapi": "3.0.0", "info": { "version": "1.0.0", "title": "Aimmune API", "description": "This is a sample API for Aimmune for UBC form.", "x-jentic-source-url": "https://api.swaggerhub.com/apis/RAPP-APP-DEV-LA/AimmuneAPIUBC/1.0.0/swagger.json", "contact": {} }, "servers": [ { "url": "https://io.palforzia.com/api" } ], "paths": { "/ubc": { "post": { "summary": "for UBC", "description": "receives UBC submissions", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "required": [ "patient_gender", "address", "caregiver_full_name", "caregiver_relationship_to_patient", "caregiver_phone_number", "caregiver_email", "prescription_information", "hcp_provider_name", "hcp_provider_specialty", "hcp_provider_practice_name", "hcp_provider_address", "hcp_provider_phone_number", "hcp_provider_prescriber_tax_id" ], "properties": { "patient_gender": { "type": "string", "description": "eg. M or male, what is the syntax like" }, "address": { "type": "string" }, "caregiver_full_name": { "type": "string" }, "caregiver_relationship_to_patient": { "type": "string", "description": "what is the input field" }, "caregiver_phone_number": { "type": "string" }, "caregiver_email": { "type": "string", "maxLength": 254 }, "prescription_information": { "type": "string", "description": "what is the input field" }, "hcp_provider_name": { "type": "string" }, "hcp_provider_specialty": { "type": "string" }, "hcp_provider_practice_name": { "type": "string" }, "hcp_provider_address": { "type": "string" }, "hcp_provider_phone_number": { "type": "string" }, "hcp_provider_prescriber_tax_id": { "type": "string" } } } } } }, "responses": { "200": { "description": "Successfully created", "content": { "application/json": { "schema": { "type": "object", "properties": { "caregiver_full_name": { "type": "string" }, "caregiver_email": { "type": "string" } } } } } }, "400": { "description": "Invalid request", "content": { "application/json": { "schema": { "type": "object", "properties": { "message": { "type": "string", "description": "for example, missing required inputs" } } } } } }, "401": { "description": "Unauthorized. (This API will be IP restricted, not planning on authorization tokens at this time)." } }, "tags": [ "ubc" ], "operationId": "post-ubc" } } }, "components": {}, "tags": [ { "name": "ubc" } ] }