Use for choose (stone selection), offer (seller price review), certificate (report and stone-matching checklist), or value (appraisal of an owned stone). Returns the next question, current summary, steps and relevant expert handoff. choose/offer/value cover natural round diamonds; certificate gathers user-reported document checks without accessing a lab database or inspecting the stone and does not calculate a price. Pass only user-provided or confirmed values; suggestions are not choices, deferred questions remain unresolved. Carry state in the conversation, not on this server. Other origins or shapes on the three diamond-selection routes return scope_review. FL is preserved and never substituted with IF. Use estimate_retail_price only when calculation.ready is true; preserve its table date and approximation notes. No requests are sent.
View input schema
{
"type": "object",
"properties": {
"route_id": {
"type": "string",
"enum": [
"choose",
"offer",
"value",
"certificate"
]
},
"state": {
"type": "object",
"properties": {
"values": {
"type": "object",
"properties": {
"origin": {
"type": "string",
"enum": [
"natural",
"lab_grown",
"unknown"
],
"description": "Происхождение"
},
"shape": {
"type": "string",
"enum": [
"round",
"oval",
"pear",
"emerald",
"cushion",
"princess",
"radiant",
"asscher",
"marquise",
"heart",
"unknown"
],
"description": "Форма"
},
"lab": {
"type": "string",
"enum": [
"GIA",
"HRD Antwerp",
"IGI",
"any",
"none",
"other"
],
"description": "Лаборатория"
},
"jewelry": {
"type": "string",
"enum": [
"ring",
"earrings",
"pendant",
"other"
],
"description": "Украшение"
},
"metal": {
"type": "string",
"enum": [
"white",
"yellow"
],
"description": "Оправа"
},
"color": {
"type": "string",
"enum": [
"D",
"E",
"F",
"G",
"H",
"I",
"J",
"K",
"L",
"M",
"N"
],
"description": "Цвет"
},
"clarity": {
"type": "string",
"enum": [
"FL",
"IF",
"VVS1",
"VVS2",
"VS1",
"VS2",
"SI1",
"SI2",
"I1",
"I2",
"I3"
],
"description": "Чистота"
},
"cut": {
"type": "string",
"enum": [
"Excellent",
"Very Good",
"Good"
],
"description": "Качество огранки"
},
"symmetry": {
"type": "string",
"enum": [
"Excellent",
"Very Good",
"Good"
],
"description": "Симметрия"
},
"polish": {
"type": "string",
"enum": [
"Excellent",
"Very Good",
"Good"
],
"description": "Полировка"
},
"carat": {
"type": "number",
"minimum": 0.01,
"maximum": 100,
"multipleOf": 0.01,
"description": "Вес одного камня, ct"
},
"fluorescence": {
"type": "string",
"enum": [
"None",
"Faint",
"Medium",
"Strong",
"Very Strong"
],
"description": "Флуоресценция"
},
"budget": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Бюджет"
},
"budget_currency": {
"type": "string",
"enum": [
"USD",
"EUR",
"RUB",
"GBP",
"CHF",
"AED"
],
"description": "Валюта бюджета"
},
"budget_scope": {
"type": "string",
"enum": [
"stone",
"total"
],
"description": "Состав бюджета"
},
"destination": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Страна доставки"
},
"offer_price": {
"type": "number",
"exclusiveMinimum": 0,
"description": "Предложенная цена"
},
"offer_currency": {
"type": "string",
"enum": [
"USD",
"EUR",
"RUB",
"GBP",
"CHF",
"AED"
],
"description": "Валюта предложения"
},
"valuation_goal": {
"type": "string",
"enum": [
"sale",
"purchase",
"other"
],
"description": "Цель оценки"
},
"offer_scope": {
"type": "string",
"enum": [
"stone",
"jewelry",
"total",
"unknown"
],
"description": "Что входит в цену"
},
"included_costs": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Дополнительные расходы"
},
"certificate_lab": {
"type": "string",
"enum": [
"GIA",
"HRD Antwerp",
"IGI",
"other",
"unknown",
"none"
],
"description": "Лаборатория в документе"
},
"report_number": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Номер отчёта"
},
"report_lookup": {
"type": "string",
"enum": [
"not_checked",
"found",
"mismatch",
"not_found"
],
"description": "Проверка в базе лаборатории"
},
"inscription_check": {
"type": "string",
"enum": [
"not_checked",
"matches",
"mismatch",
"not_recorded"
],
"description": "Надпись на камне"
},
"physical_match": {
"type": "string",
"enum": [
"not_checked",
"specialist_checked",
"mismatch"
],
"description": "Сверка самого камня"
}
},
"required": [],
"additionalProperties": false
},
"deferred": {
"type": "array",
"items": {
"type": "string",
"enum": [
"origin",
"shape",
"lab",
"jewelry",
"metal",
"color",
"clarity",
"cut",
"symmetry",
"polish",
"carat",
"fluorescence",
"budget",
"budget_currency",
"budget_scope",
"destination",
"offer_price",
"offer_currency",
"valuation_goal",
"offer_scope",
"included_costs",
"certificate_lab",
"report_number",
"report_lookup",
"inscription_check",
"physical_match"
]
},
"uniqueItems": true,
"maxItems": 26
},
"reasons": {
"type": "object",
"properties": {
"origin": {
"type": "string",
"maxLength": 500
},
"shape": {
"type": "string",
"maxLength": 500
},
"lab": {
"type": "string",
"maxLength": 500
},
"jewelry": {
"type": "string",
"maxLength": 500
},
"metal": {
"type": "string",
"maxLength": 500
},
"color": {
"type": "string",
"maxLength": 500
},
"clarity": {
"type": "string",
"maxLength": 500
},
"cut": {
"type": "string",
"maxLength": 500
},
"symmetry": {
"type": "string",
"maxLength": 500
},
"polish": {
"type": "string",
"maxLength": 500
},
"carat": {
"type": "string",
"maxLength": 500
},
"fluorescence": {
"type": "string",
"maxLength": 500
},
"budget": {
"type": "string",
"maxLength": 500
},
"budget_currency": {
"type": "string",
"maxLength": 500
},
"budget_scope": {
"type": "string",
"maxLength": 500
},
"destination": {
"type": "string",
"maxLength": 500
},
"offer_price": {
"type": "string",
"maxLength": 500
},
"offer_currency": {
"type": "string",
"maxLength": 500
},
"valuation_goal": {
"type": "string",
"maxLength": 500
},
"offer_scope": {
"type": "string",
"maxLength": 500
},
"included_costs": {
"type": "string",
"maxLength": 500
},
"certificate_lab": {
"type": "string",
"maxLength": 500
},
"report_number": {
"type": "string",
"maxLength": 500
},
"report_lookup": {
"type": "string",
"maxLength": 500
},
"inscription_check": {
"type": "string",
"maxLength": 500
},
"physical_match": {
"type": "string",
"maxLength": 500
}
},
"required": [],
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
}
},
"required": [
"route_id"
],
"additionalProperties": false
}