{
    "openapi": "3.1.0",
    "info": {
        "title": "BoatsExpert Agent Discovery API",
        "version": "1.4.0",
        "description": "Read-only discovery endpoints for agents and search systems."
    },
    "servers": [
        {
            "url": "https://boatsexpert.com/"
        }
    ],
    "x-service-info": {
        "name": "BoatsExpert",
        "categories": [
            "marine",
            "catalog",
            "commerce"
        ],
        "contact": "https://boatsexpert.com/contact-us/"
    },
    "paths": {
        "/wp-json/boats-agent-ready/v1/health": {
            "get": {
                "operationId": "getAgentReadyHealth",
                "summary": "Get agent-readiness status for the site.",
                "responses": {
                    "200": {
                        "description": "Health status",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/wp-json/boats-agent-ready/v1/resources": {
            "get": {
                "operationId": "listAgentReadyResources",
                "summary": "List discovery resources exposed by the site.",
                "responses": {
                    "200": {
                        "description": "Discovery resources"
                    }
                }
            }
        },
        "/wp-json/boats-agent-ready/v1/x402-demo": {
            "get": {
                "operationId": "getPaidAgentDemo",
                "summary": "Optional demo endpoint for agent-native payment discovery.",
                "responses": {
                    "200": {
                        "description": "Paid response after payment validation."
                    },
                    "402": {
                        "description": "Payment required."
                    }
                },
                "x-payment-info": {
                    "intent": "charge",
                    "method": "card",
                    "amount": 0.01000000000000000020816681711721685132943093776702880859375,
                    "currency": "EUR",
                    "description": "Demo paid agent endpoint. Enable only when a real payment provider is configured."
                }
            }
        }
    }
}