# GENERATED. Do not change this line unless the file contains project specific changes.
# DO NOT EDIT THIS FILE. Changes are overwritten on the next build.
# Owner command: archetype.registry.build
# Edit instead: the archetype.registry.build generator source (not this file).
# Regenerate:   pnpm exec werkstatt run archetype.registry.build
id: commitment-table
displayName: Commitment Table
version: 1.0.0
semanticRole: component-commitment-table
description: |
  Written commitments paired with their contractual consequences
  (warpgogol-m000196). Two-column condition → consequence table.
  The left column holds the condition ("Wenn wir …" fragment), the right
  column the consequence ("dann …" clause). Neither column is struck
  through — both carry equal positive weight.
  Punctuation convention: left cells are lowercase clause fragments without
  trailing period; right cells are full clauses ending with a period.
expectedIntents:
  - contractual-commitments
expectedIndustryFit:
  - trades-and-construction
layoutHint: single-column
propsSchema:
  $shape: zod
  shape: |
    z.object({
      header: z.object({
        heading: z.string(),
        subheading: z.string().optional(),
        hideSectionNumber: z.boolean().optional(),
        align: z.enum(["left", "center", "right"]).optional(),
        level: z.number().optional(),
      }),
      background: z.unknown().optional(),
      effects: z.unknown().optional(),
      density: z.unknown().optional(),
      tone: z.unknown().optional(),
      labels: z.object({
        left: z.string(),
        right: z.string(),
      }),
      rows: z.array(z.object({
        left: z.string(),
        right: z.string(),
      })).min(1),
      note: z.string().optional(),
    }).passthrough()
acceptedCosmicNames:
  - Portia
constraints: {}
