{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/karmacheck/json-schema/karmacheck-testimony-drivers-license-schema.json",
  "title": "TestimonyDriversLicense",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/karmacheck-candidate-onboarding-api-openapi.yml#/components/schemas/TestimonyDriversLicense",
  "type": "object",
  "required": [
    "id",
    "state",
    "licenseNumber"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "The unique identifier of the testimony record.",
      "readOnly": true
    },
    "country": {
      "type": "string"
    },
    "state": {
      "type": "string"
    },
    "licenseNumber": {
      "type": "string",
      "description": "Must be a valid [state driver's license format](https://ntsi.com/drivers-license-format/)."
    },
    "firstNameIfDifferent": {
      "type": "string"
    },
    "middleInitialIfDifferent": {
      "type": "string"
    },
    "lastNameIfDifferent": {
      "type": "string"
    },
    "source": {
      "type": "string",
      "readOnly": true
    }
  }
}