{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "specVersion": "1.0.0",
  "protocol": "webmcp",
  "name": "wajad_alasayl_catalog",
  "title": "مؤسسة وجد الأصايل للديكورات والدهانات والعوازل — كتالوج WebMCP للذكاء الاصطناعي",
  "description": "المواصفات القياسية لأدوات ونماذج وخدمات مؤسسة وجد الأصايل للديكورات والدهانات والعوازل بالدمام والخبر للمتصفحات ووكلاء الذكاء الاصطناعي (WebMCP AI Agents).",
  "version": "2.0.0",
  "homepage": "https://wajadalasayl.com",
  "catalogUrl": "https://wajadalasayl.com/ai-catalog.json",
  "provider": {
    "name": "مؤسسة وجد الأصايل للديكورات والدهانات",
    "legalName": "Wajad Alasayl Contracting & Decoration Est.",
    "brand": "وجد الأصايل",
    "url": "https://wajadalasayl.com",
    "telephone": "+966536402106",
    "whatsapp": "https://wa.me/966536402106",
    "email": "contact@wajadalasayl.com",
    "address": {
      "street": "المنطقة الشرقية",
      "city": "الدمام",
      "region": "المنطقة الشرقية",
      "country": "SA",
      "postalCode": "31411"
    },
    "geo": {
      "latitude": 26.4207,
      "longitude": 50.0888
    },
    "areaServed": [
      "الدمام",
      "الخبر",
      "الظهران",
      "القطيف",
      "الجبيل",
      "سيهات",
      "المنطقة الشرقية"
    ],
    "businessHours": {
      "weekdays": "السبت - الخميس: 08:00 ص - 10:00 م",
      "friday": "الجمعة: 04:00 م - 10:00 م"
    },
    "priceRange": "$$",
    "currenciesSupported": ["SAR"]
  },
  "tools": [
    {
      "name": "request_quote",
      "title": "طلب عرض سعر أو معاينة مجانية",
      "description": "إرسال طلب تسعير أو معاينة هندسية مجانية لأعمال الديكورات، دهانات جوتن والجزيرة، بديل الخشب والرخام، الفوم، الجبس بورد، وعوازل الأسطح بالدمام والخبر.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "fullName": {
            "type": "string",
            "minLength": 2,
            "maxLength": 100,
            "description": "اسم العميل الكامل"
          },
          "phone": {
            "type": "string",
            "pattern": "^(05\\d{8}|\\+?9665\\d{8})$",
            "description": "رقم الجوال للتواصل في السعودية (مثال: 0536402106)"
          },
          "city": {
            "type": "string",
            "enum": [
              "الدمام",
              "الخبر",
              "الظهران",
              "القطيف",
              "الجبيل",
              "سيهات",
              "المنطقة الشرقية"
            ],
            "description": "المدينة أو المنطقة داخل المنطقة الشرقية"
          },
          "serviceCategory": {
            "type": "string",
            "enum": [
              "decorations",
              "paints",
              "cladding",
              "ceilings",
              "insulation",
              "epoxy",
              "other"
            ],
            "description": "تصنيف الخدمة المطلوبة"
          },
          "serviceName": {
            "type": "string",
            "description": "اسم الخدمة الدقيق أو وصف العمل المطلوب"
          },
          "approximateAreaSqm": {
            "type": "number",
            "minimum": 1,
            "description": "المساحة التقريبية بالأمتار المربعة (اختياري)"
          },
          "projectStage": {
            "type": "string",
            "enum": [
              "تأسيس عظم",
              "تشطيب جديد",
              "ترميم وتجديد",
              "صيانة فورية"
            ],
            "description": "المرحلة الحالية للمشروع"
          },
          "details": {
            "type": "string",
            "maxLength": 1000,
            "description": "تفاصيل المشروع أو متطلبات إضافية للمعاينة"
          },
          "preferredContact": {
            "type": "string",
            "enum": ["whatsapp", "phone"],
            "default": "whatsapp",
            "description": "وسيلة التواصل المفضلة"
          }
        },
        "required": ["fullName", "phone", "city", "serviceCategory"]
      },
      "annotations": {
        "readOnlyHint": false,
        "idempotentHint": false
      },
      "execution": {
        "type": "http",
        "endpoint": "/api/consultations",
        "method": "POST",
        "directWhatsAppFallback": "https://wa.me/966536402106"
      }
    },
    {
      "name": "calculate_material_estimate",
      "title": "حاسبة تقدير كميات المواد والدهانات",
      "description": "حساب التقدير المبدئي لمساحات الجدران، جالونات الدهان (جوتن أو الجزيرة)، أو ألواح بديل الرخام والخشب والجبس بورد المطلوبة.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "roomLength": {
            "type": "number",
            "minimum": 1,
            "description": "طول الغرفة بالأمتار"
          },
          "roomWidth": {
            "type": "number",
            "minimum": 1,
            "description": "عرض الغرفة بالأمتار"
          },
          "ceilingHeight": {
            "type": "number",
            "minimum": 2,
            "maximum": 8,
            "default": 3.0,
            "description": "ارتفاع السقف بالأمتار (الافتراضي 3.0م)"
          },
          "openingsCount": {
            "type": "integer",
            "minimum": 0,
            "default": 2,
            "description": "عدد الأبواب والنوافذ لخصمها من إجمالي المساحة الجدارية"
          },
          "materialType": {
            "type": "string",
            "enum": [
              "jotun_fenomastic",
              "jazeera_paints",
              "wpc_wood_cladding",
              "pvc_marble_sheets",
              "knauf_gypsum_board",
              "roof_polyurethane_foam"
            ],
            "description": "نوع المادة أو التشطيب المراد تقديره"
          }
        },
        "required": ["roomLength", "roomWidth", "materialType"]
      },
      "annotations": {
        "readOnlyHint": true,
        "idempotentHint": true
      }
    },
    {
      "name": "search_services",
      "title": "استعلام كتالوج الخدمات والأعمال",
      "description": "البحث في خدمات وجد الأصايل، المواصفات الفنية، الضمانات المعتمدة، وسنوات الخبرة.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "كلمة البحث (مثال: بديل رخام، دهانات بروفايل، عزل فوم، إيبوكسي)"
          },
          "category": {
            "type": "string",
            "enum": [
              "all",
              "decorations",
              "paints",
              "cladding",
              "ceilings",
              "insulation"
            ],
            "default": "all",
            "description": "تصنيف الخدمة"
          }
        },
        "required": ["query"]
      },
      "annotations": {
        "readOnlyHint": true,
        "idempotentHint": true
      }
    },
    {
      "name": "start_whatsapp_chat",
      "title": "بدء محادثة واتساب فورية",
      "description": "إنشاء رابط محادثة واتساب مباشر ومشفّر مع المشرف الفني لمؤسسة وجد الأصايل مع صياغة رسالة الاستفسار تلقائياً.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "customerName": {
            "type": "string",
            "description": "اسم العميل"
          },
          "serviceOfInterest": {
            "type": "string",
            "description": "الخدمة المستفسر عنها (مثل: تكسيات جدارية، دهانات خارجية)"
          },
          "city": {
            "type": "string",
            "description": "المدينة (الدمام، الخبر، إلخ)"
          },
          "inquiryType": {
            "type": "string",
            "enum": [
              "معاينة مجانية",
              "استفسار أسعار",
              "طلب كتالوج وصور أعمال",
              "استشارة فنية"
            ],
            "default": "معاينة مجانية",
            "description": "نوع الاستفسار"
          }
        },
        "required": ["serviceOfInterest"]
      },
      "annotations": {
        "readOnlyHint": true,
        "idempotentHint": true
      }
    }
  ],
  "forms": [
    {
      "id": "quote-inquiry-form",
      "title": "نموذج طلب التسعير والمعاينة الهندسية",
      "toolBinding": "request_quote",
      "selector": "form#quote-form, form[toolname='request_quote']",
      "method": "POST",
      "action": "/api/consultations",
      "fields": [
        {
          "name": "fullName",
          "type": "text",
          "label": "الاسم الكامل",
          "required": true,
          "placeholder": "اكتب اسمك الكريم",
          "toolparamdescription": "الاسم الكامل للعميل"
        },
        {
          "name": "phone",
          "type": "tel",
          "label": "رقم الجوال",
          "required": true,
          "placeholder": "05xxxxxxxx",
          "pattern": "^(05\\d{8}|\\+?9665\\d{8})$",
          "toolparamdescription": "رقم الجوال السعودي"
        },
        {
          "name": "city",
          "type": "select",
          "label": "المدينة",
          "required": true,
          "options": [
            "الدمام",
            "الخبر",
            "الظهران",
            "القطيف",
            "الجبيل",
            "سيهات",
            "المنطقة الشرقية"
          ],
          "toolparamdescription": "المدينة داخل المنطقة الشرقية"
        },
        {
          "name": "serviceCategory",
          "type": "select",
          "label": "الخدمة المطلوبة",
          "required": true,
          "options": [
            "decorations",
            "paints",
            "cladding",
            "ceilings",
            "insulation",
            "epoxy"
          ],
          "toolparamdescription": "تصنيف الخدمة"
        },
        {
          "name": "details",
          "type": "textarea",
          "label": "تفاصيل إضافية",
          "required": false,
          "placeholder": "اذكر أي تفاصيل إضافية عن المشروع أو موعد المعاينة المناسب",
          "toolparamdescription": "تفاصيل وملاحظات العميل"
        }
      ]
    },
    {
      "id": "quick-contact-channels",
      "title": "قنوات التواصل الفوري السريع",
      "selector": "#contact",
      "channels": [
        {
          "channel": "whatsapp",
          "label": "محادثة واتساب سريعة",
          "action": "https://wa.me/966536402106",
          "isInstant": true
        },
        {
          "channel": "phone",
          "label": "اتصال هاتفي مباشر",
          "action": "tel:+966536402106",
          "isInstant": true
        },
        {
          "channel": "email",
          "label": "المراسلة الرسمية",
          "action": "mailto:contact@wajadalasayl.com",
          "isInstant": false
        }
      ]
    }
  ]
}
