{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/canairecommendmybusiness-com/json-schema/canairecommendmybusiness-com-assessment-inputs-schema.json",
  "title": "AssessmentInputs",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/canairecommendmybusiness-com-openapi.json#/components/schemas/AssessmentInputs",
  "type": "object",
  "properties": {
    "businessSize": {
      "type": "string",
      "enum": [
        "solo",
        "micro",
        "small",
        "midmarket",
        "enterprise"
      ],
      "description": "Size of the business/organization."
    },
    "dataMaturity": {
      "type": "string",
      "enum": [
        "none",
        "basic",
        "developing",
        "structured",
        "advanced"
      ],
      "description": "Availability and maturity of the structured/machine-readable data of the business."
    },
    "technicalStack": {
      "type": "string",
      "enum": [
        "minimal",
        "standard",
        "modern",
        "advanced"
      ],
      "description": "Technical stack / infrastructure sophistication."
    },
    "goals": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "ai_visibility",
          "lead_generation",
          "trust_authority",
          "content_coverage",
          "conversion_optimization",
          "structured_data",
          "agent_readiness",
          "reputation_management"
        ]
      },
      "minItems": 1,
      "maxItems": 8,
      "uniqueItems": true,
      "default": [
        "ai_visibility"
      ],
      "description": "One or more readiness goals the business wants to prioritize (1–8, unique values from the enum)."
    },
    "businessName": {
      "type": "string",
      "description": "Optional, non-sensitive business name for context."
    },
    "industry": {
      "type": "string",
      "description": "Optional industry/category for context."
    }
  },
  "required": [
    "businessSize",
    "dataMaturity",
    "technicalStack"
  ]
}