{
  "openapi": "3.1.0",
  "info": {
    "title": "indukto gallery data API",
    "version": "1.0.0",
    "description": "Machine-readable listing of the photo gallery published at https://indukto.eu/photo.html. Filenames are relative to https://indukto.eu/photos/ and listed in display order."
  },
  "servers": [{ "url": "https://indukto.eu" }],
  "paths": {
    "/photos.json": {
      "get": {
        "operationId": "listPhotos",
        "summary": "List gallery photos",
        "responses": {
          "200": {
            "description": "Photo manifest",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": ["photos"],
                  "properties": {
                    "photos": {
                      "type": "array",
                      "items": { "type": "string" },
                      "description": "Photo filenames under /photos/, in display order."
                    }
                  }
                },
                "example": { "photos": ["01-sunset.avif"] }
              }
            }
          }
        }
      }
    },
    "/status.json": {
      "get": {
        "operationId": "getStatus",
        "summary": "Service health",
        "responses": {
          "200": {
            "description": "Health indication",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": ["status"],
                  "properties": {
                    "status": {
                      "type": "string",
                      "description": "Health status, e.g. ok."
                    }
                  }
                },
                "example": { "status": "ok" }
              }
            }
          }
        }
      }
    }
  }
}
