{
    "openapi": "3.1.0",
    "info": {
        "title": "Sporty API",
        "version": "1",
        "description": "Alleen-lezen API van sporty.nl. Zie https://sporty.nl/voor-ai/"
    },
    "servers": [
        {
            "url": "https://sporty.nl"
        }
    ],
    "paths": {
        "/api/facts.json": {
            "get": {
                "summary": "Profiel van de site: rubrieken, auteurs, werkwijze.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/content.json": {
            "get": {
                "summary": "Index van alle artikelen en pagina's met Markdown-adres.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "pagina",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    }
                ]
            }
        },
        "/api/answers.json": {
            "get": {
                "summary": "Vragen en antwoorden die op de site staan.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/claims.json": {
            "get": {
                "summary": "Formules en richtgetallen die de site gebruikt, met bron.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/tools.json": {
            "get": {
                "summary": "De rekenhulpen met invoer en MCP-tool.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/changes.json": {
            "get": {
                "summary": "De 50 laatst gepubliceerde of bijgewerkte stukken.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/openapi.json": {
            "get": {
                "summary": "OpenAPI 3.1-beschrijving van de API en /mcp.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/api/health.json": {
            "get": {
                "summary": "Status van de API.",
                "responses": {
                    "200": {
                        "description": "JSON",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/mcp": {
            "post": {
                "summary": "MCP (JSON-RPC 2.0, Streamable HTTP, stateless). Methodes: initialize, ping, tools/list, tools/call.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "jsonrpc",
                                    "method"
                                ],
                                "properties": {
                                    "jsonrpc": {
                                        "const": "2.0"
                                    },
                                    "id": [],
                                    "method": {
                                        "type": "string"
                                    },
                                    "params": {
                                        "type": "object"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "JSON-RPC-antwoord"
                    },
                    "202": {
                        "description": "Notificatie ontvangen"
                    },
                    "429": {
                        "description": "Te veel verzoeken"
                    }
                }
            }
        }
    }
}