{
    "openapi": "3.1.0",
    "info": {
        "title": "Opknapper: gegevens voor AI-assistenten en agents",
        "version": "1",
        "description": "Alleen lezen. Alle gepubliceerde inhoud van opknapper.nl, zonder persoonsgegevens. Limiet: 60 verzoeken per minuut per IP-adres voor /api/ en /mcp. Uitleg: https://opknapper.nl/voor-ai/",
        "contact": {
            "email": "redactie@opknapper.nl"
        }
    },
    "servers": [
        {
            "url": "https://opknapper.nl"
        }
    ],
    "paths": {
        "/api/facts.json": {
            "get": {
                "operationId": "facts",
                "summary": "Profiel van de site met rubrieken, auteurs, werkwijze en kerncijfers",
                "responses": {
                    "200": {
                        "description": "Profiel",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/api/content.json": {
            "get": {
                "operationId": "content",
                "summary": "Index van alle gepubliceerde artikelen en pagina's, 100 per pagina",
                "responses": {
                    "200": {
                        "description": "Index",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "site": {
                                            "type": "string"
                                        },
                                        "versie": {
                                            "type": "integer"
                                        },
                                        "bijgewerkt": {
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "items": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "id": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "titel": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "url": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "markdown": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "type": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "rubriek": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "auteur": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "gepubliceerd": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "bijgewerkt": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "samenvatting": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "woorden": {
                                                        "type": "integer"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                },
                "parameters": [
                    {
                        "name": "pagina",
                        "in": "query",
                        "required": false,
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "default": 1
                        }
                    }
                ]
            }
        },
        "/api/answers.json": {
            "get": {
                "operationId": "answers",
                "summary": "Vragen en antwoorden die op de site staan",
                "responses": {
                    "200": {
                        "description": "Vragen en antwoorden",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "site": {
                                            "type": "string"
                                        },
                                        "versie": {
                                            "type": "integer"
                                        },
                                        "bijgewerkt": {
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "items": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "vraag": {
                                                        "type": "string"
                                                    },
                                                    "antwoord": {
                                                        "type": "string"
                                                    },
                                                    "url": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/api/claims.json": {
            "get": {
                "operationId": "claims",
                "summary": "Bedragen en percentages met bron, peildatum en status",
                "responses": {
                    "200": {
                        "description": "Beweringen",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "site": {
                                            "type": "string"
                                        },
                                        "versie": {
                                            "type": "integer"
                                        },
                                        "bijgewerkt": {
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "items": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "bewering": {
                                                        "type": "string"
                                                    },
                                                    "waarde": {
                                                        "type": "number"
                                                    },
                                                    "bron": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "peildatum": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "status": {
                                                        "type": [
                                                            "string",
                                                            "null"
                                                        ]
                                                    },
                                                    "gebruikt_op": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "string"
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/api/tools.json": {
            "get": {
                "operationId": "tools",
                "summary": "Rekenhulpen met invoer (JSON Schema) en MCP-tool",
                "responses": {
                    "200": {
                        "description": "Rekenhulpen",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "site": {
                                            "type": "string"
                                        },
                                        "versie": {
                                            "type": "integer"
                                        },
                                        "bijgewerkt": {
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "items": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/api/changes.json": {
            "get": {
                "operationId": "changes",
                "summary": "De 50 laatst gepubliceerde of bijgewerkte stukken",
                "responses": {
                    "200": {
                        "description": "Wijzigingen",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "site": {
                                            "type": "string"
                                        },
                                        "versie": {
                                            "type": "integer"
                                        },
                                        "bijgewerkt": {
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "items": {
                                            "type": "array",
                                            "items": {
                                                "type": "object"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/api/health.json": {
            "get": {
                "operationId": "health",
                "summary": "Status",
                "responses": {
                    "200": {
                        "description": "Status",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/api/openapi.json": {
            "get": {
                "operationId": "openapi",
                "summary": "Deze beschrijving",
                "responses": {
                    "200": {
                        "description": "OpenAPI",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/feed.json": {
            "get": {
                "operationId": "feed",
                "summary": "JSON Feed 1.1 met de 30 nieuwste artikelen",
                "responses": {
                    "200": {
                        "description": "JSON Feed",
                        "content": {
                            "application/feed+json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "429": {
                        "description": "Meer dan 60 verzoeken per minuut; zie Retry-After."
                    }
                }
            }
        },
        "/mcp": {
            "post": {
                "operationId": "mcp",
                "summary": "Model Context Protocol (Streamable HTTP, stateless): JSON-RPC 2.0 met initialize, ping, tools/list en tools/call",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "jsonrpc",
                                    "method"
                                ],
                                "properties": {
                                    "jsonrpc": {
                                        "const": "2.0"
                                    },
                                    "id": {
                                        "type": [
                                            "integer",
                                            "string"
                                        ]
                                    },
                                    "method": {
                                        "type": "string"
                                    },
                                    "params": {
                                        "type": "object"
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "JSON-RPC-antwoord",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    },
                    "202": {
                        "description": "Melding ontvangen (geen antwoord)"
                    },
                    "429": {
                        "description": "Te veel verzoeken"
                    }
                }
            },
            "get": {
                "operationId": "mcpGet",
                "summary": "Geen stream: geeft 405 met uitleg",
                "responses": {
                    "405": {
                        "description": "Uitleg",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}