{
  "openapi": "3.1.0",
  "info": {
    "title": "alephia.io",
    "version": "1.0.0",
    "description": "Read-only organization, invoice, and service reference catalog."
  },
  "servers": [
    {
      "url": "https://alephia.io"
    }
  ],
  "paths": {
    "/catalog/organizations.json": {
      "get": {
        "operationId": "getOrganizations",
        "summary": "Read synthetic organizations",
        "responses": {
          "200": {
            "description": "Static demonstration data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "simulation": true,
                  "read_only": true,
                  "organizations": [
                    {
                      "id": "org_demo_001",
                      "name": "Demonstration organization",
                      "projects": [
                        {
                          "id": "project_blue",
                          "name": "Blue application environment",
                          "environment": "staging",
                          "resources": [
                            "compute",
                            "managed-database",
                            "object-storage"
                          ]
                        }
                      ],
                      "roles": [
                        "organization-owner",
                        "project-operator",
                        "billing-viewer",
                        "auditor"
                      ]
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/catalog/invoices.json": {
      "get": {
        "operationId": "getInvoices",
        "summary": "Read synthetic invoices",
        "responses": {
          "200": {
            "description": "Static demonstration data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "simulation": true,
                  "read_only": true,
                  "invoices": [
                    {
                      "id": "INV-DEMO-001",
                      "organization_id": "org_demo_001",
                      "status": "illustrative",
                      "currency": "USD",
                      "amount_due": 0,
                      "payable": false,
                      "line_items": [
                        {
                          "description": "Demonstration compute allocation",
                          "amount": 0
                        },
                        {
                          "description": "Demonstration backup retention",
                          "amount": 0
                        }
                      ]
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/catalog/status.json": {
      "get": {
        "operationId": "getStatus",
        "summary": "Read synthetic status",
        "responses": {
          "200": {
            "description": "Static demonstration data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "simulation": true,
                  "read_only": true,
                  "live_monitoring": false,
                  "services": [
                    {
                      "name": "Control plane",
                      "state": "simulated-operational"
                    },
                    {
                      "name": "Compute",
                      "state": "simulated-operational"
                    },
                    {
                      "name": "Managed databases",
                      "state": "simulated-operational"
                    },
                    {
                      "name": "Object storage",
                      "state": "simulated-operational"
                    },
                    {
                      "name": "Backup catalog",
                      "state": "simulated-operational"
                    },
                    {
                      "name": "Billing catalog",
                      "state": "simulated-operational"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}
