{
  "$schema": "contracts/builder-template-registry.v1.json",
  "registryVersion": "1.0.0",
  "generatedAt": "2026-10-31T00:00:00.000Z",
  "source": {
    "factory": "tokhoreaisolutions-bit/tokhore-ai-template-factory",
    "consumer": "tokhoreaisolutions-bit/tokhore-ai-builder-app",
    "studio": "tokhore-template-factory-design-studio"
  },
  "demoOnly": true,
  "templates": [
    {
      "id": "website-clinic--level-3",
      "name": "Medical & dental clinic",
      "type": "website",
      "version": "1.0.0+level-3",
      "status": "beta",
      "description": "Premium medical & dental clinic website with configurable simulated customer support.",
      "tags": [
        "premium",
        "clinic",
        "chatbot"
      ],
      "reuses": [
        "factory:business-website",
        "factory:ai-agent-support"
      ],
      "config": {
        "brandName": "EVERWELL DENTAL",
        "primaryColor": "#276b58",
        "modules": {
          "hero": true,
          "services": true,
          "customerChat": true,
          "inquiry": true,
          "customerAgent": true
        },
        "locale": "en-US",
        "notes": "",
        "websiteCore": {
          "schemaVersion": "1.0",
          "templateId": "website-clinic",
          "name": "Medical & dental clinic",
          "version": "1.0.0",
          "changelog": "Premium industry website and simulated customer support.",
          "layout": {
            "maxWidth": 1120,
            "navStyle": "inline",
            "footer": true
          },
          "theme": {
            "background": "#f8fcfa",
            "foreground": "#173a34",
            "primary": "#276b58",
            "muted": "#e8f2ed",
            "headingFont": "Manrope",
            "primaryForeground": "#ffffff",
            "bodyFont": "Manrope",
            "radius": 4
          },
          "brand": {
            "name": "EVERWELL DENTAL",
            "tagline": "A calmer kind of dental care. Thoughtful preventive care, a welcoming space and time to ask questions.",
            "logoUrl": "",
            "logoText": "M"
          },
          "sections": [
            {
              "id": "hero",
              "type": "hero",
              "label": "Introduction",
              "visible": true,
              "fields": [
                {
                  "key": "headline",
                  "label": "headline",
                  "kind": "text",
                  "value": "Everwell Dental Clinic"
                },
                {
                  "key": "subheadline",
                  "label": "subheadline",
                  "kind": "textarea",
                  "value": "A calmer kind of dental care. Thoughtful preventive care, a welcoming space and time to ask questions."
                },
                {
                  "key": "ctaLabel",
                  "label": "ctaLabel",
                  "kind": "text",
                  "value": "Inquire about an appointment"
                },
                {
                  "key": "image",
                  "label": "image",
                  "kind": "image",
                  "value": "asset:clinic"
                }
              ]
            },
            {
              "id": "services",
              "type": "list",
              "label": "Services",
              "visible": true,
              "fields": [
                {
                  "key": "title",
                  "label": "title",
                  "kind": "text",
                  "value": "Care, thoughtfully delivered"
                },
                {
                  "key": "items",
                  "label": "items",
                  "kind": "list",
                  "value": "Preventive care|Routine checkups and hygiene visits, planned around your needs.\nRestorative dentistry|Explore options with a qualified clinician at your appointment.\nFamily dentistry|A reassuring setting for adults and children alike."
                }
              ]
            },
            {
              "id": "story",
              "type": "story",
              "label": "Our approach",
              "visible": true,
              "fields": [
                {
                  "key": "title",
                  "label": "title",
                  "kind": "text",
                  "value": "Your comfort comes first."
                },
                {
                  "key": "body",
                  "label": "body",
                  "kind": "textarea",
                  "value": "A welcoming reception, unhurried conversations and accessible appointment inquiries. This fictional clinic preview shares administrative information only; a qualified clinician must assess all treatment needs."
                }
              ]
            },
            {
              "id": "collection",
              "type": "collection",
              "label": "Experience",
              "visible": true,
              "fields": [
                {
                  "key": "title",
                  "label": "title",
                  "kind": "text",
                  "value": "Every detail, considered"
                },
                {
                  "key": "items",
                  "label": "items",
                  "kind": "list",
                  "value": "A warm welcome|A calm reception and clear next steps|Visit preparation\nTime to talk|Questions are welcome at your appointment|Patient experience\nThoughtful follow-up|Care planning with a qualified clinician|Continuity"
                }
              ]
            },
            {
              "id": "faq",
              "type": "faq",
              "label": "Questions",
              "visible": true,
              "fields": [
                {
                  "key": "title",
                  "label": "title",
                  "kind": "text",
                  "value": "A few things worth knowing"
                }
              ]
            },
            {
              "id": "form",
              "type": "form",
              "label": "Inquiry",
              "visible": true,
              "fields": [
                {
                  "key": "title",
                  "label": "title",
                  "kind": "text",
                  "value": "Inquire about an appointment"
                },
                {
                  "key": "submitLabel",
                  "label": "submitLabel",
                  "kind": "text",
                  "value": "Prepare inquiry (simulated)"
                }
              ]
            }
          ],
          "forms": [
            {
              "id": "contact",
              "title": "Contact",
              "fields": [
                {
                  "key": "name",
                  "label": "Name",
                  "type": "text",
                  "required": true
                },
                {
                  "key": "email",
                  "label": "Email",
                  "type": "email",
                  "required": true
                },
                {
                  "key": "preferred date",
                  "label": "Preferred date",
                  "type": "text",
                  "required": false
                }
              ]
            }
          ],
          "integrations": [
            {
              "id": "email",
              "name": "Email provider",
              "kind": "outbound-email",
              "enabled": false,
              "note": "Contract only — not connected"
            },
            {
              "id": "sms",
              "name": "SMS provider",
              "kind": "outbound-sms",
              "enabled": false,
              "note": "Contract only — not connected"
            },
            {
              "id": "calendar",
              "name": "Calendar sync",
              "kind": "calendar",
              "enabled": false,
              "note": "Contract only — not connected"
            },
            {
              "id": "webhook",
              "name": "Outbound webhook",
              "kind": "webhook",
              "enabled": false,
              "note": "Contract only — not connected"
            }
          ],
          "featureFlags": {
            "appointmentInquiry": true,
            "customerChat": true,
            "legacyWidgets": false
          },
          "agentPrompts": {
            "system": "You are {{brand}}'s assistant. Be concise and helpful.",
            "legacyGreeting": "Hello! How can I help?"
          },
          "crmFields": [
            {
              "key": "name",
              "label": "Name",
              "type": "text"
            },
            {
              "key": "email",
              "label": "Email",
              "type": "text"
            },
            {
              "key": "stage",
              "label": "Stage",
              "type": "select"
            }
          ],
          "workflows": [
            {
              "id": "wf-notify",
              "name": "Notify owner on form submit",
              "trigger": "form.submitted",
              "actions": [
                "notify.owner"
              ]
            }
          ],
          "bookingRules": {
            "slotMinutes": 30,
            "leadTimeHours": 2,
            "maxPerSlot": 3,
            "cancellationHours": 24
          },
          "permissions": {
            "owner": [
              "*"
            ],
            "manager": [
              "content.edit",
              "crm.edit",
              "workflows.run"
            ],
            "staff": [
              "crm.edit"
            ],
            "viewer": [
              "read"
            ]
          },
          "chatbot": {
            "enabled": true,
            "name": "Everwell reception",
            "greeting": "Welcome to {{brand}}. How can we help?",
            "suggestedQuestions": [
              "How can I request an appointment?",
              "Do you welcome new patients?",
              "What should I bring?"
            ],
            "faq": [
              {
                "id": "faq-0",
                "q": "How can I request an appointment?",
                "a": "Use the appointment inquiry form with fictional contact details and a preferred date. Do not include symptoms, medical records or insurance identifiers. No appointment is booked.",
                "keywords": [
                  "appoint",
                  "book",
                  "date"
                ]
              },
              {
                "id": "faq-1",
                "q": "Do you welcome new patients?",
                "a": "This sample clinic welcomes new-patient inquiries. Availability and clinical suitability need confirmation by the clinic.",
                "keywords": [
                  "new patient",
                  "welcome"
                ]
              },
              {
                "id": "faq-2",
                "q": "What should I bring?",
                "a": "The clinic would share visit preparation instructions through a secure channel after confirmation. Please do not upload health records here.",
                "keywords": [
                  "bring",
                  "prepare",
                  "visit"
                ]
              }
            ],
            "escalationWords": [
              "human",
              "complaint",
              "refund"
            ],
            "escalationMessage": "You can prepare a contact request below. No live agent is connected and nothing is sent.",
            "contactEmail": "hello@example.com",
            "privacyNotice": "Administrative questions only. Do not share symptoms, medical history, records or identifiers. This chat cannot diagnose or recommend treatment. For emergencies, contact local emergency services.",
            "medicalSafety": true
          },
          "seo": {
            "title": "EVERWELL DENTAL | Everwell Dental Clinic",
            "description": "A calmer kind of dental care. Thoughtful preventive care, a welcoming space and time to ask questions.",
            "industry": "clinic",
            "slug": "/",
            "canonical": "",
            "indexable": false,
            "siteUrl": "",
            "shareTitle": "EVERWELL DENTAL | Everwell Dental Clinic",
            "shareDescription": "A calmer kind of dental care. Thoughtful preventive care, a welcoming space and time to ask questions.",
            "shareImage": "",
            "shareImageAlt": "",
            "twitterTitle": "EVERWELL DENTAL | Everwell Dental Clinic",
            "twitterDescription": "A calmer kind of dental care. Thoughtful preventive care, a welcoming space and time to ask questions.",
            "twitterImage": "",
            "schemaType": "none",
            "factsConfirmed": false,
            "businessName": "",
            "address": "",
            "phone": "",
            "serviceAreas": [],
            "applicationCategory": "",
            "operatingSystem": "",
            "headings": {},
            "imageAlts": {
              "hero.image": "EVERWELL DENTAL welcoming dental reception",
              "logo": "EVERWELL DENTAL logo",
              "collection.image": "Fictional waterfront residence with outdoor pool"
            },
            "internalLinks": []
          },
          "social": {
            "niche": "clinic",
            "content": "",
            "customTags": [],
            "maxTags": 5
          }
        },
        "clientOverrides": {},
        "assets": {
          "customerAgent": "{\"schema\":\"tokhore.customer-agent.v1\",\"source\":\"tokhore-template-factory-design-studio\",\"demoOnly\":true,\"runtimeProtectionVerified\":false,\"activationAuthorized\":false,\"config\":{\"schema\":\"tokhore.customer-agent.v1\",\"name\":\"Tokhore Care\",\"tone\":\"friendly\",\"greeting\":\"Hi, I'm {{name}}. I can check an order, explain what's included, or book a call.\",\"escalationWords\":[\"refund\",\"cancel\",\"complaint\",\"lawyer\",\"human\",\"person\",\"manager\"],\"escalationMessage\":\"I'm handing this to a member of our team so a person can answer it properly.\",\"contactEmail\":\"\",\"contactPhone\":\"\",\"roles\":[{\"id\":\"support\",\"name\":\"Support\",\"job\":\"Answer questions from the help docs, check order status and open tickets.\",\"greeting\":\"Support here — ask about your order, hours or what's included.\",\"skills\":[\"help_answer\",\"order_status\",\"open_ticket\",\"handoff_person\"],\"enabled\":true},{\"id\":\"sales\",\"name\":\"Sales\",\"job\":\"Explain packages and what's included, and pass serious enquiries to the team.\",\"greeting\":\"Sales here — tell me what you need and I'll explain the options.\",\"skills\":[\"help_answer\",\"leave_lead\",\"handoff_person\"],\"enabled\":true},{\"id\":\"booking\",\"name\":\"Booking\",\"job\":\"Take a request for a call or visit. A teammate confirms the real slot.\",\"greeting\":\"Booking here — tell me a day and time and I'll note the request.\",\"skills\":[\"book_appointment\",\"help_answer\",\"handoff_person\"],\"enabled\":true}],\"faq\":[{\"id\":\"faq-hours\",\"q\":\"What are your opening hours?\",\"a\":\"Our team is available Monday–Saturday, 8am to 6pm.\",\"keywords\":[\"hours\",\"open\",\"close\",\"available\"]},{\"id\":\"faq-included\",\"q\":\"What is included in a package?\",\"a\":\"Each package lists its own features; higher packages include everything in the lower ones plus more.\",\"keywords\":[\"included\",\"package\",\"features\",\"what do i get\"]},{\"id\":\"faq-timeline\",\"q\":\"How long does a build take?\",\"a\":\"A ready-made template build is usually a few working days; a custom build depends on scope.\",\"keywords\":[\"long\",\"timeline\",\"when\",\"days\",\"ready\"]},{\"id\":\"faq-changes\",\"q\":\"Can I change things after delivery?\",\"a\":\"Yes — you can request changes; the team quotes the work before doing it.\",\"keywords\":[\"change\",\"edit\",\"after delivery\",\"modify\"]}],\"orders\":[{\"id\":\"ORD-1042\",\"customer\":\"Rahman Legal\",\"item\":\"Business website + AI customer service agent\",\"status\":\"in_progress\",\"updated\":\"2026-10-28\"},{\"id\":\"ORD-1043\",\"customer\":\"Harbor Dental\",\"item\":\"Booking app with student/teacher plans\",\"status\":\"awaiting_approval\",\"updated\":\"2026-10-30\"}]}}"
        }
      },
      "preview": {
        "route": "/websites"
      },
      "reliability": {
        "$schema": "tokhore.reliability-requirements.v1",
        "version": "1.0.2",
        "status": "CODE_ONLY_UNVERIFIED",
        "domain": "website-forms",
        "runtimeProtectionVerified": false,
        "activationAuthorized": false,
        "foundation": [
          {
            "id": "scoped-identity",
            "ref": "foundation/identity",
            "text": "Scoped identity: every action bound to an authenticated, tenant/client-scoped principal.",
            "status": "CODE_ONLY_UNVERIFIED"
          },
          {
            "id": "health-events",
            "ref": "foundation/observability",
            "text": "Redacted health events with incident correlation IDs; no secrets or personal data in events.",
            "status": "CODE_ONLY_UNVERIFIED"
          },
          {
            "id": "checkpoint-outbox",
            "ref": "foundation/durability",
            "text": "Durable checkpoint/outbox where side effects exist, so work resumes without loss or duplication.",
            "status": "CODE_ONLY_UNVERIFIED"
          },
          {
            "id": "safe-recovery",
            "ref": "foundation/recovery",
            "text": "Safe domain recovery: retries bounded, unknown outcomes reconciled before re-execution.",
            "status": "CODE_ONLY_UNVERIFIED"
          },
          {
            "id": "cost-guard",
            "ref": "foundation/cost-guard",
            "text": "Cost Guard budget limits and an operator kill switch for paid or external calls.",
            "status": "CODE_ONLY_UNVERIFIED"
          },
          {
            "id": "regression-tests",
            "ref": "foundation/testing",
            "text": "Isolation, recovery and security regression tests required before release.",
            "status": "CODE_ONLY_UNVERIFIED"
          },
          {
            "id": "release-approval",
            "ref": "foundation/release",
            "text": "Human release approval plus evidence-bound activation through canonical Builder governance.",
            "status": "CODE_ONLY_UNVERIFIED"
          }
        ],
        "domainRequirements": [
          {
            "id": "form-side-effects",
            "ref": "domain/website",
            "text": "Form/lead/booking submissions: server-side validation, spam/abuse limits, idempotent submit keys, outbox for notifications; no send without configured provider.",
            "status": "CODE_ONLY_UNVERIFIED"
          },
          {
            "id": "form-privacy",
            "ref": "domain/website",
            "text": "Submitted personal data minimised, redacted in logs and retained per client policy.",
            "status": "CODE_ONLY_UNVERIFIED"
          }
        ],
        "note": "Requirements only. Checkboxes or config here never prove active protection; verification and activation require canonical Builder governance evidence."
      }
    }
  ]
}
