oneie 3.5.0 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/agent-director.md +902 -22
- package/.claude/agents/agent-onboard-example-output.md +600 -0
- package/.claude/agents/agent-onboard.md +576 -0
- package/.claude/commands/ONBOARDING_ENHANCEMENT_SUMMARY.md +266 -0
- package/.claude/commands/one.md +375 -5
- package/.claude/commands/release.md +64 -3
- package/CLAUDE.md +55 -69
- package/dist/commands/init.d.ts +5 -6
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +101 -101
- package/dist/commands/init.js.map +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/utils/installation-setup.d.ts +24 -1
- package/dist/utils/installation-setup.d.ts.map +1 -1
- package/dist/utils/installation-setup.js +85 -1
- package/dist/utils/installation-setup.js.map +1 -1
- package/dist/utils/launch-claude.d.ts +6 -0
- package/dist/utils/launch-claude.d.ts.map +1 -0
- package/dist/utils/launch-claude.js +51 -0
- package/dist/utils/launch-claude.js.map +1 -0
- package/dist/utils/validation.d.ts +48 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/dist/utils/validation.js +73 -0
- package/dist/utils/validation.js.map +1 -0
- package/folders.yaml +1 -1
- package/one/.obsidian/core-plugins.json +33 -0
- package/one/.obsidian/workspace.json +20 -20
- package/one/connections/workflow-onboarding.md +683 -0
- package/one/events/CART-DRAWER-INTEGRATION-GUIDE.md +354 -0
- package/one/events/CRITICAL-FIXES-COMPLETE.md +504 -0
- package/one/events/DEPLOYMENT.md +178 -0
- package/one/events/ECOMMERCE-DEMO-PLAN.md +225 -0
- package/one/events/ECOMMERCE-LIVE-DEMO.md +363 -0
- package/one/events/ECOMMERCE-TEMPLATE-COMPLETE.md +735 -0
- package/one/events/ECOMMERCE-TEMPLATES-SUMMARY.md +923 -0
- package/one/events/GRADIENT-TEXT-PERMANENT-FIX.md +223 -0
- package/one/events/HANDOFF.md +313 -0
- package/one/events/IMPLEMENTATION-SUMMARY-FINAL.md +503 -0
- package/one/events/IMPLEMENTATION_SUMMARY.md +529 -0
- package/one/events/LANDING-PAGE-EXAMPLE-OUTPUT.md +666 -0
- package/one/events/LANDING-PAGE-IMPLEMENTATION.md +642 -0
- package/one/events/LANDING-PAGE-QUICKSTART.md +407 -0
- package/one/events/MULTI-ONTOLOGY-COMPLETE-GUIDE.md +1627 -0
- package/one/events/MULTI-ONTOLOGY-IMPLEMENTATION-COMPLETE.md +573 -0
- package/one/events/ONBOARDING-IMPLEMENTATION-COMPLETE copy.md +398 -0
- package/one/events/ONTOLOGY-TUTORIALS-SUMMARY.md +525 -0
- package/one/events/ONTOLOGY-TYPE-GENERATOR-SUMMARY.md +455 -0
- package/one/events/ONTOLOGY_DISCOVERY_IMPLEMENTATION.md +486 -0
- package/one/events/ONTOLOGY_DISCOVERY_QUICKSTART.md +203 -0
- package/one/events/SECURITY-AUDIT-FIXES.md +376 -0
- package/one/events/SECURITY-SCAN-COMPLETE.md +281 -0
- package/one/events/SHOP-BUILD-STATUS.md +114 -0
- package/one/events/SHOP-PREMIUM-UPDATE.md +149 -0
- package/one/events/SITE-WIDE-GRADIENT-FIX.md +299 -0
- package/one/events/STORE-PRODUCTION-READY-STATUS.md +359 -0
- package/one/events/STRIPE-PAYMENT-METHODS-GUIDE.md +429 -0
- package/one/events/agent-director-enhancement-summary.md +386 -0
- package/one/events/agent-onboard-implementation-summary.md +457 -0
- package/one/events/clean-agent-ontology-cleanup-report.md +353 -0
- package/one/events/landing-page-generator.md +458 -0
- package/one/events/onboarding-implementation-complete.md +505 -0
- package/one/events/release.md +254 -0
- package/one/events/separate-implementation-status.md +537 -0
- package/one/knowledge/100-inference-quick-reference.md +431 -0
- package/one/knowledge/agent-onboard-usage.md +612 -0
- package/one/knowledge/cli-claude-handoff.md +718 -0
- package/one/knowledge/ontology-blog.yaml +31 -0
- package/one/knowledge/ontology-cheatsheet.md +591 -0
- package/one/knowledge/ontology-community.yaml +42 -0
- package/one/knowledge/ontology-core-universal.md +722 -0
- package/one/knowledge/ontology-core.yaml +50 -0
- package/one/knowledge/ontology-courses.yaml +53 -0
- package/one/knowledge/ontology-creator.md +376 -0
- package/one/knowledge/ontology-developer-guide.md +789 -0
- package/one/knowledge/ontology-education.md +920 -0
- package/one/knowledge/ontology-index.md +354 -0
- package/one/knowledge/ontology-migration-guide.md +811 -0
- package/one/knowledge/ontology-minimal.yaml +1 -1
- package/one/knowledge/ontology-portfolio.yaml +31 -0
- package/one/knowledge/ontology-quickstart.md +576 -0
- package/one/knowledge/ontology-shop.yaml +121 -0
- package/one/knowledge/ontology-tokens.yaml +32 -0
- package/one/knowledge/ontology-tutorial.md +434 -0
- package/one/knowledge/ontology-video-script.md +890 -0
- package/one/things/docs/ecommerce/ARCHITECTURE-DIAGRAM.md +467 -0
- package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-IMPLEMENTATION.md +408 -0
- package/one/things/docs/ecommerce/CONVERSION-ELEMENTS-SUMMARY.md +369 -0
- package/one/things/docs/ecommerce/CONVERSION-UX-IMPLEMENTATION-SUMMARY.md +396 -0
- package/one/things/docs/ecommerce/FEATURE-SUMMARY.md +468 -0
- package/one/things/docs/ecommerce/IMPLEMENTATION-NOTES.md +582 -0
- package/one/things/docs/ecommerce/INTEGRATION-EXAMPLE.md +449 -0
- package/one/things/docs/ecommerce/QUICK-START.md +368 -0
- package/one/things/docs/ecommerce/URGENCY-IMPLEMENTATION-SUMMARY.md +498 -0
- package/one/things/docs/ecommerce/URGENCY-QUICK-REFERENCE.md +237 -0
- package/one/things/docs/ecommerce/USAGE-EXAMPLE.astro +171 -0
- package/one/things/docs/ecommerce/demo.astro +309 -0
- package/one/things/plans/agent-director-100-inference-plans.md +410 -0
- package/one/things/plans/dual-website-strategy.md +612 -0
- package/one/things/plans/feature-based-sites.md +821 -0
- package/one/things/plans/multi-ontology-architecture.md +836 -0
- package/one/things/plans/onboarding.md +32 -0
- package/one/things/plans/separate.md +15 -17
- package/one/things/plans/start-new.md +738 -0
- package/package.json +2 -2
- package/one/things/claude/hooks/agent-hook-manager.js +0 -525
- package/one/things/claude/hooks/agent-load-balancer.js +0 -271
- package/one/things/claude/hooks/agent-request-interceptor.js +0 -70
- package/one/things/claude/hooks/cascade-feedback.js +0 -297
- package/one/things/claude/hooks/cascade-integration-hooks.js +0 -648
- package/one/things/claude/hooks/continuous-improvement-monitor.js +0 -510
- package/one/things/claude/hooks/file-organization-engine.js +0 -427
- package/one/things/claude/hooks/file-organization-monitor.js +0 -269
- package/one/things/claude/hooks/hook-config-manager.js +0 -202
- package/one/things/claude/hooks/hook-orchestrator.js +0 -662
- package/one/things/claude/hooks/hook-performance-report.js +0 -120
- package/one/things/claude/hooks/mcp-cascade-integration.js +0 -816
- package/one/things/claude/hooks/memory-optimizer.js +0 -510
- package/one/things/claude/hooks/ontology-compliance.js +0 -394
- package/one/things/claude/hooks/ontology-hook-manager.js +0 -316
- package/one/things/claude/hooks/ontology-validation-engine.js +0 -317
- package/one/things/claude/hooks/performance-monitoring-hook.js +0 -422
- package/one/things/claude/hooks/quality-scoring-engine.js +0 -834
- package/one/things/claude/hooks/simple-load-balancer.js +0 -238
- package/one/things/claude/hooks/startup-optimizer.js +0 -625
- package/one/things/claude/hooks/story-scoring-system.js +0 -445
- package/one/things/claude/hooks/story-validation-engine.js +0 -473
- package/one/things/claude/hooks/structure-synchronizer.js +0 -194
- package/one/things/claude/hooks/sub-agent-output-validator.js +0 -647
- package/one/things/claude/hooks/sub-agent-validation-hook.js +0 -343
- package/one/things/claude/hooks/trinity-validation-system.js +0 -392
- package/one/things/plans/organizations-to-groups.md +0 -705
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
feature: core
|
|
2
|
+
extends: null
|
|
3
|
+
description: Core ontology always present in every ONE installation
|
|
4
|
+
|
|
5
|
+
thingTypes:
|
|
6
|
+
- name: page
|
|
7
|
+
properties:
|
|
8
|
+
title: string
|
|
9
|
+
slug: string
|
|
10
|
+
content: string
|
|
11
|
+
- name: user
|
|
12
|
+
properties:
|
|
13
|
+
email: string
|
|
14
|
+
displayName: string
|
|
15
|
+
- name: file
|
|
16
|
+
properties:
|
|
17
|
+
url: string
|
|
18
|
+
mimeType: string
|
|
19
|
+
size: number
|
|
20
|
+
- name: link
|
|
21
|
+
properties:
|
|
22
|
+
url: string
|
|
23
|
+
title: string
|
|
24
|
+
- name: note
|
|
25
|
+
properties:
|
|
26
|
+
content: string
|
|
27
|
+
|
|
28
|
+
connectionTypes:
|
|
29
|
+
- name: created_by
|
|
30
|
+
fromType: '*'
|
|
31
|
+
toType: user
|
|
32
|
+
- name: updated_by
|
|
33
|
+
fromType: '*'
|
|
34
|
+
toType: user
|
|
35
|
+
- name: viewed_by
|
|
36
|
+
fromType: '*'
|
|
37
|
+
toType: user
|
|
38
|
+
- name: favorited_by
|
|
39
|
+
fromType: '*'
|
|
40
|
+
toType: user
|
|
41
|
+
|
|
42
|
+
eventTypes:
|
|
43
|
+
- name: thing_created
|
|
44
|
+
thingType: '*'
|
|
45
|
+
- name: thing_updated
|
|
46
|
+
thingType: '*'
|
|
47
|
+
- name: thing_deleted
|
|
48
|
+
thingType: '*'
|
|
49
|
+
- name: thing_viewed
|
|
50
|
+
thingType: '*'
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
feature: courses
|
|
2
|
+
extends: core
|
|
3
|
+
description: E-learning and course management
|
|
4
|
+
|
|
5
|
+
thingTypes:
|
|
6
|
+
- name: course
|
|
7
|
+
properties:
|
|
8
|
+
title: string
|
|
9
|
+
slug: string
|
|
10
|
+
description: string
|
|
11
|
+
price: number
|
|
12
|
+
duration: string
|
|
13
|
+
level: string
|
|
14
|
+
thumbnail: string
|
|
15
|
+
status: string
|
|
16
|
+
- name: lesson
|
|
17
|
+
properties:
|
|
18
|
+
title: string
|
|
19
|
+
slug: string
|
|
20
|
+
content: string
|
|
21
|
+
videoUrl: string
|
|
22
|
+
duration: number
|
|
23
|
+
order: number
|
|
24
|
+
courseId: string
|
|
25
|
+
- name: quiz
|
|
26
|
+
properties:
|
|
27
|
+
title: string
|
|
28
|
+
questions: object[]
|
|
29
|
+
passingScore: number
|
|
30
|
+
- name: certificate
|
|
31
|
+
properties:
|
|
32
|
+
studentId: string
|
|
33
|
+
courseId: string
|
|
34
|
+
issuedAt: number
|
|
35
|
+
certificateUrl: string
|
|
36
|
+
|
|
37
|
+
connectionTypes:
|
|
38
|
+
- name: enrolled_in
|
|
39
|
+
fromType: user
|
|
40
|
+
toType: course
|
|
41
|
+
- name: part_of
|
|
42
|
+
fromType: lesson
|
|
43
|
+
toType: course
|
|
44
|
+
|
|
45
|
+
eventTypes:
|
|
46
|
+
- name: enrolled_in_course
|
|
47
|
+
thingType: course
|
|
48
|
+
- name: lesson_completed
|
|
49
|
+
thingType: lesson
|
|
50
|
+
- name: quiz_submitted
|
|
51
|
+
thingType: quiz
|
|
52
|
+
- name: certificate_earned
|
|
53
|
+
thingType: certificate
|
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
# Creator Ontology
|
|
2
|
+
|
|
3
|
+
**Version:** 1.0.0
|
|
4
|
+
**Extends:** Core Universal Ontology
|
|
5
|
+
**Purpose:** Models the creator economy across all platforms, content types, and monetization methods.
|
|
6
|
+
|
|
7
|
+
## Philosophy
|
|
8
|
+
|
|
9
|
+
Creators are **multi-platform businesses** that:
|
|
10
|
+
1. **Create** content across platforms
|
|
11
|
+
2. **Monetize** through multiple revenue streams
|
|
12
|
+
3. **Build** community and audience
|
|
13
|
+
4. **Own** direct relationships (email, SMS)
|
|
14
|
+
5. **Analyze** performance metrics
|
|
15
|
+
6. **Scale** with automation and AI
|
|
16
|
+
|
|
17
|
+
**Supports:** Video creators, podcasters, writers, educators, artists, entrepreneurs, gamers.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## GROUPS: Creator Brands
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
{
|
|
25
|
+
_id: Id<'groups'>,
|
|
26
|
+
type: 'business',
|
|
27
|
+
slug: string,
|
|
28
|
+
name: string,
|
|
29
|
+
|
|
30
|
+
branding: {
|
|
31
|
+
logo: string,
|
|
32
|
+
coverImage: string,
|
|
33
|
+
brandColors: { primary, secondary, accent },
|
|
34
|
+
fonts: { heading, body },
|
|
35
|
+
tagline: string,
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
metadata: {
|
|
39
|
+
creatorType: 'individual' | 'team' | 'brand',
|
|
40
|
+
niche: string[],
|
|
41
|
+
primaryPlatform: string,
|
|
42
|
+
targetAudience: string,
|
|
43
|
+
launchedAt: number,
|
|
44
|
+
revenueStreams: ('ads' | 'sponsorships' | 'memberships' | 'courses' | 'products' | 'consulting' | 'donations' | 'affiliate' | 'merch')[],
|
|
45
|
+
},
|
|
46
|
+
|
|
47
|
+
// Platform connections (extensible)
|
|
48
|
+
platforms: {
|
|
49
|
+
[platform: string]: {
|
|
50
|
+
handle: string,
|
|
51
|
+
followers: number,
|
|
52
|
+
verified: boolean,
|
|
53
|
+
monetization: Record<string, any>,
|
|
54
|
+
metrics: Record<string, number>,
|
|
55
|
+
features: Record<string, boolean>,
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
metrics: {
|
|
60
|
+
totalFollowers: number,
|
|
61
|
+
totalViews: number,
|
|
62
|
+
totalRevenue: number,
|
|
63
|
+
monthlyRevenue: number,
|
|
64
|
+
avgEngagementRate: number,
|
|
65
|
+
},
|
|
66
|
+
}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**Key Platforms:** YouTube, TikTok, Instagram, Twitter/X, Twitch, Podcast, Newsletter, Blog, Discord, Patreon
|
|
70
|
+
|
|
71
|
+
**Extensibility:** Add new platforms by extending `platforms` object with platform-specific schema.
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## PEOPLE: Creator Roles
|
|
76
|
+
|
|
77
|
+
```typescript
|
|
78
|
+
{
|
|
79
|
+
_id: Id<'people'>,
|
|
80
|
+
role: 'platform_owner' | 'group_owner' | 'group_user' | 'customer',
|
|
81
|
+
|
|
82
|
+
// Mapped roles:
|
|
83
|
+
// group_owner → Creator/Founder
|
|
84
|
+
// group_user → Team Member
|
|
85
|
+
// customer → Fan/Member
|
|
86
|
+
|
|
87
|
+
permissions: string[], // publish_content, manage_sponsorships, access_analytics, etc.
|
|
88
|
+
|
|
89
|
+
profile: {
|
|
90
|
+
creatorProfile?: {
|
|
91
|
+
expertise: string[],
|
|
92
|
+
yearsCreating: number,
|
|
93
|
+
fullTime: boolean,
|
|
94
|
+
revenueSharePercent?: number, // For team
|
|
95
|
+
memberSince?: number, // For fans
|
|
96
|
+
membershipTier?: string, // For fans
|
|
97
|
+
lifetimeValue?: number, // For fans
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
|
|
101
|
+
preferences: {
|
|
102
|
+
notifications: Record<string, boolean>,
|
|
103
|
+
communication: Record<string, boolean>,
|
|
104
|
+
},
|
|
105
|
+
}
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## THINGS: Creator Economy Types
|
|
111
|
+
|
|
112
|
+
**70+ entity types across 10 categories:**
|
|
113
|
+
|
|
114
|
+
```typescript
|
|
115
|
+
type CreatorThingType =
|
|
116
|
+
// Content (20+ types)
|
|
117
|
+
| "youtube_video" | "tiktok_video" | "instagram_post" | "podcast_episode"
|
|
118
|
+
| "blog_post" | "newsletter_issue" | "thread" | "livestream"
|
|
119
|
+
| "{platform}_{content_type}" // Extensible pattern
|
|
120
|
+
|
|
121
|
+
// Education (8 types)
|
|
122
|
+
| "course" | "course_module" | "course_lesson" | "workshop"
|
|
123
|
+
| "webinar" | "masterclass" | "template" | "resource_pack"
|
|
124
|
+
|
|
125
|
+
// Community (7 types)
|
|
126
|
+
| "community" | "discord_server" | "community_post" | "discussion_thread"
|
|
127
|
+
| "poll" | "qa_session" | "exclusive_content"
|
|
128
|
+
|
|
129
|
+
// Monetization (12 types)
|
|
130
|
+
| "membership_tier" | "subscription" | "sponsorship" | "brand_partnership"
|
|
131
|
+
| "affiliate_link" | "product" | "merch_item" | "consultation"
|
|
132
|
+
| "{platform}_shop_item" // Extensible pattern
|
|
133
|
+
|
|
134
|
+
// Finance (6 types)
|
|
135
|
+
| "revenue_stream" | "payment" | "payout" | "invoice" | "expense" | "tax_document"
|
|
136
|
+
|
|
137
|
+
// Marketing (6 types)
|
|
138
|
+
| "email_campaign" | "funnel" | "lead_magnet" | "landing_page" | "sales_page" | "waitlist"
|
|
139
|
+
|
|
140
|
+
// Analytics (5 types)
|
|
141
|
+
| "analytics_report" | "milestone" | "goal" | "metric" | "insight"
|
|
142
|
+
|
|
143
|
+
// Collaboration (3 types)
|
|
144
|
+
| "collaboration" | "guest_appearance" | "interview"
|
|
145
|
+
|
|
146
|
+
// Events (4 types)
|
|
147
|
+
| "event" | "meetup" | "conference" | "tour"
|
|
148
|
+
|
|
149
|
+
// IP & Assets (4 types)
|
|
150
|
+
| "brand_asset" | "content_library" | "intellectual_property" | "trademark";
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
**Extensibility:** Use `{platform}_{type}` pattern for platform-specific content (e.g., `youtube_short`, `instagram_reel`).
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## CONNECTIONS: Creator Relationships
|
|
158
|
+
|
|
159
|
+
**30+ connection types across 7 categories:**
|
|
160
|
+
|
|
161
|
+
```typescript
|
|
162
|
+
type CreatorConnectionType =
|
|
163
|
+
// Content (6 types)
|
|
164
|
+
| "created_by" | "featured_in" | "collaborated_on" | "appeared_in" | "part_of_series" | "sequel_to"
|
|
165
|
+
|
|
166
|
+
// Audience (5 types)
|
|
167
|
+
| "subscribed_to" | "following" | "member_of" | "member_tier" | "purchased"
|
|
168
|
+
|
|
169
|
+
// Engagement (7 types)
|
|
170
|
+
| "watched" | "listened_to" | "read" | "liked" | "commented_on" | "shared" | "bookmarked"
|
|
171
|
+
|
|
172
|
+
// Monetization (4 types)
|
|
173
|
+
| "sponsored" | "affiliate_for" | "promoted_in" | "donated_to"
|
|
174
|
+
|
|
175
|
+
// Collaboration (3 types)
|
|
176
|
+
| "collaborates_with" | "mentors" | "guest_on"
|
|
177
|
+
|
|
178
|
+
// Community (2 types)
|
|
179
|
+
| "moderates" | "top_contributor"
|
|
180
|
+
|
|
181
|
+
// Business (4 types)
|
|
182
|
+
| "managed_by" | "represented_by" | "sponsored_by" | "partnered_with";
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
---
|
|
186
|
+
|
|
187
|
+
## EVENTS: Creator Actions
|
|
188
|
+
|
|
189
|
+
**50+ event types across 9 categories:**
|
|
190
|
+
|
|
191
|
+
```typescript
|
|
192
|
+
type CreatorEventType =
|
|
193
|
+
// Publishing (7 types)
|
|
194
|
+
| "video_uploaded" | "video_premiered" | "livestream_started" | "livestream_ended"
|
|
195
|
+
| "podcast_published" | "blog_post_published" | "newsletter_sent"
|
|
196
|
+
|
|
197
|
+
// Growth (5 types)
|
|
198
|
+
| "subscriber_gained" | "follower_gained" | "member_joined" | "member_upgraded" | "member_churned"
|
|
199
|
+
|
|
200
|
+
// Engagement (7 types)
|
|
201
|
+
| "video_viewed" | "video_watched_fully" | "comment_received" | "like_received"
|
|
202
|
+
| "share_occurred" | "email_opened" | "email_clicked"
|
|
203
|
+
|
|
204
|
+
// Monetization (7 types)
|
|
205
|
+
| "revenue_earned" | "sponsorship_secured" | "product_sold" | "course_enrolled"
|
|
206
|
+
| "donation_received" | "affiliate_commission" | "ad_revenue_generated"
|
|
207
|
+
|
|
208
|
+
// Milestones (4 types)
|
|
209
|
+
| "milestone_reached" | "verification_achieved" | "award_won" | "viral_hit"
|
|
210
|
+
|
|
211
|
+
// Community (4 types)
|
|
212
|
+
| "community_created" | "event_hosted" | "meetup_organized" | "collaboration_announced"
|
|
213
|
+
|
|
214
|
+
// Business (4 types)
|
|
215
|
+
| "brand_deal_signed" | "product_launched" | "course_launched" | "merch_drop"
|
|
216
|
+
|
|
217
|
+
// Platform (5 types)
|
|
218
|
+
| "platform_joined" | "channel_migrated" | "copyright_strike" | "demonetized" | "remonetized"
|
|
219
|
+
|
|
220
|
+
// Analytics (3 types)
|
|
221
|
+
| "analytics_generated" | "insight_discovered" | "trend_identified";
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
---
|
|
225
|
+
|
|
226
|
+
## Property Schemas (Examples)
|
|
227
|
+
|
|
228
|
+
### Content: YouTube Video
|
|
229
|
+
|
|
230
|
+
```typescript
|
|
231
|
+
{
|
|
232
|
+
type: 'youtube_video',
|
|
233
|
+
properties: {
|
|
234
|
+
videoId, url, channelId,
|
|
235
|
+
description, thumbnail, duration, publishedAt,
|
|
236
|
+
category, tags, hashtags,
|
|
237
|
+
views, likes, comments, shares, watchTime, engagementRate,
|
|
238
|
+
adRevenue, cpm, rpm, sponsorshipRevenue,
|
|
239
|
+
visibility, monetized, ageRestricted,
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
### Monetization: Membership Tier
|
|
245
|
+
|
|
246
|
+
```typescript
|
|
247
|
+
{
|
|
248
|
+
type: 'membership_tier',
|
|
249
|
+
properties: {
|
|
250
|
+
price, currency, billingCycle,
|
|
251
|
+
benefits: string[],
|
|
252
|
+
perks: { exclusiveContent, earlyAccess, discordRole, ... },
|
|
253
|
+
memberLimit, currentMembers,
|
|
254
|
+
exclusiveContentIds: Id<'things'>[],
|
|
255
|
+
trialPeriod, color, badge, priority,
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
### Business: Sponsorship
|
|
261
|
+
|
|
262
|
+
```typescript
|
|
263
|
+
{
|
|
264
|
+
type: 'sponsorship',
|
|
265
|
+
properties: {
|
|
266
|
+
brandName, dealValue, dealType,
|
|
267
|
+
contractStart, contractEnd,
|
|
268
|
+
requirements: { platform, minViews, placement, exclusivity },
|
|
269
|
+
adScript, trackingLink, promoCode,
|
|
270
|
+
impressions, clicks, conversions, revenue,
|
|
271
|
+
paid, paidAt,
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
### Community
|
|
277
|
+
|
|
278
|
+
```typescript
|
|
279
|
+
{
|
|
280
|
+
type: 'community',
|
|
281
|
+
properties: {
|
|
282
|
+
platform: 'discord' | 'circle' | 'slack' | 'custom',
|
|
283
|
+
memberCount, activeMembers, growthRate,
|
|
284
|
+
channels: [{ name, type, memberCount }],
|
|
285
|
+
moderators: Id<'people'>[],
|
|
286
|
+
messagesPerDay, avgSessionTime,
|
|
287
|
+
public, requiresMembership, allowedTiers,
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
## Revenue Models
|
|
295
|
+
|
|
296
|
+
**6 primary revenue streams:**
|
|
297
|
+
|
|
298
|
+
1. **Advertising** - Platform ad revenue (YouTube, podcast, blog) - CPM-based
|
|
299
|
+
2. **Sponsorships** - Brand deals and partnerships - Flat fee, CPM, CPA, or revenue share
|
|
300
|
+
3. **Memberships** - Recurring subscriptions (Patreon, YouTube, custom) - Monthly/yearly tiers
|
|
301
|
+
4. **Products** - Digital products, courses, ebooks, templates - One-time or subscription
|
|
302
|
+
5. **Services** - Consulting, coaching, workshops - Hourly or package pricing
|
|
303
|
+
6. **Affiliate** - Commission-based product promotion - % of sales
|
|
304
|
+
|
|
305
|
+
**Track via:** `revenue_stream` things and `revenue_earned` events
|
|
306
|
+
|
|
307
|
+
---
|
|
308
|
+
|
|
309
|
+
## Use Cases
|
|
310
|
+
|
|
311
|
+
| Creator Type | Setup | Content | Revenue Streams |
|
|
312
|
+
|-------------|-------|---------|----------------|
|
|
313
|
+
| **Solo YouTuber** | 1 group, 1 creator | 200+ videos, weekly uploads | Ads ($5K), Sponsorships ($10K), Affiliate ($2K) |
|
|
314
|
+
| **Podcaster** | 1 group, 2 co-hosts, 5K Discord | 150+ episodes, 20K newsletter | Sponsorships ($8K), Memberships ($3K), Donations ($1K) |
|
|
315
|
+
| **Course Creator** | 1 group, 5 team | 3 courses, 50+ posts, newsletter | Courses ($30K), Coaching ($10K), Affiliate ($5K) |
|
|
316
|
+
|
|
317
|
+
---
|
|
318
|
+
|
|
319
|
+
## Routes
|
|
320
|
+
|
|
321
|
+
**Public:**
|
|
322
|
+
- `/videos`, `/podcast`, `/blog`, `/newsletter` - Content
|
|
323
|
+
- `/community`, `/community/discussions`, `/community/events` - Community
|
|
324
|
+
- `/membership`, `/shop`, `/courses`, `/book` - Monetization
|
|
325
|
+
|
|
326
|
+
**Dashboard:**
|
|
327
|
+
- `/dashboard/analytics`, `/dashboard/revenue`, `/dashboard/content`, `/dashboard/community`, `/dashboard/sponsorships`
|
|
328
|
+
|
|
329
|
+
---
|
|
330
|
+
|
|
331
|
+
## Integrations
|
|
332
|
+
|
|
333
|
+
**Content:** YouTube, Spotify, Substack, Medium
|
|
334
|
+
**Community:** Discord, Circle, Slack
|
|
335
|
+
**Monetization:** Patreon, Gumroad, Stripe, Buy Me a Coffee
|
|
336
|
+
**Email:** ConvertKit, Beehiiv, Mailchimp
|
|
337
|
+
**Analytics:** Google Analytics, YouTube Analytics, Chartable, Social Blade
|
|
338
|
+
|
|
339
|
+
---
|
|
340
|
+
|
|
341
|
+
## Implementation Checklist
|
|
342
|
+
|
|
343
|
+
- [ ] Multi-platform content publishing
|
|
344
|
+
- [ ] Revenue tracking (all streams)
|
|
345
|
+
- [ ] Membership system (tiers, subscriptions)
|
|
346
|
+
- [ ] Sponsorship management (deals, performance)
|
|
347
|
+
- [ ] Community hub (Discord, forums)
|
|
348
|
+
- [ ] Creator dashboard (analytics, insights)
|
|
349
|
+
- [ ] Email marketing (campaigns)
|
|
350
|
+
- [ ] AI agents (repurposing, analytics)
|
|
351
|
+
|
|
352
|
+
---
|
|
353
|
+
|
|
354
|
+
## Extensibility Guide
|
|
355
|
+
|
|
356
|
+
**Add New Platform:**
|
|
357
|
+
1. Extend `platforms` object in groups schema
|
|
358
|
+
2. Add platform-specific properties (followers, metrics, features)
|
|
359
|
+
3. Create `{platform}_{type}` thing types
|
|
360
|
+
4. Add platform events
|
|
361
|
+
|
|
362
|
+
**Add New Content Type:**
|
|
363
|
+
1. Add to thing types: `{platform}_{content_type}`
|
|
364
|
+
2. Define properties schema
|
|
365
|
+
3. Add relevant connections (created_by, featured_in)
|
|
366
|
+
4. Add publishing events
|
|
367
|
+
|
|
368
|
+
**Add New Revenue Stream:**
|
|
369
|
+
1. Add to `revenueStreams` enum
|
|
370
|
+
2. Create thing type (e.g., `nft_collection`)
|
|
371
|
+
3. Track via `revenue_stream` things
|
|
372
|
+
4. Log via `revenue_earned` events
|
|
373
|
+
|
|
374
|
+
---
|
|
375
|
+
|
|
376
|
+
**Complete creator economy in one ontology.** From individual YouTubers to multi-platform creator businesses.
|