{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Patch Notes",
  "description": "Changelog feed of versioned entries with tag chips.",
  "type": "object",
  "properties": {
    "heading": { "type": "string", "title": "Heading", "x-editor": "text" },
    "intro": { "type": "string", "title": "Intro", "x-editor": "textarea" },
    "entries": {
      "type": "array",
      "title": "Entries",
      "default": [],
      "x-editor": "collection",
      "items": {
        "type": "object",
        "properties": {
          "version": { "type": "string", "title": "Version", "description": "e.g. v2.049.0", "x-editor": "text" },
          "date": { "type": "string", "title": "Date", "x-editor": "text" },
          "tag": { "type": "string", "title": "Tag", "description": "e.g. FEATURE / FIX / BALANCE", "x-editor": "text" },
          "items": {
            "type": "array",
            "title": "Items",
            "default": [],
            "x-editor": "collection",
            "items": {
              "type": "object",
              "properties": {
                "text": { "type": "string", "title": "Line", "x-editor": "text" }
              }
            }
          }
        }
      }
    },
    "class": { "type": "string", "title": "CSS Classes", "x-editor": "text" }
  }
}
