Skip to main content
Documentation for the Start 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
  • button (object)
    • label (string)
    • buttonStyle (object)
      • borderWidth (number)
      • borderRadius (number)
    • color (object)
      • border (string)
      • button (string)
      • label (string)

Used in Categories

This component is used in the following categories:

Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "definitions": {},
  "title": "Start 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"
    },
    "button": {
      "type": "object",
      "properties": {
        "label": {
          "type": "string"
        },
        "buttonStyle": {
          "type": "object",
          "properties": {
            "borderWidth": {
              "type": "number"
            },
            "borderRadius": {
              "type": "number"
            }
          }
        },
        "color": {
          "type": "object",
          "properties": {
            "border": {
              "type": "string"
            },
            "button": {
              "type": "string"
            },
            "label": {
              "type": "string"
            }
          }
        }
      }
    }
  }
}