{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/playablegift-com/json-schema/playablegift-com-make-game-schema.json",
  "title": "MakeGame",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/playablegift-com-openapi.json#/components/schemas/MakeGame",
  "type": "object",
  "properties": {
    "brief": {
      "type": "string",
      "minLength": 12,
      "maxLength": 2000,
      "description": "The sender's supplied details about the recipient, including two or three specific habits, catchphrases or inside jokes."
    },
    "friend": {
      "default": "",
      "description": "The recipient's name.",
      "type": "string",
      "maxLength": 60
    },
    "from": {
      "default": "",
      "description": "The sender's name, shown in the game. Optional.",
      "type": "string",
      "maxLength": 40
    },
    "idempotencyKey": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "description": "Private request identifier containing 64 random lowercase hex characters."
    }
  },
  "required": [
    "brief",
    "idempotencyKey"
  ]
}