{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://deckyard.eu/schema/v24/slide-types/eu.deckyard.slide.team-cards.schema.json",
  "title": "eu.deckyard.slide.team-cards slide content",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 120,
      "title": "Title"
    },
    "subheading": {
      "type": "string",
      "maxLength": 220,
      "title": "Subheading"
    },
    "bottomSubheading": {
      "type": "string",
      "maxLength": 200,
      "title": "Bottom subheading"
    },
    "subheading2": {
      "type": "string",
      "maxLength": 220,
      "title": "Right group subheading"
    },
    "members": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "image": {
            "type": "string",
            "title": "Photo"
          },
          "alt": {
            "type": "string",
            "maxLength": 180,
            "title": "Photo alt text"
          },
          "name": {
            "type": "string",
            "maxLength": 80,
            "title": "Title"
          },
          "byline": {
            "type": "string",
            "maxLength": 120,
            "title": "Caption"
          },
          "body": {
            "type": "string",
            "maxLength": 600,
            "title": "Description"
          },
          "linkedin": {
            "type": "string",
            "maxLength": 300,
            "title": "LinkedIn URL"
          }
        },
        "additionalProperties": true
      },
      "minItems": 0,
      "maxItems": 25,
      "title": "Blocks"
    },
    "background": {
      "type": "string",
      "title": "Background"
    },
    "textPosition": {
      "type": "string",
      "enum": [
        "below",
        "split",
        ""
      ],
      "title": "Text position"
    },
    "imageShape": {
      "type": "string",
      "enum": [
        "rounded",
        "square",
        "circle",
        ""
      ],
      "title": "Image shape"
    },
    "imageAspect": {
      "type": "string",
      "enum": [
        "square",
        "original",
        ""
      ],
      "title": "Image aspect"
    },
    "showPhotoFrame": {
      "type": "string",
      "enum": [
        "off",
        "on",
        ""
      ],
      "title": "Show photo frame"
    },
    "columnSplit": {
      "type": "string",
      "enum": [
        "",
        "1",
        "2",
        "3",
        "4",
        "5"
      ],
      "title": "Column split"
    },
    "a11yTitle": {
      "type": "string",
      "maxLength": 140,
      "title": "Accessibility title",
      "description": "Optional. Screen readers announce this when the slide becomes active. Prefer a short, descriptive phrase."
    },
    "a11ySummary": {
      "type": "string",
      "maxLength": 280,
      "title": "Accessibility summary",
      "description": "Optional extra context for screen readers (announced after the title). Keep it brief."
    },
    "slideBgImage": {
      "type": "string",
      "title": "Background image",
      "description": "Optional. Fills the whole slide behind the content. Large images are resized automatically; use the focus control to pick which part stays visible when cropped."
    },
    "slideBgFit": {
      "type": "string",
      "enum": [
        "cover",
        "contain",
        ""
      ],
      "title": "Background fit"
    },
    "slideBgFocusX": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "const": ""
        }
      ],
      "title": "Background focus X"
    },
    "slideBgFocusY": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "const": ""
        }
      ],
      "title": "Background focus Y"
    },
    "slideBgOverlay": {
      "type": "string",
      "enum": [
        "auto",
        "none",
        "light",
        "dark",
        "gradient-top",
        "gradient-bottom",
        ""
      ],
      "title": "Background overlay",
      "description": "Auto adds a subtle scrim only when the image is too busy for readable text. Gradient options darken one edge behind the text."
    },
    "slideBgText": {
      "type": "string",
      "enum": [
        "auto",
        "light",
        "dark",
        ""
      ],
      "title": "Text colour",
      "description": "Auto picks the theme text colour with the best contrast for the background image. Light/dark force it. (Legacy \"default\" is treated as the theme default.)"
    },
    "slideLogo": {
      "type": "string",
      "enum": [
        "none",
        "top-right",
        ""
      ],
      "title": "Theme logo",
      "description": "Show the active theme logo in a corner of this slide."
    }
  },
  "propertyNames": {
    "enum": [
      "a11ySummary",
      "a11yTitle",
      "background",
      "bottomSubheading",
      "columnSplit",
      "imageAspect",
      "imageShape",
      "members",
      "showPhotoFrame",
      "slideBgAutoFor",
      "slideBgFit",
      "slideBgFocusX",
      "slideBgFocusY",
      "slideBgImage",
      "slideBgNeedsScrim",
      "slideBgOverlay",
      "slideBgText",
      "slideBgTextAuto",
      "slideLogo",
      "subheading",
      "subheading2",
      "textPosition",
      "title"
    ]
  }
}