{ "$defs": { "compareString": { "oneOf": [ { "const": "greaterThan" }, { "const": "equals" }, { "const": "smallerThan" } ], "type": "string" }, "formType": { "oneOf": [ { "const": "mobileInvitation" }, { "const": "code" } ], "type": "string" }, "ratingViewType": { "oneOf": [ { "const": "slide" }, { "const": "numbersSquare" }, { "const": "gradingSlider" }, { "const": "gradingDropdown" }, { "const": "stars" }, { "const": "emoticons" }, { "const": "numbers" }, { "const": "smilies" }, { "const": "bars" } ], "type": "string" }, "access_token_wrapper": { "properties": { "accessToken": { "type": "string" } }, "required": [ "accessToken" ], "type": "object" }, "component_checkbox": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "required": { "type": "boolean" }, "label": { "type": "string" }, "options": { "items": { "type": "string" }, "type": "array" }, "description": { "type": "string" } }, "required": [ "index", "id", "unique_name", "required", "label", "options" ], "type": "object" }, "component_dropdown": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "required": { "type": "boolean" }, "placeholder": { "type": "string" }, "label": { "type": "string" }, "options": { "items": { "type": "string" }, "type": "array" }, "description": { "type": "string" } }, "required": [ "index", "id", "unique_name", "required", "placeholder", "label", "options" ], "type": "object" }, "component_grading": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "required": { "type": "boolean" }, "label": { "type": "string" }, "ratingViewType": { "$ref": "#/$defs/ratingViewType" }, "description": { "type": "string" } }, "required": [ "index", "id", "unique_name", "required", "label", "ratingViewType" ], "type": "object" }, "component_grading0to10": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "required": { "type": "boolean" }, "label": { "type": "string" }, "ratingViewType": { "$ref": "#/$defs/ratingViewType" }, "description": { "type": "string" } }, "required": [ "index", "id", "unique_name", "required", "label", "ratingViewType" ], "type": "object" }, "component_grading1to10": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "required": { "type": "boolean" }, "label": { "type": "string" }, "ratingViewType": { "$ref": "#/$defs/ratingViewType" }, "description": { "type": "string" } }, "required": [ "index", "id", "unique_name", "required", "label", "ratingViewType" ], "type": "object" }, "component_image": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "imageObject": { "$ref": "#/$defs/image" }, "uploadedResource": { "$ref": "#/$defs/image" } }, "required": [ "index", "id", "unique_name" ], "type": "object" }, "component_label": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "labelContent": { "type": "string" }, "num_of_lines": { "type": "integer" } }, "required": [ "index", "id", "unique_name", "num_of_lines" ], "type": "object" }, "component_nps": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "required": { "type": "boolean" }, "label": { "type": "string" }, "description": { "type": "string" }, "ratingViewType": { "$ref": "#/$defs/ratingViewType" } }, "required": [ "index", "id", "unique_name", "required", "label", "ratingViewType" ], "type": "object" }, "component_radioSelector": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "required": { "type": "boolean" }, "label": { "type": "string" }, "options": { "items": { "type": "string" }, "type": "array" }, "description": { "type": "string" } }, "required": [ "index", "id", "unique_name", "required", "label", "options" ], "type": "object" }, "component_textArea": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "required": { "type": "boolean" }, "placeholder": { "type": "string" }, "label": { "type": "string" }, "num_of_lines": { "type": "integer" }, "description": { "type": "string" } }, "required": [ "index", "id", "unique_name", "required", "placeholder", "label", "num_of_lines" ], "type": "object" }, "component_textInput": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "required": { "type": "boolean" }, "placeholder": { "type": "string" }, "label": { "type": "string" }, "max_chars": { "type": "integer" }, "description": { "type": "string" } }, "required": [ "index", "id", "unique_name", "required", "placeholder", "label", "max_chars" ], "type": "object" }, "configuration": { "properties": { "propertyId": { "type": "integer" }, "feedbackSubmitUrl": { "type": "string" }, "forms": { "items": { "$ref": "#/$defs/form" }, "type": "array" } }, "required": [ "propertyId", "feedbackSubmitUrl", "forms" ], "type": "object" }, "dynamicData": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "required": { "type": "boolean" }, "component": { "type": "string" }, "unique_name": { "type": "string" }, "placeholder": { "type": "string" }, "label": { "type": "string" }, "description": { "type": "string" }, "options": { "items": { "type": "string" }, "type": "array" }, "imageObject": { "$ref": "#/$defs/image" } }, "required": [ "index", "id", "required", "component", "unique_name", "placeholder", "label" ], "type": "object" }, "feedback": { "properties": { "formId": { "type": "integer" }, "dynamicData": { "$ref": "#/$defs/feedback_data" } }, "required": [ "formId", "dynamicData" ], "type": "object" }, "feedback_checkbox": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "value": { "items": { "type": "integer" }, "type": "array" }, "type": { "type": "string" } }, "required": [ "index", "id", "unique_name", "value", "type" ], "type": "object" }, "feedback_data": { "properties": { "customParams": { "type": "object" }, "pages": { "items": { "$ref": "#/$defs/feedback_page" }, "type": "array" } }, "required": [ "pages" ], "type": "object" }, "feedback_dropdown": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "value": { "type": "integer" }, "type": { "type": "string" } }, "required": [ "index", "id", "unique_name", "value", "type" ], "type": "object" }, "feedback_grading": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "value": { "type": "integer" }, "type": { "type": "string" } }, "required": [ "index", "id", "unique_name", "value", "type" ], "type": "object" }, "feedback_grading0to10": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "value": { "type": "integer" }, "type": { "type": "string" } }, "required": [ "index", "id", "unique_name", "value", "type" ], "type": "object" }, "feedback_grading1to10": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "value": { "type": "integer" }, "type": { "type": "string" } }, "required": [ "index", "id", "unique_name", "value", "type" ], "type": "object" }, "feedback_nps": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "value": { "type": "integer" }, "type": { "type": "string" } }, "required": [ "index", "id", "unique_name", "value", "type" ], "type": "object" }, "feedback_page": { "properties": { "components": { "items": { "$ref": "#/$defs/feedback_union" }, "type": "array" } }, "required": [ "components" ], "type": "object" }, "feedback_radioSelector": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "value": { "type": "integer" }, "type": { "type": "string" } }, "required": [ "index", "id", "unique_name", "value", "type" ], "type": "object" }, "feedback_textArea": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "value": { "type": "string" }, "type": { "type": "string" } }, "required": [ "index", "id", "unique_name", "value", "type" ], "type": "object" }, "feedback_textInput": { "properties": { "index": { "type": "integer" }, "id": { "type": "integer" }, "unique_name": { "type": "string" }, "value": { "type": "string" }, "type": { "type": "string" } }, "required": [ "index", "id", "unique_name", "value", "type" ], "type": "object" }, "form": { "properties": { "formId": { "type": "integer" }, "name": { "type": "string" }, "title": { "type": "string" }, "formType": { "$ref": "#/$defs/formType" }, "inviteData": { "$ref": "#/$defs/inviteData" }, "triggerData": { "$ref": "#/$defs/triggerData" }, "formJson": { "$ref": "#/$defs/formJson" } }, "required": [ "formId", "name", "title", "formType", "formJson" ], "type": "object" }, "formJson": { "properties": { "pages": { "items": { "$ref": "#/$defs/page" }, "type": "array" } }, "required": [ "pages" ], "type": "object" }, "image": { "properties": { "name": { "type": "string" }, "url": { "type": "string" } }, "required": [ "name", "url" ], "type": "object" }, "inviteData": { "properties": { "invitationHeadline": { "type": "string" }, "invitationText": { "type": "string" }, "provideButtonText": { "type": "string" }, "declineButtonText": { "type": "string" }, "laterButtonText": { "type": "string" } }, "required": [ "invitationHeadline", "invitationText", "provideButtonText", "declineButtonText", "laterButtonText" ], "type": "object" }, "numberOfAppSession": { "properties": { "number": { "type": "string" }, "compareString": { "$ref": "#/$defs/compareString" } }, "required": [ "number", "compareString" ], "type": "object" }, "numberOfDays": { "properties": { "days": { "type": "string" } }, "required": [ "days" ], "type": "object" }, "page": { "properties": { "name": { "type": "string" }, "index": { "type": "integer" }, "dynamicData": { "items": { "$ref": "#/$defs/component_union" }, "type": "array" } }, "required": [ "name", "index", "dynamicData" ], "type": "object" }, "percentageOfSessions": { "properties": { "prec": { "type": "string" } }, "required": [ "prec" ], "type": "object" }, "timeInForeground": { "properties": { "time": { "type": "string" }, "compareString": { "$ref": "#/$defs/compareString" } }, "required": [ "time", "compareString" ], "type": "object" }, "triggerData": { "properties": { "numberOfAppSession": { "$ref": "#/$defs/numberOfAppSession" }, "timeInForeground": { "$ref": "#/$defs/timeInForeground" }, "mobileappVersion": { "items": { "type": "string" }, "type": "array" }, "submitted": { "$ref": "#/$defs/numberOfDays" }, "declined": { "$ref": "#/$defs/numberOfDays" }, "mobileosVersion": { "items": { "type": "string" }, "type": "array" }, "percentageOfSessions": { "$ref": "#/$defs/percentageOfSessions" }, "genericRule": { "type": "string" } }, "required": [], "type": "object" }, "component_union": { "anyOf": [ { "$ref": "#/$defs/component_label" }, { "$ref": "#/$defs/component_image" }, { "$ref": "#/$defs/component_nps" }, { "$ref": "#/$defs/component_textArea" }, { "$ref": "#/$defs/component_textInput" }, { "$ref": "#/$defs/component_radioSelector" }, { "$ref": "#/$defs/component_checkbox" }, { "$ref": "#/$defs/component_dropdown" }, { "$ref": "#/$defs/component_grading" }, { "$ref": "#/$defs/component_grading0to10" }, { "$ref": "#/$defs/component_grading1to10" } ] }, "feedback_union": { "anyOf": [ { "$ref": "#/$defs/feedback_nps" }, { "$ref": "#/$defs/feedback_textArea" }, { "$ref": "#/$defs/feedback_textInput" }, { "$ref": "#/$defs/feedback_radioSelector" }, { "$ref": "#/$defs/feedback_checkbox" }, { "$ref": "#/$defs/feedback_dropdown" }, { "$ref": "#/$defs/feedback_grading" }, { "$ref": "#/$defs/feedback_grading0to10" }, { "$ref": "#/$defs/feedback_grading1to10" } ] } }, "additionalProperties": true, "properties": { "authenticated": { "const": true, "type": "boolean" }, "body": { "type": "object" }, "rawBody": { "type": "object" }, "headers": { "properties": { "Authentication": { "type": "string" } }, "required": [ "Authentication" ], "type": "object" }, "method": { "const": "POST", "type": "string" }, "parameterizedUrl": { "const": "/accessToken", "type": "string" }, "path": { "type": "string" }, "query": { "type": "object" }, "url": { "type": "string" } }, "required": [ "body", "rawBody", "query", "path", "url", "method" ], "type": "object" }