{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eon.io/json-schema/eon.io-education-application-schema.json",
  "title": "EducationApplication",
  "description": "Asking for Era for Education: an academic address and what it is for.\n\n``email`` is only read from a visitor; a signed-in account applies as itself.",
  "x-generated": "2026-12-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/console-era-openapi.json#/components/schemas/EducationApplication",
  "properties": {
    "first_name": {
      "type": "string",
      "maxLength": 120,
      "title": "First Name",
      "default": ""
    },
    "last_name": {
      "type": "string",
      "maxLength": 120,
      "title": "Last Name",
      "default": ""
    },
    "utm_source": {
      "type": "string",
      "maxLength": 256,
      "title": "Utm Source",
      "default": ""
    },
    "utm_medium": {
      "type": "string",
      "maxLength": 256,
      "title": "Utm Medium",
      "default": ""
    },
    "utm_campaign": {
      "type": "string",
      "maxLength": 256,
      "title": "Utm Campaign",
      "default": ""
    },
    "utm_content": {
      "type": "string",
      "maxLength": 256,
      "title": "Utm Content",
      "default": ""
    },
    "utm_term": {
      "type": "string",
      "maxLength": 256,
      "title": "Utm Term",
      "default": ""
    },
    "affiliate_code": {
      "type": "string",
      "maxLength": 64,
      "title": "Affiliate Code",
      "default": ""
    },
    "landing_url": {
      "type": "string",
      "maxLength": 2048,
      "title": "Landing Url",
      "default": ""
    },
    "referrer": {
      "type": "string",
      "maxLength": 2048,
      "title": "Referrer",
      "default": ""
    },
    "ai_tool": {
      "type": "string",
      "maxLength": 32,
      "title": "Ai Tool",
      "default": ""
    },
    "email": {
      "type": "string",
      "maxLength": 254,
      "title": "Email",
      "default": ""
    },
    "challenge": {
      "type": "string",
      "maxLength": 8192,
      "title": "Challenge",
      "default": ""
    },
    "role": {
      "type": "string",
      "enum": [
        "instructor",
        "student"
      ],
      "title": "Role",
      "default": "instructor"
    },
    "institution": {
      "type": "string",
      "maxLength": 120,
      "title": "Institution",
      "default": ""
    },
    "course": {
      "type": "string",
      "maxLength": 1000,
      "title": "Course",
      "default": ""
    },
    "accept_terms": {
      "type": "boolean",
      "title": "Accept Terms",
      "default": false
    }
  },
  "additionalProperties": false,
  "type": "object"
}