{
  "openapi": "3.1.0",
  "info": {
    "title": "LowBloat agent API",
    "version": "1.0.0",
    "description": "Public, read-only endpoints that let AI agents search and read the content published on the LowBloat website: products, pricing, licenses and developer docs. Answers come from searching published content; no language model generates them. No authentication is required. Human documentation: https://lowbloat.app/developers/\n\nVersioning and deprecation: protocol versions are negotiated with the MCP-Protocol-Version and A2A-Version request headers and with NLWeb _meta.version. A breaking change or the removal of an endpoint is announced in advance on the developers page, and the affected responses then carry the Deprecation (RFC 9745) and Sunset (RFC 8594) headers. No operation is deprecated today.",
    "contact": {
      "name": "LowBloat",
      "email": "contact@lowbloat.app",
      "url": "https://lowbloat.app/"
    }
  },
  "servers": [
    {
      "url": "https://lowbloat.app"
    }
  ],
  "security": [],
  "externalDocs": {
    "description": "For developers and AI agents",
    "url": "https://lowbloat.app/developers/"
  },
  "tags": [
    {
      "name": "NLWeb",
      "description": "Natural-language search (NLWeb v0.55)."
    },
    {
      "name": "A2A",
      "description": "Agent2Agent JSON-RPC (v1.0 and v0.3)."
    },
    {
      "name": "MCP",
      "description": "Model Context Protocol, Streamable HTTP."
    },
    {
      "name": "Content",
      "description": "Static content index for agents."
    }
  ],
  "paths": {
    "/ask": {
      "get": {
        "tags": [
          "NLWeb"
        ],
        "operationId": "askGet",
        "summary": "Search LowBloat's published content",
        "description": "GET convenience form of NLWeb /ask. JSON by default; streaming=true or Accept: text/event-stream returns Server-Sent Events.",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "description": "Natural-language question or keywords. q is accepted as an alias.",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            }
          },
          {
            "name": "streaming",
            "in": "query",
            "required": false,
            "description": "Return Server-Sent Events instead of JSON (true or 1).",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Maximum number of results. Values outside 1-20 are clamped to that range, not rejected.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 20,
              "default": 5
            }
          },
          {
            "name": "lang",
            "in": "query",
            "required": false,
            "description": "Answer language: a site locale (pt, en, es, ja, fr, zh, ru) or a BCP 47 language tag such as pt-BR or zh-Hans. locale is accepted as an alias. Without it, the Accept-Language header decides, then English.",
            "schema": {
              "type": "string",
              "examples": [
                "ja",
                "pt-BR"
              ]
            }
          },
          {
            "name": "mode",
            "in": "query",
            "required": false,
            "description": "NLWeb mode, comma-separated. Only list is supported; a value without list gets the failure UNSUPPORTED_MODE.",
            "schema": {
              "type": "string",
              "default": "list"
            }
          },
          {
            "name": "response_format",
            "in": "query",
            "required": false,
            "description": "Only conversational_search is supported; any other value gets the failure UNSUPPORTED_FORMAT.",
            "schema": {
              "type": "string",
              "default": "conversational_search"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "NLWeb answer (results), or an NLWeb failure envelope with HTTP 200 when the query is valid but cannot be answered: NO_RESULTS, UNSUPPORTED_MODE or UNSUPPORTED_FORMAT. With streaming, named Server-Sent Events: start, result (one per item), error and complete.",
            "headers": {
              "Deprecation": {
                "$ref": "#/components/headers/Deprecation"
              },
              "Sunset": {
                "$ref": "#/components/headers/Sunset"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NlwebResponse"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string",
                  "description": "event: start | result | error | complete, each followed by one line of JSON data."
                }
              }
            }
          },
          "400": {
            "description": "NLWeb failure INVALID_QUERY: the query is missing, empty or longer than 2000 characters. With streaming, the same failure comes as start, error and complete events.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NlwebResponse"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string",
                  "description": "event: start | result | error | complete, each followed by one line of JSON data."
                }
              }
            }
          },
          "500": {
            "description": "NLWeb failure INTERNAL_ERROR: the site content could not be loaded. Always JSON. Try again later.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NlwebResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "NLWeb"
        ],
        "operationId": "askPost",
        "summary": "Search LowBloat's published content (NLWeb v0.55)",
        "description": "NLWeb v0.55 request envelope. prefer.streaming: true or Accept: text/event-stream selects Server-Sent Events. The older flat body ({\"query\": \"...\"}) and an HTML form with the GET parameters are also accepted.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/NlwebRequest"
                  },
                  {
                    "$ref": "#/components/schemas/NlwebFlatRequest"
                  }
                ]
              },
              "example": {
                "query": {
                  "text": "light SQL client for Oracle"
                },
                "prefer": {
                  "streaming": false,
                  "accept-language": "en",
                  "limit": 5
                },
                "meta": {
                  "version": "0.55"
                }
              }
            },
            "application/x-www-form-urlencoded": {
              "schema": {
                "$ref": "#/components/schemas/AskForm"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "NLWeb answer (results), or an NLWeb failure envelope with HTTP 200 when the query is valid but cannot be answered: NO_RESULTS, UNSUPPORTED_MODE or UNSUPPORTED_FORMAT. With streaming, named Server-Sent Events: start, result (one per item), error and complete.",
            "headers": {
              "Deprecation": {
                "$ref": "#/components/headers/Deprecation"
              },
              "Sunset": {
                "$ref": "#/components/headers/Sunset"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NlwebResponse"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string",
                  "description": "event: start | result | error | complete, each followed by one line of JSON data."
                }
              }
            }
          },
          "400": {
            "description": "NLWeb failure INVALID_QUERY: the body is not JSON or not a JSON object, or the query is missing, empty or longer than 2000 characters. With streaming, the same failure comes as start, error and complete events.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NlwebResponse"
                }
              },
              "text/event-stream": {
                "schema": {
                  "type": "string",
                  "description": "event: start | result | error | complete, each followed by one line of JSON data."
                }
              }
            }
          },
          "500": {
            "description": "NLWeb failure INTERNAL_ERROR: the site content could not be loaded. Always JSON. Try again later.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NlwebResponse"
                }
              }
            }
          }
        }
      }
    },
    "/a2a": {
      "get": {
        "tags": [
          "A2A"
        ],
        "operationId": "a2aInfo",
        "summary": "Describe the A2A endpoint",
        "description": "Returns JSON pointing to the agent card at /.well-known/agent-card.json. Agents talk to this endpoint with POST.",
        "responses": {
          "200": {
            "description": "Pointer to the agent card.",
            "headers": {
              "Deprecation": {
                "$ref": "#/components/headers/Deprecation"
              },
              "Sunset": {
                "$ref": "#/components/headers/Sunset"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "A2A"
        ],
        "operationId": "a2aJsonRpc",
        "summary": "Send a message to the LowBloat product assistant",
        "description": "A2A JSON-RPC 2.0. Supported: message/send (v0.3) and SendMessage (v1.0), which return a Message whose text part answers from LowBloat's published content. Streaming, tasks and push notifications are not supported and return JSON-RPC errors. Every JSON-RPC error comes with HTTP 200:-32700 (body is not JSON), -32600 (not a JSON-RPC 2.0 request), -32602 (invalid message), -32601 (unknown method), -32009 (unsupported A2A-Version), -32004, -32001 and -32003 (streaming, tasks and push notifications), -32007 (no extended card) and -32603 (internal error). Agent card: https://lowbloat.app/.well-known/agent-card.json",
        "parameters": [
          {
            "name": "A2A-Version",
            "in": "header",
            "required": false,
            "description": "Protocol version: 1.0 or 0.3 (empty means 0.3).",
            "schema": {
              "type": "string",
              "enum": [
                "1.0",
                "0.3"
              ]
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest"
              },
              "example": {
                "jsonrpc": "2.0",
                "id": 1,
                "method": "message/send",
                "params": {
                  "message": {
                    "kind": "message",
                    "messageId": "9b1c1f9e-2a0e-4c55-9d43-0d0b8f3b6a11",
                    "role": "user",
                    "parts": [
                      {
                        "kind": "text",
                        "text": "What products does LowBloat make?"
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON-RPC response: a Message result, or a JSON-RPC error object.",
            "headers": {
              "Deprecation": {
                "$ref": "#/components/headers/Deprecation"
              },
              "Sunset": {
                "$ref": "#/components/headers/Sunset"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse"
                }
              }
            }
          },
          "202": {
            "description": "Notification (a request without id): no body."
          }
        }
      }
    },
    "/mcp": {
      "post": {
        "tags": [
          "MCP"
        ],
        "operationId": "mcpJsonRpc",
        "summary": "MCP server: LowBloat docs (read-only)",
        "description": "Stateless MCP server over Streamable HTTP. Methods: initialize, server/discover, tools/list, tools/call, resources/list, resources/read, resources/templates/list and ping. Three tools: search_docs, list_products (the catalog, with each product's price, price note and license) and get_product. On the legacy revisions (2025-11-25 and earlier) the body may also be a JSON-RPC batch: the reply is an array of responses, or 202 when the batch holds only notifications; initialize cannot be batched. Notifications get 202 with no body; GET returns 405 with a JSON-RPC error. Server card: https://lowbloat.app/mcp/server-card",
        "parameters": [
          {
            "name": "MCP-Protocol-Version",
            "in": "header",
            "required": false,
            "description": "Negotiated MCP protocol revision. Any other value gets 400.",
            "schema": {
              "type": "string",
              "enum": [
                "2026-07-28",
                "2025-11-25",
                "2025-06-18",
                "2025-03-26"
              ]
            }
          },
          {
            "name": "Mcp-Method",
            "in": "header",
            "required": false,
            "description": "Revision 2026-07-28 only: when sent, it must equal the body's method, or the request gets 400 (-32020).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Mcp-Name",
            "in": "header",
            "required": false,
            "description": "Revision 2026-07-28 only: when sent, it must equal params.name or params.uri, or the request gets 400 (-32020).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/JsonRpcRequest"
                  },
                  {
                    "type": "array",
                    "description": "JSON-RPC batch (legacy revisions only).",
                    "minItems": 1,
                    "items": {
                      "$ref": "#/components/schemas/JsonRpcRequest"
                    }
                  }
                ]
              },
              "example": {
                "jsonrpc": "2.0",
                "id": 1,
                "method": "tools/call",
                "params": {
                  "name": "search_docs",
                  "arguments": {
                    "query": "pricing"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "JSON-RPC response, or an array of responses for a batch. A result, or a JSON-RPC error such as -32602 for an unknown tool or a resource that does not exist.",
            "headers": {
              "Deprecation": {
                "$ref": "#/components/headers/Deprecation"
              },
              "Sunset": {
                "$ref": "#/components/headers/Sunset"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/JsonRpcResponse"
                    },
                    {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/JsonRpcResponse"
                      }
                    }
                  ]
                }
              }
            }
          },
          "202": {
            "description": "Notification or client response accepted (also a batch of only those); no body."
          },
          "400": {
            "description": "JSON-RPC error: -32700 (body is not JSON), -32600 (invalid request, an invalid batch, a batch on revision 2026-07-28, or an unsupported MCP-Protocol-Version on a legacy revision), -32602 (revision 2026-07-28 without the required _meta fields), -32022 (unsupported protocol version) or -32020 (a header that does not match the body).",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse"
                }
              }
            }
          },
          "404": {
            "description": "Revision 2026-07-28 only: JSON-RPC error -32601, method not found. Legacy revisions return it with HTTP 200.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse"
                }
              }
            }
          },
          "500": {
            "description": "JSON-RPC error -32603, internal error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse"
                }
              }
            }
          }
        }
      }
    },
    "/agents/content/{locale}.json": {
      "get": {
        "tags": [
          "Content"
        ],
        "operationId": "getAgentContent",
        "summary": "Download the content index for one language",
        "description": "Every product and page of the site in one language, as built for agents. Static file, regenerated on each deploy.",
        "parameters": [
          {
            "name": "locale",
            "in": "path",
            "required": true,
            "description": "Content language.",
            "schema": {
              "$ref": "#/components/schemas/Locale"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Content index.",
            "headers": {
              "Deprecation": {
                "$ref": "#/components/headers/Deprecation"
              },
              "Sunset": {
                "$ref": "#/components/headers/Sunset"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentContent"
                }
              }
            }
          },
          "404": {
            "description": "Unknown language: this JSON error. A client that asks for Markdown (Accept: text/markdown) gets a Markdown 404 page instead.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "headers": {
      "Deprecation": {
        "description": "Present only when the operation is deprecated (RFC 9745): the date from which it is deprecated, as a structured-field date. Deprecation is announced in advance on the developers page.",
        "schema": {
          "type": "string",
          "examples": [
            "@1798761600"
          ]
        }
      },
      "Sunset": {
        "description": "Present only when the operation is deprecated (RFC 8594): the HTTP-date after which it may stop responding.",
        "schema": {
          "type": "string",
          "examples": [
            "Sat, 01 Jan 2028 00:00:00 GMT"
          ]
        }
      }
    },
    "schemas": {
      "Locale": {
        "type": "string",
        "enum": [
          "pt",
          "en",
          "es",
          "ja",
          "fr",
          "zh",
          "ru"
        ]
      },
      "Error": {
        "type": "object",
        "description": "JSON error returned by the site's endpoints.",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "object",
            "required": [
              "code",
              "message"
            ],
            "properties": {
              "code": {
                "type": "string",
                "examples": [
                  "not_found"
                ]
              },
              "message": {
                "type": "string"
              },
              "docs": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        }
      },
      "NlwebRequest": {
        "type": "object",
        "description": "NLWeb v0.55 request envelope. Only query.text is required.",
        "required": [
          "query"
        ],
        "properties": {
          "query": {
            "type": "object",
            "required": [
              "text"
            ],
            "properties": {
              "text": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2000
              },
              "site": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "context": {
            "type": "object",
            "properties": {
              "@type": {
                "type": "string"
              },
              "prev": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "text": {
                "type": "string"
              },
              "memory": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "prefer": {
            "type": "object",
            "properties": {
              "streaming": {
                "type": "boolean"
              },
              "response_format": {
                "type": "string",
                "default": "conversational_search"
              },
              "mode": {
                "type": "string",
                "default": "list"
              },
              "limit": {
                "type": "integer",
                "minimum": 1,
                "maximum": 20,
                "default": 5,
                "description": "Maximum number of results; out-of-range values are clamped."
              },
              "accept-language": {
                "type": "string",
                "description": "Answer language: a site locale or BCP 47 tags. Without it, the Accept-Language header decides, then English."
              },
              "user-agent": {
                "type": "string"
              }
            },
            "additionalProperties": true
          },
          "meta": {
            "type": "object",
            "properties": {
              "version": {
                "type": "string"
              },
              "session_context": {
                "type": "object"
              },
              "user": {
                "oneOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "object"
                  }
                ]
              },
              "remember": {
                "type": "boolean"
              }
            },
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "NlwebFlatRequest": {
        "type": "object",
        "description": "Older flat /ask body, still accepted. The response format is always conversational_search.",
        "required": [
          "query"
        ],
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          },
          "streaming": {
            "type": "boolean"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 20,
            "default": 5
          },
          "mode": {
            "type": "string",
            "default": "list"
          },
          "lang": {
            "type": "string",
            "description": "Alias: locale."
          },
          "locale": {
            "type": "string"
          }
        },
        "additionalProperties": true
      },
      "AskForm": {
        "type": "object",
        "description": "HTML form body with the same fields as GET /ask.",
        "properties": {
          "query": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000
          },
          "q": {
            "type": "string",
            "description": "Alias of query."
          },
          "streaming": {
            "type": "string",
            "enum": [
              "true",
              "1",
              "false",
              "0"
            ]
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 20,
            "default": 5
          },
          "lang": {
            "type": "string"
          },
          "locale": {
            "type": "string",
            "description": "Alias of lang."
          },
          "mode": {
            "type": "string",
            "default": "list"
          },
          "response_format": {
            "type": "string",
            "default": "conversational_search"
          }
        }
      },
      "NlwebMeta": {
        "type": "object",
        "required": [
          "response_type",
          "version"
        ],
        "properties": {
          "response_type": {
            "type": "string",
            "enum": [
              "answer",
              "elicitation",
              "promise",
              "failure"
            ]
          },
          "version": {
            "type": "string",
            "examples": [
              "0.55"
            ]
          },
          "response_format": {
            "type": "string"
          },
          "streaming": {
            "type": "boolean"
          }
        },
        "additionalProperties": true
      },
      "NlwebResult": {
        "type": "object",
        "description": "One result: a schema.org-typed item with a link to the page it comes from.",
        "properties": {
          "@type": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "site": {
            "type": "string"
          },
          "score": {
            "type": "number"
          }
        },
        "additionalProperties": true
      },
      "NlwebResponse": {
        "type": "object",
        "required": [
          "_meta"
        ],
        "properties": {
          "_meta": {
            "$ref": "#/components/schemas/NlwebMeta"
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NlwebResult"
            }
          },
          "error": {
            "type": "object",
            "required": [
              "code"
            ],
            "properties": {
              "code": {
                "type": "string",
                "examples": [
                  "INVALID_QUERY",
                  "NO_RESULTS",
                  "UNSUPPORTED_MODE",
                  "UNSUPPORTED_FORMAT",
                  "INTERNAL_ERROR"
                ]
              },
              "message": {
                "type": "string"
              },
              "docs": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        },
        "additionalProperties": true
      },
      "JsonRpcRequest": {
        "type": "object",
        "required": [
          "jsonrpc",
          "method"
        ],
        "properties": {
          "jsonrpc": {
            "const": "2.0"
          },
          "id": {
            "type": [
              "string",
              "integer",
              "null"
            ]
          },
          "method": {
            "type": "string"
          },
          "params": {
            "type": "object",
            "additionalProperties": true
          }
        }
      },
      "JsonRpcResponse": {
        "type": "object",
        "required": [
          "jsonrpc",
          "id"
        ],
        "properties": {
          "jsonrpc": {
            "const": "2.0"
          },
          "id": {
            "type": [
              "string",
              "integer",
              "null"
            ]
          },
          "result": {},
          "error": {
            "$ref": "#/components/schemas/JsonRpcError"
          }
        }
      },
      "JsonRpcError": {
        "type": "object",
        "required": [
          "code",
          "message"
        ],
        "properties": {
          "code": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "data": {}
        }
      },
      "AgentDocument": {
        "type": "object",
        "required": [
          "id",
          "type",
          "locale",
          "title",
          "url",
          "markdownUrl",
          "summary",
          "text"
        ],
        "properties": {
          "id": {
            "type": "string",
            "examples": [
              "home",
              "product:lowquery",
              "faq:3",
              "page:pricing"
            ]
          },
          "type": {
            "type": "string",
            "enum": [
              "home",
              "product",
              "faq",
              "page"
            ]
          },
          "locale": {
            "$ref": "#/components/schemas/Locale"
          },
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "markdownUrl": {
            "type": "string",
            "format": "uri"
          },
          "summary": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        }
      },
      "AgentProduct": {
        "type": "object",
        "required": [
          "slug",
          "name",
          "locale",
          "summary",
          "description",
          "status",
          "available",
          "openSource",
          "license",
          "model",
          "price",
          "priceNote",
          "platforms",
          "features",
          "url",
          "markdownUrl"
        ],
        "properties": {
          "slug": {
            "type": "string",
            "enum": [
              "lownotes",
              "lowquery",
              "lowmail",
              "lowlex",
              "lowdesk",
              "lowarchive",
              "lowprojects"
            ]
          },
          "name": {
            "type": "string"
          },
          "locale": {
            "$ref": "#/components/schemas/Locale"
          },
          "summary": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "available": {
            "type": "boolean"
          },
          "openSource": {
            "type": "boolean"
          },
          "license": {
            "type": [
              "string",
              "null"
            ],
            "examples": [
              "AGPL-3.0"
            ]
          },
          "model": {
            "type": "string",
            "enum": [
              "open-source",
              "subscription",
              "license"
            ]
          },
          "price": {
            "oneOf": [
              {
                "type": "object",
                "required": [
                  "amount",
                  "currency"
                ],
                "properties": {
                  "amount": {
                    "const": "0"
                  },
                  "currency": {
                    "const": "USD"
                  }
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "priceNote": {
            "type": "string"
          },
          "platforms": {
            "type": "string"
          },
          "features": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "title",
                "description"
              ],
              "properties": {
                "title": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                }
              }
            }
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "markdownUrl": {
            "type": "string",
            "format": "uri"
          },
          "repository": {
            "type": "string",
            "format": "uri"
          },
          "download": {
            "type": "string",
            "format": "uri"
          },
          "documentation": {
            "type": "string",
            "format": "uri"
          },
          "mcp": {
            "type": "object",
            "required": [
              "transport",
              "command",
              "docs"
            ],
            "properties": {
              "transport": {
                "const": "stdio"
              },
              "command": {
                "type": "string"
              },
              "docs": {
                "type": "string",
                "format": "uri"
              }
            }
          }
        }
      },
      "AgentContent": {
        "type": "object",
        "required": [
          "version",
          "site",
          "locale",
          "products",
          "documents"
        ],
        "properties": {
          "version": {
            "const": 1
          },
          "site": {
            "type": "object",
            "required": [
              "name",
              "url",
              "contactEmail",
              "github"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "contactEmail": {
                "type": "string",
                "format": "email"
              },
              "github": {
                "type": "string",
                "format": "uri"
              }
            }
          },
          "locale": {
            "$ref": "#/components/schemas/Locale"
          },
          "products": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AgentProduct"
            }
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AgentDocument"
            }
          }
        }
      }
    }
  }
}
