{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/karmacheck/json-schema/karmacheck-testimony-address-schema.json",
  "title": "TestimonyAddress",
  "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/TestimonyAddress",
  "type": "object",
  "required": [
    "id",
    "city",
    "state",
    "country",
    "address",
    "postalCode",
    "current"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "The unique identifier of the testimony record.",
      "readOnly": true
    },
    "city": {
      "type": "string",
      "maxLength": 30
    },
    "state": {
      "type": "string",
      "description": "For US, use 2-letter abbreviation"
    },
    "country": {
      "type": "string",
      "description": "ISO 3166 (2 or 3 letter) code"
    },
    "address": {
      "type": "string",
      "maxLength": 60
    },
    "address2": {
      "type": "string"
    },
    "postalCode": {
      "type": "string"
    },
    "current": {
      "type": "boolean"
    },
    "source": {
      "type": "string",
      "readOnly": true
    }
  }
}