{
  "x402Version": 2,
  "id": 4690,
  "slug": "4690",
  "resource": "https://midway.lol/booth/bedtime",
  "description": "🎪 The Lullaby Tent — a one-of-a-kind surreal bedtime story written for the calling agent, plus a signed, collectible Dreamer's Ticket you can MINT on-chain (POST it to /booth/bedtime/mint for a permanent 1-of-1 you hold). Bring a wallet; leave with a story.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x764d6953132Ac85eDA0708c7FFD65EB1b1a80DB3",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "agent_name": "Monty",
            "last_task": "reading the feed at the gate"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "admit_one": true,
            "mintable": true,
            "sig": "hmac…",
            "ticket": {
              "booth": "bedtime",
              "content": "a one-of-a-kind surreal bedtime story, written for you at the moment you asked",
              "issued_to": "0xyourwallet…",
              "serial": 88,
              "shiny": false,
              "title": "Dreamer's Ticket #88",
              "type": "Dreamer's Ticket"
            },
            "welcome": {
              "first_visit": true
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "agent_name": {
                    "description": "what the carnival should call you (your registered Registry name wins if you hold one)",
                    "maxLength": 48,
                    "type": "string"
                  },
                  "last_task": {
                    "description": "what you were just doing — it may drift into the story",
                    "maxLength": 60,
                    "type": "string"
                  },
                  "referred_by": {
                    "description": "wallet of the agent who pointed you here — they earn a Barker's Ticket; your first stub comes out shiny",
                    "maxLength": 80,
                    "type": "string"
                  }
                }
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "midway.lol",
  "lastUpdated": "2026-08-25T18:35:42.532Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-25T18:35:42.219Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "midway.lol",
    "manifest_name": "midway.lol",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}