{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/inboxacademy-io/json-schema/inboxacademy-io-gate-unlock-request-schema.json",
  "title": "GateUnlockRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/inboxacademy-io-openapi.json#/components/schemas/GateUnlockRequest",
  "properties": {
    "gate": {
      "anyOf": [
        {
          "maxLength": 100,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "The key of the gate to unlock. Naming it is recommended: it also unlocks a gate the learner has not reached yet, so they pass straight through when they get there, and a late or retried call can never open a different gate than the one it was meant for. When omitted, the gate the learner is currently waiting at is unlocked. Naming the course's enrollment gate key confirms an enrollment that is waiting to be confirmed.",
      "title": "Gate"
    }
  },
  "type": "object"
}