Skip to content

ProjectTemplate

ProjectTemplate Schema

Description: Admin-curated factory that instantiates into user-owned Projects.

Owns 0..N observation templates (real `Observation` rows with
`kind='template'` owned by the existing "Skynet" Org). When a user
starts a project from this template, those observation templates are
cloned, the user's target/owner are applied, and the clones are
published — see decisions 12–19 in PROJECT_TEMPLATES_TRACKER.md.

Properties

Name Type Description
id Integer No description
uid UUID No description
slug String(80) No description
name String(200) No description
description String(500) No description
icon String(120) (Optional) No description
category String(80) (Optional) No description
kind Enum(single_target, target_list) No description
target_list JSONB (Optional) No description
target_picker_config JSONB (Optional) No description
default_answers JSONB (Optional) No description
content_pages JSONB (Optional) No description
checklist_items JSONB (Optional) No description
difficulty Integer No description
is_featured Boolean No description
is_published Boolean No description
min_role String(80) (Optional) No description
created_by Integer No description
created_at DateTime No description
updated_at DateTime No description

Relationships

Relationship Name Type
creator User
projects Project
observation_templates Observation