{
  "platform": "Vetox Gaming Platform & LoL Companion Ecosystem",
  "version": "1.0.4",
  "domain": "api.vetox.online",
  "overview": "Ultra-lightweight modular desktop and web companion ecosystem for League of Legends summoners and third-party app developers.",
  "vanguardAntiCheatPolicy": {
    "complianceLevel": "100% Riot Vanguard Safe",
    "strictRestrictions": [
      "ZERO process memory injection (Strictly forbidden: OpenProcess, VirtualAllocEx, WriteProcessMemory, ReadProcessMemory).",
      "ZERO code hook execution or DLL injection.",
      "ZERO automated user inputs (No synthetic mouse clicks, key presses, or gameplay scripting -- instant ban risk)."
    ],
    "allowedCommunicationChannels": [
      "Local Read-Only HTTP Polling: 127.0.0.1:2999/liveclientdata (Riot official in-game API).",
      "Local Read-Only LCU WebSocket & HTTPS: Port and lockfile credentials dynamically discovered via Riot Client.",
      "Isolated Web Sandbox: Modular apps render inside sandboxed Electron viewframes with zero direct OS access."
    ],
    "resourceBudgetCeiling": {
      "maxMemoryRamMb": 80,
      "maxCpuOverheadPercent": 2,
      "targetFramerateImpact": "0 FPS drop"
    }
  },
  "modularAppSpecification": {
    "packageExtension": ".vapp",
    "manifestFile": "manifest.json",
    "requiredFields": {
      "id": "Unique lowercase identifier (e.g., 'lol-companion', 'varko')",
      "name": "Human readable display name",
      "version": "Semantic version string (e.g., '1.0.0')",
      "author": "Developer or company name",
      "permissions": "Array of requested capabilities: ['live_client_data', 'lcu_read', 'overlay_window', 'cloud_sync']",
      "entry": "Path to app dashboard UI (e.g., 'ui/index.html')",
      "overlay": "Optional path to in-game transparent HUD (e.g., 'ui/overlay.html')"
    }
  },
  "apiEndpoints": {
    "riotLocalLiveClient": {
      "allGameData": "https://127.0.0.1:2999/liveclientdata/allgamedata",
      "activePlayer": "https://127.0.0.1:2999/liveclientdata/activeplayer",
      "playerList": "https://127.0.0.1:2999/liveclientdata/playerlist",
      "eventData": "https://127.0.0.1:2999/liveclientdata/eventdata"
    },
    "cloudEdgeApi": {
      "buildLookup": "https://api.vetox.online/v1/builds/lol/{championId}.json",
      "appRegistry": "https://api.vetox.online/v1/apps/registry.json",
      "revocations": "https://api.vetox.online/v1/apps/revocations.json",
      "developerVerification": "https://api.vetox.online/v1/developer/check-role"
    }
  },
  "databaseAuth": {
    "provider": "Supabase (PostgreSQL 17)",
    "roles": {
      "user": "Normal Summoner (Platform & Apps, LoL Companion, VARKO builds, Settings)",
      "developer": "Verified App Developer (Developer Portal, Extension Submissions, Audit Logs, API Agent Keys)",
      "admin": "Ecosystem Administrator (Global revocations, app approvals, KYC payout reviews)"
    }
  }
}