{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Case Study Card",
  "description": "Single case study card with a tabular metric.",
  "type": "object",
  "properties": {
    "client": {
      "type": "string",
      "title": "Client",
      "x-editor": "text"
    },
    "metric": {
      "type": "string",
      "title": "Metric",
      "description": "Large tabular numeral (e.g. \"3.2x\", \"$120M\", \"47%\")",
      "x-editor": "text"
    },
    "label": {
      "type": "string",
      "title": "Metric label",
      "description": "Short qualifier underneath the metric",
      "x-editor": "text"
    },
    "summary": {
      "type": "string",
      "title": "Summary",
      "description": "One- or two-sentence outcome",
      "x-editor": "textarea"
    },
    "href": {
      "type": "object",
      "title": "Link",
      "description": "Read-more link to the full case study",
      "x-editor": "link",
      "properties": {
        "label": { "type": "string", "title": "Label" },
        "href": { "type": "string", "title": "Href" }
      }
    }
  }
}
