{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rohitkumarnaidu.github.io/Forgevena/schemas/version-feature.schema.json",
  "title": "Forgevena Version Feature",
  "type": "object",
  "required": ["id", "title", "status", "summary", "value", "architecture", "dependencies", "acceptance", "risks"],
  "properties": {
    "id": { "type": "string", "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$" },
    "title": { "type": "string", "minLength": 1 },
    "status": { "enum": ["committed", "candidate", "deferred"] },
    "summary": { "type": "string", "minLength": 1 },
    "value": { "type": "string", "minLength": 1 },
    "architecture": { "type": "string", "minLength": 1 },
    "dependencies": { "type": "array", "minItems": 1, "items": { "type": "string" } },
    "acceptance": { "type": "array", "minItems": 1, "items": { "type": "string" } },
    "risks": { "type": "array", "minItems": 1, "items": { "type": "string" } }
  },
  "additionalProperties": false
}
