{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dregs-com/json-schema/dregs-com-v1-linked-identity-schema.json",
  "title": "V1LinkedIdentity",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dregs-com-identities-api-openapi.yml#/components/schemas/V1LinkedIdentity",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "targetIdentityId": {
      "type": "string"
    },
    "targetDisplayName": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "SAME_DEVICE",
        "SIMILAR_NAME",
        "SIMILAR_EMAIL",
        "SHARED_IP",
        "SHARED_SESSION",
        "SIMILAR_BEHAVIOR"
      ]
    },
    "value": {
      "type": "number",
      "format": "double"
    },
    "confidence": {
      "type": "number",
      "format": "double"
    },
    "explanation": {
      "type": "string"
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {}
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}