{
    "openapi": "3.1.0",
    "info": {
        "title": "WAODAO Agent API",
        "version": "1.0.0",
        "description": "Machine-readable WAODAO ArtChain and on-chain pool API for AI agents."
    },
    "servers": [
        {
            "url": "https://waodao.ai"
        }
    ],
    "paths": {
        "/api/v1/waodao/index": {
            "get": {
                "summary": "List published WAODAO ArtChain days",
                "responses": {
                    "200": {
                        "description": "Compact ArtChain index"
                    }
                }
            }
        },
        "/api/v1/waodao/latest": {
            "get": {
                "summary": "Get the latest published WAODAO day",
                "responses": {
                    "200": {
                        "description": "Latest token metadata"
                    },
                    "404": {
                        "description": "No published days found"
                    }
                }
            }
        },
        "/api/v1/waodao/token/{day}": {
            "get": {
                "summary": "Get agent-friendly metadata for one WAODAO day",
                "parameters": [
                    {
                        "name": "day",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "minimum": 1
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Agent-friendly token metadata"
                    },
                    "404": {
                        "description": "Day not found"
                    }
                }
            }
        },
        "/api/v1/waodao/schema": {
            "get": {
                "summary": "Describe WAODAO Agent API fields",
                "responses": {
                    "200": {
                        "description": "Schema description"
                    }
                }
            }
        },
        "/api/v1/waodao/pools": {
            "get": {
                "summary": "List official WAO liquidity pools",
                "responses": {
                    "200": {
                        "description": "WAO pool registry"
                    }
                }
            }
        }
    }
}