{"openapi": "3.1.0", "info": {"title": "GroomLens agent API", "version": "1.0.0"}, "servers": [{"url": "https://groomlens.com"}], "paths": {"/api/tools/groomlens_estimate_coat_slot": {"post": {"operationId": "groomlens_estimate_coat_slot", "summary": "Planning estimate using GroomLens coat-time math. Not a booking or welfare assessment. A groomer must assess severe matting.", "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "additionalProperties": false, "properties": {"coat": {"enum": ["curly", "double", "silky", "wire", "smooth"]}, "trim": {"enum": ["teddy", "outline", "summer", "reset", "breed"]}, "matting": {"enum": [1, 2, 3, 4, 5]}, "handling": {"enum": [0, 10, 20]}, "weight": {"enum": [0, 15, 30, 45]}, "hourly": {"type": "number", "minimum": 20, "maximum": 500}, "noShow": {"type": "number", "minimum": 0, "maximum": 50}}, "required": ["coat", "trim", "matting", "handling", "weight", "hourly", "noShow"]}}}}, "responses": {"200": {"description": "Estimate or durable early-access intake receipt"}, "400": {"description": "Invalid input"}, "409": {"description": "Idempotency conflict"}, "429": {"description": "Rate limited"}, "503": {"description": "Storage unavailable"}}}}, "/api/tools/groomlens_register_salon_intake": {"post": {"operationId": "groomlens_register_salon_intake", "summary": "WRITE: register an early-access salon scope request with consent. Reuse idempotency_key. Receipt means stored, not paid activation, booking or an email promise.", "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "additionalProperties": false, "properties": {"salon_name": {"type": "string", "minLength": 2, "maxLength": 140}, "groomer_email": {"type": "string", "minLength": 3, "maxLength": 160}, "plan_tier": {"enum": ["salon-pro", "multi-van-fleet"]}, "sample_ticket_sha256": {"type": "string", "pattern": "^[a-f0-9]{64}$"}, "van_or_table_count": {"type": "integer", "minimum": 1, "maximum": 100}, "idempotency_key": {"type": "string", "pattern": "^[A-Za-z0-9_-]{8,128}$"}}, "required": ["salon_name", "groomer_email", "plan_tier", "sample_ticket_sha256", "van_or_table_count", "idempotency_key"]}}}}, "responses": {"200": {"description": "Estimate or durable early-access intake receipt"}, "400": {"description": "Invalid input"}, "409": {"description": "Idempotency conflict"}, "429": {"description": "Rate limited"}, "503": {"description": "Storage unavailable"}}}}}}