{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/neuron-ng/json-schema/neuron-ng-persona-schema.json",
  "title": "Persona",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/neuron-ng-openapi.json#/components/schemas/Persona",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "orgId": {
      "type": "string",
      "format": "uuid"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "sourceCollectionId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The Collection the voice was distilled from."
    },
    "voiceProfile": {
      "type": "object",
      "description": "Reverse-engineered voice.",
      "properties": {
        "summary": {
          "type": "string"
        },
        "tone": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "style": {
          "type": "string"
        },
        "vocabulary": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "sentenceStructure": {
          "type": "string"
        },
        "cadence": {
          "type": "string"
        },
        "emojiUsage": {
          "type": "string"
        },
        "formatting": {
          "type": "string"
        },
        "themes": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dos": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "donts": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "sampleRegister": {
          "type": "string"
        }
      }
    },
    "exemplars": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "platform": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "why": {
            "type": "string"
          },
          "engagementScore": {
            "type": "number"
          }
        }
      },
      "description": "Representative samples that best capture the voice."
    },
    "sampleCount": {
      "type": "integer"
    },
    "status": {
      "type": "string"
    },
    "model": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}