PostHog · Schema
SurveyAppearanceSchema
A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording
Properties
| Name | Type | Description |
|---|---|---|
| backgroundColor | string | |
| submitButtonColor | string | |
| textColor | string | |
| submitButtonText | string | |
| submitButtonTextColor | string | |
| descriptionTextColor | string | |
| ratingButtonColor | string | |
| ratingButtonActiveColor | string | |
| ratingButtonHoverColor | string | |
| whiteLabel | boolean | |
| autoDisappear | boolean | |
| displayThankYouMessage | boolean | |
| thankYouMessageHeader | string | |
| thankYouMessageDescription | string | |
| thankYouMessageDescriptionContentType | object | |
| thankYouMessageCloseButtonText | string | |
| borderColor | string | |
| placeholder | string | |
| shuffleQuestions | boolean | |
| surveyPopupDelaySeconds | integer | |
| widgetType | object | |
| widgetSelector | string | |
| widgetLabel | string | |
| widgetColor | string | |
| fontFamily | string | |
| maxWidth | string | |
| zIndex | string | |
| disabledButtonOpacity | string | |
| boxPadding | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/SurveyAppearanceSchema",
"title": "SurveyAppearanceSchema",
"type": "object",
"properties": {
"backgroundColor": {
"type": "string"
},
"submitButtonColor": {
"type": "string"
},
"textColor": {
"type": "string"
},
"submitButtonText": {
"type": "string"
},
"submitButtonTextColor": {
"type": "string"
},
"descriptionTextColor": {
"type": "string"
},
"ratingButtonColor": {
"type": "string"
},
"ratingButtonActiveColor": {
"type": "string"
},
"ratingButtonHoverColor": {
"type": "string"
},
"whiteLabel": {
"type": "boolean"
},
"autoDisappear": {
"type": "boolean"
},
"displayThankYouMessage": {
"type": "boolean"
},
"thankYouMessageHeader": {
"type": "string"
},
"thankYouMessageDescription": {
"type": "string"
},
"thankYouMessageDescriptionContentType": {
"$ref": "#/components/schemas/DescriptionContentTypeEnum"
},
"thankYouMessageCloseButtonText": {
"type": "string"
},
"borderColor": {
"type": "string"
},
"placeholder": {
"type": "string"
},
"shuffleQuestions": {
"type": "boolean"
},
"surveyPopupDelaySeconds": {
"type": "integer"
},
"widgetType": {
"$ref": "#/components/schemas/WidgetTypeEnum"
},
"widgetSelector": {
"type": "string"
},
"widgetLabel": {
"type": "string"
},
"widgetColor": {
"type": "string"
},
"fontFamily": {
"type": "string"
},
"maxWidth": {
"type": "string"
},
"zIndex": {
"type": "string"
},
"disabledButtonOpacity": {
"type": "string"
},
"boxPadding": {
"type": "string"
}
}
}