UIKitV3-Automator / bridge /example.course_syllabus.workflow.json
KyklosIO's picture
feat(workflow): reconcile pipelined-page custom element engine with authentic UIkit 3 archetypes
c0f9319
Raw History Blame Contribute Delete
3.82 kB
{
"$schema": "./workflow.schema.json",
"name": "xs_course_syllabus",
"title": "Course Syllabus",
"group": "Academy Elements",
"container": true,
"layout_archetype": "workspace_split",
"tabs": [
{
"title": "Course Details",
"fields": [
{ "name": "title", "label": "Course / Masterclass Title", "type": "text", "default": "Advanced Systems Architecture" },
{ "name": "body_name", "label": "Academy / Faculty", "type": "text", "default": "Department of Computer Science" },
{ "name": "course_code", "label": "Course Code", "type": "text", "default": "CS-804" },
{ "name": "instructor", "label": "Lead Instructor", "type": "text", "default": "Dr. Leslie Chen" },
{ "name": "status", "label": "Enrollment Status", "type": "select", "default": "active", "options": { "upcoming": "Upcoming", "active": "In Session / Active", "archived": "Archived / Self-Paced" } },
{ "name": "duration", "label": "Total Duration", "type": "text", "default": "6 Weeks (18 Lectures)" },
{ "name": "summary", "label": "Syllabus Overview", "type": "textarea", "default": "Master distributed systems, event streaming, and resilient cluster topologies." }
]
},
{
"title": "Lecture Media & Slides",
"fields": [
{ "name": "media_mode", "label": "Lecture Video Mode", "type": "select", "default": "recording", "options": { "none": "Text Only", "recording": "Recorded Lecture", "live": "Live Stream" } },
{ "name": "recording_url", "label": "Lecture Stream / Video URL", "type": "text", "default": "https://example.com/lecture-01.mp4" },
{ "name": "slides_url", "label": "Presentation Slides URL (PDF)", "type": "text", "default": "" },
{ "name": "captions_url", "label": "Subtitles / Captions (VTT)", "type": "text", "default": "" },
{ "name": "transcript_text", "label": "Lecture Transcript", "type": "textarea", "default": "" }
]
},
{
"title": "Style & Layout",
"fields": [
{ "name": "layout", "label": "Layout Presentation", "type": "select", "default": "workspace", "options": { "workspace": "Split Workspace", "stacked": "Stacked" } },
{ "name": "card_style", "label": "Card Style", "type": "select", "default": "default", "options": { "default": "Default", "primary": "Primary", "secondary": "Secondary", "muted": "Muted" } },
{ "name": "show_filters", "label": "Enable Lesson/Quiz/Download Filters", "type": "checkbox", "default": true }
]
}
],
"item": {
"name": "xs_course_syllabus_item",
"title": "Syllabus Unit",
"tabs": [
{
"title": "Unit Info",
"fields": [
{ "name": "record_type", "label": "Unit Type", "type": "select", "default": "agenda", "options": { "agenda": "Lecture Module", "resource": "Reading / Lab Exercise", "chapter": "Video Chapter" } },
{ "name": "title", "label": "Unit Title", "type": "text", "default": "Distributed Consensus & Raft" },
{ "name": "agenda_number", "label": "Module Number", "type": "text", "default": "Module 1" },
{ "name": "description", "label": "Unit Description / Objectives", "type": "textarea", "default": "Leader election, log replication, and split-brain safety." },
{ "name": "outcome", "label": "Completion Status", "type": "select", "default": "approved", "options": { "pending": "Locked", "approved": "Completed", "tabled": "In Progress" } },
{ "name": "speaker", "label": "Guest Lecturer", "type": "text", "default": "" },
{ "name": "start_time", "label": "Video Timestamp", "type": "text", "default": "05:15" },
{ "name": "link", "label": "Lab Exercise / PDF Download", "type": "text", "default": "https://example.com/lab1.pdf" }
]
}
]
}
}