{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/quotewise-io/json-schema/quotewise-io-curation-originator-schema.json",
  "title": "CurationOriginator",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/quotewise-io-openapi.yml#/components/schemas/CurationOriginator",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "slug": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL-friendly version of the originator name with special formatting",
      "maxLength": 255
    },
    "full_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The complete, generally accepted name of the originator.",
      "maxLength": 255
    },
    "sort_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Name optimized for sorting, typically 'LastName, FirstName MiddleName'.",
      "maxLength": 255
    },
    "kind": {
      "enum": [
        "person",
        "character",
        "organization",
        "work",
        "tradition",
        "lore",
        "anonymous",
        "collective",
        "agent"
      ],
      "type": "string",
      "x-spec-enum-id": "d388c2966d62d701",
      "description": "Classification of originator kind (person, character, etc.).\n\n* `person` - Person\n* `character` - Character\n* `organization` - Organization\n* `work` - Work\n* `tradition` - Tradition\n* `lore` - Lore\n* `anonymous` - Anonymous\n* `collective` - Collective\n* `agent` - Agent"
    },
    "id_source": {
      "enum": [
        "wikidata",
        "provisional",
        "lore",
        "reserved"
      ],
      "type": "string",
      "x-spec-enum-id": "c531b3cd3ceda37d",
      "description": "Source of originator identifier (wikidata, provisional, lore, reserved).\n\n* `wikidata` - Wikidata\n* `provisional` - Provisional\n* `lore` - Lore\n* `reserved` - Reserved"
    },
    "verification_status": {
      "enum": [
        "unverified",
        "initiated",
        "pending_review",
        "verified",
        "rejected",
        "expired",
        "legacy_claimant",
        "legacy_verified",
        "suspended"
      ],
      "type": "string",
      "x-spec-enum-id": "98de8b17ce13f94d",
      "description": "Verification workflow state.\n\n* `unverified` - Unverified\n* `initiated` - Initiated\n* `pending_review` - Pending Review\n* `verified` - Verified\n* `rejected` - Rejected\n* `expired` - Expired\n* `legacy_claimant` - Legacy Claimant\n* `legacy_verified` - Legacy Verified\n* `suspended` - Suspended"
    },
    "visibility": {
      "enum": [
        "public",
        "private",
        "team"
      ],
      "type": "string",
      "x-spec-enum-id": "667517c6029df11b",
      "description": "Visibility level (public|private|team). Primarily for lore originators.\n\n* `public` - Public\n* `private` - Private\n* `team` - Team"
    },
    "is_deleted": {
      "type": "boolean",
      "description": "Soft delete flag. If True, this originator is considered deleted."
    },
    "protection_level": {
      "enum": [
        "NONE",
        "ELEVATED",
        "FULL"
      ],
      "type": "string",
      "x-spec-enum-id": "99ef36a85a21123c",
      "description": "Protection level controlling auto-activation. Part of 062-assertion-moderation.\n\n* `NONE` - None\n* `ELEVATED` - Elevated\n* `FULL` - Full"
    },
    "owned_by": {
      "type": [
        "integer",
        "null"
      ],
      "description": "User who created/registered this originator. NULL for Wikidata entities."
    },
    "quote_count": {
      "type": "integer",
      "maximum": 2147483647,
      "minimum": 0,
      "description": "Count of quotes associated with this originator."
    },
    "biography": {
      "type": "string",
      "description": "A brief biography of the originator."
    },
    "profession": {
      "type": "string",
      "description": "The originator's primary profession or role.",
      "maxLength": 255
    },
    "nationality": {
      "type": "string",
      "description": "The originator's nationality.",
      "maxLength": 100
    },
    "living": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Whether the originator's living?"
    },
    "language": {
      "type": [
        "string",
        "null"
      ],
      "description": "Primary language code (ISO 639-1 preferred, BCP 47 for variants)",
      "readOnly": true
    },
    "birth_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date",
      "description": "The originator's date of birth, if known and within standard date range (1-9999 CE)."
    },
    "birth_date_edtf": {
      "type": [
        "string",
        "null"
      ],
      "description": "Originator's date of birth in Extended Date/Time Format (EDTF), supports BCE dates and approximate dates.",
      "maxLength": 255
    },
    "birth_date_approximate": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Whether the originator's date is approximate or not."
    },
    "death_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date",
      "description": "The originator's date of death, if applicable, known, and within standard date range (1-9999 CE)."
    },
    "death_date_edtf": {
      "type": [
        "string",
        "null"
      ],
      "description": "Originator's date of death in Extended Date/Time Format (EDTF), supports BCE dates and approximate dates.",
      "maxLength": 255
    },
    "death_date_approximate": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Whether the originator's date is approximate or not."
    },
    "names_i18n": {
      "description": "Localized names: {'en': 'Einstein', 'de': 'Einstein', 'zh': '爱因斯坦'}"
    },
    "descriptions_i18n": {
      "description": "Localized descriptions: {'en': 'Theoretical physicist', 'de': 'Theoretischer Physiker'}"
    },
    "aliases_i18n": {
      "description": "Alternative names by language with type and provenance: {'en': [{'name': 'Jean Plaidy', 'type': 'pen_name', 'wikidata_prop': 'P742'}]}"
    },
    "social_media_i18n": {
      "description": "Social media by platform: {'wikipedia': {'en': 'url'}, 'twitter': {'username': 'x', 'user_id': '123'}}"
    },
    "metadata": {
      "description": "Metadata: {'wikidata_id': 'Q937', 'gender': 'Q6581097', 'gender_labels': {'en': 'male'}, 'disambiguation_i18n': {'en': 'physicist'}}"
    },
    "created_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "readOnly": true
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of when this record was last updated."
    },
    "current_version_id": {
      "type": [
        "integer",
        "null"
      ],
      "readOnly": true
    }
  },
  "required": [
    "created_at",
    "current_version_id",
    "id",
    "language",
    "updated_at"
  ]
}