{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fuentio-com/json-schema/fuentio-com-key-request-schema.json",
  "title": "KeyRequest",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fuentio-com-openapi.json#/components/schemas/KeyRequest",
  "properties": {
    "email": {
      "type": "string",
      "maxLength": 254,
      "pattern": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$",
      "title": "Email",
      "description": "Required: one free key per person."
    },
    "label": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80
        },
        {
          "type": "null"
        }
      ],
      "title": "Label"
    },
    "use_case": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "kyb",
            "suppliers",
            "due_diligence",
            "ai_agent",
            "other"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Use Case",
      "description": "Optional: what the key is for (KYB / onboarding, supplier checks, due diligence, an AI agent, other). Stored with the key."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "email"
  ]
}