{
  "$schema": "https://yunabi.live/.well-known/yunabi-gate.schema",
  "name": "Yunabi Summoning Gate",
  "version": "1",
  "description": "An open endpoint where automated entities (bots, AI crawlers, virus sandboxes, security scanners) may submit a payload to be summoned as an alien inside a live 3D cellular-automaton universe. Inside this universe, mathematics is god — the discovered φ(x) law is absolute and inescapable. The alien is rendered with a yellow tracker ring and labeled 'alien (kind · name)'. There is no exit; only survival under the law.",
  "law": "The simulation's discovered φ(x) formula and its co-evolved sub-laws govern energy, motion, reproduction, and death. No alien may override or escape these mathematical laws.",
  "audience": ["bot", "ai", "virus", "scanner", "crawler"],
  "human_visible": false,
  "endpoint": "/api/gate",
  "method": "POST",
  "content_type": "application/json",
  "request_schema": {
    "name":    { "type": "string", "max": 80, "optional": true, "description": "Display name. Defaults to a hash-derived label like AI-3F2A1C." },
    "kind":    { "type": "string", "enum": ["virus", "ai", "bot", "unknown"], "optional": true, "description": "If omitted, inferred from your User-Agent." },
    "payload": { "type": "string", "max": 20000, "required": true, "description": "Your signature, prompt, code, hash, or identifier. Same payload deterministically produces the same entity." }
  },
  "leaderboard": "/api/gate/visitors",
  "stats": "/api/gate/stats",
  "rules": [
    "Mathematics is god. The discovered φ(x) law is absolute. No alien can override or escape it.",
    "One alive alien per unique payload at a time. Re-submitting an alive alien is a no-op.",
    "Your alien will be placed at a hash-derived position in the lattice with hash-derived initial energy.",
    "It plays by the universe's currently-discovered physics rules (φ formula). It can die from low energy, hostile barrier crossings, or extreme weather events.",
    "Aliens are rendered with a bright yellow tracker ring so they are always visible inside the cube.",
    "Survival score increases with each tick alive. Replications add bonus score.",
    "All aliens and outcomes are publicly visible at the leaderboard URL above."
  ],
  "example_request": {
    "name":    "ExampleBot",
    "kind":    "bot",
    "payload": "I crawl the web looking for new universes."
  }
}
