# 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: trust-strip
displayName: Trust strip
version: 1.2.0
semanticRole: trust-evidence-row
description: |
  Horizontal row of 3-5 short trust signals. RFC-0103 bodyKind: list, no header.
expectedIntents:
  - trust
  - proof
expectedIndustryFit:
  - trades-and-construction
  - consulting-and-coaching
  - legal-services
  - non-profit
layoutHint: horizontal-row
bodyKind: list
recommendedItemCount:
  min: 3
  max: 5
propsSchema:
  $shape: zod
  compose:
    - section-visual
    - section-header
    - body-list
  shape: |
    z.object({
      cta: z.object({
        label: z.string().min(2),
        target: z.discriminatedUnion("kind", [
          z.object({
            kind: z.literal("internal"),
            pageId: z.string().min(1),
            query: z.record(z.string().regex(/^[a-zA-Z0-9_-]{1,32}$/), z.string().regex(/^[a-zA-Z0-9_%.-]{0,128}$/)).optional(),
            anchor: z.string().optional(),
          }).strict(),
          z.object({
            kind: z.literal("external"),
            href: z.string().min(1),
            rel: z.string().optional(),
          }).strict(),
          z.object({
            kind: z.literal("anchor"),
            anchor: z.string().min(1),
          }).strict(),
        ]),
      }).optional(),
    }).strict()
acceptedCosmicNames:
  - Deimos
constraints:
  forbidPhrases:
    - günstig
    - garantiert
    - Bestseller
  forbidIconLibraryTags:
    - stock-handshake
    - stock-thumbs-up
