{
  "openapi": "3.1.0",
  "info": {
    "title": "Frontier Club Vancouver Discovery API",
    "version": "1.0.0",
    "description": "Read-only public discovery resources for Frontier Club Vancouver and Friday AI Lab. No registration or write actions are currently exposed."
  },
  "servers": [{ "url": "https://www.frontierclub.ca" }],
  "paths": {
    "/api/events.json": {
      "get": {
        "operationId": "getEvents",
        "summary": "Get Friday AI Lab series and featured-event data",
        "responses": {
          "200": {
            "description": "Current published event information",
            "content": {
              "application/json": {
                "schema": { "$ref": "#/components/schemas/EventFeed" }
              }
            }
          }
        }
      }
    },
    "/api/site.json": {
      "get": {
        "operationId": "getSiteMetadata",
        "summary": "Get organization and machine-resource metadata",
        "responses": {
          "200": {
            "description": "Site metadata",
            "content": { "application/json": { "schema": { "type": "object" } } }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "EventFeed": {
        "type": "object",
        "required": ["schema_version", "organization", "series", "featured_event"],
        "properties": {
          "schema_version": { "type": "string" },
          "canonical_url": { "type": "string", "format": "uri" },
          "organization": { "type": "object" },
          "series": { "type": "object" },
          "featured_event": { "type": "object" },
          "past_events": { "type": "array", "items": { "type": "object" } },
          "social_links": { "type": "object" }
        }
      }
    }
  }
}
