{
  "openapi": "3.1.0",
  "info": {
    "title": "Glamour Dental Care Public Discovery API",
    "summary": "Machine-readable public discovery endpoints for the Glamour Dental Care website.",
    "description": "This OpenAPI document describes public read-only discovery resources. The website does not expose a public write API for booking, inquiry submission, medical advice, or patient data handling.",
    "version": "2026-06-16"
  },
  "servers": [
    {
      "url": "https://www.glamour.dental"
    }
  ],
  "paths": {
    "/llms.txt": {
      "get": {
        "operationId": "getLlmsTxt",
        "summary": "Get the LLM-readable site guide.",
        "responses": {
          "200": {
            "description": "Plain text guide for LLM crawlers and agents.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/sitemap.xml": {
      "get": {
        "operationId": "getSitemap",
        "summary": "Get the public sitemap.",
        "responses": {
          "200": {
            "description": "Sitemap XML listing public pages.",
            "content": {
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/robots.txt": {
      "get": {
        "operationId": "getRobotsTxt",
        "summary": "Get crawler rules.",
        "responses": {
          "200": {
            "description": "Robots.txt crawler policy.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/webmcp.json": {
      "get": {
        "operationId": "getWebMcpManifest",
        "summary": "Get the WebMCP-style discovery manifest.",
        "responses": {
          "200": {
            "description": "JSON manifest describing safe public resources for agents.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebMcpManifest"
                }
              }
            }
          }
        }
      }
    },
    "/api/careers.json": {
      "get": {
        "operationId": "listCareers",
        "summary": "List current public job openings.",
        "description": "Read-only structured careers data for agents and crawlers. Use career detail pages as canonical URLs when citing jobs to people.",
        "responses": {
          "200": {
            "description": "Current job openings, benefits, and application contact details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CareersIndex"
                }
              }
            }
          }
        }
      }
    },
    "/api/careers/{id}.json": {
      "get": {
        "operationId": "getCareer",
        "summary": "Get a current public job opening by id.",
        "description": "Read-only structured details for a single public job opening.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": ["senior-dental-assistant", "dental-assistant-nurse"]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Job opening details.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CareerJob"
                }
              }
            }
          },
          "404": {
            "description": "No public job opening exists for that id."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "WebMcpManifest": {
        "type": "object",
        "required": ["name", "description", "resources"],
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "resources": {
            "type": "array",
            "items": {
              "type": "object",
              "required": ["name", "url", "mediaType"],
              "properties": {
                "name": {
                  "type": "string"
                },
                "url": {
                  "type": "string",
                  "format": "uri"
                },
                "mediaType": {
                  "type": "string"
                }
              }
            }
          }
        }
      },
      "CareersIndex": {
        "type": "object",
        "required": ["schemaVersion", "name", "language", "url", "jobs"],
        "properties": {
          "schemaVersion": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "language": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "lastUpdated": {
            "type": "string",
            "format": "date"
          },
          "apply": {
            "$ref": "#/components/schemas/CareerApply"
          },
          "benefits": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "jobs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CareerJobSummary"
            }
          }
        }
      },
      "CareerJobSummary": {
        "type": "object",
        "required": ["id", "title", "url", "dataUrl", "summary"],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "employmentType": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "dataUrl": {
            "type": "string",
            "format": "uri"
          },
          "location": {
            "type": "string"
          },
          "workTime": {
            "type": "string"
          },
          "salary": {
            "type": "string"
          },
          "salaryMin": {
            "type": "integer"
          },
          "salaryMax": {
            "type": "integer"
          },
          "salaryCurrency": {
            "type": "string"
          },
          "summary": {
            "type": "string"
          }
        }
      },
      "CareerJob": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CareerJobSummary"
          },
          {
            "type": "object",
            "required": ["sections", "apply"],
            "properties": {
              "sections": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CareerSection"
                }
              },
              "apply": {
                "$ref": "#/components/schemas/CareerApply"
              }
            }
          }
        ]
      },
      "CareerSection": {
        "type": "object",
        "required": ["title", "items"],
        "properties": {
          "title": {
            "type": "string"
          },
          "items": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CareerApply": {
        "type": "object",
        "required": ["email", "url", "phone", "address"],
        "properties": {
          "email": {
            "type": "string",
            "format": "email"
          },
          "url": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "address": {
            "type": "string"
          }
        }
      }
    }
  }
}
