{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "card-tree-fixtures",
  "title": "Card Tree — fixtures",
  "author": "ilinxa",
  "description": "Card Tree plus the dummy-data fixtures used by the docs-site demo.",
  "registryDependencies": [
    "@ilinxa/card-tree"
  ],
  "files": [
    {
      "path": "src/registry/components/data/card-tree/dummy-data.ts",
      "content": "import type { CardTreeJsonNode } from \"./types\";\n\n/**\n * One rich demo tree exercising every v0.1 feature:\n *   • 6 levels of depth (root + 5 nested levels)\n *   • all five field types: string, number, boolean, date (ISO-8601), null\n *   • all five predefined keys: codearea, image, table, quote, list\n *   • per-card __rcmeta on multiple cards\n *   • a card without IDs (auto-canonicalization)\n *   • leaf cards with body content (proves \"all cards collapsible\")\n */\nexport const RICH_DEMO: CardTreeJsonNode = {\n  __rcid: \"thesis-001\",\n  __rcorder: 0,\n  __rcmeta: {\n    author: \"Hessam Hezaveh\",\n    started: \"2026-01-15\",\n    pages: 87,\n    chapters: 4,\n    submitted: false,\n    grade: null,\n  },\n  title: \"Adaptive UI Components for Data-Heavy Applications\",\n  abstract:\n    \"A study of dynamic component patterns for hierarchical structured content in modern web apps.\",\n  word_count: 28400,\n  status: \"in-progress\",\n  approved: true,\n  defense_date: \"2026-06-15T14:00:00Z\",\n  last_edited: \"2026-04-28\",\n  reviewer_count: null,\n\n  list: [\n    \"structured-content\",\n    \"tree-rendering\",\n    \"json-native\",\n    \"accessibility\",\n    \"round-trip\",\n  ],\n\n  image: {\n    src: \"https://images.unsplash.com/photo-1518770660439-4636190af475?w=800&q=80\",\n    alt: \"Architecture diagram cover\",\n  },\n\n  introduction: {\n    __rcid: \"ch1\",\n    __rcorder: 0,\n    __rcmeta: { drafted: \"2026-02-01\", revisions: 4 },\n    pages: 8,\n    completed: true,\n\n    quote:\n      \"The web demands components that adapt to their data, not the other way around.\",\n\n    motivation: {\n      __rcid: \"ch1-mot\",\n      __rcorder: 0,\n      summary: \"Why hierarchical structured content needs a first-class viewer\",\n      relevance_score: 8.5,\n      addresses_gap: true,\n\n      table: {\n        headers: [\"component-class\", \"static-shape\", \"adaptive-shape\"],\n        rows: [\n          [\"table\", true, false],\n          [\"card-tree\", false, true],\n          [\"form-builder\", true, false],\n          [\"json-tree\", false, true],\n        ],\n      },\n\n      industry_need: {\n        __rcid: \"ch1-mot-ind\",\n        __rcorder: 0,\n        summary: \"Industry surveys 2024-2026\",\n        sample_size: 1240,\n        confidence: 0.95,\n        peer_reviewed: false,\n\n        codearea: {\n          format: \"ts\",\n          content:\n            \"interface AdaptiveProps<T> {\\n  data: T;\\n  schema?: Schema<T>;\\n  // shape inferred when schema is absent\\n}\",\n        },\n\n        survey_result: {\n          __rcid: \"ch1-mot-ind-srv\",\n          __rcorder: 0,\n          finding: \"73% of devs build custom tree-card UIs per project\",\n          methodology: \"online survey + 14 interviews\",\n          response_rate: 0.42,\n          completed: true,\n\n          list: [\n            \"shadcn covers primitives, not compositions\",\n            \"json-tree libs render as code, not content\",\n            \"Notion-likes lock you into a block schema\",\n          ],\n\n          top_excerpt: {\n            __rcid: \"ch1-mot-ind-srv-exc\",\n            __rcorder: 0,\n            __rcmeta: {\n              location: \"remote interview\",\n              recorded_by: \"research-asst-2\",\n              consent: true,\n            },\n            attribution: \"Senior FE, public-traded SaaS\",\n            interview_id: 7,\n            recorded: \"2026-01-22T16:30:00Z\",\n\n            quote:\n              \"We rebuild this same hierarchical view for every product. Six weeks each, accessibility skipped, never reusable.\",\n          },\n        },\n      },\n    },\n\n    contributions: {\n      __rcid: \"ch1-con\",\n      __rcorder: 1,\n      summary: \"What this thesis adds to the field\",\n      novel_findings: 3,\n\n      list: [\n        \"JSON-native data model with stable identity keys\",\n        \"ARIA tree contract from day one\",\n        \"Round-trip-safe serialization at every depth\",\n      ],\n    },\n  },\n\n  methodology: {\n    __rcid: \"ch2\",\n    __rcorder: 1,\n    __rcmeta: { drafted: \"2026-02-20\" },\n    pages: 12,\n    approach: \"design + implementation + evaluation\",\n\n    quote:\n      \"Three components, three teams, six weeks each — measured against a single shared baseline.\",\n  },\n\n  results: {\n    __rcid: \"ch3\",\n    __rcorder: 2,\n    __rcmeta: { drafted: \"2026-03-15\", significant: true },\n    pages: 18,\n    significant: true,\n    p_value: 0.003,\n    effect_size: 0.81,\n\n    table: {\n      headers: [\"metric\", \"baseline\", \"card-tree\", \"delta\"],\n      rows: [\n        [\"dev-time-days\", 21, 2, \"-90%\"],\n        [\"a11y-score\", 76, 98, \"+29%\"],\n        [\"bundle-kb\", 45, 18, \"-60%\"],\n        [\"round-trip-fidelity\", false, true, \"—\"],\n      ],\n    },\n  },\n\n  // No __rcid / __rcorder — auto-canonicalization on parse.\n  conclusion: {\n    pages: 4,\n    written: false,\n    summary: \"Bring it home\",\n  },\n};\n",
      "type": "registry:component",
      "target": "components/card-tree/dummy-data.ts"
    }
  ],
  "categories": [
    "data",
    "fixtures"
  ],
  "type": "registry:block"
}