▾ "schemas" : {
▾ "SimpleApiResponseOfGetLookupsResponse" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "data" : {
"nullable" : true ,
▾ "oneOf" : [
▾ 0 : {
"$ref" : "#/components/schemas/GetLookupsResponse"
}
]
}
}
} ,
▾ "GetLookupsResponse" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "id" : {
"type" : "integer" ,
"format" : "int32"
} ,
▾ "language" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "lookups" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/Lookup"
}
}
}
} ,
▾ "Lookup" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "key" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "value" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "value2" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "value3" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "value4" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "value5" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "isFreeText" : {
"type" : "boolean"
} ,
▾ "lookups" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/Lookup"
}
}
}
} ,
▾ "SimpleApiResponseOfSurvey" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "data" : {
"nullable" : true ,
▾ "oneOf" : [
▾ 0 : {
"$ref" : "#/components/schemas/Survey"
}
]
}
}
} ,
▾ "Survey" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "id" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "name" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "pages" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyPage"
}
}
}
} ,
▾ "SurveyPage" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "id" : {
"type" : "string" ,
"format" : "guid"
} ,
▾ "name" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "sort" : {
"type" : "integer" ,
"format" : "int32"
} ,
▾ "lists" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyQuestionList"
}
}
}
} ,
▾ "SurveyQuestionList" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "id" : {
"type" : "string" ,
"format" : "guid"
} ,
▾ "name" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "description" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "title" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "sort" : {
"type" : "integer" ,
"format" : "int32"
} ,
▾ "questions" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyQuestion"
}
} ,
▾ "styles" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"type" : "string"
}
}
}
} ,
▾ "SurveyQuestion" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "id" : {
"type" : "string" ,
"format" : "guid"
} ,
▾ "type" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "name" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "label" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "informationText" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "isRequired" : {
"type" : "boolean"
} ,
▾ "isReadOnly" : {
"type" : "boolean"
} ,
▾ "defaultAnswer" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "attributes" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyQuestionAttribute"
}
} ,
▾ "condition" : {
"nullable" : true ,
▾ "oneOf" : [
▾ 0 : {
"$ref" : "#/components/schemas/ISurveyQuestionCondition"
}
]
} ,
▾ "validators" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyQuestionValidator"
}
} ,
▾ "modifiers" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyQuestionModifier"
}
} ,
▾ "sort" : {
"type" : "integer" ,
"format" : "int32"
} ,
▾ "useLookupData" : {
"type" : "boolean"
} ,
▾ "lookupDataName" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "lookupDataUrl" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "lookupDataValueKey" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "styles" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"type" : "string"
}
} ,
▾ "bindingMember" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "sets" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/QuestionSet"
}
}
}
} ,
▾ "SurveyQuestionAttribute" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "key" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "value" : {
"type" : "string" ,
"nullable" : true
}
}
} ,
▾ "ISurveyQuestionCondition" : {
"type" : "object" ,
"x-abstract" : true ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "type" : {
"$ref" : "#/components/schemas/SurveyQuestionConditionType"
} ,
▾ "failureBehavior" : {
"$ref" : "#/components/schemas/QuestionHandleFailType"
}
}
} ,
▾ "SurveyQuestionConditionType" : {
"type" : "string" ,
"description" : "" ,
▾ "x-enumNames" : [
0 : "Conjunction" ,
1 : "Comparison" ,
2 : "Time"
] ,
▾ "enum" : [
0 : "Conjunction" ,
1 : "Comparison" ,
2 : "Time"
]
} ,
▾ "QuestionHandleFailType" : {
"type" : "string" ,
"description" : "" ,
▾ "x-enumNames" : [
0 : "FadeOut" ,
1 : "Disable"
] ,
▾ "enum" : [
0 : "FadeOut" ,
1 : "Disable"
]
} ,
▾ "SurveyQuestionValidator" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "sort" : {
"type" : "integer" ,
"format" : "int32"
} ,
▾ "type" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "trigger" : {
"$ref" : "#/components/schemas/AccessMoment"
} ,
▾ "informationText" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "errorText" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "properties" : {
"type" : "object" ,
"nullable" : true ,
▾ "additionalProperties" : {
"type" : "string"
}
}
}
} ,
▾ "AccessMoment" : {
"type" : "string" ,
"description" : "" ,
▾ "x-enumNames" : [
0 : "None" ,
1 : "OnValueChanged" ,
2 : "OnEnter" ,
3 : "OnLeave" ,
4 : "OnClick" ,
5 : "OnPageLeave"
] ,
▾ "enum" : [
0 : "None" ,
1 : "OnValueChanged" ,
2 : "OnEnter" ,
3 : "OnLeave" ,
4 : "OnClick" ,
5 : "OnPageLeave"
]
} ,
▾ "SurveyQuestionModifier" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "sort" : {
"type" : "integer" ,
"format" : "int32"
} ,
▾ "type" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "trigger" : {
"$ref" : "#/components/schemas/AccessMoment"
} ,
▾ "properties" : {
"type" : "object" ,
"nullable" : true ,
▾ "additionalProperties" : {
"type" : "string"
}
}
}
} ,
▾ "QuestionSet" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "isDefault" : {
"type" : "boolean"
} ,
▾ "condition" : {
"type" : "object" ,
"nullable" : true ,
▾ "additionalProperties" : {
}
} ,
▾ "questions" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyQuestion"
}
}
}
} ,
▾ "SimpleApiResponseOfValidateSurveyAnswersResponse" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "data" : {
"nullable" : true ,
▾ "oneOf" : [
▾ 0 : {
"$ref" : "#/components/schemas/ValidateSurveyAnswersResponse"
}
]
}
}
} ,
▾ "ValidateSurveyAnswersResponse" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "surveyId" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "surveyAnswers" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyAnswer"
}
} ,
▾ "success" : {
"type" : "boolean"
} ,
▾ "errors" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyResponseValidationError"
}
}
}
} ,
▾ "SurveyAnswer" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "bindingMember" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "value" : {
"type" : "string" ,
"nullable" : true
}
}
} ,
▾ "SurveyResponseValidationError" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "errorMessage" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "validator" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "question" : {
"type" : "string" ,
"format" : "guid"
} ,
▾ "value" : {
"type" : "string" ,
"nullable" : true
}
}
} ,
▾ "ValidateSurveyAnswersRequestPayload" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "answers" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyAnswer"
}
}
}
} ,
▾ "SimpleApiResponseOfCreateSurveyResponseResponse" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "data" : {
"nullable" : true ,
▾ "oneOf" : [
▾ 0 : {
"$ref" : "#/components/schemas/CreateSurveyResponseResponse"
}
]
}
}
} ,
▾ "CreateSurveyResponseResponse" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "id" : {
"type" : "string" ,
"format" : "guid"
} ,
▾ "surveyId" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "answers" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyResponseAnswer"
}
} ,
▾ "invalidAnswers" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/InvalidSurveyResponseAnswer"
}
}
}
} ,
▾ "SurveyResponseAnswer" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "question" : {
"type" : "string" ,
"format" : "guid"
} ,
▾ "value" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "isFile" : {
"type" : "boolean"
} ,
▾ "bindingMember" : {
"type" : "string" ,
"nullable" : true
}
}
} ,
▾ "InvalidSurveyResponseAnswer" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "question" : {
"type" : "string" ,
"format" : "guid"
} ,
▾ "value" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "errors" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyQuestionValidationError"
}
}
}
} ,
▾ "SurveyQuestionValidationError" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "errorMessage" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "validator" : {
"type" : "string" ,
"nullable" : true
}
}
} ,
▾ "SetSurveyResponseAnswersRequest" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "answers" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyResponseAnswer"
}
}
}
} ,
▾ "SimpleApiResponseOfUpdateSurveyResponseResponse" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "data" : {
"nullable" : true ,
▾ "oneOf" : [
▾ 0 : {
"$ref" : "#/components/schemas/UpdateSurveyResponseResponse"
}
]
}
}
} ,
▾ "UpdateSurveyResponseResponse" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "id" : {
"type" : "string" ,
"format" : "guid"
} ,
▾ "surveyId" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "answers" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyResponseAnswer"
}
} ,
▾ "invalidAnswers" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/InvalidSurveyResponseAnswer"
}
}
}
} ,
▾ "SimpleApiResponseOfGetSurveyResponseResponse" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "data" : {
"nullable" : true ,
▾ "oneOf" : [
▾ 0 : {
"$ref" : "#/components/schemas/GetSurveyResponseResponse"
}
]
}
}
} ,
▾ "GetSurveyResponseResponse" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "id" : {
"type" : "string" ,
"format" : "guid"
} ,
▾ "surveyId" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "answers" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyResponseAnswer"
}
}
}
} ,
▾ "SimpleApiResponseOfDeleteSurveyResponseResponse" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "data" : {
"nullable" : true ,
▾ "oneOf" : [
▾ 0 : {
"$ref" : "#/components/schemas/DeleteSurveyResponseResponse"
}
]
}
}
} ,
▾ "DeleteSurveyResponseResponse" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "success" : {
"type" : "boolean"
}
}
} ,
▾ "SimpleApiResponseOfValidateSurveyResponseResponse" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "data" : {
"nullable" : true ,
▾ "oneOf" : [
▾ 0 : {
"$ref" : "#/components/schemas/ValidateSurveyResponseResponse"
}
]
}
}
} ,
▾ "ValidateSurveyResponseResponse" : {
"type" : "object" ,
"additionalProperties" : false ,
▾ "properties" : {
▾ "surveyId" : {
"type" : "string" ,
"nullable" : true
} ,
▾ "responseId" : {
"type" : "string" ,
"format" : "guid"
} ,
▾ "success" : {
"type" : "boolean"
} ,
▾ "errors" : {
"type" : "array" ,
"nullable" : true ,
▾ "items" : {
"$ref" : "#/components/schemas/SurveyResponseValidationError"
}
}
}
}
}