{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://example.com/schemas/product-roadmap.schema.json",
  "title": "Product Roadmap",
  "type": "object",
  "required": ["description", "objective", "roadmap"],
  "properties": {
    "description": { "type": "string", "minLength": 1 },
    "objective": { "type": "string", "minLength": 1 },
    "roadmap": {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "object",
        "required": [
          "priority",
          "id",
          "title",
          "valueMultiplier",
          "objective",
          "why",
          "executionItems",
          "stressTests",
          "acceptanceCriteria",
          "objectiveAlignment"
        ],
        "properties": {
          "priority": { "type": "number", "minimum": 1 },
          "id": { "type": "string", "minLength": 1 },
          "title": { "type": "string", "minLength": 1 },
          "valueMultiplier": { "type": "string", "minLength": 1 },
          "objective": { "type": "string", "minLength": 1 },
          "why": { "type": "string", "minLength": 1 },
          "executionItems": {
            "type": "array",
            "minItems": 1,
            "items": { "type": "string", "minLength": 1 }
          },
          "stressTests": {
            "type": "array",
            "minItems": 1,
            "items": { "type": "string", "minLength": 1 }
          },
          "acceptanceCriteria": {
            "type": "array",
            "minItems": 1,
            "items": { "type": "string", "minLength": 1 }
          },
          "objectiveAlignment": { "type": "string", "minLength": 1 }
        }
      }
    }
  }
}
