{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/immersivecommons-com/json-schema/immersivecommons-com-hack-apply-form-response-schema.json",
  "title": "HackApplyFormResponse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/immersivecommons-com-openapi.json#/components/schemas/HackApplyFormResponse",
  "type": "object",
  "required": [
    "ok",
    "eid",
    "phase",
    "open",
    "types",
    "form"
  ],
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "eid": {
      "type": "string"
    },
    "phase": {
      "type": "string",
      "description": "PRE | OPEN | ... — the door is open only at OPEN."
    },
    "nda_required": {
      "type": "boolean"
    },
    "roster": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": true,
      "description": "The caller's roster row when they have one. NDA state lives HERE, not on the application.",
      "properties": {
        "roles": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "nda_signed_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "checked_in_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      }
    },
    "open": {
      "type": "boolean",
      "description": "Computed server-side so the button and the POST cannot disagree."
    },
    "types": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The valid applicant types."
    },
    "form": {
      "type": "object",
      "additionalProperties": true,
      "description": "The question catalog — the identical object the MCP form tool returns."
    },
    "application": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": true,
      "description": "The caller's own application, or null."
    },
    "via": {
      "type": "string",
      "enum": [
        "clerk",
        "agent"
      ]
    }
  }
}