{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/buyapi-ai/json-schema/buyapi-ai-post-api-recommend-response-schema.json",
  "title": "PostApiRecommendResponse",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/buyapi-ai-openapi-generated.yml#/components/schemas/PostApiRecommendResponse",
  "type": "object",
  "properties": {
    "stack": {
      "type": "object",
      "description": "Recommended stack with one pick per layer"
    },
    "decisionMatrix": {
      "type": "object",
      "description": "Fit, tradeoffs, and reasoning for each layer"
    },
    "costEstimate": {
      "type": "object",
      "description": "Estimated monthly cost"
    },
    "assumptions": {
      "type": "array",
      "description": "Assumptions made during recommendation"
    },
    "unknowns": {
      "type": "array",
      "description": "Unknowns or gaps in data"
    },
    "alternatives": {
      "type": "array",
      "description": "Alternative options"
    },
    "sources": {
      "type": "array",
      "description": "Source references used"
    },
    "generatedAt": {
      "type": "string",
      "description": "Timestamp of generation"
    }
  }
}