{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/leanscale-team/json-schema/leanscale-team-access-request-schema.json",
  "title": "AccessRequest",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/leanscale-team-openapi.yml#/components/schemas/AccessRequest",
  "type": "object",
  "required": [
    "name",
    "company",
    "email"
  ],
  "properties": {
    "name": {
      "type": "string",
      "minLength": 2,
      "maxLength": 120,
      "description": "Who is asking."
    },
    "company": {
      "type": "string",
      "minLength": 2,
      "maxLength": 160,
      "description": "Company name."
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Business email. Consumer domains are rejected."
    },
    "role": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 120,
      "description": "Job title. Optional."
    },
    "note": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 600,
      "description": "What they want to use it for. Optional."
    },
    "website": {
      "type": [
        "string",
        "null"
      ],
      "description": "Honeypot. Leave absent — it is not rendered for humans and any value marks the submission as automated."
    }
  }
}