Idiomark v2.0 Technical Specification
Status: Vision | Version: 2.0.0 | Date: February 2026
Extended File Format
A .idiomark file v2.0 extends v1.0 with optional v2 dimensions:
{
"idiomark": "2.0.0",
"id": "idiomark_universal_abc123",
"created": "2026-02-13T00:00:00Z",
"updated": "2026-02-13T00:00:00Z",
"metadata": {
"entity": {
"name": "Optional Name",
"type": "human|brand|bot",
"sources": ["twitter", "github", "reddit", "linkedin"]
},
"extraction": {
"date": "2026-02-13T00:00:00Z",
"sample_size": 10000,
"timeframe": {
"from": "2025-01-01T00:00:00Z",
"to": "2026-02-13T00:00:00Z"
}
}
},
"personality": {
"voice": { ... },
"patterns": { ... },
"domains": [ ... ],
"values": [ ... ],
"knowledge": { ... }
},
"personality_v2": {
"big_five": { ... },
"linguistic_markers": { ... },
"cognitive_patterns": { ... },
"cultural_dimensions": { ... },
"temporal_evolution": { ... }
}
}
v2 Personality Dimensions
Big Five (OCEAN)
Standard psychological framework:
| Field | Type | Range | Description |
|---|---|---|---|
| openness | number | 0.0-1.0 | Openness to experience |
| conscientiousness | number | 0.0-1.0 | Organization, dependability |
| extraversion | number | 0.0-1.0 | Sociability, assertiveness |
| agreeableness | number | 0.0-1.0 | Cooperation, compassion |
| neuroticism | number | 0.0-1.0 | Emotional stability |
Linguistic Markers
Statistical language patterns:
| Field | Type | Range | Description |
|---|---|---|---|
| first_person_singular | number | 0.0-1.0 | "I", "me", "my" frequency |
| first_person_plural | number | 0.0-1.0 | "we", "us", "our" frequency |
| second_person | number | 0.0-1.0 | "you", "your" frequency |
| third_person | number | 0.0-1.0 | "he", "she", "they" frequency |
| impersonal_pronouns | number | 0.0-1.0 | "one", "people", "it" frequency |
| articles | number | 0.0-1.0 | "a", "an", "the" frequency |
| prepositions | number | 0.0-1.0 | "in", "on", "at" frequency |
| conjunctions | number | 0.0-1.0 | "and", "but", "or" frequency |
Cognitive Patterns
Thinking and reasoning patterns:
| Field | Type | Values | Description |
|---|---|---|---|
| analytical_thinking | number | 0.0-1.0 | Logical, systematic reasoning |
| concrete_thinking | number | 0.0-1.0 | Practical, specific focus |
| abstract_thinking | number | 0.0-1.0 | Conceptual, theoretical focus |
| narrative_structure | string | linear, circular, examples | Storytelling style |
| reasoning_style | string | evidence_based, intuitive, emotional | Decision basis |
Cultural Dimensions
Culture-specific communication:
| Field | Type | Values | Description |
|---|---|---|---|
| target_culture | string | en, jp, de, fr, etc. | Primary culture code |
| formality_level | string | casual, neutral, formal, high | Register formality |
| context_style | string | low, high | Direct vs indirect |
| individualism | number | 0.0-1.0 | Individual vs collective focus |
Temporal Evolution
Personality over time:
{
"temporal_evolution": {
"2024-Q1": {
"voice": { "formality": 0.7, "humor": 0.3 },
"domains": ["javascript", "react"]
},
"2024-Q2": {
"voice": { "formality": 0.5, "humor": 0.6 },
"domains": ["javascript", "react", "rust"]
},
"2025-Q1": {
"voice": { "formality": 0.4, "humor": 0.7 },
"domains": ["javascript", "react", "rust", "ai"]
}
}
}
Universal Adapter Specification
Adapter Interface
interface UniversalAdapter {
register(): Promise<void>
fetchContent(user: string): Promise<UniversalContent[]>
normalizeContent(raw: any): UniversalNormalizedContent
}
Intermediate Format
All adapters output Idiomark intermediate format:
{
"platform": "platform_name",
"user": "username_or_id",
"content": [
{
"id": "content_id",
"text": "Content text",
"timestamp": "2026-02-13T00:00:00Z",
"metadata": { ... }
}
]
}
Quality Metrics
| Metric | Threshold | Description |
|---|---|---|
| extraction_rate | > 90% | Content successfully fetched |
| parsing_accuracy | > 95% | Correctly parsed |
| privacy_compliance | 100% | Only public data |
Backward Compatibility
v2.0 files MUST be v1.0 compatible:
| Requirement | Specification |
|---|---|
| v1 fields | All v1.0 fields required |
| v2 fields | Optional, extensions only |
| validation | Must pass v1.0 schema validation |
| migration | v1.0 readers ignore v2.0 fields |
Version Migration
v1.0 → v2.0 Migration Script
function migrateToV2(v1File) {
return {
idiomark: "2.0.0",
id: v1File.id,
created: v1File.created,
updated: new Date().toISOString(),
metadata: v1File.metadata,
personality: v1File.personality,
personality_v2: {
big_five: extractBigFive(v1File),
linguistc_markers: extractLinguisticMarkers(v1File),
cognitive_patterns: extractCognitivePatterns(v1File),
cultural_dimensions: extractCulturalDimensions(v1File),
temporal_evolution: initializeTemporalTracking()
}
};
}
Validation Rules
Required v1 Fields
All v2.0 files MUST contain valid v1.0 fields:
idiomarkversion stringidunique identifiercreatedISO 8601 timestamppersonality.voiceobject with at leasttone.primary
Optional v2 Fields
v2.0 dimensions are OPTIONAL:
personality_v2.big_fivepersonality_v2.linguistic_markerspersonality_v2.cognitive_patternspersonality_v2.cultural_dimensionspersonality_v2.temporal_evolution
Experimental Field Marking
v2.0 dimensions without sufficient confidence should be marked:
{
"personality_v2": {
"big_five": {
"_experimental": true,
"_confidence": 0.42
}
}
}
Copyright © 2026 Idiomark Contributors
License: MIT