{
  "openapi": "3.1.0",
  "info": {
    "title": "Family Ties Heating and Cooling LLC public information",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "/"
    }
  ],
  "paths": {
    "/business.json": {
      "get": {
        "operationId": "getBusinessInformation",
        "summary": "Get heating and cooling services, hours, contact methods, and service area.",
        "description": "Call or text Family Ties to confirm job scope, pricing and appointment availability.",
        "responses": {
          "200": {
            "description": "Public business information.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "businessName": {
                      "type": "string"
                    },
                    "canonicalUrl": {
                      "type": "string",
                      "format": "uri"
                    },
                    "telephone": {
                      "type": "string",
                      "description": "Public business phone number in international format."
                    },
                    "timezone": {
                      "type": "string"
                    },
                    "hours": {
                      "type": "object",
                      "properties": {
                        "days": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "opens": {
                          "type": "string"
                        },
                        "closes": {
                          "type": "string"
                        },
                        "emergency": {
                          "type": "string"
                        }
                      }
                    },
                    "services": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "path": {
                            "type": "string"
                          },
                          "summary": {
                            "type": "string"
                          },
                          "topics": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "coverage": {
                      "type": "object",
                      "properties": {
                        "description": {
                          "type": "string"
                        },
                        "county": {
                          "type": "string"
                        }
                      }
                    },
                    "contactMethods": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Phone and text are preferred."
                    }
                  },
                  "required": [
                    "businessName",
                    "canonicalUrl",
                    "telephone",
                    "timezone",
                    "hours",
                    "services",
                    "coverage",
                    "contactMethods"
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}
