{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/allianz-engagement-survey/json-schema/allianz-engagement-survey-action-plan-schema.json",
  "title": "ActionPlan",
  "description": "An action plan created to address survey findings",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/allianz-engagement-survey-action-plans-api-openapi.yml#/components/schemas/ActionPlan",
  "type": "object",
  "properties": {
    "plan_id": {
      "type": "string",
      "description": "Unique identifier for the action plan"
    },
    "survey_id": {
      "type": "string",
      "description": "Survey this action plan relates to"
    },
    "title": {
      "type": "string",
      "description": "Title of the action plan"
    },
    "description": {
      "type": "string",
      "description": "Detailed description of the planned actions"
    },
    "status": {
      "type": "string",
      "description": "Current status of the action plan",
      "enum": [
        "not_started",
        "in_progress",
        "completed",
        "cancelled"
      ]
    },
    "owner": {
      "type": "string",
      "description": "Name of the action plan owner"
    },
    "due_date": {
      "type": "string",
      "format": "date",
      "description": "Target completion date for the action plan"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the action plan was created"
    }
  }
}