i18n:
  structure: multiple_folders
  locales: [en]

collections:
  - name: "pages"
    folder: "apps/rayyan-marketing/src/content/pages"
    identifier_field: "page_name"
    create: true
    label: "Pages"
    label_singular: "Page"
    i18n: true
    fields:
      - name: "enabled"
        label: "Enabled"
        widget: "boolean"
        summary: "If this page should be enabled"
        required: false
        default: true
      - name: "page_name"
        label: "Page Name"
        widget: "string"
        summary: "The name of the page, this is only used for internal purposes (Won't be visible to the public)"
      - name: "tab-title"
        label: "Tab Title"
        widget: "string"
        summary: "The title of the page, this is only used for the tab in the browser"
      - name: "noindex"
        label: "Noindex"
        widget: "boolean"
        summary: "If this page should be indexed by search engines"
        required: false
      - name: "page-description"
        label: "Page Description"
        widget: "string"
        summary: "Description of the page"
        required: false
      - name: "page-keywords"
        label: "Page Keywords"
        widget: "string"
        summary: "List of keywords for the page, useful for search engines"
        required: false
      - name: "page-author"
        label: "Page Author"
        widget: "string"
        summary: "Author of the page"
        required: false
      - name: "route"
        label: "Route"
        widget: "string"
        summary: "The route of the page, this is used for the URL of the page"
      - name: "sections"
        label: "Sections"
        widget: "list"
        types:
          - &hero
            name: "hero"
            label: "Hero"
            widget: "object"
            fields:
              - &title
                label: "Title"
                name: "title"
                widget: "string"
              - &description
                name: "description"
                label: "Description"
                widget: "string"
              - &cta
                label: "CTA"
                widget: "object"
                name: "cta"
                fields:
                  - &label
                    label: "Label"
                    name: "label"
                    widget: "string"
                  - &mobile-label
                    label: "Mobile Label"
                    name: "mobile-label"
                    widget: "string"
                    required: false
                  - label: "Target"
                    name: "target"
                  - &mobile-target
                    label: "Mobile Target"
                    name: "mobile-target"
                    required: false
                  - label: "Variant"
                    name: "desktop-variant"
                    widget: "select"
                    options:
                      [
                        "text",
                        "outlined",
                        "contained",
                        "contained-surface",
                        "contained-opacity",
                        "contained-gradient",
                      ]
                    required: false
                  - label: "Mobile Variant"
                    name: "mobile-variant"
                    widget: "select"
                    options:
                      [
                        "text",
                        "outlined",
                        "contained",
                        "contained-surface",
                        "contained-opacity",
                        "contained-gradient",
                      ]
                    required: false
                  - &classes
                    name: "classes"
                    label: "Classes"
                    widget: "string"
                    required: false
              - name: "desktop-image"
                label: "Desktop Image"
                widget: "object"
                fields:
                  - name: "src"
                    label: "Source"
                    widget: "image"
                  - name: "image-description"
                    label: "Image Description"
                    widget: "string"
              - name: "mobile-image"
                label: "Mobile Image"
                widget: "object"
                fields:
                  - name: "src"
                    label: "Source"
                    widget: "image"
                  - name: "image-description"
                    label: "Image Description"
                    widget: "string"
              - name: "video-cta"
                label: "Video CTA"
                widget: "object"
                fields:
                  - *label
                  - name: "video-link"
                    label: "Video Link"
                    widget: "string"
                  - name: "video-title"
                    label: "Video Title"
                    widget: "string"
          - &interactive-scroller
            name: "interactive-scroller"
            label: "Interactive Scroller"
            widget: "object"
            fields:
              - name: "enabled"
                label: "Enabled"
                widget: "boolean"
                default: false
          - &image
            name: "image"
            label: "Image"
            widget: "object"
            fields:
              - *label
              - name: "src"
                label: "Source"
                widget: "image"
              - name: "width"
                label: "Width"
                widget: "number"
                required: false
              - name: "height"
                label: "Height"
                widget: "number"
                required: false
              - *classes
          - &features
            name: "features"
            label: "Features"
            widget: "object"
            fields:
              - name: "heading"
                label: "Heading"
                widget: "object"
                fields:
                  - *title
                  - *description
                  - *cta
              - name: "features-list"
                label: "Features List"
                widget: "list"
                fields:
                  - name: "feature"
                    label: "Feature"
                    widget: "object"
                    fields:
                      - *title
                      - *description
                      - *cta
                      - *image
              - name: "view-more-text"
                label: "View More Text"
                widget: "string"
          - &ai-agents-hero
            name: "ai-agents-hero"
            label: "AI Agents Hero"
            widget: "object"
            fields:
              - *title
              - *description
              - *cta
              - name: "secondary-cta"
                label: "Secondary CTA"
                widget: "object"
                fields:
                  - *label
                  - *mobile-label
                  - name: "target"
                  - *mobile-target
                  - name: "desktop-variant"
                    label: "Variant"
                    widget: "select"
                    options:
                      [
                        "text",
                        "outlined",
                        "contained",
                        "contained-surface",
                        "contained-opacity",
                        "contained-gradient",
                      ]
                    required: false
                  - name: "mobile-variant"
                    label: "Mobile Variant"
                    widget: "select"
                    options:
                      [
                        "text",
                        "outlined",
                        "contained",
                        "contained-surface",
                        "contained-opacity",
                        "contained-gradient",
                      ]
                    required: false
                  - *classes
              - name: "desktop-image"
                label: "Desktop Image"
                widget: "object"
                fields:
                  - name: "src"
                    label: "Source"
                    widget: "image"
                  - name: "image-description"
                    label: "Image Description"
                    widget: "string"
              - name: "mobile-image"
                label: "Mobile Image"
                widget: "object"
                fields:
                  - name: "src"
                    label: "Source"
                    widget: "image"
                  - name: "image-description"
                    label: "Image Description"
                    widget: "string"
              - name: "video-cta"
                label: "Video CTA"
                widget: "object"
                fields:
                  - *label
                  - name: "video-link"
                    label: "Video Link"
                    widget: "string"
                  - name: "video-title"
                    label: "Video Title"
                    widget: "string"
          - &columns-compare
            name: "columns-compare"
            label: "Columns Compare"
            widget: "object"
            fields:
              - name: "left"
                label: "Left Column"
                widget: "object"
                fields:
                  - *title
                  - name: "items"
                    label: "Items"
                    widget: "list"
                    fields:
                      - name: "text"
                        label: "Text"
                        widget: "string"
              - name: "right"
                label: "Right Column"
                widget: "object"
                fields:
                  - *title
                  - name: "items"
                    label: "Items"
                    widget: "list"
                    fields:
                      - name: "text"
                        label: "Text"
                        widget: "string"
              - *classes
          - &ai-agents-features
            name: "ai-agents-features"
            label: "AI Agents Features"
            widget: "object"
            fields:
              - name: "heading"
                label: "Heading"
                widget: "object"
                fields:
                  - *title
                  - *description
              - name: "scroller"
                label: "Enable Scroller"
                widget: "boolean"
                required: false
                default: false
              - name: "compact"
                label: "Compact Spacing"
                widget: "boolean"
                required: false
                default: false
              - *classes
          - &ai-agents-steps
            name: "ai-agents-steps"
            label: "AI Agents Steps"
            widget: "object"
            fields:
              - name: "steps"
                label: "Steps"
                widget: "list"
                fields:
                  - name: "step"
                    label: "Step Badge"
                    widget: "string"
                  - *title
                  - *description
                  - name: "image"
                    label: "Image"
                    widget: "object"
                    fields:
                      - name: "src"
                        label: "Source"
                        widget: "image"
                      - name: "label"
                        label: "Alt Label"
                        widget: "string"
              - *classes
          - &feature-grid
            name: "feature-grid"
            label: "Feature Grid"
            widget: "object"
            fields:
              - name: "heading"
                label: "Heading"
                widget: "object"
                fields:
                  - *title
                  - *description
              - name: "items"
                label: "Items"
                widget: "list"
                fields:
                  - *title
                  - *description
                  - name: "icon"
                    label: "Icon"
                    widget: "image"
                  - name: "badge"
                    label: "Badge"
                    widget: "string"
                    required: false
              - *classes
          - &icon-list-image
            name: "icon-list-image"
            label: "Icon List With Image"
            widget: "object"
            fields:
              - *title
              - name: "items"
                label: "Items"
                widget: "list"
                fields:
                  - name: "text"
                    label: "Text"
                    widget: "string"
                  - name: "icon"
                    label: "Icon"
                    widget: "image"
              - name: "image"
                label: "Right Image"
                widget: "object"
                fields:
                  - name: "src"
                    label: "Source"
                    widget: "image"
                  - name: "label"
                    label: "Alt Label"
                    widget: "string"
              - *classes
          - &value-metrics
            name: "value-metrics"
            label: "Value Metrics"
            widget: "object"
            fields:
              - *title
              - *description
              - name: "items"
                label: "Metrics Items"
                widget: "list"
                fields:
                  - name: "icon"
                    label: "Icon"
                    widget: "image"
                  - name: "value"
                    label: "Value"
                    widget: "string"
                  - name: "title"
                    label: "Title"
                    widget: "string"
                  - name: "description"
                    label: "Description"
                    widget: "string"
                    required: false
              - *classes
          - &banner-cta
            name: "banner-cta"
            label: "Banner CTA"
            widget: "object"
            fields:
              - *title
              - name: "subtitle"
                label: "Subtitle"
                widget: "string"
                required: false
              - name: "primary"
                label: "Primary CTA"
                widget: "object"
                fields:
                  - *label
                  - *mobile-label
                  - name: "target"
                  - *mobile-target
                  - name: "desktop-variant"
                    label: "Variant"
                    widget: "select"
                    options:
                      [
                        "text",
                        "outlined",
                        "contained",
                        "contained-surface",
                        "contained-opacity",
                        "contained-gradient",
                      ]
                    required: false
                  - name: "mobile-variant"
                    label: "Mobile Variant"
                    widget: "select"
                    options:
                      [
                        "text",
                        "outlined",
                        "contained",
                        "contained-surface",
                        "contained-opacity",
                        "contained-gradient",
                      ]
                    required: false
                  - *classes
              - name: "secondary"
                label: "Secondary CTA"
                widget: "object"
                required: false
                fields:
                  - *label
                  - *mobile-label
                  - name: "target"
                  - *mobile-target
                  - name: "desktop-variant"
                    label: "Variant"
                    widget: "select"
                    options:
                      [
                        "text",
                        "outlined",
                        "contained",
                        "contained-surface",
                        "contained-opacity",
                        "contained-gradient",
                      ]
                    required: false
                  - name: "mobile-variant"
                    label: "Mobile Variant"
                    widget: "select"
                    options:
                      [
                        "text",
                        "outlined",
                        "contained",
                        "contained-surface",
                        "contained-opacity",
                        "contained-gradient",
                      ]
                    required: false
                  - *classes
              - name: "note"
                label: "Note"
                widget: "string"
                required: false
              - *classes
          - &bullet-list
            name: "bullet-list"
            label: "Bullet List"
            widget: "list"
            fields:
              - name: "heading"
                label: "Heading"
                widget: "string"
                required: false
              - name: "items"
                label: "Items"
                widget: "list"
                field: { label: item, name: item, widget: string }
              - name: "bulletIcon"
                label: "Bullet Icon"
                widget: "string"
                default: "check-circle"
                required: false
              - name: "colorize"
                label: "Colorize?"
                widget: "boolean"
                default: false
                required: false
              - *classes
          - &textinput
            name: "textinput"
            label: "Text Input"
            widget: "object"
            fields:
              - name: "label"
                label: "Label"
                widget: "string"
              - name: "placeholder"
                widget: "string"
                label: "Placeholder"
              - name: "required"
                widget: "boolean"
                default: false
                required: false
              - name: "field-type"
                label: "Type"
                widget: "select"
                options: ["text", "email", "number", "password", "tel", "url"]
                default: "text"
                required: false
              - name: "pattern"
                label: "Pattern"
                widget: "string"
                required: false
              - name: "minlength"
                label: "Min Length"
                widget: "number"
                required: false
              - name: "maxlength"
                label: "Max Length"
                widget: "number"
                required: false
              - name: "custom-validity"
                label: "Custom Validity"
                widget: "string"
                required: false
              - name: "start-icon"
                label: "Start Icon"
                widget: "string"
                required: false
              - name: "input-classes"
                label: "Input Classes"
                widget: "string"
                required: false
              - *classes
              - name: "simulate"
                label: "Simulate"
                widget: "string"
                required: false
          - &textarea
            name: "textarea"
            label: "Text Area"
            widget: "object"
            fields:
              - name: "label"
                label: "Label"
                widget: "string"
              - name: "placeholder"
                widget: "string"
                label: "Placeholder"
              - name: "required"
                widget: "boolean"
                default: false
                required: false
              - name: "input-classes"
                label: "Input Classes"
                widget: "string"
                required: false
              - *classes
              - name: "simulate"
                label: "Simulate"
                widget: "string"
                required: false
          - &form
            name: "form"
            label: "Form"
            widget: "object"
            fields:
              - *classes
              - name: "form-id"
                label: "Form ID"
                widget: "string"
                required: false
              - name: "form-name"
                label: "Form Name"
                widget: "string"
                required: false
              - name: "form-action"
                widget: "string"
                label: "Form Action"
                required: false
              - name: "form-method"
                widget: "string"
                label: "Form Method"
                required: false
              - name: "submit-label"
                label: "Submit Label"
                widget: "string"
              - name: "simulate"
                label: "Simulate"
                widget: "string"
                required: false
              - name: "success-param"
                label: "Success Param"
                widget: "string"
                required: false
              - name: "success-message"
                label: "Success Message"
                widget: "string"
                required: false
              - name: "fields"
                label: "Fields"
                widget: "list"
                types:
                  - *textinput
                  - *textarea
          - &logos-stack
            name: "logos-stack"
            label: "Logos Stack"
            widget: "object"
            fields:
              - *title
              - name: "list"
                label: "List"
                widget: "list"
                fields:
                  - name: "logo"
                    label: "Logo"
                    widget: "image"
                  - *description
                  - &url
                    name: "url"
                    label: "URL"
                    widget: "string"
                    required: false
          - &info-cards
            name: "info-cards"
            label: "Info Cards"
            widget: "object"
            fields:
              - name: "list"
                label: "List"
                widget: "list"
                fields:
                  - name: "info-cards-feature"
                    label: "Feature"
                    widget: "object"
                    fields:
                      - *title
                      - *description
                      - *url
                      - &icon
                        name: "icon"
                        label: "Icon"
                        widget: "string"
          - &logos-view
            name: "logos-view"
            label: "Logos View"
            widget: "object"
            fields:
              - *title
              - *description
              - *cta
              - name: "logos"
                label: "Logos"
                widget: "list"
                fields:
                  - *label
                  - *url
                  - *icon
          - &testimonials
            name: "testimonials"
            label: "Testimonials"
            widget: "object"
            fields:
              - *title
              - name: "testimonials"
                label: "Testimonials"
                widget: "list"
                fields:
                  - name: "text"
                    label: "Text"
                    widget: "string"
                  - name: "user-name"
                    label: "User Name"
                    widget: "string"
                  - name: "user-image"
                    label: "User Image"
                    widget: "image"
                  - name: "user-role"
                    label: "User Role"
                    widget: "string"
          - &text
            name: "text"
            label: "Text"
            widget: "object"
            fields:
              - name: "text"
                label: "Text"
                widget: "text"
              - name: "level"
                label: "Level"
                widget: "select"
                options: ["h1", "h2", "h3", "caption", "paragraph"]
                default: "caption"
                required: false
              - name: "variant"
                label: "Variant"
                widget: "select"
                options: ["normal", "muted"]
                default: "normal"
                required: false
              - name: "weight"
                label: "Weight"
                widget: "select"
                options: ["normal", "medium", "semi-bold", "bold"]
                default: "normal"
                required: false
              - *classes
          - &rich-text
            name: "rich-text"
            label: "Rich Text"
            fields:
              - name: "content"
                label: "Content"
                widget: "markdown"
              - *classes
          - &render-endpoint
            name: "render-endpoint"
            label: "Endpoint Content"
            widget: "object"
            fields:
              - name: "route"
                label: "Route"
                widget: "string"
              - *classes
          - &embed-html
            name: "embed-html"
            label: "HTML Embed"
            fields:
              - *classes
              - name: "html"
                label: "HTML"
                widget: "text"
          - &member
            name: "member"
            label: "Team member"
            widget: "object"
            fields:
              - name: "name"
                label: "Name"
                widget: "string"
              - name: "role"
                label: "Role"
                widget: "string"
              - *image
              - name: "linkedin"
                label: "Linkedin"
                widget: "string"
                required: false
              - name: "name-as-linkedin"
                label: "Name as linkedin link"
                widget: "boolean"
                default: false
                required: false
              - name: "description"
                widget: "string"
                required: false
              - *classes
          - &link
            name: "link"
            label: "Link"
            widget: "object"
            fields:
              - *label
              - *url
              - *classes
          - &space
            name: "space"
            label: "Space"
            widget: "object"
            fields:
              - name: "y"
                label: "y"
                widget: "number"
                default: 0
                required: false
              - name: "x"
                label: "x"
                widget: "number"
                default: 0
                required: false
          - &separator
            name: "separator"
            label: "Separator"
            widget: "object"
            fields:
              - name: "orientation"
                label: "Orientation"
                widget: "select"
                options: ["horizontal", "vertical"]
                default: "horizontal"
                required: false
              - name: "space-y"
                label: "Space Y"
                widget: "number"
                required: false
                default: 0
              - name: "space-x"
                label: "Space X"
                widget: "number"
                required: false
                default:: 0
              - *classes
          - &notice
            name: "notice"
            label: "Notice"
            widget: "object"
            fields:
              - *text
              - *cta
          - &numbers
            name: "metrics"
            label: "metrics"
            widget: "object"
            fields:
              - name: "metrics-list"
                label: "Metrics List"
                widget: "list"
                fields:
                  - *title
                  - &value
                    name: "value"
                    label: "Value"
                    widget: "string"
              - *classes
          - &card
            name: "card"
            label: "Card"
            widget: "object"
            fields:
              - name: "sections"
                label: "Card Items"
                widget: "list"
                types:
                  - *text
                  - *image
                  - *cta
              - *classes
          - &summary-view
            name: "summary"
            label: "Summary View"
            widget: "object"
            fields:
              - *title
              - name: "cta"
                label: "cta"
                widget: "list"
                fields:
                  - *cta
              - name: "features"
                label: "Features"
                widget: "list"
                fields:
                  - name: "text"
                    label: "Text"
                    widget: "string"
              - *image
          - &stack
            name: "stack"
            label: "Stack"
            widget: "object"
            fields:
              - name: "sections"
                label: "Sections"
                widget: "list"
                types:
                  - *member
                  - *image
                  - *card
                  - name: "group"
                    label: "Group"
                    widget: "object"
                    fields:
                      - name: "sections"
                        label: "Sections"
                        widget: "list"
                        types:
                          - *text
                          - *image
                          - *cta
                          - *embed-html
                          - *form
                          - *bullet-list
              - *classes
          - &faq
            name: "faq"
            label: "Faq"
            widget: "object"
            fields:
              - name: "faq-groups"
                label: "FAQ Groups"
                widget: "list"
                fields:
                  - name: "group-title"
                    label: "Group Title"
                    widget: "string"
                  - name: "group-title-classes"
                    label: "Group Title Classes"
                    widget: "string"
                    required: false
                  - name: "faq-items"
                    label: "Items"
                    widget: "list"
                    fields:
                      - name: "faq-item"
                        label: "Faq Item"
                        widget: "object"
                        fields:
                          - name: "faq-item-summary"
                            label: "Summary"
                            widget: "string"
                          - name: "faq-item-description"
                            label: "Description"
                            widget: "string"
                          - *classes
              - *classes
          - name: "group"
            label: "Group"
            widget: "object"
            fields:
              - name: "sections"
                label: "Sections"
                widget: "list"
                types: &sections
                  - *logos-view
                  - *testimonials
                  - *text
                  - *rich-text
                  - *render-endpoint
                  - *embed-html
                  - *image
                  - *space
                  - *separator
                  - *notice
                  - *logos-stack
                  - *member
                  - *stack
                  - *summary-view
                  - *card
                  - *numbers
                  - *link
                  - *faq
                  - *bullet-list
                  - *form
                  - *hero
                  - *features
                  - *cta
                  - *interactive-scroller
                  - *ai-agents-hero
                  - *columns-compare
                  - *ai-agents-features
                  - *ai-agents-steps
                  - *feature-grid
                  - *icon-list-image
                  - *value-metrics
                  - *banner-cta
                  - name: "group"
                    label: "Group"
                    widget: "object"
                    fields:
                      - name: "sections"
                        label: "Sections"
                        widget: "list"
                        types:
                          - *info-cards
                          - *logos-view
                          - *testimonials
                          - *text
                          - *image
                          - *space
                          - *separator
                          - *notice
                          - *logos-stack
                          - *member
                          - *stack
                          - *summary-view
                          - *card
                          - *numbers
                          - *link
                          - *faq
                          - *bullet-list
                          - *form
                          - *hero
                          - *features
                          - *interactive-scroller
                          - *cta
                  - name: "animated-group"
                    label: "Animated Group"
                    widget: "object"
                    fields:
                      - name: "sections"
                        label: "Sections"
                        widget: "list"
                        types:
                          - *info-cards
                          - *logos-view
                          - *testimonials
                          - *text
                          - *image
                          - *space
                          - *separator
                          - *notice
                          - *logos-stack
                          - *member
                          - *stack
                          - *summary-view
                          - *card
                          - *numbers
                          - *link
                          - *faq
                          - *bullet-list
                          - *form
                          - *hero
                          - *features
                          - *interactive-scroller
                          - *cta
                          - *ai-agents-hero
                          - *columns-compare
                          - *ai-agents-features
                          - *ai-agents-steps
                          - *feature-grid
                          - *icon-list-image
                          - *value-metrics
                          - *banner-cta
              - *classes
          - name: "animated-group"
            label: "Animated Group"
            widget: "object"
            fields:
              - name: "sections"
                label: "Sections"
                widget: "list"
                types: *sections
              - *classes
          - name: "pricing"
            widget: "object"
            fields:
              - name: "plan-types"
                label: "Plan Types"
                widget: "list"
                fields:
                  - name: "plan-type"
                    label: "Plan type"
                    widget: "string"
                  - name: "default-users"
                    label: "Default Users"
                    widget: "number"
                    default: 1
                    required: false
                  - name: "plan-type-button"
                    label: "Plan type button"
                    widget: "object"
                    fields:
                      - *label
                      - *icon
                      - *classes
                  - name: "promotion-paragraphs"
                    label: "Promotion Paragraph"
                    widget: "list"
                    fields:
                      - name: "promotion"
                        label: "Promotion"
                        widget: "object"
                        fields:
                          - &recurrence-type
                            name: "recurrence-type"
                            label: "Recurrence Type"
                            widget: "string"
                            required: false
                            default: ""
                          - &text-template
                            name: "text-template"
                            label: "Text Template"
                            widget: "string"
                            required: false
                            default: ""
                    required: false
                  - name: "recurrence-types"
                    label: "Recurrence Types"
                    widget: "list"
                    fields:
                      - *recurrence-type
                      - name: "months"
                        label: "months"
                        widget: "number"
                  - name: "plans"
                    label: "plans"
                    widget: "list"
                    fields:
                      - name: "plan"
                        label: "Plan"
                        widget: "object"
                        fields:
                          - name: "name"
                            label: "Name"
                            widget: "string"
                          - name: "old-names"
                            label: "Legacy Plans"
                            widget: "list"
                            field:
                              name: "old-name"
                              label: "Legacy Plan Name"
                              widget: "string"
                          - name: "promotion-text"
                            label: "Promotion Text"
                            default: ""
                            widget: "string"
                            required: false
                          - name: "quirk"
                            label: "Quirk"
                            default: ""
                            widget: "string"
                            required: false
                          - name: "subtitle"
                            label: "Subtitle"
                            default: ""
                            widget: "string"
                            required: false
                          - name: "plan-description"
                            label: "Plan Description"
                            default: ""
                            widget: "string"
                            required: false
                          - name: "plan-options"
                            label: "Plan Options"
                            widget: "list"
                            fields:
                              - name: "recurrence"
                                label: "Recurrence"
                                widget: "string"
                                required: false
                                default: ""
                              - name: "price-text"
                                label: "Price Text"
                                widget: "string"
                              - name: "base_price"
                                label: "Base Price"
                                widget: "number"
                                required: false
                                default: 0
                                value_type: "float"
                              - name: "price-description"
                                label: "Price Description"
                                required: false
                                widget: "string"
                              - name: "dynamic-price"
                                label: "Dynamic Price"
                                widget: "object"
                                required: false
                                fields:
                                  - name: "multiple-users"
                                    label: "Multiple Users"
                                    widget: "boolean"
                                    required: false
                                    default: false
                                  - *text-template
                                  - name: "optional-description"
                                    label: "Description"
                                    widget: "string"
                                    required: false
                                    default: ""
                                  - name: "animate-numbers"
                                    label: "Animate Numbers"
                                    widget: "boolean"
                                    default: ""
                              - name: "plan-cta"
                                label: "Plan CTA"
                                widget: "object"
                                required: false
                                fields:
                                  - name: "plan-code"
                                    label: "Plan Code"
                                    widget: "string"
                                    required: false
                                  - name: "addon-code"
                                    label: "Addon Code"
                                    widget: "string"
                                    required: false
                                  - name: "original-label"
                                    label: "Original Label"
                                    widget: "string"
                                    required: false
                                  - name: "current-label"
                                    label: "Current Label"
                                    widget: "string"
                                    required: false
                                  - name: "upgrade-label"
                                    label: "Upgrade Label"
                                    widget: "string"
                                    required: false
                                  - name: "target"
                                    label: "Target URL"
                                    widget: "string"
                                    required: false
                                  - name: "upgrade-target"
                                    label: "Upgrade Target URL"
                                    widget: "string"
                                    required: false
                                  - name: "staging-target"
                                    label: "Staging Target URL"
                                    widget: "string"
                                    required: false
                                  - name: "mobile-variant"
                                    label: "Mobile Variant"
                                    widget: "string"
                                    required: false
                                  - name: "desktop-variant"
                                    label: "Desktop Variant"
                                    widget: "string"
                                    required: false
                                  - *classes
                          - name: "ctas"
                            label: "Additional CTAs"
                            widget: "list"
                            fields:
                              - *cta
                          - name: "plan-features-heading"
                            label: "Plan Features Heading"
                            widget: "string"
                            required: false
                          - name: "plan-features"
                            label: "Plan Features"
                            widget: "list"
                            fields:
                              - name: "label"
                                label: "Label"
                                widget: "string"
                              - name: "details"
                                label: "Details"
                                widget: "string"
                                required: false
              - name: "plans-recommendation"
                label: "Plans Recommendation"
                widget: "object"
                fields:
                  - *title
                  - name: "recommendation-features"
                    label: "Recommendation Features"
                    widget: "list"
                    fields:
                      - *title
                      - *icon
                      - *description
                      - *classes
              - name: "plans-comparison"
                label: "Plans Comparison"
                widget: "object"
                required: false
                fields:
                  - name: "title"
                    label: "Title"
                    widget: "string"
                    required: false
                  - name: "comparison-features"
                    label: "Comparison Features"
                    widget: "list"
                    fields:
                      - *label
                      - &category
                        name: "category"
                        label: "Category"
                        widget: "string"
                      - name: "feature-type"
                        label: "Feature Type"
                        widget: "select"
                        options: ["boolean", "text"]
                        default: "boolean"
                      - name: "plan-values"
                        label: "Plan Values"
                        widget: "list"
                        fields:
                          - name: "plan-name"
                            label: "Plan Name"
                            widget: "string"
                          - name: "value"
                            label: "Value"
                            widget: "string"
                          - name: "highlight"
                            label: "Highlight"
                            widget: "boolean"
                            default: false
                      - name: "supported-plan-types"
                        label: "Supported Plan Types"
                        widget: "list"
                        fields:
                          - *label
                          - *classes
                      - name: "supported-plans"
                        label: "Supported Plans"
                        widget: "list"
                        fields:
                          - *label
                          - *classes
              - name: "additional-section"
                label: "additional-section"
                widget: "object"
                fields:
                  - name: "sections"
                    label: "Sections"
                    widget: "list"
                    types: *sections
                  - *classes
          - name: "new-pricing"
            widget: "object"
            fields:
              - name: "plan-types"
                label: "Plan Types"
                widget: "list"
                fields:
                  - name: "plan-type"
                    label: "Plan type"
                    widget: "string"
                  - name: "default-users"
                    label: "Default Users"
                    widget: "number"
                    default: 1
                    required: false
                  - name: "plan-type-button"
                    label: "Plan type button"
                    widget: "object"
                    fields:
                      - *label
                      - *icon
                      - *classes
                  - name: "promotion-paragraphs"
                    label: "Promotion Paragraph"
                    widget: "list"
                    fields:
                      - name: "promotion"
                        label: "Promotion"
                        widget: "object"
                        fields:
                          - &recurrence-type
                            name: "recurrence-type"
                            label: "Recurrence Type"
                            widget: "string"
                            required: false
                            default: ""
                          - &text-template
                            name: "text-template"
                            label: "Text Template"
                            widget: "string"
                            required: false
                            default: ""
                    required: false
                  - name: "recurrence-types"
                    label: "Recurrence Types"
                    widget: "list"
                    fields:
                      - *recurrence-type
                      - name: "months"
                        label: "months"
                        widget: "number"
                  - name: "plans"
                    label: "plans"
                    widget: "list"
                    fields:
                      - name: "plan"
                        label: "Plan"
                        widget: "object"
                        fields:
                          - name: "name"
                            label: "Name"
                            widget: "string"
                          - name: "old-names"
                            label: "Legacy Plans"
                            widget: "list"
                            field:
                              name: "old-name"
                              label: "Legacy Plan Name"
                              widget: "string"
                          - name: "promotion-text"
                            label: "Promotion Text"
                            default: ""
                            widget: "string"
                            required: false
                          - name: "quirk"
                            label: "Quirk"
                            default: ""
                            widget: "string"
                            required: false
                          - name: "subtitle"
                            label: "Subtitle"
                            default: ""
                            widget: "string"
                            required: false
                          - name: "plan-description"
                            label: "Plan Description"
                            default: ""
                            widget: "string"
                            required: false
                          - name: "plan-options"
                            label: "Plan Options"
                            widget: "list"
                            fields:
                              - name: "recurrence"
                                label: "Recurrence"
                                widget: "string"
                                required: false
                                default: ""
                              - name: "price-text"
                                label: "Price Text"
                                widget: "string"
                              - name: "base_price"
                                label: "Base Price"
                                widget: "number"
                                required: false
                                default: 0
                                value_type: "float"
                              - name: "price-description"
                                label: "Price Description"
                                required: false
                                widget: "string"
                              - name: "dynamic-price"
                                label: "Dynamic Price"
                                widget: "object"
                                required: false
                                fields:
                                  - name: "multiple-users"
                                    label: "Multiple Users"
                                    widget: "boolean"
                                    required: false
                                    default: false
                                  - *text-template
                                  - name: "optional-description"
                                    label: "Description"
                                    widget: "string"
                                    required: false
                                    default: ""
                                  - name: "animate-numbers"
                                    label: "Animate Numbers"
                                    widget: "boolean"
                                    default: ""
                              - name: "plan-cta"
                                label: "Plan CTA"
                                widget: "object"
                                required: false
                                fields:
                                  - name: "plan-code"
                                    label: "Plan Code"
                                    widget: "string"
                                    required: false
                                  - name: "addon-code"
                                    label: "Addon Code"
                                    widget: "string"
                                    required: false
                                  - name: "original-label"
                                    label: "Original Label"
                                    widget: "string"
                                    required: false
                                  - name: "current-label"
                                    label: "Current Label"
                                    widget: "string"
                                    required: false
                                  - name: "upgrade-label"
                                    label: "Upgrade Label"
                                    widget: "string"
                                    required: false
                                  - name: "target"
                                    label: "Target URL"
                                    widget: "string"
                                    required: false
                                  - name: "upgrade-target"
                                    label: "Upgrade Target URL"
                                    widget: "string"
                                    required: false
                                  - name: "staging-target"
                                    label: "Staging Target URL"
                                    widget: "string"
                                    required: false
                                  - name: "mobile-variant"
                                    label: "Mobile Variant"
                                    widget: "string"
                                    required: false
                                  - name: "desktop-variant"
                                    label: "Desktop Variant"
                                    widget: "string"
                                    required: false
                                  - *classes
                          - name: "ctas"
                            label: "Additional CTAs"
                            widget: "list"
                            fields:
                              - *cta
                          - name: "plan-features-heading"
                            label: "Plan Features Heading"
                            widget: "string"
                            required: false
                          - name: "plan-features"
                            label: "Plan Features"
                            widget: "list"
                            fields:
                              - name: "label"
                                label: "Label"
                                widget: "string"
                              - name: "details"
                                label: "Details"
                                widget: "string"
                                required: false
              - name: "plans-recommendation"
                label: "Plans Recommendation"
                widget: "object"
                fields:
                  - *title
                  - name: "recommendation-features"
                    label: "Recommendation Features"
                    widget: "list"
                    fields:
                      - *title
                      - *icon
                      - *description
                      - *classes
              - name: "plans-comparison"
                label: "Plans Comparison"
                widget: "object"
                required: false
                fields:
                  - name: "title"
                    label: "Title"
                    widget: "string"
                    required: false
                  - name: "comparison-features"
                    label: "Comparison Features"
                    widget: "list"
                    fields:
                      - *label
                      - &category
                        name: "category"
                        label: "Category"
                        widget: "string"
                      - name: "feature-type"
                        label: "Feature Type"
                        widget: "select"
                        options: ["boolean", "text"]
                        default: "boolean"
                      - name: "plan-values"
                        label: "Plan Values"
                        widget: "list"
                        fields:
                          - name: "plan-name"
                            label: "Plan Name"
                            widget: "string"
                          - name: "value"
                            label: "Value"
                            widget: "string"
                          - name: "highlight"
                            label: "Highlight"
                            widget: "boolean"
                            default: false
                      - name: "supported-plan-types"
                        label: "Supported Plan Types"
                        widget: "list"
                        fields:
                          - *label
                          - *classes
                      - name: "supported-plans"
                        label: "Supported Plans"
                        widget: "list"
                        fields:
                          - *label
                          - *classes
              - name: "additional-section"
                label: "additional-section"
                widget: "object"
                fields:
                  - name: "sections"
                    label: "Sections"
                    widget: "list"
                    types: *sections
                  - *classes

  - name: "layout"
    label: "Layout"
    files:
      - file: "apps/rayyan-marketing/src/content/layout/navigation.md"
        name: "navigation"
        label: "Navigation"
        widget: "object"
        fields:
          - label: "Logo Icon Name"
            name: "logo"
            widget: "string"
          - label: "Items"
            name: "item"
            widget: "list"
            types:
              - label: "Link"
                widget: "object"
                name: "navigation-link"
                fields:
                  - *label
                  - label: "Target"
                    name: "target"
              - label: "List"
                widget: "object"
                name: "navigation-list"
                fields:
                  - *label
                  - name: "desktop-main-section"
                    label: "Desktop Main Section"
                    widget: "object"
                    fields:
                      - name: "sections"
                        label: "Sections"
                        widget: "list"
                        types: *sections
                      - *url
                      - *classes
                  - name: "side-label"
                    label: "Side Label"
                    widget: "string"
                  - name: "links"
                    label: "Links"
                    widget: "list"
                    fields:
                      - *link
          - label: "CTAs"
            name: "cta"
            label_singular: "CTA"
            widget: "list"
            fields:
              - *cta
      - file: "apps/rayyan-marketing/src/content/layout/footer.md"
        name: "footer"
        label: "Footer"
        widget: "object"
        fields:
          - name: "sections"
            label: "Sections"
            widget: "list"
            fields:
              - *title
              - name: "items"
                label: "Items"
                widget: "list"
                fields:
                  - *label
                  - *url
          - name: "copyright"
            label: "Copyright"
            widget: "string"
            default: "COPYRIGHT  RAYYAN"
          - name: "social"
            label: "Social"
            widget: "list"
            fields:
              - *label
              - *url
              - *icon
  - name: "redirects"
    label: "Redirections"
    files:
      - file: "src/content/configs/redirections.md"
        name: "redirections"
        label: "Redirections"
        widget: "object"
        fields:
          - name: "message"
            label: "Message"
            widget: "string"
          - name: "links"
            label: "Links"
            widget: "list"
            fields:
              - name: "from"
                label: "From"
                widget: "string"
              - name: "to"
                label: "To"
                widget: "string"
  - name: "endpoints"
    label: "Endpoints"
    label_singular: "Endpoint"
    folder: "apps/rayyan-marketing/src/content/endpoints"
    identifier_field: "endpoint_name"
    i18n: true
    create: true
    fields:
      - name: "endpoint_name"
        label: "Endpoint name"
        widget: "string"
      - name: "route"
        label: "Route"
        widget: "string"
      - name: "content"
        label: "content"
        widget: "markdown"
media_folder: "apps/rayyan-marketing/src/content/images"

publish_mode: editorial_workflow
local_backend: false
backend:
  name: azure
  repo: rayyansys/Rayyan Frontend/rayyan-feos
  tenant_id: d72b47c6-e224-499d-8f04-f452e7e1774d
  app_id: d0a024a5-155b-40fa-a5cb-84241dad1380
  squash_merges: true
  branch: staging
