{
    "openapi": "3.1.0",
    "info": {
        "title": "NPC Office agent API",
        "version": "1.0.2",
        "description": "Read-only endpoints for AI agents. Consultations and orders are arranged by the customer with NPC Office directly.",
        "contact": {
            "url": "https://www.npcoffice.com/kontak/"
        }
    },
    "servers": [
        {
            "url": "https://www.npcoffice.com"
        }
    ],
    "paths": {
        "/.well-known/search": {
            "get": {
                "operationId": "searchSite",
                "summary": "Search services and articles",
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "maxLength": 120
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Results in Markdown",
                        "content": {
                            "text/markdown": {
                                "schema": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/mcp": {
            "post": {
                "operationId": "mcp",
                "summary": "MCP server (Streamable HTTP, JSON-RPC 2.0), read-only tools",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "JSON-RPC response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "202": {
                        "description": "Notification accepted"
                    }
                }
            }
        },
        "/a2a": {
            "post": {
                "operationId": "a2a",
                "summary": "A2A agent (JSON-RPC 2.0), read-only answers",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "JSON-RPC response",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/agent-api/health": {
            "get": {
                "operationId": "health",
                "summary": "Health check",
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/health+json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}