{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/heritagedeed-com/json-schema/heritagedeed-com-key-create-in-schema.json",
  "title": "KeyCreateIn",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/heritagedeed-com-api-openapi.json#/components/schemas/KeyCreateIn",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "title": "Email",
      "description": "Where the key confirmation (when email is enabled) and report-ready emails go. Use a work address."
    },
    "label": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Label",
      "description": "A name for the key, e.g. 'production'."
    },
    "company": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Company",
      "description": "Your company (not shown anywhere public)."
    },
    "use_case": {
      "type": "string",
      "maxLength": 1000,
      "minLength": 10,
      "title": "Use Case",
      "description": "What you will use the reports for."
    },
    "accept_terms": {
      "type": "boolean",
      "title": "Accept Terms",
      "description": "You accept the Terms of Service, including the API section: no use for any FCRA purpose."
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "email",
    "use_case",
    "accept_terms"
  ]
}