{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Project Ledger",
  "description": "Ordered project list on a 12-col grid: number, year, client, role, link",
  "type": "object",
  "properties": {
    "heading": {
      "type": "string",
      "title": "Heading",
      "description": "Optional section heading shown above the ledger",
      "x-editor": "text"
    },
    "rows": {
      "type": "array",
      "title": "Rows",
      "description": "Project rows in display order",
      "default": [],
      "x-editor": "collection",
      "items": {
        "type": "object",
        "properties": {
          "no": {
            "type": "string",
            "title": "Number",
            "description": "Two-digit project number e.g. 01",
            "x-editor": "text"
          },
          "year": {
            "type": "string",
            "title": "Year",
            "description": "Year of the project",
            "x-editor": "text"
          },
          "client": {
            "type": "string",
            "title": "Client",
            "description": "Client name",
            "x-editor": "text"
          },
          "role": {
            "type": "string",
            "title": "Role",
            "description": "Discipline / role on the project",
            "x-editor": "text"
          },
          "link": {
            "type": "string",
            "title": "Link",
            "description": "Optional link to the project page",
            "x-editor": "link"
          }
        },
        "required": ["no", "client"]
      }
    }
  }
}
