{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/keysavvy/json-schema/keysavvy-user-document-create-request-body-schema.json",
  "title": "UserDocumentCreateRequestBody",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/keysavvy-documents-api-openapi.yml#/components/schemas/UserDocumentCreateRequestBody",
  "type": "object",
  "required": [
    "documentType",
    "file"
  ],
  "properties": {
    "documentType": {
      "type": "string",
      "description": "The type of document being uploaded.",
      "enum": [
        "dealer-license"
      ]
    },
    "file": {
      "type": "string",
      "format": "binary",
      "description": "The document file being uploaded. This file must be an image (image/* or application/pdf mime-type)."
    }
  }
}