> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scanova.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Wedding category

> Validate wedding category

Validate wedding category

## Schema Structure

This category uses the standard QR code category structure.

## Components Used

This category uses the following components:

* [Banner Images](/guides/category-components/components/banner_images)
* [Button](/guides/category-components/components/button)
* [Custom Form](/guides/category-components/components/custom_form)
* [Custom Script](/guides/category-components/components/custom_script)
* [Description Box](/guides/category-components/components/description_box)
* [Event Schedule](/guides/category-components/components/event_schedule)
* [Event Venue](/guides/category-components/components/event_venue)
* [File](/guides/category-components/components/file)
* [Map](/guides/category-components/components/map)
* [Page Layout](/guides/category-components/components/page_layout)
* [Page Settings](/guides/category-components/components/page_settings)
* [Page Title](/guides/category-components/components/page_title)
* [Rsvp](/guides/category-components/components/rsvp)
* [Separator](/guides/category-components/components/separator)
* [Video](/guides/category-components/components/video)

## Schema

<CodeGroup>
  ```json Schema theme={null}
  {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "array",
    "title": "Wedding category",
    "description": "Validate wedding category",
    "examples": [],
    "additionalProperties": false,
    "items": {
      "type": "object",
      "required": [
        "type",
        "data"
      ],
      "additionalProperties": false,
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "page_layout",
            "page_title",
            "banner_images",
            "description_box",
            "event_schedule",
            "event_venue",
            "button",
            "rsvp",
            "couple_name",
            "map",
            "custom_script",
            "file",
            "custom_form",
            "video",
            "page_settings"
          ]
        },
        "data": {
          "type": "object"
        }
      },
      "allOf": [
        {
          "if": {
            "properties": {
              "type": {
                "const": "page_title"
              }
            }
          },
          "then": {
            "properties": {
              "data": {
                "$ref": "components/page_title.json"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "couple_name"
              }
            }
          },
          "then": {
            "properties": {
              "data": {
                "type": "object",
                "required": [
                  "first_name",
                  "second_name"
                ],
                "additionalProperties": false,
                "properties": {
                  "first_name": {
                    "type": "string",
                    "maxLength": 30
                  },
                  "separator_text": {
                    "type": "string",
                    "maxLength": 30
                  },
                  "second_name": {
                    "type": "string",
                    "maxLength": 30
                  },
                  "formatting": {
                    "type": "object",
                    "additionalProperties": false,
                    "properties": {
                      "textStyle": {
                        "$ref": "components/style/text.json"
                      },
                      "cardStyle": {
                        "$ref": "components/style/card.json"
                      }
                    }
                  },
                  "separator": {
                    "$ref": "components/separator.json"
                  }
                }
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "button"
              }
            }
          },
          "then": {
            "properties": {
              "data": {
                "$ref": "components/button.json"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "page_layout"
              }
            }
          },
          "then": {
            "properties": {
              "data": {
                "allOf": [
                  {
                    "$ref": "components/page_layout.json"
                  },
                  {
                    "properties": {
                      "templateName": {
                        "type": "string",
                        "enum": [
                          "classic",
                          "royal",
                          "retro",
                          "custom"
                        ]
                      }
                    },
                    "required": [
                      "templateName",
                      "backgroundColor"
                    ]
                  }
                ]
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "description_box"
              }
            }
          },
          "then": {
            "properties": {
              "data": {
                "$ref": "components/description_box.json"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "event_schedule"
              }
            }
          },
          "then": {
            "properties": {
              "data": {
                "$ref": "components/event_schedule.json"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "event_venue"
              }
            }
          },
          "then": {
            "properties": {
              "data": {
                "$ref": "components/event_venue.json"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "rsvp"
              }
            }
          },
          "then": {
            "properties": {
              "data": {
                "$ref": "components/rsvp.json"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "banner_images"
              }
            }
          },
          "then": {
            "properties": {
              "data": {
                "$ref": "components/banner_images.json"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "map"
              }
            }
          },
          "then": {
            "properties": {
              "data": {
                "$ref": "components/map.json"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "custom_script"
              }
            }
          },
          "then": {
            "properties": {
              "data": {
                "$ref": "components/custom_script.json"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "file"
              }
            }
          },
          "then": {
            "properties": {
              "data": {
                "$ref": "components/file.json"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "custom_form"
              }
            }
          },
          "then": {
            "properties": {
              "data": {
                "$ref": "components/custom_form.json"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "video"
              }
            }
          },
          "then": {
            "properties": {
              "data": {
                "$ref": "components/video.json"
              }
            }
          }
        },
        {
          "if": {
            "properties": {
              "type": {
                "const": "page_settings"
              }
            }
          },
          "then": {
            "properties": {
              "data": {
                "$ref": "components/page_settings.json"
              }
            }
          }
        }
      ]
    }
  }
  ```
</CodeGroup>
