{
    "openapi": "3.0.3",
    "info": {
        "title": "Alliance Car Service Public API",
        "version": "0.9.6.13"
    },
    "servers": [
        {
            "url": "https:\/\/www.alliancecarservice.com\/wp-json\/divio-agent\/v1"
        }
    ],
    "paths": {
        "\/business": {
            "get": {
                "operationId": "getBusiness",
                "description": "Retrieve public business information.",
                "responses": {
                    "200": {
                        "description": "Public data",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "name": {
                                            "type": "string"
                                        },
                                        "url": {
                                            "type": "string"
                                        },
                                        "description": {
                                            "type": "string"
                                        },
                                        "phone": {
                                            "type": "string"
                                        },
                                        "email": {
                                            "type": "string"
                                        },
                                        "booking": {
                                            "type": "string"
                                        },
                                        "address": {
                                            "type": "object",
                                            "additionalProperties": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Disabled"
                    },
                    "429": {
                        "description": "Rate limited"
                    }
                }
            }
        },
        "\/content": {
            "get": {
                "operationId": "getContent",
                "description": "Browse or search a bounded candidate batch of eligible pages and posts. Follow the Link rel=next header even when a batch has no matching rows.",
                "responses": {
                    "200": {
                        "description": "Public data",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "type": "object",
                                        "properties": {
                                            "title": {
                                                "type": "string"
                                            },
                                            "url": {
                                                "type": "string"
                                            },
                                            "markdown": {
                                                "type": "string"
                                            },
                                            "summary": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Disabled"
                    },
                    "429": {
                        "description": "Rate limited"
                    }
                },
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 120
                        },
                        "description": "Optional search words. Omit to browse."
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 10000000,
                            "default": 1
                        },
                        "description": "Candidate batch; the server may advance past empty batches (up to five, no more than 100 candidates per request). Follow the Link header for continuation."
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100,
                            "default": 50
                        }
                    }
                ]
            }
        },
        "\/categories": {
            "get": {
                "operationId": "getCategories",
                "description": "Retrieve public categories information; no private data.",
                "responses": {
                    "200": {
                        "description": "Public information",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "type": "object",
                                        "properties": {
                                            "id": {
                                                "type": "integer"
                                            },
                                            "slug": {
                                                "type": "string"
                                            },
                                            "name": {
                                                "type": "string"
                                            },
                                            "url": {
                                                "type": "string"
                                            },
                                            "markdown": {
                                                "type": "string"
                                            },
                                            "category_id": {
                                                "type": "integer"
                                            },
                                            "category_ids": {
                                                "type": "array",
                                                "items": {
                                                    "type": "integer"
                                                }
                                            },
                                            "menu_item_id": {
                                                "type": "integer"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Disabled"
                    },
                    "404": {
                        "description": "Not found"
                    }
                }
            }
        },
        "\/services": {
            "get": {
                "operationId": "getServices",
                "description": "Retrieve public services information; no private data.",
                "responses": {
                    "200": {
                        "description": "Public information",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "type": "object",
                                        "properties": {
                                            "id": {
                                                "type": "integer"
                                            },
                                            "slug": {
                                                "type": "string"
                                            },
                                            "name": {
                                                "type": "string"
                                            },
                                            "url": {
                                                "type": "string"
                                            },
                                            "markdown": {
                                                "type": "string"
                                            },
                                            "category_id": {
                                                "type": "integer"
                                            },
                                            "category_ids": {
                                                "type": "array",
                                                "items": {
                                                    "type": "integer"
                                                }
                                            },
                                            "menu_item_id": {
                                                "type": "integer"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Disabled"
                    },
                    "404": {
                        "description": "Not found"
                    }
                }
            }
        },
        "\/locations": {
            "get": {
                "operationId": "getLocations",
                "description": "Retrieve public locations information; no private data.",
                "responses": {
                    "200": {
                        "description": "Public information",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "type": "object",
                                        "properties": {
                                            "name": {
                                                "type": "string"
                                            },
                                            "address": {
                                                "type": "string"
                                            },
                                            "city": {
                                                "type": "string"
                                            },
                                            "region": {
                                                "type": "string"
                                            },
                                            "postal": {
                                                "type": "string"
                                            },
                                            "country": {
                                                "type": "string"
                                            },
                                            "phone": {
                                                "type": "string"
                                            },
                                            "hours": {
                                                "type": "string"
                                            },
                                            "status": {
                                                "type": "string"
                                            },
                                            "booking": {
                                                "type": "string"
                                            },
                                            "url": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Disabled"
                    },
                    "404": {
                        "description": "Not found"
                    }
                }
            }
        },
        "\/team": {
            "get": {
                "operationId": "getTeam",
                "description": "Retrieve public team information; no private data.",
                "responses": {
                    "200": {
                        "description": "Public information",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "type": "object",
                                        "properties": {
                                            "id": {
                                                "type": "integer"
                                            },
                                            "slug": {
                                                "type": "string"
                                            },
                                            "name": {
                                                "type": "string"
                                            },
                                            "url": {
                                                "type": "string"
                                            },
                                            "markdown": {
                                                "type": "string"
                                            },
                                            "category_id": {
                                                "type": "integer"
                                            },
                                            "category_ids": {
                                                "type": "array",
                                                "items": {
                                                    "type": "integer"
                                                }
                                            },
                                            "menu_item_id": {
                                                "type": "integer"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Disabled"
                    },
                    "404": {
                        "description": "Not found"
                    }
                }
            }
        },
        "\/faqs": {
            "get": {
                "operationId": "getFaqs",
                "description": "Retrieve public faqs information; no private data.",
                "responses": {
                    "200": {
                        "description": "Public information",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "type": "object",
                                        "properties": {
                                            "id": {
                                                "type": "integer"
                                            },
                                            "slug": {
                                                "type": "string"
                                            },
                                            "name": {
                                                "type": "string"
                                            },
                                            "url": {
                                                "type": "string"
                                            },
                                            "markdown": {
                                                "type": "string"
                                            },
                                            "category_id": {
                                                "type": "integer"
                                            },
                                            "category_ids": {
                                                "type": "array",
                                                "items": {
                                                    "type": "integer"
                                                }
                                            },
                                            "menu_item_id": {
                                                "type": "integer"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Disabled"
                    },
                    "404": {
                        "description": "Not found"
                    }
                }
            }
        },
        "\/booking": {
            "get": {
                "operationId": "getBooking",
                "description": "Retrieve public booking information; no private data.",
                "responses": {
                    "200": {
                        "description": "Public information",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "url": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Disabled"
                    },
                    "404": {
                        "description": "Not found"
                    }
                }
            }
        },
        "\/services\/{id}": {
            "get": {
                "operationId": "getServicesDetail",
                "description": "Retrieve public services\/{id} information; no private data.",
                "responses": {
                    "200": {
                        "description": "Public information",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "integer"
                                        },
                                        "slug": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "url": {
                                            "type": "string"
                                        },
                                        "markdown": {
                                            "type": "string"
                                        },
                                        "category_id": {
                                            "type": "integer"
                                        },
                                        "category_ids": {
                                            "type": "array",
                                            "items": {
                                                "type": "integer"
                                            }
                                        },
                                        "menu_item_id": {
                                            "type": "integer"
                                        },
                                        "content": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Disabled"
                    },
                    "404": {
                        "description": "Not found"
                    }
                },
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ]
            }
        },
        "\/search": {
            "get": {
                "operationId": "searchPublicKnowledge",
                "description": "Browse or search public content in candidate batches. Follow Link rel=next; omit q to browse. Do not send private or personal data.",
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 120
                        },
                        "description": "Optional search words. Omit to browse."
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 10000000,
                            "default": 1
                        },
                        "description": "Candidate batch; the server may advance past empty batches (up to five, no more than 100 candidates per request). Follow the Link header for continuation."
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100,
                            "default": 50
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Public content",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "array",
                                    "items": {
                                        "type": "object",
                                        "properties": {
                                            "title": {
                                                "type": "string"
                                            },
                                            "type": {
                                                "type": "string"
                                            },
                                            "content_url": {
                                                "type": "string"
                                            },
                                            "id": {
                                                "type": "integer"
                                            },
                                            "slug": {
                                                "type": "string"
                                            },
                                            "name": {
                                                "type": "string"
                                            },
                                            "url": {
                                                "type": "string",
                                                "format": "uri"
                                            },
                                            "markdown": {
                                                "type": "string"
                                            },
                                            "summary": {
                                                "type": "string"
                                            },
                                            "content": {
                                                "type": "string"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Disabled"
                    },
                    "404": {
                        "description": "Not found"
                    },
                    "429": {
                        "description": "Rate limited"
                    }
                }
            }
        },
        "\/pages\/{id}": {
            "get": {
                "operationId": "getPublicPage",
                "description": "Retrieve an eligible public page by its ID.",
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Public content",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "title": {
                                            "type": "string"
                                        },
                                        "type": {
                                            "type": "string"
                                        },
                                        "content_url": {
                                            "type": "string"
                                        },
                                        "id": {
                                            "type": "integer"
                                        },
                                        "slug": {
                                            "type": "string"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "url": {
                                            "type": "string",
                                            "format": "uri"
                                        },
                                        "markdown": {
                                            "type": "string"
                                        },
                                        "summary": {
                                            "type": "string"
                                        },
                                        "content": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Disabled"
                    },
                    "404": {
                        "description": "Not found"
                    },
                    "429": {
                        "description": "Rate limited"
                    }
                }
            }
        },
        "\/faq-answers": {
            "get": {
                "operationId": "getAuthoredFaqAnswers",
                "description": "Read authored or editorially approved, placed public FAQ answers with original source URLs. No unapproved drafts.",
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "maxLength": 120
                        }
                    },
                    {
                        "name": "id",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        },
                        "description": "Optional eligible public post\/page ID for its authored FAQs."
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 10000000
                        },
                        "description": "Paginated all-site FAQ inventory (15 source candidates per page); mutually exclusive with id."
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Public FAQ answers",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "oneOf": [
                                        {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "question": {
                                                        "type": "string"
                                                    },
                                                    "answer": {
                                                        "type": "string"
                                                    },
                                                    "url": {
                                                        "type": "string"
                                                    },
                                                    "page_title": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        },
                                        {
                                            "type": "object",
                                            "properties": {
                                                "page": {
                                                    "type": "integer"
                                                },
                                                "pages": {
                                                    "type": "integer"
                                                },
                                                "next_page": {
                                                    "type": "integer",
                                                    "nullable": true
                                                },
                                                "items": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "question": {
                                                                "type": "string"
                                                            },
                                                            "answer": {
                                                                "type": "string"
                                                            },
                                                            "url": {
                                                                "type": "string"
                                                            },
                                                            "page_title": {
                                                                "type": "string"
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    ]
                                }
                            }
                        }
                    },
                    "403": {
                        "description": "Disabled"
                    },
                    "429": {
                        "description": "Rate limited"
                    }
                }
            }
        },
        "\/ask": {
            "post": {
                "operationId": "searchNLWeb",
                "description": "Stateless NLWeb 0.55 list-mode retrieval. Send only public search terms; no private or personal information.",
                "servers": [
                    {
                        "url": "https:\/\/www.alliancecarservice.com"
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application\/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "query"
                                ],
                                "properties": {
                                    "query": {
                                        "type": "object",
                                        "required": [
                                            "text"
                                        ],
                                        "properties": {
                                            "text": {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 240
                                            }
                                        }
                                    },
                                    "prefer": {
                                        "type": "object",
                                        "properties": {
                                            "streaming": {
                                                "type": "boolean"
                                            },
                                            "mode": {
                                                "type": "string",
                                                "enum": [
                                                    "list"
                                                ]
                                            },
                                            "response_format": {
                                                "type": "string",
                                                "enum": [
                                                    "conversational_search"
                                                ]
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Public source results or structured protocol failure",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "required": [
                                        "_meta"
                                    ],
                                    "properties": {
                                        "_meta": {
                                            "type": "object",
                                            "required": [
                                                "response_type",
                                                "version"
                                            ],
                                            "properties": {
                                                "response_type": {
                                                    "type": "string",
                                                    "enum": [
                                                        "answer",
                                                        "failure"
                                                    ]
                                                },
                                                "version": {
                                                    "type": "string"
                                                },
                                                "response_format": {
                                                    "type": "string"
                                                }
                                            }
                                        },
                                        "results": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "additionalProperties": true
                                            }
                                        },
                                        "error": {
                                            "type": "object",
                                            "properties": {
                                                "code": {
                                                    "type": "string"
                                                },
                                                "message": {
                                                    "type": "string"
                                                }
                                            }
                                        }
                                    }
                                }
                            },
                            "text\/event-stream": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Invalid query"
                    },
                    "403": {
                        "description": "Origin denied"
                    },
                    "413": {
                        "description": "Request too large"
                    },
                    "415": {
                        "description": "Unsupported media type"
                    },
                    "429": {
                        "description": "Rate limited"
                    }
                }
            }
        }
    }
}