changedInput schema / properties / body / properties / content / allOf
Previous value: -[
- {
- "properties": {
- "description": {
- "allOf": [
- {
- "properties": {
- "localized": {
- "description": "Locale-keyed string map",
- "example": {
- "en_US": "Hello"
- },
- "type": "object"
- }
- },
- "required": [
- "localized"
- ],
- "type": "object"
- }
- ],
- "description": "Form description",
- "example": {
- "localized": {
- "en_US": "Fill out this quick form"
- }
- }
- },
- "headline": {
- "allOf": [
- {
- "properties": {
- "localized": {
- "description": "Locale-keyed string map",
- "example": {
- "en_US": "Hello"
- },
- "type": "object"
- }
- },
- "required": [
- "localized"
- ],
- "type": "object"
- }
- ],
- "description": "Form headline",
- "example": {
- "localized": {
- "en_US": "Get in touch"
- }
- }
- },
- "legalInfo": {
- "allOf": [
- {
- "properties": {
- "consents": {
- "description": "Consent entries",
- "example": [
- {
- "checkRequired": true,
- "consent": {
- "localized": {
- "en_US": "I agree to terms"
- }
- },
- "id": 1
- }
- ],
- "items": {
- "properties": {
- "checkRequired": {
- "description": "Whether consent checkbox is required",
- "example": true,
- "type": "boolean"
- },
- "consent": {
- "allOf": [
- {
- "properties": {
- "localized": {
- "description": "Locale-keyed string map",
- "example": {
- "en_US": "Hello"
- },
- "type": "object"
- }
- },
- "required": [
- "localized"
- ],
- "type": "object"
- }
- ],
- "description": "Consent text",
- "example": {
- "localized": {
- "en_US": "I agree to receive marketing communications"
- }
- }
- },
- "id": {
- "description": "Consent identifier",
- "example": 1,
- "type": "number"
- }
- },
- "required": [
- "checkRequired",
- "id",
- "consent"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "legalDisclaimer": {
- "allOf": [
- {
- "properties": {
- "localized": {
- "description": "Locale-keyed string map",
- "example": {
- "en_US": "Hello"
- },
- "type": "object"
- }
- },
- "required": [
- "localized"
- ],
- "type": "object"
- }
- ],
- "description": "Legal disclaimer text",
- "example": {
- "localized": {
- "en_US": "By submitting, you accept our Privacy Policy"
- }
- }
- },
- "privacyPolicyUrl": {
- "description": "Privacy policy URL",
- "example": "https://example.com/privacy",
- "type": "string"
- }
- },
- "required": [
- "consents",
- "privacyPolicyUrl"
- ],
- "type": "object"
- }
- ],
- "description": "Legal information",
- "example": {
- "consents": [
- {
- "checkRequired": true,
- "consent": {
- "localized": {
- "en_US": "I agree"
- }
- },
- "id": 1
- }
- ],
- "privacyPolicyUrl": "https://example.com/privacy"
- }
- },
- "postSubmissionInfo": {
- "allOf": [
- {
- "properties": {
- "callToAction": {
- "allOf": [
- {
- "properties": {
- "callToActionLabel": {
- "description": "Call to action label",
- "enum": [
- "VISIT_COMPANY_WEBSITE",
- "DOWNLOAD_NOW",
- "TRY_NOW",
- "VIEW_NOW",
- "LEARN_MORE"
- ],
- "example": "LEARN_MORE",
- "type": "string"
- },
- "callToActionTarget": {
- "allOf": [
- {
- "properties": {
- "landingPageUrl": {
- "description": "Landing page URL",
- "example": "https://example.com/thank-you",
- "type": "string"
- }
- },
- "required": [
- "landingPageUrl"
- ],
- "type": "object"
- }
- ],
- "description": "Call to action target",
- "example": {
- "landingPageUrl": "https://example.com/thank-you"
- }
- }
- },
- "required": [
- "callToActionTarget",
- "callToActionLabel"
- ],
- "type": "object"
- }
- ],
- "description": "Post-submission call to action",
- "example": {
- "callToActionLabel": "LEARN_MORE",
- "callToActionTarget": {
- "landingPageUrl": "https://example.com/thank-you"
- }
- }
- },
- "message": {
- "allOf": [
- {
- "properties": {
- "localized": {
- "description": "Locale-keyed string map",
- "example": {
- "en_US": "Hello"
- },
- "type": "object"
- }
- },
- "required": [
- "localized"
- ],
- "type": "object"
- }
- ],
- "description": "Thank-you message",
- "example": {
- "localized": {
- "en_US": "Thank you!"
- }
- }
- }
- },
- "required": [
- "message",
- "callToAction"
- ],
- "type": "object"
- }
- ],
- "description": "Post-submission info",
- "example": {
- "callToAction": {
- "callToActionLabel": "LEARN_MORE",
- "callToActionTarget": {
- "landingPageUrl": "https://example.com/thank-you"
- }
- },
- "message": {
- "localized": {
- "en_US": "Thank you!"
- }
- }
- }
- },
- "questions": {
- "description": "Form questions",
- "example": [
- {
- "name": "firstName",
- "question": {
- "localized": {
- "en_US": "First name"
- }
- },
- "questionDetails": {
- "textQuestionDetails": {}
- }
- }
- ],
- "items": {
- "properties": {
- "name": {
- "description": "Question field name",
- "example": "firstName",
- "type": "string"
- },
- "predefinedField": {
- "description": "Predefined field identifier",
- "example": "FIRST_NAME",
- "type": "string"
- },
- "question": {
- "allOf": [
- {
- "properties": {
- "localized": {
- "description": "Locale-keyed string map",
- "example": {
- "en_US": "Hello"
- },
- "type": "object"
- }
- },
- "required": [
- "localized"
- ],
- "type": "object"
- }
- ],
- "description": "Question text",
- "example": {
- "localized": {
- "en_US": "What is your first name?"
- }
- }
- },
- "questionDetails": {
- "allOf": [
- {
- "properties": {
- "multipleChoiceQuestionDetails": {
- "allOf": [
- {
- "properties": {
- "options": {
- "description": "Choice options",
- "example": [
- {
- "id": 1,
- "text": {
- "localized": {
- "en_US": "Yes"
- }
- }
- }
- ],
- "items": {
- "properties": {
- "id": {
- "description": "Option ID",
- "example": 1,
- "type": "number"
- },
- "text": {
- "allOf": [
- {
- "properties": {
- "localized": {
- "description": "Locale-keyed string map",
- "example": {
- "en_US": "Hello"
- },
- "type": "object"
- }
- },
- "required": [
- "localized"
- ],
- "type": "object"
- }
- ],
- "description": "Option text",
- "example": {
- "localized": {
- "en_US": "Yes"
- }
- }
- }
- },
- "required": [
- "id",
- "text"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "options"
- ],
- "type": "object"
- }
- ],
- "description": "Multiple choice question details",
- "example": {
- "options": [
- {
- "id": 1,
- "text": {
- "localized": {
- "en_US": "Yes"
- }
- }
- }
- ]
- }
- },
- "textQuestionDetails": {
- "description": "Text question details (empty object for text questions)",
- "example": {},
- "type": "object"
- }
- },
- "type": "object"
- }
- ],
- "description": "Question type details",
- "example": {
- "textQuestionDetails": {}
- }
- }
- },
- "required": [
- "question",
- "name",
- "questionDetails"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "questions",
- "headline",
- "postSubmissionInfo",
- "legalInfo"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "description": {
+ "allOf": [
+ {
+ "properties": {
+ "localized": {
+ "description": "Locale-keyed string map",
+ "example": {
+ "en_US": "Hello"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "localized"
+ ],
+ "title": "LocalizedStringDTO",
+ "type": "object"
+ }
+ ],
+ "description": "Form description",
+ "example": {
+ "localized": {
+ "en_US": "Fill out this quick form"
+ }
+ }
+ },
+ "headline": {
+ "allOf": [
+ {
+ "properties": {
+ "localized": {
+ "description": "Locale-keyed string map",
+ "example": {
+ "en_US": "Hello"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "localized"
+ ],
+ "title": "LocalizedStringDTO",
+ "type": "object"
+ }
+ ],
+ "description": "Form headline",
+ "example": {
+ "localized": {
+ "en_US": "Get in touch"
+ }
+ }
+ },
+ "legalInfo": {
+ "allOf": [
+ {
+ "properties": {
+ "consents": {
+ "description": "Consent entries",
+ "example": [
+ {
+ "checkRequired": true,
+ "consent": {
+ "localized": {
+ "en_US": "I agree to terms"
+ }
+ },
+ "id": 1
+ }
+ ],
+ "items": {
+ "properties": {
+ "checkRequired": {
+ "description": "Whether consent checkbox is required",
+ "example": true,
+ "type": "boolean"
+ },
+ "consent": {
+ "allOf": [
+ {
+ "properties": {
+ "localized": {
+ "description": "Locale-keyed string map",
+ "example": {
+ "en_US": "Hello"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "localized"
+ ],
+ "title": "LocalizedStringDTO",
+ "type": "object"
+ }
+ ],
+ "description": "Consent text",
+ "example": {
+ "localized": {
+ "en_US": "I agree to receive marketing communications"
+ }
+ }
+ },
+ "id": {
+ "description": "Consent identifier",
+ "example": 1,
+ "type": "number"
+ }
+ },
+ "required": [
+ "checkRequired",
+ "id",
+ "consent"
+ ],
+ "title": "ConsentDTO",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "legalDisclaimer": {
+ "allOf": [
+ {
+ "properties": {
+ "localized": {
+ "description": "Locale-keyed string map",
+ "example": {
+ "en_US": "Hello"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "localized"
+ ],
+ "title": "LocalizedStringDTO",
+ "type": "object"
+ }
+ ],
+ "description": "Legal disclaimer text",
+ "example": {
+ "localized": {
+ "en_US": "By submitting, you accept our Privacy Policy"
+ }
+ }
+ },
+ "privacyPolicyUrl": {
+ "description": "Privacy policy URL",
+ "example": "https://example.com/privacy",
+ "type": "string"
+ }
+ },
+ "required": [
+ "consents",
+ "privacyPolicyUrl"
+ ],
+ "title": "LegalInfoDTO",
+ "type": "object"
+ }
+ ],
+ "description": "Legal information",
+ "example": {
+ "consents": [
+ {
+ "checkRequired": true,
+ "consent": {
+ "localized": {
+ "en_US": "I agree"
+ }
+ },
+ "id": 1
+ }
+ ],
+ "privacyPolicyUrl": "https://example.com/privacy"
+ }
+ },
+ "postSubmissionInfo": {
+ "allOf": [
+ {
+ "properties": {
+ "callToAction": {
+ "allOf": [
+ {
+ "properties": {
+ "callToActionLabel": {
+ "description": "Call to action label",
+ "enum": [
+ "VISIT_COMPANY_WEBSITE",
+ "DOWNLOAD_NOW",
+ "TRY_NOW",
+ "VIEW_NOW",
+ "LEARN_MORE"
+ ],
+ "example": "LEARN_MORE",
+ "type": "string"
+ },
+ "callToActionTarget": {
+ "allOf": [
+ {
+ "properties": {
+ "landingPageUrl": {
+ "description": "Landing page URL",
+ "example": "https://example.com/thank-you",
+ "type": "string"
+ }
+ },
+ "required": [
+ "landingPageUrl"
+ ],
+ "title": "PostSubmissionCallToActionTargetDTO",
+ "type": "object"
+ }
+ ],
+ "description": "Call to action target",
+ "example": {
+ "landingPageUrl": "https://example.com/thank-you"
+ }
+ }
+ },
+ "required": [
+ "callToActionTarget",
+ "callToActionLabel"
+ ],
+ "title": "PostSubmissionCallToActionDTO",
+ "type": "object"
+ }
+ ],
+ "description": "Post-submission call to action",
+ "example": {
+ "callToActionLabel": "LEARN_MORE",
+ "callToActionTarget": {
+ "landingPageUrl": "https://example.com/thank-you"
+ }
+ }
+ },
+ "message": {
+ "allOf": [
+ {
+ "properties": {
+ "localized": {
+ "description": "Locale-keyed string map",
+ "example": {
+ "en_US": "Hello"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "localized"
+ ],
+ "title": "LocalizedStringDTO",
+ "type": "object"
+ }
+ ],
+ "description": "Thank-you message",
+ "example": {
+ "localized": {
+ "en_US": "Thank you!"
+ }
+ }
+ }
+ },
+ "required": [
+ "message",
+ "callToAction"
+ ],
+ "title": "PostSubmissionInfoDTO",
+ "type": "object"
+ }
+ ],
+ "description": "Post-submission info",
+ "example": {
+ "callToAction": {
+ "callToActionLabel": "LEARN_MORE",
+ "callToActionTarget": {
+ "landingPageUrl": "https://example.com/thank-you"
+ }
+ },
+ "message": {
+ "localized": {
+ "en_US": "Thank you!"
+ }
+ }
+ }
+ },
+ "questions": {
+ "description": "Form questions",
+ "example": [
+ {
+ "name": "firstName",
+ "question": {
+ "localized": {
+ "en_US": "First name"
+ }
+ },
+ "questionDetails": {
+ "textQuestionDetails": {}
+ }
+ }
+ ],
+ "items": {
+ "properties": {
+ "name": {
+ "description": "Question field name",
+ "example": "firstName",
+ "type": "string"
+ },
+ "predefinedField": {
+ "description": "Predefined field identifier",
+ "example": "FIRST_NAME",
+ "type": "string"
+ },
+ "question": {
+ "allOf": [
+ {
+ "properties": {
+ "localized": {
+ "description": "Locale-keyed string map",
+ "example": {
+ "en_US": "Hello"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "localized"
+ ],
+ "title": "LocalizedStringDTO",
+ "type": "object"
+ }
+ ],
+ "description": "Question text",
+ "example": {
+ "localized": {
+ "en_US": "What is your first name?"
+ }
+ }
+ },
+ "questionDetails": {
+ "allOf": [
+ {
+ "properties": {
+ "multipleChoiceQuestionDetails": {
+ "allOf": [
+ {
+ "properties": {
+ "options": {
+ "description": "Choice options",
+ "example": [
+ {
+ "id": 1,
+ "text": {
+ "localized": {
+ "en_US": "Yes"
+ }
+ }
+ }
+ ],
+ "items": {
+ "properties": {
+ "id": {
+ "description": "Option ID",
+ "example": 1,
+ "type": "number"
+ },
+ "text": {
+ "allOf": [
+ {
+ "properties": {
+ "localized": {
+ "description": "Locale-keyed string map",
+ "example": {
+ "en_US": "Hello"
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "localized"
+ ],
+ "title": "LocalizedStringDTO",
+ "type": "object"
+ }
+ ],
+ "description": "Option text",
+ "example": {
+ "localized": {
+ "en_US": "Yes"
+ }
+ }
+ }
+ },
+ "required": [
+ "id",
+ "text"
+ ],
+ "title": "MultipleChoiceOptionDTO",
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "options"
+ ],
+ "title": "MultipleChoiceQuestionDetailsDTO",
+ "type": "object"
+ }
+ ],
+ "description": "Multiple choice question details",
+ "example": {
+ "options": [
+ {
+ "id": 1,
+ "text": {
+ "localized": {
+ "en_US": "Yes"
+ }
+ }
+ }
+ ]
+ }
+ },
+ "textQuestionDetails": {
+ "description": "Text question details (empty object for text questions)",
+ "example": {},
+ "type": "object"
+ }
+ },
+ "title": "QuestionDetailsDTO",
+ "type": "object"
+ }
+ ],
+ "description": "Question type details",
+ "example": {
+ "textQuestionDetails": {}
+ }
+ }
+ },
+ "required": [
+ "question",
+ "name",
+ "questionDetails"
+ ],
+ "title": "LeadFormQuestionDTO",
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "questions",
+ "headline",
+ "postSubmissionInfo",
+ "legalInfo"
+ ],
+ "title": "LeadFormContentDTO",
+ "type": "object"
+ }
+]