{
  "openapi": "3.1.0",
  "info": {
    "title": "ASAP GRAY PSP Public Content API",
    "version": "1.0.0",
    "description": "Read-only, unauthenticated endpoints describing ASAP GRAY PSP — its organization profile, services, pages, and Foundation programmes. Intended for AI agents, aggregators, and integrators.",
    "contact": {
      "name": "ASAP GRAY PSP",
      "email": "info@asapgray.com",
      "url": "https://asapgray.com"
    },
    "license": {
      "name": "Attribution required",
      "url": "https://asapgray.com/agents.txt"
    }
  },
  "servers": [
    {
      "url": "https://asapgray.com",
      "description": "Production"
    }
  ],
  "security": [],
  "components": {
    "securitySchemes": {},
    "schemas": {
      "Problem": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "format": "uri"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          },
          "detail": {
            "type": "string"
          }
        },
        "required": [
          "title",
          "status"
        ]
      }
    },
    "headers": {
      "RateLimit-Limit": {
        "schema": {
          "type": "integer"
        },
        "description": "Requests allowed per window."
      },
      "RateLimit-Remaining": {
        "schema": {
          "type": "integer"
        },
        "description": "Requests left in the window."
      },
      "RateLimit-Reset": {
        "schema": {
          "type": "integer"
        },
        "description": "Seconds until the window resets."
      }
    }
  },
  "paths": {
    "/api/public/content.json": {
      "get": {
        "summary": "Full machine-readable site content",
        "description": "Organization profile, page index, service catalogue, and Foundation programme archive.",
        "operationId": "getContent",
        "security": [],
        "responses": {
          "200": {
            "description": "Site content document",
            "headers": {
              "RateLimit-Limit": {
                "$ref": "#/components/headers/RateLimit-Limit"
              },
              "RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimit-Remaining"
              },
              "RateLimit-Reset": {
                "$ref": "#/components/headers/RateLimit-Reset"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit exceeded",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Problem"
                }
              }
            }
          }
        }
      }
    },
    "/feed.xml": {
      "get": {
        "summary": "Atom feed of Foundation programmes and stories",
        "operationId": "getFeed",
        "security": [],
        "responses": {
          "200": {
            "description": "Atom 1.0 feed",
            "content": {
              "application/atom+xml": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/sitemap.xml": {
      "get": {
        "summary": "XML sitemap of all indexable pages",
        "operationId": "getSitemap",
        "security": [],
        "responses": {
          "200": {
            "description": "Sitemap",
            "content": {
              "application/xml": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  },
  "x-authentication": "none — all endpoints are public and read-only",
  "x-rate-limit": {
    "limit": 60,
    "window": "60s",
    "policy": "60;w=60"
  },
  "x-error-format": "application/problem+json (RFC 9457)"
}