{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/assessmyhair-com/json-schema/assessmyhair-com-assess-hair-needs-input-schema.json",
  "title": "AssessHairNeedsInput",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/assessmyhair-com-openapi.json#/components/schemas/AssessHairNeedsInput",
  "type": "object",
  "properties": {
    "hairType": {
      "type": "string",
      "description": "Hair type / texture, e.g. \"4c coily\", \"type 3 curly\", \"fine wavy\", \"color-treated\"."
    },
    "condition": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Current hair conditions/concerns, e.g. [\"dry\", \"breakage\", \"frizz\", \"heat-damaged\"]. A single string is also accepted."
    },
    "goals": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Cosmetic goals, e.g. [\"length retention\", \"more moisture\", \"reduce breakage\", \"define curls\"]. A single string is also accepted."
    },
    "routine": {
      "type": "object",
      "description": "Current routine details (all optional): washFrequency, deepConditioning, heatUse, protectiveStyles, productCount.",
      "properties": {
        "washFrequency": {
          "type": "string"
        },
        "deepConditioning": {
          "type": "string"
        },
        "heatUse": {
          "type": "string"
        },
        "protectiveStyles": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "productCount": {
          "type": "string"
        }
      },
      "additionalProperties": true
    }
  },
  "additionalProperties": false
}