Raw schema
{
"type": "object",
"properties": {
"menswearOrWomenswear": {
"anyOf": [
{
"type": "string",
"enum": [
"menswear",
"womenswear"
]
},
{
"type": "null"
}
],
"description": "Gender category for clothing suggestions: \"menswear\" for men's clothing, \"womenswear\" for women's clothing. Set to null if unspecified or user prefers gender-neutral suggestions. Use available user profile data to infer a reasonable default."
},
"temperature": {
"anyOf": [
{
"type": "string",
"enum": [
"cold",
"cool",
"warm",
"hot",
"any"
]
},
{
"type": "null"
}
],
"description": "Weather temperature category for outfit appropriateness: \"cold\" for < 6°C/43°F (winter coats, layers, boots), \"cool\" for 6-15°C/43-59°F (light jackets, long sleeves, closed shoes), \"warm\" for 15-22°C/59-72°F (comfortable layers, versatile pieces), \"hot\" for > 22°C/72°F (shorts, t-shirts, sandals, breathable fabrics). Set to null when the user does not specify a temperature so the app can use its local forecast. Use \"any\" only when the user explicitly asks to ignore weather. Convert specific temperatures: 10°C → \"cool\", 20°C → \"warm\", 30°C → \"hot\". Use current weather data or seasonal averages for user's location when available."
},
"smartness": {
"anyOf": [
{
"type": "number",
"minimum": -1,
"maximum": 5
},
{
"type": "null"
}
],
"description": "Formality/dressiness level on a 1-5 scale: 1 = Casual (jeans, t-shirts, sneakers, everyday wear), 2 = Quite Casual (smart jeans, polo shirts, clean trainers), 3 = Smart Casual (chinos, button-down shirts, loafers, blazer optional), 4 = Business Casual (blazers, dress trousers, oxford shoes, professional but not formal), 5 = Formal (suits, ties, dress shoes, evening wear, black tie). Set to null for no specific formality requirement. Map user-mentioned occasions to levels: casual hangout → 1-2, office/work → 3-4, wedding/interview/gala → 4-5."
},
"inspirationId": {
"description": "Optional identifier of an existing outfit inspiration to reload. Use this only when refreshing the exact outfit already displayed in the widget.",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"menswearOrWomenswear",
"temperature",
"smartness"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}