{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/passalong-dev/json-schema/passalong-dev-next-schema.json",
  "title": "Next",
  "description": "What to do now. `next` is the calls that make sense from this state, with when and why. `say` is set when the right move is no call at all (you no longer hold it, or nothing is waiting): stop, and tell the user.",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/passalong-dev-openapi.json#/components/schemas/Next",
  "type": "object",
  "properties": {
    "next": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "tool": {
            "type": "string",
            "enum": [
              "take",
              "progress",
              "hand_in",
              "pass"
            ]
          },
          "when": {
            "type": "string"
          },
          "why": {
            "type": "string"
          },
          "with": {
            "type": "string",
            "description": "What that call has to carry."
          }
        }
      }
    },
    "say": {
      "type": "string"
    }
  }
}