{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "required": [
    "status",
    "summary"
  ],
  "properties": {
    "modul": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "draft",
        "deprecated"
      ]
    },
    "summary": {
      "type": "string"
    },
    "last_reviewed": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "review_cycle": {
      "type": "string",
      "pattern": "^\\d+d$"
    },
    "yt_epic": {
      "type": "string",
      "pattern": "^[A-Z]+-\\d+$"
    },
    "yt_issues": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Z]+-\\d+$"
      }
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "bc": {
      "type": "string",
      "enum": [
        "members",
        "horses",
        "events",
        "masterdata",
        "infrastructure"
      ]
    },
    "doc_type": {
      "type": "string",
      "enum": [
        "how-to",
        "readme",
        "adr-link",
        "runbook",
        "api"
      ]
    }
  },
  "additionalProperties": true
}
