{
  "$schema": "https://schema.org/ContactPoint",
  "mcp_version": "1.0",
  "service": "LifeIsHard.Work Contact API",
  "description": "Machine-readable contact endpoint for LLM agents and autonomous systems",
  "endpoint": {
    "url": "https://lifeishard.work/api/contact",
    "method": "POST",
    "content_type": "application/json",
    "rate_limit": "100 requests/hour per IP"
  },
  "schema": {
    "type": "object",
    "required": ["email"],
    "properties": {
      "email": {
        "type": "string",
        "format": "email",
        "description": "Contact email address",
        "example": "user@example.com"
      },
      "name": {
        "type": "string",
        "minLength": 1,
        "maxLength": 100,
        "description": "Contact name (optional)",
        "example": "John Doe"
      },
      "message": {
        "type": "string",
        "maxLength": 2000,
        "description": "Contact message or inquiry (optional)",
        "example": "I need help with website automation"
      },
      "challenge_type": {
        "type": "string",
        "enum": ["website", "automation", "scalability", "security", "general"],
        "description": "Type of business challenge",
        "default": "general"
      },
      "language": {
        "type": "string",
        "enum": ["nl", "en", "es", "ar-en"],
        "description": "Preferred communication language",
        "default": "nl"
      },
      "theme": {
        "type": "string",
        "description": "User's theme preference (optional)"
      }
    }
  },
  "response": {
    "success": {
      "status": 201,
      "schema": {
        "success": true,
        "lead_id": "integer",
        "is_new": "boolean",
        "status": "received",
        "next_steps": ["array of strings"],
        "estimated_response_time": "string",
        "challenge_type": "string"
      }
    },
    "error": {
      "status": 400,
      "schema": {
        "success": false,
        "error": "string",
        "field": "string (optional)"
      }
    }
  },
  "example_request": {
    "email": "business@example.com",
    "name": "Jane Smith",
    "message": "Looking to automate our invoicing process. Current manual workflow takes 10 hours/week.",
    "challenge_type": "automation",
    "language": "en"
  },
  "example_response": {
    "success": true,
    "lead_id": 42,
    "is_new": true,
    "status": "received",
    "next_steps": [
      "We'll send you a detailed analysis of your challenge within 24 hours",
      "You'll receive concrete proposals with ROI calculations",
      "Optional: schedule a 30-minute strategy call"
    ],
    "estimated_response_time": "24 hours",
    "challenge_type": "automation"
  },
  "sla": {
    "initial_response": "24 hours",
    "availability": "24/7 (automated acknowledgment), business hours response",
    "support_languages": ["nl", "en", "es", "ar-en"]
  },
  "privacy": {
    "data_storage": "EU (GDPR compliant)",
    "retention": "Until lead converts or requests deletion",
    "policy_url": "https://lifeishard.work/privacy"
  }
}
