{
	"openapi": "3.0.0",
	"info": {
		"title": "Customer Service Bot API",
		"version": "1.0.0",
		"description": "Customer service APIs to create Appian case"
	},
	"paths": {
		"/case": {
			"post": {
				"summary": "Create case",
				"description": "Based on provided caseTypeId, return customer information like customer ID, preferred activity and others",
				"operationId": "createCase",
				"parameters": [
					{
						"name": "caseTypeId",
						"in": "query",
						"description": "Device Review notes",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"name": "title",
						"in": "query",
						"description": "descriptive name for a object",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"name": "description",
						"in": "query",
						"description": "Description of the problem",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"name": "firstName",
						"in": "query",
						"description": "First Name of the user reporting the issue",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"name": "lastName",
						"in": "query",
						"description": "Last Name of the user reporting the issue",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"name": "email",
						"in": "query",
						"description": "Email of the user reporting the issue",
						"required": true,
						"schema": {
							"type": "string"
						}
					},
					{
						"name": "mobilePhone",
						"in": "query",
						"description": "Phone number of the user reporting the issue",
						"required": true,
						"schema": {
							"type": "string"
						}
					}
				],
				"responses": {
					"200": {
						"description": "succesfully created the case",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"caseId": {
											"type": "string",
											"description": "This is the case ID for this shoe"
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
}
