Skip to main content
Documentation for the Success page schema component.

Properties

  • logo (object)
    • url (string) - Logo URL
  • title (string) - minLength: 0 - maxLength: 100 - Page title
  • description (string) - minLength: 2 - maxLength: 200 - Page description
  • social_media_profiles (object - ref: social_profile)

Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {},
  "title": "Success page schema",
  "description": "",
  "type": "object",
  "properties": {
    "logo": {
      "type": "object",
      "required": [],
      "additionalProperties": false,
      "properties": {
        "url": {
          "type": "string",
          "description": "Logo URL",
          "anyOf": [
            {
              "pattern": "^(https?://.*\\.(png|jpeg|jpg|svg|gif|PNG|JPEG|JPG|SVG|GIF))$"
            },
            {
              "const": ""
            }
          ]
        }
      }
    },
    "title": {
      "type": "string",
      "minLength": 0,
      "maxLength": 100,
      "description": "Page title"
    },
    "description": {
      "type": "string",
      "minLength": 2,
      "maxLength": 200,
      "description": "Page description"
    },
    "social_media_profiles": {
      "$ref": "social_profile.json"
    }
  }
}