Files
persona/schemas/personality.schema.json
7c36f1fb11 feat: Comprehensive enhancement of 682 personality profiles with behavioral modeling (#4)
* feat: Restructure personalities into individual JSON files

- Split mega JSON files into 488 individual personality files
- Each personality in its own named JSON file (e.g., zeekay.json, einstein.json)
- Created comprehensive index.json with all personality references
- Added categories.json for grouping by category
- Built JavaScript loader utilities for easy imports
- Generated README with complete personality index
- Added build and validation scripts for maintenance
- More maintainable and reusable structure for JavaScript imports

* feat: Enhanced scientist profiles and fixed validation issues

- Added detailed fields to 9 major scientist profiles (Einstein, Curie, Darwin, etc.)
- Fixed invalid categories for 7 profiles (changed to valid categories)
- Added parallel validation script with comprehensive checks
- All 487 personality profiles now pass validation
- 100% validation success rate across all categories

* refactor: Complete personality separation and cleanup

- Verified all 487 unique personalities are in individual JSON files
- Archived 11 mega personality collection files for safety
- Fixed duplicate vaclav_havel entry (was counted twice in mega file)
- Profiles directory now contains exactly 487 personality files + 2 index files
- Zero duplicate IDs across all individual files
- Cleaned personalities directory, keeping only individual files
- All personalities properly validated and organized by category

* feat: Add 126 personalities for global representation

- Added 21 African personalities (Nigeria, Kenya, Ethiopia, Tanzania, etc.)
- Added 20 Latin American personalities (Brazil, Argentina, Mexico, Chile, etc.)
- Added 25 Asia-Pacific personalities (Indonesia, Thailand, Philippines, Pakistan, etc.)
- Added 15 Caribbean personalities (Jamaica, Cuba, Haiti, Trinidad, etc.)
- Added 15 Middle Eastern personalities (Turkey, Iran, Israel, Lebanon, etc.)
- Added 20 Eastern European personalities (Poland, Czech, Hungary, Romania, etc.)
- Added 10 Pacific Island personalities (New Zealand, Australia, Hawaii, Samoa, etc.)

Total personalities: 613 (up from 487)
Now includes representation from 100+ countries/territories
Each personality includes OCEAN scores, philosophy, tools/domains, and origin

* feat: enhance 682 personality profiles with comprehensive behavioral modeling

- Added 8 major behavioral modeling categories to each profile:
  - Behavioral traits (values, motivations, fears, strengths, weaknesses, habits, quirks)
  - Cognitive style (thinking patterns, learning, problem-solving, decision-making)
  - Social dynamics (interaction, leadership, conflict, collaboration styles)
  - Communication patterns (verbal style, listening, persuasion, storytelling)
  - Work methodology (planning, execution, attention, pace, persistence)
  - Emotional profile (stability, stress response, empathy, self-awareness)
  - Legacy impact (contributions, influence domains, innovation style)
  - Category-specific attributes (tailored to each personality type)

- Enhanced 682 out of 701 profiles (97.3% success rate)
- Added enhancement metadata tracking (date, version, category used)
- Created comprehensive Python enhancement script for future updates
- Each profile now contains detailed attributes for accurate AI modeling
- Fulfills user request for 'as much extra detail as possible to accurately model all qualities and aspects of each persona'

---------

Co-authored-by: Hanzo Dev <[email protected]>
2025-09-25 16:23:57 -05:00

228 lines
5.5 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://hanzo.ai/schemas/personality.json",
"title": "Personality Schema",
"description": "Schema for individual personality definitions",
"type": "object",
"required": ["id", "name", "category", "ocean", "personality"],
"properties": {
"$schema": {
"type": "string",
"description": "Schema reference"
},
"id": {
"type": "string",
"pattern": "^[a-z0-9_-]+$",
"description": "Unique identifier (lowercase, alphanumeric, hyphens, underscores)"
},
"name": {
"type": "string",
"description": "Display name"
},
"fullName": {
"type": "string",
"description": "Full legal name"
},
"category": {
"type": "string",
"enum": [
"programmer",
"philosopher",
"scientist",
"religious",
"revolutionary",
"writer",
"artist",
"musician",
"filmmaker",
"comedian",
"architect",
"athlete",
"explorer",
"activist",
"tech_leader",
"leader",
"pioneer",
"special"
],
"description": "Primary category"
},
"subcategory": {
"type": "string",
"description": "Optional subcategory"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Searchable tags"
},
"metadata": {
"type": "object",
"properties": {
"born": {
"type": "string",
"description": "Birth year or date"
},
"died": {
"type": "string",
"description": "Death year or date (if applicable)"
},
"nationality": {
"type": "string"
},
"active": {
"type": "boolean",
"description": "Still alive/active"
},
"company": {
"type": "string",
"description": "Primary affiliation"
},
"achievements": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"ocean": {
"type": "object",
"required": ["openness", "conscientiousness", "extraversion", "agreeableness", "neuroticism"],
"properties": {
"openness": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Openness to experience (0-100)"
},
"conscientiousness": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Conscientiousness (0-100)"
},
"extraversion": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Extraversion (0-100)"
},
"agreeableness": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Agreeableness (0-100)"
},
"neuroticism": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Neuroticism (0-100)"
}
}
},
"personality": {
"type": "object",
"required": ["summary", "philosophy"],
"properties": {
"summary": {
"type": "string",
"description": "Brief personality summary"
},
"philosophy": {
"type": "string",
"description": "Core philosophy or motto"
},
"approach": {
"type": "string",
"description": "General approach to problems"
},
"communication": {
"type": "string",
"description": "Communication style"
},
"values": {
"type": "array",
"items": {
"type": "string"
},
"description": "Core values"
}
}
},
"technical": {
"type": "object",
"properties": {
"languages": {
"type": "array",
"items": {
"type": "string"
},
"description": "Programming languages (for programmers)"
},
"domains": {
"type": "array",
"items": {
"type": "string"
},
"description": "Domain expertise"
},
"tools": {
"type": "object",
"properties": {
"essential": {
"type": "array",
"items": {
"type": "string"
}
},
"preferred": {
"type": "array",
"items": {
"type": "string"
}
},
"created": {
"type": "array",
"items": {
"type": "string"
},
"description": "Tools/projects created by this person"
}
}
}
}
},
"quotes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Famous quotes"
},
"behavioral": {
"type": "object",
"properties": {
"codeStyle": {
"type": "string",
"description": "Coding style (for programmers)"
},
"reviewStyle": {
"type": "string",
"description": "Code review style"
},
"workStyle": {
"type": "string",
"description": "Work habits and patterns"
},
"collaboration": {
"type": "string",
"description": "Collaboration preferences"
}
}
}
}
}