{
  "schemaVersion": 3,
  "site": {
    "name": "PraxisUI",
    "url": "https://praxisui.dev"
  },
  "route": "/examples/dynamic-page",
  "catalogUrl": "/examples/dynamic-page.json",
  "purpose": "Machine-readable catalog of executable praxis-dynamic-page examples for crawlers, LLMs, and documentation agents.",
  "variantFamilies": [
    {
      "id": "employee-table-operations",
      "title": {
        "pt": "Tabelas operacionais de funcionários",
        "en": "Employee operational tables"
      },
      "exampleIds": [
        "funcionarios-table",
        "funcionarios-rich-table-surface",
        "funcionarios-actions-capabilities",
        "funcionarios-actions-workspace",
        "funcionarios-inline-filter-lab",
        "funcionarios-rules-computed-table",
        "funcionarios-ai-table-workspace"
      ]
    },
    {
      "id": "mission-participant-lists",
      "title": {
        "pt": "Listas de participantes de missão",
        "en": "Mission participant lists"
      },
      "exampleIds": [
        "remote-mission-participant-list",
        "remote-mission-participant-list-live"
      ]
    },
    {
      "id": "employee-form-workflows",
      "title": {
        "pt": "Formulários governados de funcionários",
        "en": "Governed employee forms"
      },
      "exampleIds": [
        "funcionario-profile-form",
        "funcionario-lifecycle-form",
        "employee-entity-lookup-workspace"
      ]
    },
    {
      "id": "employee-workspace-compositions",
      "title": {
        "pt": "Workspaces operacionais de pessoas",
        "en": "People operations workspaces"
      },
      "exampleIds": [
        "funcionarios-crud",
        "funcionarios-master-detail",
        "employee-operations-casework"
      ]
    },
    {
      "id": "approval-decision-workbenches",
      "title": {
        "pt": "Bancadas de decisão de aprovação",
        "en": "Approval decision workbenches"
      },
      "exampleIds": [
        "approval-audit-workbench",
        "approval-decision-workbench",
        "approval-delegation-exception-workbench",
        "approval-review-workbench",
        "approval-sla-triage-workbench"
      ]
    },
    {
      "id": "employee-decision-workbenches",
      "title": {
        "pt": "Decisões do ciclo de pessoas",
        "en": "Employee lifecycle decisions"
      },
      "exampleIds": [
        "employee-compensation-review-workbench",
        "employee-insight-workbench",
        "employee-internal-mobility-workbench",
        "employee-leave-absence-workbench",
        "employee-offboarding-workbench",
        "employee-performance-review-workbench",
        "employee-promotion-review-workbench",
        "employee-succession-planning-workbench"
      ]
    },
    {
      "id": "onboarding-journeys",
      "title": {
        "pt": "Jornadas governadas de onboarding",
        "en": "Governed onboarding journeys"
      },
      "exampleIds": [
        "onboarding-day-30-coaching-workbench",
        "onboarding-equipment-access-recovery-workbench",
        "onboarding-journey-workbench",
        "onboarding-manager-follow-up-workbench",
        "onboarding-readiness-workbench",
        "stepper-onboarding-workflow"
      ]
    }
  ],
  "examples": [
    {
      "id": "funcionarios-table",
      "title": "Funcionarios - remote table",
      "summary": "Renders the published funcionarios contract as a remote table, proving that a real API can materialize a usable screen before any bespoke Angular page exists.",
      "i18n": {
        "pt": {
          "title": "Funcionários - tabela remota",
          "summary": "Materializa o contrato publicado de funcionários como tabela remota, provando que uma API real pode virar tela antes de existir uma página Angular feita à mão.",
          "demonstrates": [
            "Explore Funcionários - tabela remota e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-table materializa human-resources/funcionarios com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Materializa o contrato publicado de funcionários como tabela remota, provando que uma API real pode virar tela antes de existir uma página Angular feita à mão.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas filtered e filter."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/funcionarios-table",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/funcionarios-table",
      "category": "minimum",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-table",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "filter",
        "options",
        "capabilities",
        "remote-data"
      ],
      "tags": [
        "table",
        "remote",
        "schema-driven",
        "quickstart"
      ],
      "demonstrates": [
        "Remote table bootstrap from resourcePath",
        "Schema-driven columns from /schemas/filtered",
        "Remote filter endpoint data loading",
        "Row selection output exposed to Dynamic Page"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "remote-filter",
        "remote-options",
        "capabilities"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered",
        "POST /api/human-resources/funcionarios/filter",
        "GET /api/human-resources/funcionarios/capabilities",
        "POST /api/human-resources/cargos/options/filter",
        "POST /api/human-resources/departamentos/options/filter"
      ],
      "complexity": "basic",
      "catalogRole": "runtime-widget",
      "learningStage": "first-contact",
      "variantFamilyId": "employee-table-operations",
      "featuredRank": 1,
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-table-rendered",
          "quickstart-filter-response"
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.table.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/funcionarios-table.json",
      "documentation": {
        "story": {
          "pt": "Uma equipe de RH precisa consultar funcionários reais sem esperar pela implementação de mais uma tela Angular. O exemplo parte do contrato publicado pela API e materializa a coleção diretamente como uma superfície operacional.",
          "en": "An HR team needs to browse real employees without waiting for another Angular screen. The example starts from the API-published contract and materializes the collection directly as an operational surface."
        },
        "outcome": {
          "pt": "O visitante vê dados remotos, paginação e estrutura de colunas nascerem da mesma fonte de verdade que continuará governando outras experiências.",
          "en": "The visitor sees remote data, pagination and column structure emerge from the same source of truth that can govern other experiences."
        },
        "componentRoles": [
          {
            "component": "praxis-table",
            "jsonPath": "page.widgets[funcionariosTable].definition.inputs",
            "role": {
              "pt": "Materializa a coleção de funcionários, sua seleção e a navegação operacional sobre o recurso publicado.",
              "en": "Materializes the employee collection, its selection and operational navigation over the published resource."
            },
            "rationale": {
              "pt": "Concentra paginação, schema, colunas e eventos no componente proprietário, evitando uma tabela artesanal na rota.",
              "en": "Keeps pagination, schema, columns and events in the owning component instead of a route-specific table."
            }
          },
          {
            "component": "praxis-dynamic-page",
            "jsonPath": "page.widgets[funcionariosTable].shell",
            "role": {
              "pt": "Hospeda a tabela como uma superfície identificável e mantém seu evento rowClick disponível para composições futuras.",
              "en": "Hosts the table as an identifiable surface and keeps its rowClick event available for future compositions."
            },
            "rationale": {
              "pt": "Separa o enquadramento da página do contrato interno da tabela e permite evoluir o cenário sem trocar de documento.",
              "en": "Separates page framing from the table contract and lets the scenario evolve without replacing the document."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "page.widgets[funcionariosTable].definition.inputs.resourcePath",
            "title": {
              "pt": "Recurso canônico",
              "en": "Canonical resource"
            },
            "explanation": {
              "pt": "Identifica human-resources/funcionarios; schema, dados e capabilities continuam pertencendo à API.",
              "en": "Identifies human-resources/funcionarios; schema, data and capabilities remain owned by the API."
            }
          },
          {
            "jsonPath": "page.widgets[funcionariosTable].definition.inputs.tableId",
            "title": {
              "pt": "Identidade estável",
              "en": "Stable identity"
            },
            "explanation": {
              "pt": "Diferencia esta instância para persistência, observabilidade e autoria sem depender do título visível.",
              "en": "Distinguishes this instance for persistence, observability and authoring without relying on the visible title."
            }
          },
          {
            "jsonPath": "page.widgets[funcionariosTable].definition.inputs.config.toolbar",
            "title": {
              "pt": "Contexto da coleção",
              "en": "Collection context"
            },
            "explanation": {
              "pt": "Publica título e visibilidade da toolbar como configuração revisável, não como markup do host.",
              "en": "Publishes toolbar title and visibility as reviewable configuration rather than host markup."
            }
          },
          {
            "jsonPath": "page.widgets[funcionariosTable].definition.inputs.config.behavior.selection",
            "title": {
              "pt": "Seleção intencional",
              "en": "Intentional selection"
            },
            "explanation": {
              "pt": "Habilita seleção única porque o próximo passo natural é operar ou abrir um funcionário por vez.",
              "en": "Enables single selection because the natural next step is to operate on or open one employee at a time."
            }
          },
          {
            "jsonPath": "page.widgets[funcionariosTable].definition.outputs.rowClick",
            "title": {
              "pt": "Evento de composição",
              "en": "Composition event"
            },
            "explanation": {
              "pt": "Expõe a linha escolhida com proveniência para que outra superfície possa consumir o identificador por link explícito.",
              "en": "Exposes the chosen row with provenance so another surface can consume its identifier through an explicit link."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Em widgets[0].shell.title, troque “Funcionarios” por “Equipe” e clique em Atualizar prévia; somente a moldura local muda, sem salvar, publicar ou fazer deploy.",
            "en": "In widgets[0].shell.title, replace “Funcionarios” with “Team” and click Update preview; only the local shell changes, without saving, publishing, or deploying."
          },
          {
            "pt": "Troque widgets[0].shell.subtitle por uma descrição curta da equipe e compare o texto novo com o baseline usando Restaurar baseline.",
            "en": "Replace widgets[0].shell.subtitle with a short team description, then compare the new text with the baseline by using Restore baseline."
          },
          {
            "pt": "Em widgets[0].shell.icon, troque “table” por “groups” para representar a equipe sem alterar o componente ou seus dados.",
            "en": "In widgets[0].shell.icon, replace “table” with “groups” to represent the team without changing the component or its data."
          },
          {
            "pt": "Abra a variante master-detail e compare como o mesmo rowClick passa a alimentar uma segunda superfície declarativamente.",
            "en": "Open the master-detail variant and compare how the same rowClick declaratively feeds a second surface."
          }
        ],
        "productionNotes": [
          {
            "pt": "Não replique schema ou capabilities no JSON da página; a tabela deve resolvê-los pela identidade canônica do recurso.",
            "en": "Do not duplicate schema or capabilities in page JSON; the table must resolve them from canonical resource identity."
          },
          {
            "pt": "Seleção visual não concede autorização. Ações posteriores devem ser confirmadas pelo host e pelo backend no contexto atual.",
            "en": "Visual selection does not grant authorization. Subsequent actions must be confirmed by the host and backend in the current context."
          },
          {
            "pt": "tableId precisa permanecer estável quando houver preferências, telemetria ou autoria associadas à instância.",
            "en": "tableId must remain stable when preferences, telemetry or authoring are associated with the instance."
          }
        ]
      },
      "envelope": {
        "id": "funcionarios-table",
        "title": "Funcionarios - remote table",
        "summary": "Renders the published funcionarios contract as a remote table, proving that a real API can materialize a usable screen before any bespoke Angular page exists.",
        "component": "praxis-dynamic-page",
        "category": "minimum",
        "primaryComponent": "praxis-table",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "filter",
          "options",
          "capabilities",
          "remote-data"
        ],
        "tags": [
          "table",
          "remote",
          "schema-driven",
          "quickstart"
        ],
        "demonstrates": [
          "Remote table bootstrap from resourcePath",
          "Schema-driven columns from /schemas/filtered",
          "Remote filter endpoint data loading",
          "Row selection output exposed to Dynamic Page"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "remote-filter",
          "remote-options",
          "capabilities"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered",
          "POST /api/human-resources/funcionarios/filter",
          "GET /api/human-resources/funcionarios/capabilities",
          "POST /api/human-resources/cargos/options/filter",
          "POST /api/human-resources/departamentos/options/filter"
        ],
        "complexity": "basic",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-table-rendered",
            "quickstart-filter-response"
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.table.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "funcionariosTable",
              "shell": {
                "kind": "dashboard-card",
                "icon": "table",
                "title": "Funcionarios",
                "subtitle": "Remote schema-driven table"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath"
                ],
                "inputs": {
                  "resourcePath": "human-resources/funcionarios",
                  "tableId": "human-resources-funcionarios-table",
                  "aiContext": {
                    "navigationDestinations": {
                      "source": "landing-dynamic-page-route-catalog",
                      "destinations": [
                        {
                          "id": "funcionarios-ai-table-workspace",
                          "path": "/examples/dynamic-page/funcionarios-ai-table-workspace",
                          "label": "Workspace de IA de funcionários",
                          "description": "Abre o exemplo avançado com assistente, seleção, filtros, exportação e authoring da tabela de funcionários.",
                          "tags": [
                            "funcionarios",
                            "assistente",
                            "tabela",
                            "authoring"
                          ],
                          "materialized": true
                        },
                        {
                          "id": "funcionarios-actions-workspace",
                          "path": "/examples/dynamic-page/funcionarios-actions-workspace",
                          "label": "Ações de funcionários",
                          "description": "Abre o exemplo de ações e capacidades operacionais para funcionários.",
                          "tags": [
                            "funcionarios",
                            "acoes",
                            "global-actions"
                          ],
                          "materialized": true
                        },
                        {
                          "id": "funcionarios-master-detail",
                          "path": "/examples/dynamic-page/funcionarios-master-detail",
                          "label": "Funcionários com detalhe",
                          "description": "Abre o exemplo master-detail para consultar um funcionário e seu detalhe relacionado.",
                          "tags": [
                            "funcionarios",
                            "detalhe",
                            "master-detail"
                          ],
                          "materialized": true
                        }
                      ]
                    }
                  },
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Funcionarios"
                    },
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      }
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "funcionarios-rich-table-surface",
      "title": "Funcionarios - rich table surface",
      "summary": "Adds dense operational renderers and formatters over the same funcionarios resource, showing how presentation can evolve as metadata instead of another table fork.",
      "i18n": {
        "pt": {
          "title": "Funcionários - tabela operacional rica",
          "summary": "Evolui a mesma API de funcionários com renderers e formatadores operacionais, sem criar outro fork de tabela.",
          "demonstrates": [
            "Explore Funcionários - tabela operacional rica e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-table materializa human-resources/funcionarios com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Evolui a mesma API de funcionários com renderers e formatadores operacionais, sem criar outro fork de tabela.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas filtered e filter."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/funcionarios-rich-table-surface",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/funcionarios-rich-table-surface",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-table",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "filter",
        "options",
        "capabilities",
        "remote-data",
        "table.renderers",
        "table.formatters"
      ],
      "tags": [
        "table",
        "remote",
        "schema-driven",
        "renderers",
        "formatters",
        "quickstart"
      ],
      "demonstrates": [
        "Avatar and employee name composed in one schema-backed column",
        "Badge and chip rendering for business classifications",
        "Currency, date and status presentation alongside contact fields",
        "Field-keyed columnProjection overrides layered over /schemas/filtered metadata",
        "Selection state remains available for Dynamic Page composition"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "remote-filter",
        "remote-options",
        "capabilities",
        "table.renderers.avatar",
        "table.renderers.compose",
        "table.renderers.badge",
        "table.renderers.chip",
        "table.formatters.currency",
        "table.formatters.date",
        "table.conditional-renderers.status-badge"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered",
        "POST /api/human-resources/funcionarios/filter",
        "GET /api/human-resources/funcionarios/capabilities",
        "POST /api/human-resources/cargos/options/filter",
        "POST /api/human-resources/departamentos/options/filter"
      ],
      "complexity": "intermediate",
      "catalogRole": "runtime-widget",
      "learningStage": "base-components",
      "variantFamilyId": "employee-table-operations",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-table-rendered",
          "configured-renderer-columns",
          "quickstart-filter-response"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "filtered-schema-response-funcionarios",
          "funcionarios-filter-basic"
        ],
        "pendingHttpIds": [],
        "notes": [
          "Renderer and formatter behavior is expressed as field-keyed columnProjection overrides over the published funcionarios schema.",
          "Status is presented as a read-only badge because this example does not configure a backend mutation action.",
          "The public Quickstart uses synthetic demo records. In production, table config is not authorization: the host must enforce field-level access, data minimization, export controls and audit retention for salary, phone, email, birth date, marital status and any CPF exposed by the schema."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.rich-table-surface.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/funcionarios-rich-table-surface.json",
      "documentation": {
        "story": {
          "pt": "Depois de validar a tabela remota básica, a equipe de RH precisa transformar os mesmos registros em uma leitura operacional: reconhecer pessoas, cargo, departamento, remuneração e situação sem abrir cada linha.",
          "en": "After validating the basic remote table, HR needs to turn the same records into an operational reading: recognize people, role, department, compensation and status without opening every row."
        },
        "outcome": {
          "pt": "A mesma API ganha avatar, chips, badges e formatadores declarativos. A experiência fica mais expressiva sem criar outra tabela, copiar o schema ou transferir regras de negócio para a rota.",
          "en": "The same API gains avatars, chips, badges and declarative formatters. The experience becomes more expressive without creating another table, copying the schema or moving business rules into the route."
        },
        "componentRoles": [
          {
            "component": "praxis-table",
            "jsonPath": "page.widgets[funcionariosRichTable].definition.inputs",
            "role": {
              "pt": "Materializa o recurso de funcionários com colunas especializadas, seleção e eventos de linha.",
              "en": "Materializes the employee resource with specialized columns, selection and row events."
            },
            "rationale": {
              "pt": "Mantém carregamento, ordenação, apresentação e interação no componente proprietário, em vez de criar células no template da rota.",
              "en": "Keeps loading, sorting, presentation and interaction in the owning component instead of creating cells in the route template."
            }
          },
          {
            "component": "praxis-dynamic-page",
            "jsonPath": "page.widgets[funcionariosRichTable]",
            "role": {
              "pt": "Enquadra a tabela como uma superfície oficial que pode evoluir e participar de composições.",
              "en": "Frames the table as an official surface that can evolve and participate in compositions."
            },
            "rationale": {
              "pt": "Preserva identidade e layout da página sem absorver o contrato de renderização das colunas.",
              "en": "Preserves page identity and layout without absorbing the column-rendering contract."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.resourcePath",
            "title": {
              "pt": "Mesmo recurso, outra leitura",
              "en": "Same resource, different reading"
            },
            "explanation": {
              "pt": "Mantém human-resources/funcionarios como fonte canônica; riqueza visual não cria uma segunda origem de dados.",
              "en": "Keeps human-resources/funcionarios as the canonical source; visual richness does not create a second data origin."
            }
          },
          {
            "jsonPath": "definition.inputs.config.columns[]",
            "title": {
              "pt": "Seleção editorial de colunas",
              "en": "Editorial column selection"
            },
            "explanation": {
              "pt": "Escolhe os campos necessários à leitura operacional e mantém seus identificadores ligados às propriedades publicadas.",
              "en": "Selects the fields needed for operational reading and keeps their identifiers tied to published properties."
            }
          },
          {
            "jsonPath": "definition.inputs.config.columns[].renderer",
            "title": {
              "pt": "Renderers declarativos",
              "en": "Declarative renderers"
            },
            "explanation": {
              "pt": "Avatar, chip e badge comunicam identidade e classificação sem markup específico por coluna.",
              "en": "Avatar, chip and badge communicate identity and classification without column-specific markup."
            }
          },
          {
            "jsonPath": "definition.inputs.config.behavior.selection",
            "title": {
              "pt": "Seleção com propósito",
              "en": "Purposeful selection"
            },
            "explanation": {
              "pt": "Configura como registros podem ser escolhidos para uma ação ou composição posterior.",
              "en": "Configures how records can be selected for a later action or composition."
            }
          },
          {
            "jsonPath": "definition.outputs.rowClick + selectionChange",
            "title": {
              "pt": "Eventos observáveis",
              "en": "Observable events"
            },
            "explanation": {
              "pt": "Publica clique e mudança de seleção com proveniência, sem executar decisões de negócio localmente.",
              "en": "Publishes click and selection changes with provenance without executing business decisions locally."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Compare esta variante com funcionarios-table e identifique exatamente quais mudanças pertencem a columns e quais permanecem no recurso.",
            "en": "Compare this variant with funcionarios-table and identify exactly which changes belong to columns and which remain in the resource."
          },
          {
            "pt": "Troque o renderer de departamento entre badge e texto e avalie legibilidade, densidade e acessibilidade sem alterar o valor.",
            "en": "Switch the department renderer between badge and text and assess readability, density and accessibility without changing the value."
          },
          {
            "pt": "Remova uma coluna de baixa prioridade e teste a leitura em viewport estreito antes de reduzir tipografia ou truncar conteúdo essencial.",
            "en": "Remove a low-priority column and test narrow-viewport reading before shrinking typography or truncating essential content."
          }
        ],
        "productionNotes": [
          {
            "pt": "Renderers apresentam valores; não devem inferir status, autorização ou regra de domínio a partir de cor ou label.",
            "en": "Renderers present values; they must not infer status, authorization or domain rules from color or labels."
          },
          {
            "pt": "Campos sensíveis como salário exigem schema filtrado, capabilities e autorização coerentes com a pessoa usuária atual.",
            "en": "Sensitive fields such as compensation require filtered schema, capabilities and authorization aligned with the current user."
          },
          {
            "pt": "tableId e column ids devem permanecer estáveis para preferências, telemetria e autoria do componente.",
            "en": "tableId and column ids must remain stable for component preferences, telemetry and authoring."
          }
        ]
      },
      "envelope": {
        "id": "funcionarios-rich-table-surface",
        "title": "Funcionarios - rich table surface",
        "summary": "Adds dense operational renderers and formatters over the same funcionarios resource, showing how presentation can evolve as metadata instead of another table fork.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-table",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "filter",
          "options",
          "capabilities",
          "remote-data",
          "table.renderers",
          "table.formatters"
        ],
        "tags": [
          "table",
          "remote",
          "schema-driven",
          "renderers",
          "formatters",
          "quickstart"
        ],
        "demonstrates": [
          "Avatar and employee name composed in one schema-backed column",
          "Badge and chip rendering for business classifications",
          "Currency, date and status presentation alongside contact fields",
          "Field-keyed columnProjection overrides layered over /schemas/filtered metadata",
          "Selection state remains available for Dynamic Page composition"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "remote-filter",
          "remote-options",
          "capabilities",
          "table.renderers.avatar",
          "table.renderers.compose",
          "table.renderers.badge",
          "table.renderers.chip",
          "table.formatters.currency",
          "table.formatters.date",
          "table.conditional-renderers.status-badge"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered",
          "POST /api/human-resources/funcionarios/filter",
          "GET /api/human-resources/funcionarios/capabilities",
          "POST /api/human-resources/cargos/options/filter",
          "POST /api/human-resources/departamentos/options/filter"
        ],
        "complexity": "intermediate",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-table-rendered",
            "configured-renderer-columns",
            "quickstart-filter-response"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "filtered-schema-response-funcionarios",
            "funcionarios-filter-basic"
          ],
          "pendingHttpIds": [],
          "notes": [
            "Renderer and formatter behavior is expressed as field-keyed columnProjection overrides over the published funcionarios schema.",
            "Status is presented as a read-only badge because this example does not configure a backend mutation action.",
            "The public Quickstart uses synthetic demo records. In production, table config is not authorization: the host must enforce field-level access, data minimization, export controls and audit retention for salary, phone, email, birth date, marital status and any CPF exposed by the schema."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.rich-table-surface.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "funcionariosRichTable",
              "shell": {
                "kind": "dashboard-card",
                "icon": "table",
                "title": "Funcionarios rich surface",
                "subtitle": "Renderers, formatters and dense business columns"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath"
                ],
                "inputs": {
                  "resourcePath": "human-resources/funcionarios",
                  "tableId": "human-resources-funcionarios-rich-surface",
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Funcionarios",
                      "subtitle": "Rich metadata-driven employee surface"
                    },
                    "columns": [],
                    "columnProjection": {
                      "source": "schema",
                      "include": [
                        "nomeCompleto",
                        "email",
                        "telefone",
                        "salario",
                        "cargoNome",
                        "departamentoNome",
                        "estadoCivil",
                        "dataAdmissao",
                        "dataNascimento",
                        "ativo"
                      ],
                      "overrides": {
                        "nomeCompleto": {
                          "header": "Nome Completo",
                          "sticky": "start",
                          "width": "260px",
                          "renderer": {
                            "type": "compose",
                            "compose": {
                              "items": [
                                {
                                  "type": "avatar",
                                  "avatar": {
                                    "srcField": "avatarUrl",
                                    "altField": "nomeCompleto",
                                    "initialsField": "nomeCompleto",
                                    "shape": "circle",
                                    "size": 36
                                  }
                                },
                                {
                                  "type": "value",
                                  "field": "nomeCompleto"
                                }
                              ],
                              "layout": {
                                "direction": "row",
                                "align": "center",
                                "gap": 10
                              }
                            }
                          }
                        },
                        "email": {
                          "header": "Email",
                          "width": "260px"
                        },
                        "telefone": {
                          "header": "Telefone",
                          "width": "160px"
                        },
                        "salario": {
                          "header": "Salario",
                          "type": "currency",
                          "align": "end",
                          "format": "BRL|symbol|2",
                          "width": "150px"
                        },
                        "cargoNome": {
                          "header": "Cargo",
                          "renderer": {
                            "type": "chip",
                            "chip": {
                              "textField": "cargoNome",
                              "variant": "outlined",
                              "color": "primary"
                            }
                          },
                          "width": "190px"
                        },
                        "departamentoNome": {
                          "header": "Departamento",
                          "renderer": {
                            "type": "badge",
                            "badge": {
                              "textField": "departamentoNome",
                              "variant": "soft",
                              "color": "accent"
                            }
                          },
                          "width": "180px"
                        },
                        "estadoCivil": {
                          "header": "Estado Civil",
                          "renderer": {
                            "type": "badge",
                            "badge": {
                              "textField": "estadoCivil",
                              "variant": "outlined",
                              "color": "primary"
                            }
                          },
                          "width": "150px"
                        },
                        "dataAdmissao": {
                          "header": "Data de Admissao",
                          "format": "dd/MM/yyyy",
                          "width": "170px"
                        },
                        "dataNascimento": {
                          "header": "Data de Nascimento",
                          "format": "dd/MM/yyyy",
                          "width": "190px"
                        },
                        "ativo": {
                          "header": "Status",
                          "align": "center",
                          "format": "active-inactive",
                          "width": "130px",
                          "conditionalRenderers": [
                            {
                              "id": "status-ativo",
                              "condition": {
                                "==": [
                                  {
                                    "var": "ativo"
                                  },
                                  true
                                ]
                              },
                              "renderer": {
                                "type": "badge",
                                "badge": {
                                  "text": "Ativo",
                                  "color": "success",
                                  "variant": "filled",
                                  "icon": "check_circle"
                                }
                              }
                            },
                            {
                              "id": "status-inativo",
                              "condition": {
                                "==": [
                                  {
                                    "var": "ativo"
                                  },
                                  false
                                ]
                              },
                              "renderer": {
                                "type": "badge",
                                "badge": {
                                  "text": "Inativo",
                                  "color": "warn",
                                  "variant": "outlined",
                                  "icon": "block"
                                }
                              }
                            }
                          ]
                        }
                      }
                    },
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "multiple"
                      },
                      "density": "compact"
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "selectionChange": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "remote-mission-participant-list",
      "title": "Missions - participant list smoke fixture",
      "summary": "Loads mission participants into Praxis List with the remote resourcePath declared and a deterministic smoke fixture for visual QA.",
      "i18n": {
        "pt": {
          "title": "Missões - lista de participantes (smoke visual)",
          "summary": "Mantém uma fixture determinística de participantes de missão para QA visual enquanto preserva o resourcePath remoto no contrato.",
          "demonstrates": [
            "Explore Missões - lista de participantes (smoke visual) e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-list materializa operations/missao-participantes com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Mantém uma fixture determinística de participantes de missão para QA visual enquanto preserva o resourcePath remoto no contrato.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, praxis-list.dataSource.resourcePath, GenericCrudService.filter.",
            "Verifique a conexão com as evidências canônicas filter&operation=post&schemaType=request e filter."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/remote-mission-participant-list",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/remote-mission-participant-list",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-list",
      "resourcePath": "operations/missao-participantes",
      "resourceKey": "operations.missao-participantes",
      "requires": [
        "praxis-list.config",
        "dataSource.resourcePath",
        "filter",
        "remote-data",
        "list.selection",
        "list.actions",
        "hateoas.links",
        "smoke-fixture"
      ],
      "tags": [
        "list",
        "remote-data",
        "missions",
        "participants",
        "resourcePath",
        "quickstart",
        "ai-recipe"
      ],
      "demonstrates": [
        "List resourcePath remains declared while dataSource.data supplies stable rows for smoke validation",
        "Deterministic smoke fixture keeps this route inspectable when the public quickstart API returns no rows",
        "Published quickstart filter endpoint feeding the runtime with pageable data",
        "Template slots mapped to relational DTO fields: funcionario, missao, papel and resultado",
        "Selection and item actions emitted from a remote resource item",
        "HATEOAS links available on each loaded participant for surfaces and capabilities"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "praxis-list.dataSource.resourcePath",
        "GenericCrudService.filter",
        "praxis-list.remote-pagination",
        "praxis-list.templating",
        "praxis-list.selectionChange",
        "praxis-list.actionClick",
        "quickstart-hateoas-links"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered?path=/api/operations/missao-participantes/filter&operation=post&schemaType=request",
        "POST /api/operations/missao-participantes/filter",
        "GET /api/operations/missao-participantes/capabilities",
        "GET /api/operations/missao-participantes/{id}/surfaces",
        "GET /api/operations/missao-participantes/{id}/capabilities"
      ],
      "complexity": "intermediate",
      "catalogRole": "runtime-widget",
      "learningStage": "base-components",
      "variantFamilyId": "mission-participant-lists",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-list-rendered",
          "remote-resourcePath-declared",
          "deterministic-smoke-fixture",
          "mission-participants-loaded"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example keeps the remote resourcePath declared, but includes dataSource.data as a deterministic smoke fixture for browser QA.",
          "Use the live remote participant list variant to exercise the quickstart filter end to end without fixture data.",
          "The quickstart response includes per-item HATEOAS links, so agents can discover follow-up surfaces and capabilities from selected rows."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-list.json",
        "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/operations/controller/MissaoParticipanteController.java"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/remote-mission-participant-list.json",
      "documentation": {
        "story": {
          "pt": "Uma equipe de produto precisa revisar visualmente uma lista rica de participantes mesmo quando a API de demonstração está indisponível. O cenário fixa uma amostra fiel e preserva a identidade do recurso remoto para separar QA visual de prova de integração.",
          "en": "A product team needs to review a rich participant list even when the demo API is unavailable. The scenario pins a faithful sample while preserving remote resource identity to separate visual QA from integration proof."
        },
        "outcome": {
          "pt": "Seleção, expansão, templates e ações HATEOAS permanecem exploráveis de forma determinística. O visitante consegue comparar o desenho da experiência com a variante live sem confundir fixture com dado operacional.",
          "en": "Selection, expansion, templates and HATEOAS actions remain deterministically explorable. Visitors can compare the experience design with the live variant without confusing a fixture with operational data."
        },
        "componentRoles": [
          {
            "component": "praxis-list",
            "jsonPath": "page.widgets[remoteMissionParticipantList].definition.inputs.config",
            "role": {
              "pt": "Materializa participantes com seleção múltipla, slots de template, expansão e ações por item.",
              "en": "Materializes participants with multiple selection, template slots, expansion and item actions."
            },
            "rationale": {
              "pt": "Reúne capacidades de coleção em um contrato inspecionável e evita uma lista visual artesanal para QA.",
              "en": "Brings collection capabilities into an inspectable contract and avoids a handcrafted visual list for QA."
            }
          },
          {
            "component": "praxis-rich-content",
            "jsonPath": "definition.inputs.config.expansion.sections[mission-participant-detail].document",
            "role": {
              "pt": "Apresenta relacionamento e contexto governado dentro da expansão do item.",
              "en": "Presents relationship and governed context inside item expansion."
            },
            "rationale": {
              "pt": "Mantém o detalhe editorial estruturado e portátil, sem concatenar HTML ou JSON bruto na linha.",
              "en": "Keeps editorial detail structured and portable instead of concatenating raw HTML or JSON in the row."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.config.dataSource.data",
            "title": {
              "pt": "Fixture declarada",
              "en": "Declared fixture"
            },
            "explanation": {
              "pt": "Fixa cinco participantes para tornar QA visual e interação determinísticos; não representa leitura live.",
              "en": "Pins five participants to make visual QA and interaction deterministic; it does not represent a live read."
            }
          },
          {
            "jsonPath": "definition.inputs.config.dataSource.resourcePath",
            "title": {
              "pt": "Identidade preservada",
              "en": "Preserved identity"
            },
            "explanation": {
              "pt": "Mantém operations/missao-participantes visível para relacionar a fixture ao contrato que ela imita.",
              "en": "Keeps operations/missao-participantes visible to relate the fixture to the contract it mirrors."
            }
          },
          {
            "jsonPath": "definition.inputs.config.selection",
            "title": {
              "pt": "Seleção estável",
              "en": "Stable selection"
            },
            "explanation": {
              "pt": "Compara por funcionarioId e retorna id, explicitando identidade visual e payload de seleção.",
              "en": "Compares by funcionarioId and returns id, making visual identity and selection payload explicit."
            }
          },
          {
            "jsonPath": "definition.inputs.config.templating",
            "title": {
              "pt": "Anatomia da linha",
              "en": "Row anatomy"
            },
            "explanation": {
              "pt": "Distribui nome, missão, papel, resultado e identificadores em slots declarativos.",
              "en": "Distributes name, mission, role, result and identifiers through declarative slots."
            }
          },
          {
            "jsonPath": "definition.inputs.config.expansion + actions",
            "title": {
              "pt": "Detalhe e intenção",
              "en": "Detail and intent"
            },
            "explanation": {
              "pt": "Expõe contexto HATEOAS e surface.open sem converter links exibidos em autorização ou execução automática.",
              "en": "Exposes HATEOAS context and surface.open without turning displayed links into authorization or automatic execution."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Selecione dois participantes e inspecione o payload emitido para distinguir compareBy do valor retornado.",
            "en": "Select two participants and inspect the emitted payload to distinguish compareBy from the returned value."
          },
          {
            "pt": "Expanda itens diferentes com expandMode single e depois multiple para comparar foco e densidade.",
            "en": "Expand different items with expandMode single and then multiple to compare focus and density."
          },
          {
            "pt": "Abra a variante live e compare somente dataSource, preservando layout, templates e ações para isolar a prova de rede.",
            "en": "Open the live variant and compare only dataSource while preserving layout, templates and actions to isolate the network proof."
          }
        ],
        "productionNotes": [
          {
            "pt": "A presença de resourcePath ao lado de data não transforma a fixture em resposta remota; documentação e testes devem manter essa distinção explícita.",
            "en": "The presence of resourcePath beside data does not turn the fixture into a remote response; documentation and tests must keep that distinction explicit."
          },
          {
            "pt": "Links HATEOAS da amostra ilustram o contrato, mas o host precisa revalidar capabilities no contexto autenticado antes de agir.",
            "en": "Fixture HATEOAS links illustrate the contract, but the host must revalidate capabilities in authenticated context before acting."
          },
          {
            "pt": "Dados fixos não devem ser usados para demonstrar disponibilidade, paginação ou atualidade operacional do backend.",
            "en": "Pinned data must not be used to demonstrate backend availability, pagination or operational freshness."
          }
        ]
      },
      "envelope": {
        "id": "remote-mission-participant-list",
        "title": "Missions - participant list smoke fixture",
        "summary": "Loads mission participants into Praxis List with the remote resourcePath declared and a deterministic smoke fixture for visual QA.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-list",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/list"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/missao-participantes",
          "resourceKey": "operations.missao-participantes"
        },
        "requires": [
          "praxis-list.config",
          "dataSource.resourcePath",
          "filter",
          "remote-data",
          "list.selection",
          "list.actions",
          "hateoas.links",
          "smoke-fixture"
        ],
        "tags": [
          "list",
          "remote-data",
          "missions",
          "participants",
          "resourcePath",
          "quickstart",
          "ai-recipe"
        ],
        "demonstrates": [
          "List resourcePath remains declared while dataSource.data supplies stable rows for smoke validation",
          "Deterministic smoke fixture keeps this route inspectable when the public quickstart API returns no rows",
          "Published quickstart filter endpoint feeding the runtime with pageable data",
          "Template slots mapped to relational DTO fields: funcionario, missao, papel and resultado",
          "Selection and item actions emitted from a remote resource item",
          "HATEOAS links available on each loaded participant for surfaces and capabilities"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "praxis-list.dataSource.resourcePath",
          "GenericCrudService.filter",
          "praxis-list.remote-pagination",
          "praxis-list.templating",
          "praxis-list.selectionChange",
          "praxis-list.actionClick",
          "quickstart-hateoas-links"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered?path=/api/operations/missao-participantes/filter&operation=post&schemaType=request",
          "POST /api/operations/missao-participantes/filter",
          "GET /api/operations/missao-participantes/capabilities",
          "GET /api/operations/missao-participantes/{id}/surfaces",
          "GET /api/operations/missao-participantes/{id}/capabilities"
        ],
        "complexity": "intermediate",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-list-rendered",
            "remote-resourcePath-declared",
            "deterministic-smoke-fixture",
            "mission-participants-loaded"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example keeps the remote resourcePath declared, but includes dataSource.data as a deterministic smoke fixture for browser QA.",
            "Use the live remote participant list variant to exercise the quickstart filter end to end without fixture data.",
            "The quickstart response includes per-item HATEOAS links, so agents can discover follow-up surfaces and capabilities from selected rows."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-list.json",
          "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/operations/controller/MissaoParticipanteController.java"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "remoteMissionParticipantList",
              "shell": {
                "kind": "dashboard-card",
                "icon": "groups",
                "title": "Mission participants",
                "subtitle": "Visual smoke fixture with the remote resourcePath still declared"
              },
              "definition": {
                "id": "praxis-list",
                "bindingOrder": [
                  "listId",
                  "config"
                ],
                "inputs": {
                  "listId": "remote-mission-participant-list",
                  "componentInstanceId": "dynamic-page-showcase",
                  "config": {
                    "id": "remote-mission-participant-list-config",
                    "dataSource": {
                      "data": [
                        {
                          "id": 1,
                          "funcionarioId": 101,
                          "funcionarioNome": "Tony Stark",
                          "missaoId": 1,
                          "missaoTitulo": "Batalha de Nova York",
                          "papel": "LIDER",
                          "resultado": "OK",
                          "_links": {
                            "self": {
                              "href": "https://praxis-api-quickstart.onrender.com/api/operations/missao-participantes/1"
                            },
                            "surfaces": {
                              "href": "https://praxis-api-quickstart.onrender.com/api/operations/missao-participantes/1/surfaces"
                            },
                            "capabilities": {
                              "href": "https://praxis-api-quickstart.onrender.com/api/operations/missao-participantes/1/capabilities"
                            }
                          }
                        },
                        {
                          "id": 2,
                          "funcionarioId": 102,
                          "funcionarioNome": "Steve Rogers",
                          "missaoId": 1,
                          "missaoTitulo": "Batalha de Nova York",
                          "papel": "COMBATE",
                          "resultado": "OK",
                          "_links": {
                            "self": {
                              "href": "https://praxis-api-quickstart.onrender.com/api/operations/missao-participantes/2"
                            },
                            "surfaces": {
                              "href": "https://praxis-api-quickstart.onrender.com/api/operations/missao-participantes/2/surfaces"
                            },
                            "capabilities": {
                              "href": "https://praxis-api-quickstart.onrender.com/api/operations/missao-participantes/2/capabilities"
                            }
                          }
                        },
                        {
                          "id": 3,
                          "funcionarioId": 103,
                          "funcionarioNome": "Bruce Banner",
                          "missaoId": 1,
                          "missaoTitulo": "Batalha de Nova York",
                          "papel": "SUPORTE",
                          "resultado": "OK",
                          "_links": {
                            "self": {
                              "href": "https://praxis-api-quickstart.onrender.com/api/operations/missao-participantes/3"
                            },
                            "surfaces": {
                              "href": "https://praxis-api-quickstart.onrender.com/api/operations/missao-participantes/3/surfaces"
                            },
                            "capabilities": {
                              "href": "https://praxis-api-quickstart.onrender.com/api/operations/missao-participantes/3/capabilities"
                            }
                          }
                        },
                        {
                          "id": 4,
                          "funcionarioId": 104,
                          "funcionarioNome": "Carol Danvers",
                          "missaoId": 1,
                          "missaoTitulo": "Batalha de Nova York",
                          "papel": "SUPORTE",
                          "resultado": "NA",
                          "_links": {
                            "self": {
                              "href": "https://praxis-api-quickstart.onrender.com/api/operations/missao-participantes/4"
                            },
                            "surfaces": {
                              "href": "https://praxis-api-quickstart.onrender.com/api/operations/missao-participantes/4/surfaces"
                            },
                            "capabilities": {
                              "href": "https://praxis-api-quickstart.onrender.com/api/operations/missao-participantes/4/capabilities"
                            }
                          }
                        },
                        {
                          "id": 5,
                          "funcionarioId": 105,
                          "funcionarioNome": "Peter Parker",
                          "missaoId": 2,
                          "missaoTitulo": "Ataque do Duende",
                          "papel": "LIDER",
                          "resultado": "OK",
                          "_links": {
                            "self": {
                              "href": "https://praxis-api-quickstart.onrender.com/api/operations/missao-participantes/5"
                            },
                            "surfaces": {
                              "href": "https://praxis-api-quickstart.onrender.com/api/operations/missao-participantes/5/surfaces"
                            },
                            "capabilities": {
                              "href": "https://praxis-api-quickstart.onrender.com/api/operations/missao-participantes/5/capabilities"
                            }
                          }
                        }
                      ],
                      "resourcePath": "operations/missao-participantes",
                      "query": {},
                      "sort": [
                        "ordem,asc"
                      ]
                    },
                    "layout": {
                      "variant": "list",
                      "density": "comfortable",
                      "lines": 3,
                      "dividers": "between",
                      "pageSize": 8,
                      "rowLayout": {
                        "type": "grid",
                        "columns": [
                          {
                            "slot": "leading",
                            "width": "44px",
                            "align": "center"
                          },
                          {
                            "slot": "primary",
                            "width": "minmax(180px, 1fr)"
                          },
                          {
                            "slot": "secondary",
                            "width": "minmax(220px, 1.2fr)"
                          },
                          {
                            "slot": "meta",
                            "width": "140px",
                            "align": "center"
                          },
                          {
                            "slot": "trailing",
                            "width": "120px",
                            "align": "center"
                          },
                          {
                            "slot": "actions",
                            "width": "92px",
                            "align": "end"
                          }
                        ],
                        "gap": "12px",
                        "align": "center"
                      }
                    },
                    "skin": {
                      "type": "outline",
                      "radius": "8px",
                      "border": "1px solid rgba(20, 184, 166, 0.32)"
                    },
                    "selection": {
                      "mode": "multiple",
                      "compareBy": "funcionarioId",
                      "return": "id"
                    },
                    "interaction": {
                      "expandable": true,
                      "expandTrigger": "icon",
                      "expandMode": "single",
                      "expandPlacement": "actions"
                    },
                    "templating": {
                      "leading": {
                        "type": "icon",
                        "expr": "groups"
                      },
                      "primary": {
                        "type": "text",
                        "expr": "${item.funcionarioNome}"
                      },
                      "secondary": {
                        "type": "text",
                        "expr": "${item.missaoTitulo}"
                      },
                      "meta": {
                        "type": "chip",
                        "expr": "${item.papel}",
                        "variant": "outlined"
                      },
                      "trailing": {
                        "type": "chip",
                        "expr": "${item.resultado}",
                        "variant": "filled"
                      },
                      "features": [
                        {
                          "type": "chip",
                          "expr": "missao #${item.missaoId}",
                          "variant": "outlined"
                        },
                        {
                          "type": "chip",
                          "expr": "funcionario #${item.funcionarioId}",
                          "variant": "outlined"
                        }
                      ],
                      "featuresMode": "labels-only",
                      "emptyState": {
                        "type": "text",
                        "expr": "No mission participants returned by the quickstart filter."
                      }
                    },
                    "expansion": {
                      "sections": [
                        {
                          "id": "mission-participant-detail",
                          "title": "Mission participant detail",
                          "type": "rich-content",
                          "document": {
                            "kind": "praxis.rich-content",
                            "version": "1.0.0",
                            "nodes": [
                              {
                                "id": "relationship-summary",
                                "type": "propertySheet",
                                "title": "Relationship",
                                "columns": 2,
                                "items": [
                                  {
                                    "id": "participant",
                                    "label": "Participant",
                                    "valueExpr": "${item.funcionarioNome}",
                                    "icon": "person"
                                  },
                                  {
                                    "id": "mission",
                                    "label": "Mission",
                                    "valueExpr": "${item.missaoTitulo}",
                                    "icon": "flag"
                                  },
                                  {
                                    "id": "role",
                                    "label": "Role",
                                    "valueExpr": "${item.papel}",
                                    "icon": "military_tech",
                                    "tone": "info"
                                  },
                                  {
                                    "id": "result",
                                    "label": "Result",
                                    "valueExpr": "${item.resultado}",
                                    "icon": "verified",
                                    "tone": "success"
                                  }
                                ]
                              },
                              {
                                "id": "hateoas-actions",
                                "type": "actionCard",
                                "title": "Governed API context",
                                "subtitle": "HATEOAS links are available for this item without exposing raw JSON in the UI.",
                                "message": "Use the list actions to inspect surfaces or capabilities from the same canonical resource.",
                                "icon": "hub",
                                "ctaLabel": "Inspect capabilities",
                                "ctaIcon": "bolt",
                                "variant": "stroked",
                                "color": "primary",
                                "action": {
                                  "actionId": "missionParticipant.inspectCapabilities",
                                  "payloadExpr": "${item._links.capabilities.href}"
                                }
                              }
                            ]
                          }
                        }
                      ],
                      "rendering": {
                        "shell": "attached",
                        "columns": 1,
                        "gap": "12px",
                        "padding": "12px"
                      }
                    },
                    "actions": [
                      {
                        "id": "open-participant-surfaces",
                        "icon": "layers",
                        "label": "Surfaces",
                        "kind": "icon",
                        "globalAction": {
                          "actionId": "surface.open",
                          "payload": {
                            "presentation": "modal",
                            "title": "Participant surfaces",
                            "icon": "layers",
                            "subtitle": "Governed follow-up surfaces for the selected participant",
                            "size": {
                              "width": "720px",
                              "maxWidth": "90vw"
                            },
                            "widget": {
                              "id": "widget:rich-text-block",
                              "inputs": {
                                "title": "Published surfaces for ${item.funcionarioNome}",
                                "content": "The selected participant belongs to ${item.missaoTitulo}. Surface actions should open governed runtime projections instead of leaving row buttons as inert local events. Capability link: ${item._links.capabilities.href}",
                                "variant": "emphasis"
                              }
                            }
                          }
                        },
                        "emitLocal": false,
                        "showLoading": true,
                        "placement": "actions"
                      },
                      {
                        "id": "inspect-participant-capabilities",
                        "icon": "bolt",
                        "label": "Capabilities",
                        "kind": "icon",
                        "globalAction": {
                          "actionId": "surface.open",
                          "payload": {
                            "presentation": "modal",
                            "title": "Participant capabilities",
                            "icon": "bolt",
                            "subtitle": "Canonical capabilities entrypoint for the selected participant",
                            "size": {
                              "width": "720px",
                              "maxWidth": "90vw"
                            },
                            "widget": {
                              "id": "widget:rich-text-block",
                              "inputs": {
                                "title": "Capabilities for ${item.funcionarioNome}",
                                "content": "Use the canonical HATEOAS capabilities link to inspect the operations available for this participant: ${item._links.capabilities.href}. The list action is executed through surface.open, so the runtime gives immediate feedback without host-local action glue.",
                                "variant": "emphasis"
                              }
                            }
                          }
                        },
                        "emitLocal": false,
                        "showLoading": true,
                        "placement": "actions"
                      }
                    ],
                    "ui": {
                      "showSearch": false,
                      "showSort": true,
                      "sortOptions": [
                        {
                          "label": "ID",
                          "value": "id,asc"
                        },
                        {
                          "label": "Role",
                          "value": "papel,asc"
                        }
                      ],
                      "showRange": true
                    },
                    "a11y": {
                      "ariaLabel": "Remote mission participants list"
                    }
                  }
                },
                "outputs": {
                  "itemClick": "emit",
                  "actionClick": "emit",
                  "selectionChange": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "remote-mission-participant-list-live",
      "title": "Missions - live remote participant list",
      "summary": "Loads mission participants through Praxis List using only dataSource.resourcePath, proving the live quickstart filter path without a visual smoke fixture.",
      "i18n": {
        "pt": {
          "title": "Missões - lista remota live de participantes",
          "summary": "Carrega participantes de missão somente via resourcePath remoto, sem fixture local, para provar a integração viva com o quickstart.",
          "demonstrates": [
            "Explore Missões - lista remota live de participantes e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-list materializa operations/missao-participantes com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Carrega participantes de missão somente via resourcePath remoto, sem fixture local, para provar a integração viva com o quickstart.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, praxis-list.dataSource.resourcePath, GenericCrudService.filter.",
            "Verifique a conexão com as evidências canônicas filter&operation=post&schemaType=request e filter."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/remote-mission-participant-list-live",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/remote-mission-participant-list-live",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-list",
      "resourcePath": "operations/missao-participantes",
      "resourceKey": "operations.missao-participantes",
      "requires": [
        "praxis-list.config",
        "dataSource.resourcePath",
        "filter",
        "remote-data",
        "list.selection",
        "list.actions",
        "hateoas.links"
      ],
      "tags": [
        "list",
        "remote-data",
        "missions",
        "participants",
        "resourcePath",
        "quickstart",
        "ai-recipe",
        "live-api"
      ],
      "demonstrates": [
        "Praxis List delegates loading to GenericCrudService through dataSource.resourcePath",
        "No dataSource.data fixture is present, so remote filter behavior is the evidence under test",
        "Template slots map relational DTO fields: funcionario, missao, papel and resultado",
        "Selection and item actions are emitted from backend-returned resource items",
        "HATEOAS links from the quickstart response drive surfaces and capabilities follow-up"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "praxis-list.dataSource.resourcePath",
        "GenericCrudService.filter",
        "praxis-list.remote-pagination",
        "praxis-list.templating",
        "praxis-list.selectionChange",
        "praxis-list.actionClick",
        "quickstart-hateoas-links"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered?path=/api/operations/missao-participantes/filter&operation=post&schemaType=request",
        "POST /api/operations/missao-participantes/filter",
        "GET /api/operations/missao-participantes/capabilities",
        "GET /api/operations/missao-participantes/{id}/surfaces",
        "GET /api/operations/missao-participantes/{id}/capabilities"
      ],
      "complexity": "intermediate",
      "catalogRole": "runtime-widget",
      "learningStage": "base-components",
      "variantFamilyId": "mission-participant-lists",
      "validation": {
        "level": "http-smoke",
        "checks": [
          "json-envelope",
          "remote-resourcePath-only",
          "praxis-list-rendered",
          "quickstart-filter-invoked",
          "mission-participants-loaded-from-backend"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "missao-participantes-filter-basic"
        ],
        "pendingHttpIds": [],
        "notes": [
          "This variant intentionally omits dataSource.data so dataSource.resourcePath is the only source of rows.",
          "Use this example when the goal is proving the live quickstart integration rather than deterministic visual QA.",
          "If the public quickstart returns no rows or is unavailable, use the smoke fixture variant for visual regression checks."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.remote-list.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-list.json",
        "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/operations/controller/MissaoParticipanteController.java"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/remote-mission-participant-list-live.json",
      "documentation": {
        "story": {
          "pt": "Com a experiência visual aprovada, a equipe precisa provar que a mesma Praxis List carrega participantes diretamente do Quickstart, mantendo paginação, ordenação e links publicados pelo recurso.",
          "en": "With the visual experience approved, the team must prove that the same Praxis List loads participants directly from Quickstart while preserving pagination, sorting and links published by the resource."
        },
        "outcome": {
          "pt": "A lista materializa a resposta remota sem fallback local. Estados de carregamento, vazio ou falha passam a representar a integração real, enquanto templates e ações continuam declarados no documento.",
          "en": "The list materializes the remote response without a local fallback. Loading, empty and failure states now represent the real integration while templates and actions remain declared in the document."
        },
        "componentRoles": [
          {
            "component": "praxis-list",
            "jsonPath": "page.widgets[remoteMissionParticipantList].definition.inputs.config",
            "role": {
              "pt": "Resolve a coleção remota e mantém a mesma apresentação, seleção, expansão e ações da variante de QA.",
              "en": "Resolves the remote collection while preserving the QA variant presentation, selection, expansion and actions."
            },
            "rationale": {
              "pt": "Prova integração real sem criar um componente ou template alternativo para o modo live.",
              "en": "Proves real integration without creating an alternate component or template for live mode."
            }
          },
          {
            "component": "praxis-dynamic-page",
            "jsonPath": "page.widgets[remoteMissionParticipantList]",
            "role": {
              "pt": "Hospeda a prova remota e torna seus estados de materialização observáveis no documento.",
              "en": "Hosts the remote proof and makes its materialization states observable in the document."
            },
            "rationale": {
              "pt": "Permite comparar a mesma superfície em execução pública sem esconder carregamento ou falha na rota.",
              "en": "Allows comparison of the same public runtime surface without hiding loading or failure in the route."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.config.dataSource.resourcePath",
            "title": {
              "pt": "Leitura remota exclusiva",
              "en": "Remote-only read"
            },
            "explanation": {
              "pt": "Declara operations/missao-participantes sem data local, tornando a resposta do Quickstart a única origem da coleção.",
              "en": "Declares operations/missao-participantes without local data, making the Quickstart response the collection only source."
            }
          },
          {
            "jsonPath": "definition.inputs.listId + componentInstanceId",
            "title": {
              "pt": "Identidade da prova live",
              "en": "Live proof identity"
            },
            "explanation": {
              "pt": "Separa esta instância da fixture para observabilidade e preferências sem mudar o recurso.",
              "en": "Separates this instance from the fixture for observability and preferences without changing the resource."
            }
          },
          {
            "jsonPath": "definition.inputs.config.layout + templating",
            "title": {
              "pt": "Apresentação comparável",
              "en": "Comparable presentation"
            },
            "explanation": {
              "pt": "Replica a anatomia visual da variante determinística para que a comparação se concentre na origem dos dados.",
              "en": "Replicates the deterministic variant visual anatomy so comparison focuses on data origin."
            }
          },
          {
            "jsonPath": "definition.inputs.config.expansion",
            "title": {
              "pt": "Contexto por item",
              "en": "Per-item context"
            },
            "explanation": {
              "pt": "Usa propriedades e links retornados por cada registro para montar o detalhe expandido.",
              "en": "Uses properties and links returned by each record to compose expanded detail."
            }
          },
          {
            "jsonPath": "definition.inputs.config.actions",
            "title": {
              "pt": "Ações mediadas",
              "en": "Mediated actions"
            },
            "explanation": {
              "pt": "Declara surface.open sobre o item atual; o host continua responsável por capability, navegação e tratamento de falha.",
              "en": "Declares surface.open over the current item while the host remains responsible for capability, navigation and failure handling."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Use a ordenação por papel e confirme que a mudança percorre o contrato remoto em vez de reordenar apenas a DOM.",
            "en": "Use role sorting and confirm the change follows the remote contract rather than only reordering the DOM."
          },
          {
            "pt": "Compare o estado vazio live com a fixture e observe por que ausência de dados precisa ser distinta de indisponibilidade.",
            "en": "Compare the live empty state with the fixture and observe why no data must remain distinct from unavailability."
          },
          {
            "pt": "Abra uma expansão e valide se propriedades e links correspondem ao item retornado, não a valores fixos do exemplo.",
            "en": "Open an expansion and verify that properties and links match the returned item rather than fixed example values."
          }
        ],
        "productionNotes": [
          {
            "pt": "Falha de rede não deve acionar fallback silencioso para fixture; isso produziria uma falsa percepção de disponibilidade.",
            "en": "Network failure must not silently fall back to fixture data because that would create a false sense of availability."
          },
          {
            "pt": "Paginação, filtros e ordenação devem respeitar a precedência de data source publicada pela Praxis List e pela API.",
            "en": "Pagination, filtering and sorting must respect data-source precedence published by Praxis List and the API."
          },
          {
            "pt": "Capabilities e HATEOAS precisam ser avaliados no contexto atual; links retornados não substituem autorização.",
            "en": "Capabilities and HATEOAS must be evaluated in the current context; returned links do not replace authorization."
          }
        ]
      },
      "envelope": {
        "id": "remote-mission-participant-list-live",
        "title": "Missions - live remote participant list",
        "summary": "Loads mission participants through Praxis List using only dataSource.resourcePath, proving the live quickstart filter path without a visual smoke fixture.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-list",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/list"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/missao-participantes",
          "resourceKey": "operations.missao-participantes"
        },
        "requires": [
          "praxis-list.config",
          "dataSource.resourcePath",
          "filter",
          "remote-data",
          "list.selection",
          "list.actions",
          "hateoas.links"
        ],
        "tags": [
          "list",
          "remote-data",
          "missions",
          "participants",
          "resourcePath",
          "quickstart",
          "ai-recipe",
          "live-api"
        ],
        "demonstrates": [
          "Praxis List delegates loading to GenericCrudService through dataSource.resourcePath",
          "No dataSource.data fixture is present, so remote filter behavior is the evidence under test",
          "Template slots map relational DTO fields: funcionario, missao, papel and resultado",
          "Selection and item actions are emitted from backend-returned resource items",
          "HATEOAS links from the quickstart response drive surfaces and capabilities follow-up"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "praxis-list.dataSource.resourcePath",
          "GenericCrudService.filter",
          "praxis-list.remote-pagination",
          "praxis-list.templating",
          "praxis-list.selectionChange",
          "praxis-list.actionClick",
          "quickstart-hateoas-links"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered?path=/api/operations/missao-participantes/filter&operation=post&schemaType=request",
          "POST /api/operations/missao-participantes/filter",
          "GET /api/operations/missao-participantes/capabilities",
          "GET /api/operations/missao-participantes/{id}/surfaces",
          "GET /api/operations/missao-participantes/{id}/capabilities"
        ],
        "complexity": "intermediate",
        "validation": {
          "level": "http-smoke",
          "checks": [
            "json-envelope",
            "remote-resourcePath-only",
            "praxis-list-rendered",
            "quickstart-filter-invoked",
            "mission-participants-loaded-from-backend"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "missao-participantes-filter-basic"
          ],
          "pendingHttpIds": [],
          "notes": [
            "This variant intentionally omits dataSource.data so dataSource.resourcePath is the only source of rows.",
            "Use this example when the goal is proving the live quickstart integration rather than deterministic visual QA.",
            "If the public quickstart returns no rows or is unavailable, use the smoke fixture variant for visual regression checks."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.remote-list.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-list.json",
          "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/operations/controller/MissaoParticipanteController.java"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "remoteMissionParticipantList",
              "shell": {
                "kind": "dashboard-card",
                "icon": "groups",
                "title": "Mission participants",
                "subtitle": "Live remote quickstart resourcePath with pageable filter data",
                "actions": [
                  {
                    "id": "toggle-list-customization",
                    "label": "Customizar lista",
                    "tooltip": "Habilitar ou desabilitar modo de customização da lista",
                    "icon": "toggle_off",
                    "pressedIcon": "toggle_on",
                    "variant": "icon",
                    "placement": "header",
                    "command": "pdx:toggle-input",
                    "pressed": "${widget.inputs.enableCustomization}",
                    "payload": {
                      "input": "enableCustomization"
                    }
                  }
                ]
              },
              "definition": {
                "id": "praxis-list",
                "bindingOrder": [
                  "listId",
                  "componentInstanceId",
                  "enableCustomization",
                  "config"
                ],
                "inputs": {
                  "listId": "remote-mission-participant-list-live",
                  "componentInstanceId": "dynamic-page-live-remote",
                  "enableCustomization": false,
                  "config": {
                    "id": "remote-mission-participant-list-live-config",
                    "dataSource": {
                      "resourcePath": "operations/missao-participantes",
                      "query": {},
                      "sort": [
                        "ordem,asc"
                      ]
                    },
                    "layout": {
                      "variant": "list",
                      "density": "comfortable",
                      "lines": 3,
                      "dividers": "between",
                      "pageSize": 8,
                      "rowLayout": {
                        "type": "grid",
                        "columns": [
                          {
                            "slot": "leading",
                            "width": "44px",
                            "align": "center"
                          },
                          {
                            "slot": "primary",
                            "width": "minmax(180px, 1fr)"
                          },
                          {
                            "slot": "secondary",
                            "width": "minmax(220px, 1.2fr)"
                          },
                          {
                            "slot": "meta",
                            "width": "140px",
                            "align": "center"
                          },
                          {
                            "slot": "trailing",
                            "width": "120px",
                            "align": "center"
                          },
                          {
                            "slot": "actions",
                            "width": "92px",
                            "align": "end"
                          }
                        ],
                        "gap": "12px",
                        "align": "center"
                      }
                    },
                    "skin": {
                      "type": "outline",
                      "radius": "8px",
                      "border": "1px solid rgba(20, 184, 166, 0.32)"
                    },
                    "selection": {
                      "mode": "multiple",
                      "compareBy": "funcionarioId",
                      "return": "id"
                    },
                    "interaction": {
                      "expandable": true,
                      "expandTrigger": "icon",
                      "expandMode": "single",
                      "expandPlacement": "actions"
                    },
                    "templating": {
                      "leading": {
                        "type": "icon",
                        "expr": "groups"
                      },
                      "primary": {
                        "type": "text",
                        "expr": "${item.funcionarioNome}"
                      },
                      "secondary": {
                        "type": "text",
                        "expr": "${item.missaoTitulo}"
                      },
                      "meta": {
                        "type": "chip",
                        "expr": "${item.papel}",
                        "variant": "outlined"
                      },
                      "trailing": {
                        "type": "chip",
                        "expr": "${item.resultado}",
                        "variant": "filled"
                      },
                      "features": [
                        {
                          "type": "chip",
                          "expr": "missao #${item.missaoId}",
                          "variant": "outlined"
                        },
                        {
                          "type": "chip",
                          "expr": "funcionario #${item.funcionarioId}",
                          "variant": "outlined"
                        }
                      ],
                      "featuresMode": "labels-only",
                      "emptyState": {
                        "type": "text",
                        "expr": "No mission participants returned by the quickstart filter."
                      }
                    },
                    "expansion": {
                      "sections": [
                        {
                          "id": "mission-participant-detail",
                          "title": "Mission participant detail",
                          "type": "rich-content",
                          "document": {
                            "kind": "praxis.rich-content",
                            "version": "1.0.0",
                            "nodes": [
                              {
                                "id": "relationship-summary",
                                "type": "propertySheet",
                                "title": "Relationship",
                                "columns": 2,
                                "items": [
                                  {
                                    "id": "participant",
                                    "label": "Participant",
                                    "valueExpr": "${item.funcionarioNome}",
                                    "icon": "person"
                                  },
                                  {
                                    "id": "mission",
                                    "label": "Mission",
                                    "valueExpr": "${item.missaoTitulo}",
                                    "icon": "flag"
                                  },
                                  {
                                    "id": "role",
                                    "label": "Role",
                                    "valueExpr": "${item.papel}",
                                    "icon": "military_tech",
                                    "tone": "info"
                                  },
                                  {
                                    "id": "result",
                                    "label": "Result",
                                    "valueExpr": "${item.resultado}",
                                    "icon": "verified",
                                    "tone": "success"
                                  }
                                ]
                              },
                              {
                                "id": "hateoas-actions",
                                "type": "actionCard",
                                "title": "Governed API context",
                                "subtitle": "HATEOAS links are available for this item without exposing raw JSON in the UI.",
                                "message": "Use the list actions to inspect surfaces or capabilities from the same canonical resource.",
                                "icon": "hub",
                                "ctaLabel": "Inspect capabilities",
                                "ctaIcon": "bolt",
                                "variant": "stroked",
                                "color": "primary",
                                "action": {
                                  "actionId": "missionParticipant.inspectCapabilities",
                                  "payloadExpr": "${item._links.capabilities.href}"
                                }
                              }
                            ]
                          }
                        }
                      ],
                      "rendering": {
                        "shell": "attached",
                        "columns": 1,
                        "gap": "12px",
                        "padding": "12px"
                      }
                    },
                    "actions": [
                      {
                        "id": "open-participant-surfaces",
                        "icon": "layers",
                        "label": "Surfaces",
                        "kind": "icon",
                        "globalAction": {
                          "actionId": "surface.open",
                          "payload": {
                            "presentation": "modal",
                            "title": "Participant surfaces",
                            "icon": "layers",
                            "subtitle": "Governed follow-up surfaces for the selected participant",
                            "size": {
                              "width": "720px",
                              "maxWidth": "90vw"
                            },
                            "widget": {
                              "id": "widget:rich-text-block",
                              "inputs": {
                                "title": "Published surfaces for ${item.funcionarioNome}",
                                "content": "The selected participant belongs to ${item.missaoTitulo}. Surface actions should open governed runtime projections instead of leaving row buttons as inert local events. Capability link: ${item._links.capabilities.href}",
                                "variant": "emphasis"
                              }
                            }
                          }
                        },
                        "emitLocal": false,
                        "showLoading": true,
                        "placement": "actions"
                      },
                      {
                        "id": "inspect-participant-capabilities",
                        "icon": "bolt",
                        "label": "Capabilities",
                        "kind": "icon",
                        "globalAction": {
                          "actionId": "surface.open",
                          "payload": {
                            "presentation": "modal",
                            "title": "Participant capabilities",
                            "icon": "bolt",
                            "subtitle": "Canonical capabilities entrypoint for the selected participant",
                            "size": {
                              "width": "720px",
                              "maxWidth": "90vw"
                            },
                            "widget": {
                              "id": "widget:rich-text-block",
                              "inputs": {
                                "title": "Capabilities for ${item.funcionarioNome}",
                                "content": "Use the canonical HATEOAS capabilities link to inspect the operations available for this participant: ${item._links.capabilities.href}. The list action is executed through surface.open, so the runtime gives immediate feedback without host-local action glue.",
                                "variant": "emphasis"
                              }
                            }
                          }
                        },
                        "emitLocal": false,
                        "showLoading": true,
                        "placement": "actions"
                      }
                    ],
                    "ui": {
                      "showSearch": false,
                      "showSort": true,
                      "sortOptions": [
                        {
                          "label": "ID",
                          "value": "id,asc"
                        },
                        {
                          "label": "Role",
                          "value": "papel,asc"
                        }
                      ],
                      "showRange": true
                    },
                    "a11y": {
                      "ariaLabel": "Live remote mission participants list"
                    }
                  }
                },
                "outputs": {
                  "itemClick": "emit",
                  "actionClick": "emit",
                  "selectionChange": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "funcionario-profile-form",
      "title": "Funcionario - profile form",
      "summary": "Materializes a readonly employee profile from resource metadata, combining sections, remote options and field controls from the same governed source.",
      "i18n": {
        "pt": {
          "title": "Funcionário - formulário de perfil",
          "summary": "Materializa um perfil readonly de funcionário a partir de metadata, combinando seções, opções remotas e controles governados.",
          "demonstrates": [
            "Explore Funcionário - formulário de perfil e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-dynamic-form materializa human-resources/funcionarios com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Materializa um perfil readonly de funcionário a partir de metadata, combinando seções, opções remotas e controles governados.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas filtered?schemaType=response e {id}."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/funcionario-profile-form",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/funcionario-profile-form",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-dynamic-form",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "resource-detail",
        "options",
        "capabilities",
        "dynamic-form.sections",
        "dynamic-fields.catalog",
        "remote-data"
      ],
      "tags": [
        "form",
        "profile",
        "sections",
        "dynamic-fields",
        "remote-options",
        "readonly",
        "quickstart"
      ],
      "demonstrates": [
        "Readonly profile surface hydrated from a seeded demo resourceId on the published funcionarios resource",
        "View mode keeps the detail contract read-oriented; create flows omit resourceId and use request metadata",
        "Sectioned layout with asymmetric rows and columns",
        "Avatar, CPF, email, phone, date, currency, select and toggle fields in one form",
        "Remote option metadata for cargo and departamento fields",
        "Action bar placement for profile-level workflow affordances"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "resource-detail",
        "dynamic-form.sections",
        "dynamic-fields.catalog",
        "remote-options",
        "capabilities"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered?schemaType=response",
        "GET /api/human-resources/funcionarios/{id}",
        "POST /api/human-resources/cargos/options/filter",
        "POST /api/human-resources/departamentos/options/filter",
        "GET /api/human-resources/funcionarios/{id}/capabilities"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "base-components",
      "variantFamilyId": "employee-form-workflows",
      "featuredRank": 2,
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-dynamic-form-rendered",
          "sectioned-layout-rendered",
          "field-control-overrides-rendered",
          "quickstart-detail-response"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "filtered-schema-response-funcionarios",
          "funcionarios-get-by-id",
          "cargos-options-filter",
          "departamentos-options-filter"
        ],
        "pendingHttpIds": [],
        "notes": [
          "The example uses package-owned Dynamic Fields control types already present in the runtime/editorial catalog.",
          "Field overrides are presentational and do not redefine backend resource semantics.",
          "resourceId: 1 is a demo seed for documentation; production hosts should bind resourceId from route, table selection, or workflow state."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.profile-form.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/funcionario-profile-form.json",
      "documentation": {
        "story": {
          "pt": "Uma pessoa gestora precisa revisar o perfil completo de um funcionário, incluindo campos cujas opções e apresentação dependem de metadata. O exemplo evita transformar essa leitura em um formulário estático mantido à parte.",
          "en": "A manager needs to review a complete employee profile, including fields whose options and presentation depend on metadata. The example avoids turning that view into a separately maintained static form."
        },
        "outcome": {
          "pt": "Seções, controles e valores remotos aparecem como uma visão readonly coerente com o contrato do recurso e com as responsabilidades do host.",
          "en": "Sections, controls and remote values appear as a readonly view aligned with the resource contract and host responsibilities."
        },
        "componentRoles": [
          {
            "component": "praxis-dynamic-form",
            "jsonPath": "page.widgets[funcionarioProfileForm].definition.inputs",
            "role": {
              "pt": "Materializa o perfil do funcionário em modo consulta, com seções, controles especializados e layout responsivo.",
              "en": "Materializes the employee profile in view mode with sections, specialized controls and responsive layout."
            },
            "rationale": {
              "pt": "Demonstra que a mesma superfície metadata-driven pode apresentar identidade, alocação e dados pessoais sem um template de perfil exclusivo.",
              "en": "Shows that one metadata-driven surface can present identity, assignment and personal data without a dedicated profile template."
            }
          },
          {
            "component": "praxis-dynamic-fields",
            "jsonPath": "definition.inputs.config.fieldMetadata",
            "role": {
              "pt": "Resolve avatar, documento, telefone, moeda, datas, selects assíncronos e toggle a partir dos metadados de campo.",
              "en": "Resolves avatar, document, phone, currency, dates, async selects and toggle from field metadata."
            },
            "rationale": {
              "pt": "Preserva semântica e acessibilidade de cada valor, em vez de renderizar todos os dados como texto genérico.",
              "en": "Preserves the semantics and accessibility of each value instead of rendering every datum as generic text."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "page.widgets[funcionarioProfileForm].definition.inputs.mode",
            "title": {
              "pt": "Contrato de consulta",
              "en": "View contract"
            },
            "explanation": {
              "pt": "mode=view torna a intenção da superfície explícita; readonly não depende apenas de CSS ou de esconder botões.",
              "en": "mode=view makes the surface intent explicit; readonly does not depend only on CSS or hidden buttons."
            }
          },
          {
            "jsonPath": "definition.inputs.resourcePath + resourceId",
            "title": {
              "pt": "Identidade do registro",
              "en": "Record identity"
            },
            "explanation": {
              "pt": "Liga o formulário ao funcionário 1 no recurso canônico e permite que o runtime busque o dado real.",
              "en": "Binds the form to employee 1 in the canonical resource and lets the runtime fetch the real record."
            }
          },
          {
            "jsonPath": "definition.inputs.config.sections",
            "title": {
              "pt": "Leitura por tarefa",
              "en": "Task-oriented reading"
            },
            "explanation": {
              "pt": "Organiza identidade, alocação e dados pessoais em grupos compreensíveis, sem alterar o DTO proprietário.",
              "en": "Organizes identity, assignment and personal data into understandable groups without changing the owning DTO."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata",
            "title": {
              "pt": "Controles especializados",
              "en": "Specialized controls"
            },
            "explanation": {
              "pt": "Associa cada propriedade ao controle adequado, incluindo máscara, locale, options e endpoints de lookup.",
              "en": "Associates each property with the appropriate control, including masks, locale, options and lookup endpoints."
            }
          },
          {
            "jsonPath": "definition.inputs.config.actions",
            "title": {
              "pt": "Ações coerentes com consulta",
              "en": "View-consistent actions"
            },
            "explanation": {
              "pt": "Mantém submit e reset invisíveis e expõe somente fechar, alinhando affordances ao modo da superfície.",
              "en": "Keeps submit and reset hidden and exposes only close, aligning affordances with the surface mode."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Compare o agrupamento atual com uma única seção e observe como a estrutura semântica melhora a varredura do perfil.",
            "en": "Compare the current grouping with a single section and observe how semantic structure improves profile scanning."
          },
          {
            "pt": "Altere apenas mode para edit e identifique quais campos continuam readonly por decisão explícita de fieldMetadata.",
            "en": "Change only mode to edit and identify which fields remain readonly through an explicit fieldMetadata decision."
          },
          {
            "pt": "Remova temporariamente currencyCode ou locale de salario e compare a perda de significado na apresentação do valor.",
            "en": "Temporarily remove currencyCode or locale from salario and compare the loss of meaning in the value presentation."
          }
        ],
        "productionNotes": [
          {
            "pt": "A API e o schema filtrado continuam sendo a fonte dos dados e das restrições; a configuração local demonstra apresentação.",
            "en": "The API and filtered schema remain the source of data and constraints; local configuration demonstrates presentation."
          },
          {
            "pt": "CPF, contato, salário e dados pessoais exigem autorização, minimização e observabilidade no host real.",
            "en": "Tax identifiers, contact, salary and personal data require authorization, minimization and observability in the real host."
          },
          {
            "pt": "Endpoints de opções devem seguir o contrato canônico de option sources e não ser inferidos por nomes ou labels de campos.",
            "en": "Option endpoints must follow the canonical option-source contract and must not be inferred from field names or labels."
          }
        ]
      },
      "envelope": {
        "id": "funcionario-profile-form",
        "title": "Funcionario - profile form",
        "summary": "Materializes a readonly employee profile from resource metadata, combining sections, remote options and field controls from the same governed source.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-dynamic-form",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "resource-detail",
          "options",
          "capabilities",
          "dynamic-form.sections",
          "dynamic-fields.catalog",
          "remote-data"
        ],
        "tags": [
          "form",
          "profile",
          "sections",
          "dynamic-fields",
          "remote-options",
          "readonly",
          "quickstart"
        ],
        "demonstrates": [
          "Readonly profile surface hydrated from a seeded demo resourceId on the published funcionarios resource",
          "View mode keeps the detail contract read-oriented; create flows omit resourceId and use request metadata",
          "Sectioned layout with asymmetric rows and columns",
          "Avatar, CPF, email, phone, date, currency, select and toggle fields in one form",
          "Remote option metadata for cargo and departamento fields",
          "Action bar placement for profile-level workflow affordances"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "resource-detail",
          "dynamic-form.sections",
          "dynamic-fields.catalog",
          "remote-options",
          "capabilities"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered?schemaType=response",
          "GET /api/human-resources/funcionarios/{id}",
          "POST /api/human-resources/cargos/options/filter",
          "POST /api/human-resources/departamentos/options/filter",
          "GET /api/human-resources/funcionarios/{id}/capabilities"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-dynamic-form-rendered",
            "sectioned-layout-rendered",
            "field-control-overrides-rendered",
            "quickstart-detail-response"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "filtered-schema-response-funcionarios",
            "funcionarios-get-by-id",
            "cargos-options-filter",
            "departamentos-options-filter"
          ],
          "pendingHttpIds": [],
          "notes": [
            "The example uses package-owned Dynamic Fields control types already present in the runtime/editorial catalog.",
            "Field overrides are presentational and do not redefine backend resource semantics.",
            "resourceId: 1 is a demo seed for documentation; production hosts should bind resourceId from route, table selection, or workflow state."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.profile-form.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "funcionarioProfileForm",
              "shell": {
                "kind": "dashboard-card",
                "icon": "badge",
                "title": "Funcionario profile",
                "subtitle": "Sectioned readonly form with field-specific controls"
              },
              "definition": {
                "id": "praxis-dynamic-form",
                "bindingOrder": [
                  "config",
                  "resourcePath",
                  "formId",
                  "resourceId"
                ],
                "inputs": {
                  "formId": "human-resources-funcionarios-profile",
                  "resourcePath": "human-resources/funcionarios",
                  "resourceId": 1,
                  "mode": "view",
                  "config": {
                    "metadata": {
                      "name": "Funcionario profile surface",
                      "version": "1.0.0"
                    },
                    "sections": [
                      {
                        "id": "identity",
                        "title": "Identity",
                        "description": "Core employee identity and contact data.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "identity-row-main",
                            "columns": [
                              {
                                "id": "identity-avatar",
                                "span": {
                                  "md": 3,
                                  "lg": 3
                                },
                                "fields": [
                                  "fotoPerfilUrl",
                                  "ativo"
                                ]
                              },
                              {
                                "id": "identity-primary",
                                "span": {
                                  "md": 9,
                                  "lg": 9
                                },
                                "fields": [
                                  "nomeCompleto",
                                  "cpf",
                                  "email",
                                  "telefone"
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id": "assignment",
                        "title": "Assignment",
                        "description": "Role, department and compensation metadata.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "assignment-row-1",
                            "columns": [
                              {
                                "id": "assignment-role",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "cargoId",
                                  "departamentoId"
                                ]
                              },
                              {
                                "id": "assignment-payroll",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "salario",
                                  "dataAdmissao"
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id": "personal",
                        "title": "Personal",
                        "description": "Civil status and birth metadata kept readonly in this surface.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "personal-row-1",
                            "columns": [
                              {
                                "id": "personal-main",
                                "fields": [
                                  "estadoCivil",
                                  "dataNascimento"
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ],
                    "fieldMetadata": [
                      {
                        "name": "fotoPerfilUrl",
                        "label": "Avatar",
                        "controlType": "avatar",
                        "imageField": "fotoPerfilUrl",
                        "readonly": true
                      },
                      {
                        "name": "nomeCompleto",
                        "label": "Nome Completo",
                        "controlType": "input",
                        "validators": {
                          "required": true,
                          "maxLength": 160
                        },
                        "readonly": true
                      },
                      {
                        "name": "cpf",
                        "label": "CPF",
                        "controlType": "cpfCnpjInput",
                        "maskType": "cpf",
                        "unmaskOnSubmit": true,
                        "readonly": true
                      },
                      {
                        "name": "email",
                        "label": "Email",
                        "controlType": "email",
                        "validators": {
                          "email": true
                        },
                        "readonly": true
                      },
                      {
                        "name": "telefone",
                        "label": "Telefone",
                        "controlType": "phone",
                        "maskType": "phone",
                        "readonly": true
                      },
                      {
                        "name": "cargoId",
                        "label": "Cargo",
                        "controlType": "asyncSelect",
                        "endpoint": "/api/human-resources/cargos/options/filter",
                        "displayField": "label",
                        "valueField": "id",
                        "readonly": true
                      },
                      {
                        "name": "departamentoId",
                        "label": "Departamento",
                        "controlType": "asyncSelect",
                        "endpoint": "/api/human-resources/departamentos/options/filter",
                        "displayField": "label",
                        "valueField": "id",
                        "readonly": true
                      },
                      {
                        "name": "salario",
                        "label": "Salario",
                        "controlType": "currency",
                        "currencyCode": "BRL",
                        "locale": "pt-BR",
                        "readonly": true
                      },
                      {
                        "name": "dataAdmissao",
                        "label": "Data de Admissao",
                        "controlType": "date",
                        "readonly": true
                      },
                      {
                        "name": "estadoCivil",
                        "label": "Estado Civil",
                        "controlType": "select",
                        "options": [
                          {
                            "label": "Solteiro",
                            "value": "SOLTEIRO"
                          },
                          {
                            "label": "Casado",
                            "value": "CASADO"
                          },
                          {
                            "label": "Divorciado",
                            "value": "DIVORCIADO"
                          },
                          {
                            "label": "Viuvo",
                            "value": "VIUVO"
                          }
                        ],
                        "readonly": true
                      },
                      {
                        "name": "dataNascimento",
                        "label": "Data de Nascimento",
                        "controlType": "date",
                        "readonly": true
                      },
                      {
                        "name": "ativo",
                        "label": "Ativo",
                        "controlType": "toggle",
                        "readonly": true
                      }
                    ],
                    "actions": {
                      "submit": {
                        "id": "request-update",
                        "label": "Request update",
                        "visible": false,
                        "type": "submit"
                      },
                      "cancel": {
                        "id": "close-profile",
                        "label": "Close",
                        "visible": true,
                        "type": "button"
                      },
                      "reset": {
                        "id": "reset-profile",
                        "label": "Reset",
                        "visible": false,
                        "type": "reset"
                      },
                      "position": "right",
                      "placement": "afterSections",
                      "spacing": "compact"
                    }
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "funcionario-operation-contracts",
      "title": "Funcionario - operation contracts lab",
      "summary": "Compares the full employee read model with the PATCH request schema, the controls materialized by Dynamic Form and the partial payload prepared for contact maintenance.",
      "i18n": {
        "pt": {
          "title": "Funcionário - laboratório de contratos da operação",
          "summary": "Compara o read model completo do funcionário com o request schema do PATCH, os controles materializados pelo Dynamic Form e o payload parcial da manutenção de contato.",
          "demonstrates": [
            "Compare o request schema do PATCH com o contrato de resposta mais rico retornado pelo detalhe do funcionário.",
            "Observe que a leitura completa hidrata somente valores cujos campos pertencem ao contrato materializado da operação.",
            "Edite um valor e confira a prévia canônica produzida pelo Dynamic Form, sem executar uma requisição PATCH destrutiva.",
            "Veja uma divergência de schema virar diagnóstico explícito em vez de ampliar silenciosamente o comando de manutenção.",
            "Identifique schemaUrl, readUrl, submitUrl e submitMethod como responsabilidades independentes do runtime."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/funcionario-operation-contracts",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/funcionario-operation-contracts",
      "category": "diagnostic",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-dynamic-form",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "resource-detail",
        "surface-operation",
        "dynamic-form.schemaUrl",
        "dynamic-form.readUrl",
        "dynamic-form.submitUrl",
        "dynamic-form.submitMethod",
        "dynamic-form.payloadPreviewChange",
        "remote-data"
      ],
      "tags": [
        "form",
        "request-schema",
        "read-model",
        "hydration",
        "patch",
        "payload",
        "diagnostics",
        "quickstart"
      ],
      "demonstrates": [
        "The PATCH request schema defines the editable controls independently from the richer employee detail response",
        "The complete employee record hydrates only values whose fields belong to the materialized operation contract",
        "The inspector consumes Dynamic Form's canonical non-destructive payload preview instead of rebuilding submit policy in the landing host",
        "Schema drift becomes an explicit diagnostic instead of silently widening the maintenance command",
        "schemaUrl, readUrl, submitUrl and submitMethod remain visible as independent runtime responsibilities"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "resource-detail",
        "dynamic-form.request-schema",
        "dynamic-form.entity-hydration",
        "dynamic-form.partial-payload",
        "dynamic-form.payload-preview",
        "runtime-diagnostics"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered?path=/api/human-resources/funcionarios/{id}/profile&operation=patch&schemaType=request",
        "GET /schemas/filtered?path=/api/human-resources/funcionarios/{id}&operation=get&schemaType=response",
        "GET /api/human-resources/funcionarios/{id}",
        "PATCH /api/human-resources/funcionarios/{id}/profile"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "base-components",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "request-schema-loaded",
          "full-record-loaded-on-demand",
          "praxis-dynamic-form-rendered",
          "request-controls-match-schema",
          "canonical-payload-preview",
          "partial-payload-inspector-rendered",
          "no-patch-request-sent"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "filtered-schema-response-funcionarios",
          "funcionarios-get-by-id"
        ],
        "pendingHttpIds": [
          "filtered-schema-request-funcionario-profile"
        ],
        "notes": [
          "The public lab keeps submit hidden and consumes Dynamic Form's non-destructive payload preview, so exploring the example cannot mutate the shared quickstart environment.",
          "Accepted fields are derived from the live request schema and compared with runtime controls; the host does not maintain a second hardcoded field list.",
          "This PATCH payload is partial relative to the complete employee record, but it is not dirty-only: changedFields reports interaction state separately.",
          "The page definition remains portable: the landing host adds the comparative inspector, while the canonical widget inputs still declare the real runtime contract."
        ]
      },
      "sourceRecipes": [
        "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/dto/UpdateFuncionarioProfileDTO.java",
        "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/controller/FuncionarioController.java",
        "praxis-ui-angular/projects/praxis-dynamic-form/src/lib/praxis-dynamic-form.ts"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/funcionario-operation-contracts.json",
      "documentation": {
        "story": {
          "pt": "Compara o read model completo do funcionário com o request schema do PATCH, os controles materializados pelo Dynamic Form e o payload parcial da manutenção de contato. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-dynamic-form materializa do que continua sob responsabilidade da API, de suas capabilities e da mediação do app host.",
          "en": "Compares the full employee read model with the PATCH request schema, the controls materialized by Dynamic Form and the partial payload prepared for contact maintenance. The recipe follows that task from its initial context to the visible result and separates what praxis-dynamic-form materializes from what remains owned by the API, its capabilities and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-dynamic-form deve tornar a promessa de “Funcionário - laboratório de contratos da operação” inspecionável: o visitante relaciona schemas.filtered ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-dynamic-form must make the “Funcionario - operation contracts lab” promise inspectable: visitors relate schemas.filtered to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-dynamic-form",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Materializa campos, seções, validações e ações a partir de configuração explícita.",
              "en": "Materializes fields, sections, validation and actions from explicit configuration."
            },
            "rationale": {
              "pt": "Mantém a experiência de coleta alinhada ao contrato sem criar um formulário Angular exclusivo para o cenário.",
              "en": "Keeps data collection aligned with the contract without creating a scenario-specific Angular form."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.config.sections",
            "title": {
              "pt": "Estrutura semântica",
              "en": "Semantic structure"
            },
            "explanation": {
              "pt": "Agrupa campos pela tarefa do usuário, não apenas pela ordem física do DTO.",
              "en": "Groups fields by the user task rather than only by DTO order."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fields",
            "title": {
              "pt": "Campos e controles",
              "en": "Fields and controls"
            },
            "explanation": {
              "pt": "Materializa controles, opções e apresentação a partir da configuração e da metadata disponível.",
              "en": "Materializes controls, options and presentation from configuration and available metadata."
            }
          },
          {
            "jsonPath": "definition.inputs.config.validators",
            "title": {
              "pt": "Validação da experiência",
              "en": "Experience validation"
            },
            "explanation": {
              "pt": "Explicita restrições de entrada sem promover o frontend a fonte primária da regra de negócio.",
              "en": "Exposes input constraints without promoting the frontend to the primary business-rule source."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Mude um campo obrigatório ou uma condição de visibilidade e compare a validação com o JSON editado.",
            "en": "Change a required field or visibility condition and compare validation with the edited JSON."
          },
          {
            "pt": "Procure schemas.filtered no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Funcionário - laboratório de contratos da operação”.",
            "en": "Find schemas.filtered in the primary widget, change only its associated configuration, and compare the effect with the “Funcionario - operation contracts lab” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Os dados e as capacidades continuam pertencendo à API; o documento apenas materializa a experiência publicada.",
            "en": "Data and capabilities remain owned by the API; the document only materializes the published experience."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/dto/UpdateFuncionarioProfileDTO.java.",
            "en": "The canonical reference is published at praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/dto/UpdateFuncionarioProfileDTO.java."
          }
        ]
      },
      "envelope": {
        "id": "funcionario-operation-contracts",
        "title": "Funcionario - operation contracts lab",
        "summary": "Compares the full employee read model with the PATCH request schema, the controls materialized by Dynamic Form and the partial payload prepared for contact maintenance.",
        "component": "praxis-dynamic-page",
        "category": "diagnostic",
        "primaryComponent": "praxis-dynamic-form",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/dynamic-form"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "resource-detail",
          "surface-operation",
          "dynamic-form.schemaUrl",
          "dynamic-form.readUrl",
          "dynamic-form.submitUrl",
          "dynamic-form.submitMethod",
          "dynamic-form.payloadPreviewChange",
          "remote-data"
        ],
        "tags": [
          "form",
          "request-schema",
          "read-model",
          "hydration",
          "patch",
          "payload",
          "diagnostics",
          "quickstart"
        ],
        "demonstrates": [
          "The PATCH request schema defines the editable controls independently from the richer employee detail response",
          "The complete employee record hydrates only values whose fields belong to the materialized operation contract",
          "The inspector consumes Dynamic Form's canonical non-destructive payload preview instead of rebuilding submit policy in the landing host",
          "Schema drift becomes an explicit diagnostic instead of silently widening the maintenance command",
          "schemaUrl, readUrl, submitUrl and submitMethod remain visible as independent runtime responsibilities"
        ],
        "i18n": {
          "pt": {
            "title": "Funcionário - laboratório de contratos da operação",
            "summary": "Compara o read model completo do funcionário com o request schema do PATCH, os controles materializados pelo Dynamic Form e o payload parcial da manutenção de contato.",
            "demonstrates": [
              "Compare o request schema do PATCH com o contrato de resposta mais rico retornado pelo detalhe do funcionário.",
              "Observe que a leitura completa hidrata somente valores cujos campos pertencem ao contrato materializado da operação.",
              "Edite um valor e confira a prévia canônica produzida pelo Dynamic Form, sem executar uma requisição PATCH destrutiva.",
              "Veja uma divergência de schema virar diagnóstico explícito em vez de ampliar silenciosamente o comando de manutenção.",
              "Identifique schemaUrl, readUrl, submitUrl e submitMethod como responsabilidades independentes do runtime."
            ]
          }
        },
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "resource-detail",
          "dynamic-form.request-schema",
          "dynamic-form.entity-hydration",
          "dynamic-form.partial-payload",
          "dynamic-form.payload-preview",
          "runtime-diagnostics"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered?path=/api/human-resources/funcionarios/{id}/profile&operation=patch&schemaType=request",
          "GET /schemas/filtered?path=/api/human-resources/funcionarios/{id}&operation=get&schemaType=response",
          "GET /api/human-resources/funcionarios/{id}",
          "PATCH /api/human-resources/funcionarios/{id}/profile"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "request-schema-loaded",
            "full-record-loaded-on-demand",
            "praxis-dynamic-form-rendered",
            "request-controls-match-schema",
            "canonical-payload-preview",
            "partial-payload-inspector-rendered",
            "no-patch-request-sent"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "filtered-schema-response-funcionarios",
            "funcionarios-get-by-id"
          ],
          "pendingHttpIds": [
            "filtered-schema-request-funcionario-profile"
          ],
          "notes": [
            "The public lab keeps submit hidden and consumes Dynamic Form's non-destructive payload preview, so exploring the example cannot mutate the shared quickstart environment.",
            "Accepted fields are derived from the live request schema and compared with runtime controls; the host does not maintain a second hardcoded field list.",
            "This PATCH payload is partial relative to the complete employee record, but it is not dirty-only: changedFields reports interaction state separately.",
            "The page definition remains portable: the landing host adds the comparative inspector, while the canonical widget inputs still declare the real runtime contract."
          ]
        },
        "sourceRecipes": [
          "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/dto/UpdateFuncionarioProfileDTO.java",
          "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/controller/FuncionarioController.java",
          "praxis-ui-angular/projects/praxis-dynamic-form/src/lib/praxis-dynamic-form.ts"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "funcionarioContactOperation",
              "shell": {
                "kind": "dashboard-card",
                "icon": "contact_page",
                "title": "Funcionario contact maintenance",
                "subtitle": "Request schema, entity hydration and PATCH destination remain independent"
              },
              "definition": {
                "id": "praxis-dynamic-form",
                "bindingOrder": [
                  "config",
                  "formId",
                  "resourceId",
                  "mode",
                  "schemaUrl",
                  "responseSchemaUrl",
                  "readUrl",
                  "submitUrl",
                  "submitMethod"
                ],
                "inputs": {
                  "formId": "funcionario-operation-contracts-lab",
                  "resourceId": 1,
                  "mode": "edit",
                  "schemaUrl": "/schemas/filtered?path=%2Fapi%2Fhuman-resources%2Ffuncionarios%2F%7Bid%7D%2Fprofile&operation=patch&schemaType=request",
                  "responseSchemaUrl": "/schemas/filtered?path=%2Fapi%2Fhuman-resources%2Ffuncionarios%2F%7Bid%7D&operation=get&schemaType=response",
                  "readUrl": "/api/human-resources/funcionarios/1",
                  "submitUrl": "/api/human-resources/funcionarios/{id}/profile",
                  "submitMethod": "patch",
                  "showAiAssistant": false,
                  "enableCustomization": false,
                  "configPersistenceStrategy": "input-first",
                  "config": {
                    "metadata": {
                      "version": "1.0.0",
                      "source": "default"
                    },
                    "actions": {
                      "submit": {
                        "id": "submit-contact-update",
                        "label": "Save contact",
                        "visible": false,
                        "type": "submit"
                      },
                      "cancel": {
                        "id": "cancel-contact-update",
                        "label": "Cancel",
                        "visible": false,
                        "type": "button"
                      },
                      "reset": {
                        "id": "reset-contact-update",
                        "label": "Restore values",
                        "visible": true,
                        "type": "reset"
                      },
                      "position": "right",
                      "placement": "afterSections",
                      "spacing": "compact"
                    }
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "funcionario-business-command-lab",
      "title": "Employee - governed business command lab",
      "summary": "Separates human confirmation, optimistic concurrency, idempotent retry and backend authority while materializing the real deactivate request schema.",
      "i18n": {
        "pt": {
          "title": "Funcionário - laboratório de ação de negócio",
          "summary": "Separa confirmação humana, versão esperada, identidade da tentativa e autoridade do backend em uma inativação demonstrável e não destrutiva.",
          "demonstrates": [
            "Abra a ação de inativação e observe o Dynamic Form materializar data efetiva, código do motivo e comentário a partir do request schema publicado.",
            "Cancele a confirmação e confirme que nenhum comando chegou ao executor local.",
            "Confirme a intenção e acompanhe uma única transição de ATIVO para INATIVO.",
            "Repita a mesma tentativa e confira o mesmo identificador de transição sem um segundo efeito.",
            "Compare confirmação, If-Match, Idempotency-Key e autorização como garantias complementares, nunca intercambiáveis."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/funcionario-business-command-lab",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/funcionario-business-command-lab",
      "category": "diagnostic",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-dynamic-form",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "actions",
        "workflow-action.interaction",
        "workflow-action.idempotency",
        "workflow-action.resource-version",
        "dynamic-form.schemaUrl",
        "dynamic-form.action-confirmation"
      ],
      "tags": [
        "form",
        "workflow-action",
        "confirmation",
        "idempotency",
        "optimistic-concurrency",
        "audit",
        "diagnostics",
        "quickstart"
      ],
      "demonstrates": [
        "The deactivate request schema materializes effective date, reason code and comment without exposing the employee active flag as a generic edit",
        "Dynamic Form performs the confirmation before emitting the lab action",
        "The inspector keeps human confirmation, If-Match, Idempotency-Key and backend authority as separate guarantees",
        "An identical retry recovers the same transition identifier without recording a second effect",
        "The public host replaces only the protected POST with a deterministic local executor and labels that boundary explicitly"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "workflow-action.request-schema",
        "workflow-action.confirmation",
        "workflow-action.idempotency",
        "workflow-action.resource-version",
        "runtime-diagnostics"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered?path=/api/human-resources/funcionarios/{id}/actions/deactivate&operation=post&schemaType=request",
        "GET /schemas/actions?resource=human-resources.funcionarios",
        "POST /api/human-resources/funcionarios/{id}/actions/deactivate"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "base-components",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "request-schema-loaded",
          "praxis-dynamic-form-rendered",
          "confirmation-cancel-blocks-command",
          "confirmation-accepts-one-command",
          "idempotent-replay-keeps-transition-id",
          "no-remote-post-sent"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "schemas-actions-human-resources-funcionarios",
          "filtered-schema-request-funcionario-deactivate",
          "employee-state-snapshot-actions"
        ],
        "pendingHttpIds": [],
        "notes": [
          "The request schema and action contract are read from the published Quickstart; the protected POST is intentionally replaced by a deterministic local executor.",
          "The local executor is an educational projection, not evidence that an anonymous visitor is authorized to mutate the public employee resource.",
          "The real Quickstart and Angular suites prove stale-version rejection, conflicting idempotency keys, cancellation before POST, a single confirmed execution and read-after-write refresh."
        ]
      },
      "sourceRecipes": [
        "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/controller/FuncionarioController.java",
        "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/dto/actions/FuncionarioLifecycleTransitionRequestDTO.java",
        "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/core/service/ResourceActionExecutionService.java",
        "praxis-ui-angular/projects/praxis-core/src/lib/services/resource-action-open-adapter.service.ts",
        "praxis-ui-angular/projects/praxis-dynamic-form/src/lib/praxis-dynamic-form.ts"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/funcionario-business-command-lab.json",
      "documentation": {
        "story": {
          "pt": "Separa confirmação humana, versão esperada, identidade da tentativa e autoridade do backend em uma inativação demonstrável e não destrutiva. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-dynamic-form materializa do que continua sob responsabilidade da API, de suas capabilities e da mediação do app host.",
          "en": "Separates human confirmation, optimistic concurrency, idempotent retry and backend authority while materializing the real deactivate request schema. The recipe follows that task from its initial context to the visible result and separates what praxis-dynamic-form materializes from what remains owned by the API, its capabilities and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-dynamic-form deve tornar a promessa de “Funcionário - laboratório de ação de negócio” inspecionável: o visitante relaciona schemas.filtered ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-dynamic-form must make the “Employee - governed business command lab” promise inspectable: visitors relate schemas.filtered to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-dynamic-form",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Materializa campos, seções, validações e ações a partir de configuração explícita.",
              "en": "Materializes fields, sections, validation and actions from explicit configuration."
            },
            "rationale": {
              "pt": "Mantém a experiência de coleta alinhada ao contrato sem criar um formulário Angular exclusivo para o cenário.",
              "en": "Keeps data collection aligned with the contract without creating a scenario-specific Angular form."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.config.sections",
            "title": {
              "pt": "Estrutura semântica",
              "en": "Semantic structure"
            },
            "explanation": {
              "pt": "Agrupa campos pela tarefa do usuário, não apenas pela ordem física do DTO.",
              "en": "Groups fields by the user task rather than only by DTO order."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fields",
            "title": {
              "pt": "Campos e controles",
              "en": "Fields and controls"
            },
            "explanation": {
              "pt": "Materializa controles, opções e apresentação a partir da configuração e da metadata disponível.",
              "en": "Materializes controls, options and presentation from configuration and available metadata."
            }
          },
          {
            "jsonPath": "definition.inputs.config.validators",
            "title": {
              "pt": "Validação da experiência",
              "en": "Experience validation"
            },
            "explanation": {
              "pt": "Explicita restrições de entrada sem promover o frontend a fonte primária da regra de negócio.",
              "en": "Exposes input constraints without promoting the frontend to the primary business-rule source."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Mude um campo obrigatório ou uma condição de visibilidade e compare a validação com o JSON editado.",
            "en": "Change a required field or visibility condition and compare validation with the edited JSON."
          },
          {
            "pt": "Procure schemas.filtered no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Funcionário - laboratório de ação de negócio”.",
            "en": "Find schemas.filtered in the primary widget, change only its associated configuration, and compare the effect with the “Employee - governed business command lab” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Os dados e as capacidades continuam pertencendo à API; o documento apenas materializa a experiência publicada.",
            "en": "Data and capabilities remain owned by the API; the document only materializes the published experience."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/controller/FuncionarioController.java.",
            "en": "The canonical reference is published at praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/controller/FuncionarioController.java."
          }
        ]
      },
      "envelope": {
        "id": "funcionario-business-command-lab",
        "title": "Employee - governed business command lab",
        "summary": "Separates human confirmation, optimistic concurrency, idempotent retry and backend authority while materializing the real deactivate request schema.",
        "component": "praxis-dynamic-page",
        "category": "diagnostic",
        "primaryComponent": "praxis-dynamic-form",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/dynamic-form"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "actions",
          "workflow-action.interaction",
          "workflow-action.idempotency",
          "workflow-action.resource-version",
          "dynamic-form.schemaUrl",
          "dynamic-form.action-confirmation"
        ],
        "tags": [
          "form",
          "workflow-action",
          "confirmation",
          "idempotency",
          "optimistic-concurrency",
          "audit",
          "diagnostics",
          "quickstart"
        ],
        "demonstrates": [
          "The deactivate request schema materializes effective date, reason code and comment without exposing the employee active flag as a generic edit",
          "Dynamic Form performs the confirmation before emitting the lab action",
          "The inspector keeps human confirmation, If-Match, Idempotency-Key and backend authority as separate guarantees",
          "An identical retry recovers the same transition identifier without recording a second effect",
          "The public host replaces only the protected POST with a deterministic local executor and labels that boundary explicitly"
        ],
        "i18n": {
          "pt": {
            "title": "Funcionário - laboratório de ação de negócio",
            "summary": "Separa confirmação humana, concorrência otimista, retry idempotente e autoridade do backend enquanto materializa o request schema real da inativação.",
            "demonstrates": [
              "Abra a ação de inativação e observe o Dynamic Form materializar data efetiva, código do motivo e comentário a partir do request schema publicado.",
              "Cancele a confirmação e confirme que nenhum comando chegou ao executor local.",
              "Confirme a intenção e acompanhe uma única transição de ATIVO para INATIVO.",
              "Repita a mesma tentativa e confira o mesmo identificador de transição sem um segundo efeito.",
              "Compare confirmação, If-Match, Idempotency-Key e autorização como garantias complementares, nunca intercambiáveis."
            ]
          }
        },
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "workflow-action.request-schema",
          "workflow-action.confirmation",
          "workflow-action.idempotency",
          "workflow-action.resource-version",
          "runtime-diagnostics"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered?path=/api/human-resources/funcionarios/{id}/actions/deactivate&operation=post&schemaType=request",
          "GET /schemas/actions?resource=human-resources.funcionarios",
          "POST /api/human-resources/funcionarios/{id}/actions/deactivate"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "request-schema-loaded",
            "praxis-dynamic-form-rendered",
            "confirmation-cancel-blocks-command",
            "confirmation-accepts-one-command",
            "idempotent-replay-keeps-transition-id",
            "no-remote-post-sent"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "schemas-actions-human-resources-funcionarios",
            "filtered-schema-request-funcionario-deactivate",
            "employee-state-snapshot-actions"
          ],
          "pendingHttpIds": [],
          "notes": [
            "The request schema and action contract are read from the published Quickstart; the protected POST is intentionally replaced by a deterministic local executor.",
            "The local executor is an educational projection, not evidence that an anonymous visitor is authorized to mutate the public employee resource.",
            "The real Quickstart and Angular suites prove stale-version rejection, conflicting idempotency keys, cancellation before POST, a single confirmed execution and read-after-write refresh."
          ]
        },
        "sourceRecipes": [
          "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/controller/FuncionarioController.java",
          "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/dto/actions/FuncionarioLifecycleTransitionRequestDTO.java",
          "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/core/service/ResourceActionExecutionService.java",
          "praxis-ui-angular/projects/praxis-core/src/lib/services/resource-action-open-adapter.service.ts",
          "praxis-ui-angular/projects/praxis-dynamic-form/src/lib/praxis-dynamic-form.ts"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "funcionarioBusinessCommand",
              "shell": {
                "kind": "dashboard-card",
                "icon": "verified_user",
                "title": "Employee deactivation command",
                "subtitle": "Confirmation, version, attempt identity and authority remain independent"
              },
              "definition": {
                "id": "praxis-dynamic-form",
                "bindingOrder": [
                  "config",
                  "formId",
                  "resourceId",
                  "mode",
                  "schemaUrl",
                  "initialValue"
                ],
                "inputs": {
                  "formId": "funcionario-business-command-lab",
                  "resourceId": 194,
                  "mode": "create",
                  "schemaUrl": "/schemas/filtered?path=%2Fapi%2Fhuman-resources%2Ffuncionarios%2F%7Bid%7D%2Factions%2Fdeactivate&operation=post&schemaType=request",
                  "initialValue": {
                    "effectiveAt": "2026-09-08",
                    "reasonCode": "TEMPORARY_LEAVE",
                    "comment": "Temporary leave validated by People Ops."
                  },
                  "showAiAssistant": false,
                  "enableCustomization": false,
                  "configPersistenceStrategy": "input-first",
                  "layoutPolicy": {
                    "source": "schema",
                    "intent": "command",
                    "preset": "groupedCommand",
                    "lifecycle": "live",
                    "persistence": "transient",
                    "schemaType": "request",
                    "groupedCommand": {
                      "partialRowStrategy": "fill-compatible"
                    }
                  },
                  "config": {
                    "metadata": {
                      "version": "1.0.0",
                      "source": "schema"
                    },
                    "actions": {
                      "submit": {
                        "id": "submit",
                        "label": "Submit",
                        "visible": false,
                        "type": "submit"
                      },
                      "cancel": {
                        "id": "cancel",
                        "label": "Cancel",
                        "visible": false,
                        "type": "button"
                      },
                      "reset": {
                        "id": "reset",
                        "label": "Reset",
                        "visible": false,
                        "type": "reset"
                      },
                      "custom": [
                        {
                          "id": "execute-deactivate",
                          "action": "execute-deactivate",
                          "label": "Confirm deactivation",
                          "visible": true,
                          "type": "button",
                          "color": "primary",
                          "variant": "flat"
                        }
                      ],
                      "position": "right",
                      "placement": "afterSections",
                      "spacing": "compact"
                    },
                    "messages": {
                      "confirmations": {
                        "execute-deactivate": "Deactivate employee demo #194 on the informed effective date?"
                      },
                      "customActions": {
                        "execute-deactivate": {
                          "confirmation": "Deactivate employee demo #194 on the informed effective date?"
                        }
                      }
                    }
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "funcionario-lifecycle-form",
      "title": "Funcionario - lifecycle form",
      "summary": "Models lifecycle decisions, assignment changes and deactivation rules as runtime form behavior over the funcionarios contract.",
      "i18n": {
        "pt": {
          "title": "Funcionário - formulário de ciclo de vida",
          "summary": "Modela decisões de ciclo de vida, mudança de lotação e desativação como comportamento de formulário em runtime.",
          "demonstrates": [
            "Explore Funcionário - formulário de ciclo de vida e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-dynamic-form materializa human-resources/funcionarios com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Modela decisões de ciclo de vida, mudança de lotação e desativação como comportamento de formulário em runtime.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas filtered?schemaType=response e {id}."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/funcionario-lifecycle-form",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/funcionario-lifecycle-form",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-dynamic-form",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "resource-detail",
        "options",
        "capabilities",
        "dynamic-form.rules",
        "dynamic-form.validation",
        "dynamic-form.actions",
        "remote-data"
      ],
      "tags": [
        "form",
        "rules",
        "validation",
        "lifecycle",
        "conditional-display",
        "conditional-required",
        "remote-options",
        "quickstart"
      ],
      "demonstrates": [
        "Edit form hydrated from a real funcionario while host workflow fields guide lifecycle decisions",
        "conditionalDisplay and conditionalRequired rules for deactivation and reassignment paths",
        "Reactive validation configuration and field-level validators",
        "Remote async selects for cargo and departamento assignment changes",
        "Custom form actions for previewing policy and submitting lifecycle requests"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "resource-detail",
        "dynamic-form.rules",
        "dynamic-form.validation",
        "dynamic-form.actions",
        "remote-options",
        "capabilities"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered?schemaType=response",
        "GET /api/human-resources/funcionarios/{id}",
        "POST /api/human-resources/cargos/options/filter",
        "POST /api/human-resources/departamentos/options/filter",
        "GET /api/human-resources/funcionarios/{id}/capabilities"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "base-components",
      "variantFamilyId": "employee-form-workflows",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-dynamic-form-rendered",
          "conditional-fields-rendered",
          "reactive-validation-configured",
          "quickstart-detail-response"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "filtered-schema-response-funcionarios",
          "funcionarios-get-by-id",
          "cargos-options-filter",
          "departamentos-options-filter"
        ],
        "pendingHttpIds": [],
        "notes": [
          "Workflow-only fields are host-authored UI state; persisted funcionario fields still come from the published resource contract.",
          "The example uses existing Dynamic Form rule properties and package-owned Dynamic Fields controls."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/funcionario-lifecycle-form.json",
      "documentation": {
        "story": {
          "pt": "Uma equipe de People Ops precisa conduzir mudança de lotação ou desativação sem transformar cada caminho do ciclo de vida em uma tela diferente. O formulário combina o registro remoto com estado transitório de workflow e deixa explícito o que muda em cada decisão.",
          "en": "A People Ops team must handle reassignment or deactivation without turning every lifecycle path into a different screen. The form combines the remote record with transient workflow state and makes each decision path explicit."
        },
        "outcome": {
          "pt": "Seções condicionais, validação reativa, opções remotas e ações compõem uma solicitação coerente; autorização, política de ciclo de vida e persistência continuam no backend e no host.",
          "en": "Conditional sections, reactive validation, remote options and actions compose a coherent request while authorization, lifecycle policy and persistence remain owned by the backend and host."
        },
        "componentRoles": [
          {
            "component": "praxis-dynamic-form",
            "jsonPath": "page.widgets[funcionarioLifecycleForm].definition.inputs",
            "role": {
              "pt": "Orquestra o registro remoto, as seções, a validação reativa, as regras e as ações da solicitação.",
              "en": "Orchestrates the remote record, sections, reactive validation, rules and request actions."
            },
            "rationale": {
              "pt": "Evita telas separadas para atualização, mudança de lotação e desativação.",
              "en": "Avoids separate screens for update, reassignment and deactivation."
            }
          },
          {
            "component": "praxis-dynamic-fields",
            "jsonPath": "definition.inputs.config.fieldMetadata",
            "role": {
              "pt": "Materializa controles de identidade, decisão, datas, remuneração e option sources remotos.",
              "en": "Materializes identity, decision, date, compensation and remote option-source controls."
            },
            "rationale": {
              "pt": "Preserva o significado e o contrato de valor de cada propriedade.",
              "en": "Preserves each property meaning and value contract."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.resourcePath + resourceId + mode",
            "title": {
              "pt": "Registro e modo",
              "en": "Record and mode"
            },
            "explanation": {
              "pt": "Carrega o funcionário 1 em edição e mantém a identidade do recurso explícita.",
              "en": "Loads employee 1 in edit mode and keeps resource identity explicit."
            }
          },
          {
            "jsonPath": "definition.inputs.initialValue.lifecycleAction",
            "title": {
              "pt": "Decisão transitória",
              "en": "Transient decision"
            },
            "explanation": {
              "pt": "Inicia a demonstração em UPDATE_ASSIGNMENT sem fingir que lifecycleAction pertence ao DTO.",
              "en": "Starts the demo at UPDATE_ASSIGNMENT without pretending lifecycleAction belongs to the DTO."
            }
          },
          {
            "jsonPath": "definition.inputs.config.sections",
            "title": {
              "pt": "Caminhos da jornada",
              "en": "Journey paths"
            },
            "explanation": {
              "pt": "Separa estado atual, decisão, mudança de lotação e desativação pela tarefa operacional.",
              "en": "Separates current state, decision, reassignment and deactivation by operational task."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata",
            "title": {
              "pt": "Controles governados",
              "en": "Governed controls"
            },
            "explanation": {
              "pt": "Define validações e asyncSelect para cargo e departamento sem catálogos locais.",
              "en": "Defines validation and asyncSelect for role and department without local catalogs."
            }
          },
          {
            "jsonPath": "definition.inputs.config.formRules",
            "title": {
              "pt": "Apresentação condicional",
              "en": "Conditional presentation"
            },
            "explanation": {
              "pt": "Alterna as seções de lotação e desativação; orienta a UX, mas não autoriza a operação.",
              "en": "Alternates reassignment and deactivation sections; it guides UX but does not authorize the operation."
            }
          },
          {
            "jsonPath": "definition.inputs.config.actions",
            "title": {
              "pt": "Intenções do workflow",
              "en": "Workflow intents"
            },
            "explanation": {
              "pt": "Enviar, cancelar, restaurar e pré-visualizar política são ações nomeadas mediadas pelo host.",
              "en": "Submit, cancel, reset and policy preview are named host-mediated actions."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Alterne lifecycleAction entre UPDATE_ASSIGNMENT e DEACTIVATE e observe as seções visíveis.",
            "en": "Switch lifecycleAction between UPDATE_ASSIGNMENT and DEACTIVATE and observe visible sections."
          },
          {
            "pt": "Ajuste reactiveValidationDebounceMs e compare rapidez de feedback com estabilidade durante digitação.",
            "en": "Adjust reactiveValidationDebounceMs and compare feedback speed with typing stability."
          },
          {
            "pt": "Remova um campo obrigatório de cada caminho e verifique a prontidão antes da ação do host.",
            "en": "Remove a required field from each path and verify readiness before the host action."
          }
        ],
        "productionNotes": [
          {
            "pt": "formRules controlam apresentação; política, autorização e transição real devem ser revalidadas no backend.",
            "en": "formRules control presentation; policy, authorization and actual transitions must be revalidated by the backend."
          },
          {
            "pt": "Option sources devem permanecer ligados à metadata canônica e ao contexto autenticado.",
            "en": "Option sources must remain tied to canonical metadata and authenticated context."
          },
          {
            "pt": "Remuneração e desligamento exigem schema filtrado, capabilities, auditoria e erro seguro.",
            "en": "Compensation and offboarding require filtered schema, capabilities, auditing and safe error handling."
          }
        ]
      },
      "envelope": {
        "id": "funcionario-lifecycle-form",
        "title": "Funcionario - lifecycle form",
        "summary": "Models lifecycle decisions, assignment changes and deactivation rules as runtime form behavior over the funcionarios contract.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-dynamic-form",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "resource-detail",
          "options",
          "capabilities",
          "dynamic-form.rules",
          "dynamic-form.validation",
          "dynamic-form.actions",
          "remote-data"
        ],
        "tags": [
          "form",
          "rules",
          "validation",
          "lifecycle",
          "conditional-display",
          "conditional-required",
          "remote-options",
          "quickstart"
        ],
        "demonstrates": [
          "Edit form hydrated from a real funcionario while host workflow fields guide lifecycle decisions",
          "conditionalDisplay and conditionalRequired rules for deactivation and reassignment paths",
          "Reactive validation configuration and field-level validators",
          "Remote async selects for cargo and departamento assignment changes",
          "Custom form actions for previewing policy and submitting lifecycle requests"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "resource-detail",
          "dynamic-form.rules",
          "dynamic-form.validation",
          "dynamic-form.actions",
          "remote-options",
          "capabilities"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered?schemaType=response",
          "GET /api/human-resources/funcionarios/{id}",
          "POST /api/human-resources/cargos/options/filter",
          "POST /api/human-resources/departamentos/options/filter",
          "GET /api/human-resources/funcionarios/{id}/capabilities"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-dynamic-form-rendered",
            "conditional-fields-rendered",
            "reactive-validation-configured",
            "quickstart-detail-response"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "filtered-schema-response-funcionarios",
            "funcionarios-get-by-id",
            "cargos-options-filter",
            "departamentos-options-filter"
          ],
          "pendingHttpIds": [],
          "notes": [
            "Workflow-only fields are host-authored UI state; persisted funcionario fields still come from the published resource contract.",
            "The example uses existing Dynamic Form rule properties and package-owned Dynamic Fields controls."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.lifecycle-form.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "funcionarioLifecycleForm",
              "shell": {
                "kind": "dashboard-card",
                "icon": "rule",
                "title": "Funcionario lifecycle",
                "subtitle": "Rules, validations and workflow-only fields"
              },
              "definition": {
                "id": "praxis-dynamic-form",
                "bindingOrder": [
                  "config",
                  "resourcePath",
                  "formId",
                  "resourceId",
                  "initialValue"
                ],
                "inputs": {
                  "formId": "human-resources-funcionarios-lifecycle",
                  "resourcePath": "human-resources/funcionarios",
                  "resourceId": 1,
                  "mode": "edit",
                  "reactiveValidation": true,
                  "reactiveValidationDebounceMs": 200,
                  "initialValue": {
                    "lifecycleAction": "UPDATE_ASSIGNMENT",
                    "keepPayrollActive": true
                  },
                  "config": {
                    "metadata": {
                      "name": "Funcionario lifecycle workflow",
                      "version": "1.0.0"
                    },
                    "behavior": {
                      "reactiveValidation": true,
                      "reactiveValidationDebounceMs": 200
                    },
                    "sections": [
                      {
                        "id": "current-state",
                        "title": "Current state",
                        "description": "Read the current employee data before choosing a lifecycle path.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "current-state-row",
                            "columns": [
                              {
                                "id": "current-identity",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "nomeCompleto",
                                  "email",
                                  "ativo"
                                ]
                              },
                              {
                                "id": "current-assignment",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "cargoId",
                                  "departamentoId",
                                  "salario"
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id": "workflow-decision",
                        "title": "Lifecycle decision",
                        "description": "Host-owned workflow fields drive conditional display and validation.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "decision-row-1",
                            "columns": [
                              {
                                "id": "decision-main",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "lifecycleAction",
                                  "effectiveDate"
                                ]
                              },
                              {
                                "id": "decision-flags",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "keepPayrollActive",
                                  "requiresManagerApproval"
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id": "assignment-change",
                        "title": "Assignment change",
                        "description": "Only required when the selected lifecycle path changes assignment.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "assignment-change-row",
                            "columns": [
                              {
                                "id": "assignment-change-main",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "newCargoId",
                                  "newDepartamentoId"
                                ]
                              },
                              {
                                "id": "assignment-change-payroll",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "newSalary",
                                  "assignmentReason"
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id": "deactivation",
                        "title": "Deactivation",
                        "description": "Visible only for deactivation requests.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "deactivation-row",
                            "columns": [
                              {
                                "id": "deactivation-main",
                                "fields": [
                                  "deactivationReason",
                                  "deactivationNotes"
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ],
                    "fieldMetadata": [
                      {
                        "name": "nomeCompleto",
                        "label": "Nome Completo",
                        "controlType": "input",
                        "readonly": true,
                        "validators": {
                          "required": true,
                          "maxLength": 160
                        }
                      },
                      {
                        "name": "email",
                        "label": "Email",
                        "controlType": "email",
                        "readonly": true,
                        "validators": {
                          "email": true
                        }
                      },
                      {
                        "name": "ativo",
                        "label": "Ativo",
                        "controlType": "toggle",
                        "readonly": true
                      },
                      {
                        "name": "cargoId",
                        "label": "Cargo atual",
                        "controlType": "asyncSelect",
                        "endpoint": "/api/human-resources/cargos/options/filter",
                        "displayField": "label",
                        "valueField": "id",
                        "readonly": true
                      },
                      {
                        "name": "departamentoId",
                        "label": "Departamento atual",
                        "controlType": "asyncSelect",
                        "endpoint": "/api/human-resources/departamentos/options/filter",
                        "displayField": "label",
                        "valueField": "id",
                        "readonly": true
                      },
                      {
                        "name": "salario",
                        "label": "Salario atual",
                        "controlType": "currency",
                        "currencyCode": "BRL",
                        "locale": "pt-BR",
                        "readonly": true
                      },
                      {
                        "name": "lifecycleAction",
                        "label": "Lifecycle action",
                        "controlType": "select",
                        "validators": {
                          "required": true
                        },
                        "options": [
                          {
                            "label": "Update assignment",
                            "value": "UPDATE_ASSIGNMENT"
                          },
                          {
                            "label": "Promote",
                            "value": "PROMOTE"
                          },
                          {
                            "label": "Deactivate",
                            "value": "DEACTIVATE"
                          }
                        ]
                      },
                      {
                        "name": "effectiveDate",
                        "label": "Effective date",
                        "controlType": "date",
                        "validators": {
                          "required": true
                        }
                      },
                      {
                        "name": "keepPayrollActive",
                        "label": "Keep payroll active",
                        "controlType": "toggle",
                        "conditionalDisplay": {
                          "!==": [
                            {
                              "var": "lifecycleAction"
                            },
                            "DEACTIVATE"
                          ]
                        }
                      },
                      {
                        "name": "requiresManagerApproval",
                        "label": "Requires manager approval",
                        "controlType": "checkbox",
                        "conditionalDisplay": {
                          "or": [
                            {
                              "===": [
                                {
                                  "var": "lifecycleAction"
                                },
                                "PROMOTE"
                              ]
                            },
                            {
                              "===": [
                                {
                                  "var": "lifecycleAction"
                                },
                                "DEACTIVATE"
                              ]
                            }
                          ]
                        },
                        "conditionalRequired": {
                          "or": [
                            {
                              "===": [
                                {
                                  "var": "lifecycleAction"
                                },
                                "PROMOTE"
                              ]
                            },
                            {
                              "===": [
                                {
                                  "var": "lifecycleAction"
                                },
                                "DEACTIVATE"
                              ]
                            }
                          ]
                        }
                      },
                      {
                        "name": "newCargoId",
                        "label": "New cargo",
                        "controlType": "asyncSelect",
                        "endpoint": "/api/human-resources/cargos/options/filter",
                        "displayField": "label",
                        "valueField": "id",
                        "conditionalDisplay": {
                          "or": [
                            {
                              "===": [
                                {
                                  "var": "lifecycleAction"
                                },
                                "UPDATE_ASSIGNMENT"
                              ]
                            },
                            {
                              "===": [
                                {
                                  "var": "lifecycleAction"
                                },
                                "PROMOTE"
                              ]
                            }
                          ]
                        },
                        "conditionalRequired": {
                          "or": [
                            {
                              "===": [
                                {
                                  "var": "lifecycleAction"
                                },
                                "UPDATE_ASSIGNMENT"
                              ]
                            },
                            {
                              "===": [
                                {
                                  "var": "lifecycleAction"
                                },
                                "PROMOTE"
                              ]
                            }
                          ]
                        }
                      },
                      {
                        "name": "newDepartamentoId",
                        "label": "New departamento",
                        "controlType": "asyncSelect",
                        "endpoint": "/api/human-resources/departamentos/options/filter",
                        "displayField": "label",
                        "valueField": "id",
                        "conditionalDisplay": {
                          "or": [
                            {
                              "===": [
                                {
                                  "var": "lifecycleAction"
                                },
                                "UPDATE_ASSIGNMENT"
                              ]
                            },
                            {
                              "===": [
                                {
                                  "var": "lifecycleAction"
                                },
                                "PROMOTE"
                              ]
                            }
                          ]
                        },
                        "conditionalRequired": {
                          "===": [
                            {
                              "var": "lifecycleAction"
                            },
                            "UPDATE_ASSIGNMENT"
                          ]
                        }
                      },
                      {
                        "name": "newSalary",
                        "label": "New salary",
                        "controlType": "currency",
                        "currencyCode": "BRL",
                        "locale": "pt-BR",
                        "validators": {
                          "min": 0
                        },
                        "conditionalDisplay": {
                          "===": [
                            {
                              "var": "lifecycleAction"
                            },
                            "PROMOTE"
                          ]
                        },
                        "conditionalRequired": {
                          "===": [
                            {
                              "var": "lifecycleAction"
                            },
                            "PROMOTE"
                          ]
                        }
                      },
                      {
                        "name": "assignmentReason",
                        "label": "Assignment reason",
                        "controlType": "textarea",
                        "rows": 3,
                        "validators": {
                          "minLength": 12,
                          "maxLength": 500
                        },
                        "conditionalDisplay": {
                          "or": [
                            {
                              "===": [
                                {
                                  "var": "lifecycleAction"
                                },
                                "UPDATE_ASSIGNMENT"
                              ]
                            },
                            {
                              "===": [
                                {
                                  "var": "lifecycleAction"
                                },
                                "PROMOTE"
                              ]
                            }
                          ]
                        },
                        "conditionalRequired": {
                          "or": [
                            {
                              "===": [
                                {
                                  "var": "lifecycleAction"
                                },
                                "UPDATE_ASSIGNMENT"
                              ]
                            },
                            {
                              "===": [
                                {
                                  "var": "lifecycleAction"
                                },
                                "PROMOTE"
                              ]
                            }
                          ]
                        }
                      },
                      {
                        "name": "deactivationReason",
                        "label": "Deactivation reason",
                        "controlType": "select",
                        "options": [
                          {
                            "label": "Contract ended",
                            "value": "CONTRACT_ENDED"
                          },
                          {
                            "label": "Transferred",
                            "value": "TRANSFERRED"
                          },
                          {
                            "label": "Security hold",
                            "value": "SECURITY_HOLD"
                          }
                        ],
                        "conditionalDisplay": {
                          "===": [
                            {
                              "var": "lifecycleAction"
                            },
                            "DEACTIVATE"
                          ]
                        },
                        "conditionalRequired": {
                          "===": [
                            {
                              "var": "lifecycleAction"
                            },
                            "DEACTIVATE"
                          ]
                        }
                      },
                      {
                        "name": "deactivationNotes",
                        "label": "Deactivation notes",
                        "controlType": "textarea",
                        "rows": 4,
                        "validators": {
                          "minLength": 20,
                          "maxLength": 800
                        },
                        "conditionalDisplay": {
                          "===": [
                            {
                              "var": "lifecycleAction"
                            },
                            "DEACTIVATE"
                          ]
                        },
                        "conditionalRequired": {
                          "===": [
                            {
                              "var": "lifecycleAction"
                            },
                            "DEACTIVATE"
                          ]
                        }
                      }
                    ],
                    "formRules": [
                      {
                        "id": "deactivation-hides-assignment-change",
                        "name": "Deactivation hides assignment change section",
                        "targetType": "section",
                        "targetId": "assignment-change",
                        "condition": {
                          "===": [
                            {
                              "var": "lifecycleAction"
                            },
                            "DEACTIVATE"
                          ]
                        },
                        "effect": {
                          "propertiesWhenTrue": {
                            "visible": false
                          },
                          "propertiesWhenFalse": {
                            "visible": true
                          }
                        }
                      },
                      {
                        "id": "assignment-path-hides-deactivation-section",
                        "name": "Assignment paths hide deactivation section",
                        "targetType": "section",
                        "targetId": "deactivation",
                        "condition": {
                          "===": [
                            {
                              "var": "lifecycleAction"
                            },
                            "DEACTIVATE"
                          ]
                        },
                        "effect": {
                          "propertiesWhenTrue": {
                            "visible": true
                          },
                          "propertiesWhenFalse": {
                            "visible": false
                          }
                        }
                      }
                    ],
                    "actions": {
                      "submit": {
                        "id": "submit-lifecycle-request",
                        "label": "Submit request",
                        "icon": "send",
                        "color": "primary",
                        "visible": true,
                        "type": "submit"
                      },
                      "cancel": {
                        "id": "cancel-lifecycle",
                        "label": "Cancel",
                        "icon": "close",
                        "visible": true,
                        "type": "button"
                      },
                      "reset": {
                        "id": "reset-lifecycle",
                        "label": "Reset workflow",
                        "visible": true,
                        "type": "reset"
                      },
                      "custom": [
                        {
                          "id": "preview-policy",
                          "label": "Preview policy",
                          "icon": "policy",
                          "visible": true,
                          "action": "previewPolicy"
                        }
                      ],
                      "position": "right",
                      "placement": "afterSections",
                      "spacing": "normal"
                    }
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "dynamic-fields-control-catalog",
      "title": "Dynamic Fields - control catalog",
      "summary": "Publishes the Dynamic Fields catalog as a live reference that authors and agents can reuse when choosing controls for governed forms.",
      "i18n": {
        "pt": {
          "title": "Dynamic Fields - catálogo de controles",
          "summary": "Publica o catálogo de Dynamic Fields como referência viva para autores e agentes escolherem controles governados.",
          "demonstrates": [
            "Explore Dynamic Fields - catálogo de controles e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-dynamic-fields materializa dynamic-fields/catalog com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Publica o catálogo de Dynamic Fields como referência viva para autores e agentes escolherem controles governados.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, dynamic-form.sections, dynamic-form.fieldMetadata.",
            "Verifique a conexão com as evidências canônicas filter e by-ids."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/dynamic-fields-control-catalog",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/dynamic-fields-control-catalog",
      "category": "feature",
      "mode": "authored-customizable",
      "primaryComponent": "praxis-dynamic-fields",
      "resourcePath": "dynamic-fields/catalog",
      "resourceKey": "dynamic-fields.catalog",
      "requires": [
        "dynamic-form.sections",
        "dynamic-form.fieldMetadata",
        "dynamic-fields.catalog",
        "dynamic-fields.editorial-metadata",
        "local-transient-state"
      ],
      "tags": [
        "dynamic-fields",
        "field-catalog",
        "form",
        "controls",
        "local-transient",
        "ai-recipe"
      ],
      "demonstrates": [
        "Package-owned field controls grouped by text, number, date, selection and visual families",
        "Field-specific metadata for masks, validators, options, ranges, uploads and avatars",
        "Local transient form state for experimenting without mutating backend resources",
        "Copyable control recipes for agents that need exact controlType names",
        "Runtime/editorial coverage stated separately from backend resource semantics"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "dynamic-form.sections",
        "dynamic-form.fieldMetadata",
        "dynamic-fields.catalog",
        "dynamic-fields.editorial-metadata",
        "local-transient-state"
      ],
      "backendSurfaces": [
        "POST /api/human-resources/cargos/options/filter",
        "GET /api/human-resources/cargos/options/by-ids",
        "praxis-ui-angular/projects/praxis-dynamic-fields/src/lib/catalog/dynamic-fields-playground.catalog.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-form.fields.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-form.form-config.json"
      ],
      "complexity": "advanced",
      "catalogRole": "capability-lab",
      "learningStage": "base-components",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-dynamic-form-rendered",
          "field-control-families-rendered",
          "package-owned-control-types-only"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "filtered-schema-response-funcionarios"
        ],
        "pendingHttpIds": [],
        "notes": [
          "This example keeps form state local and transient while the cargo lookup uses the governed read-only filter and by-ids option-source contract.",
          "All controlType values are package-owned Dynamic Fields controls already represented in the catalog and AI recipes."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-form.fields.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-form.form-config.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/dynamic-fields-control-catalog.json",
      "documentation": {
        "story": {
          "pt": "Uma pessoa autora precisa escolher o controle adequado para cada propriedade sem depender de memória, screenshots ou listas desatualizadas. O catálogo reúne controles oficiais em um formulário transitório para comparar comportamento, metadata e valor produzido.",
          "en": "An author needs to choose the right control for each property without relying on memory, screenshots or stale lists. The catalog brings official controls into a transient form to compare behavior, metadata and produced values."
        },
        "outcome": {
          "pt": "Famílias de texto, datas, seleção e apresentação tornam o vocabulário do Dynamic Fields explorável e copiável sem criar um segundo registry nem substituir a metadata do domínio.",
          "en": "Text, date, selection and presentation families make the Dynamic Fields vocabulary explorable and copyable without creating a second registry or replacing domain metadata."
        },
        "componentRoles": [
          {
            "component": "praxis-dynamic-form",
            "jsonPath": "page.widgets[dynamicFieldsCatalogForm].definition.inputs.config",
            "role": {
              "pt": "Agrupa controles em famílias, hospeda estado transitório e publica ações de laboratório.",
              "en": "Groups controls into families, hosts transient state and publishes lab actions."
            },
            "rationale": {
              "pt": "Oferece prova executável em vez de uma galeria de screenshots.",
              "en": "Provides executable proof instead of a screenshot gallery."
            }
          },
          {
            "component": "praxis-dynamic-fields",
            "jsonPath": "definition.inputs.config.fieldMetadata",
            "role": {
              "pt": "Resolve 23 controlTypes oficiais e seus metadados específicos.",
              "en": "Resolves 23 official controlTypes and their specific metadata."
            },
            "rationale": {
              "pt": "Mantém runtime, descoberta editorial e tooling ligados ao owner canônico.",
              "en": "Keeps runtime, editorial discovery and tooling tied to the canonical owner."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.formId + mode",
            "title": {
              "pt": "Laboratório local",
              "en": "Local lab"
            },
            "explanation": {
              "pt": "Nomeia a instância em edição sem vinculá-la a uma mutação de recurso.",
              "en": "Names the editable instance without binding it to a resource mutation."
            }
          },
          {
            "jsonPath": "definition.inputs.config.sections",
            "title": {
              "pt": "Famílias para comparação",
              "en": "Families for comparison"
            },
            "explanation": {
              "pt": "Organiza texto, datas, seleção e controles visuais pela decisão de autoria.",
              "en": "Organizes text, date, selection and visual controls around the authoring decision."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata[]",
            "title": {
              "pt": "Vocabulário oficial",
              "en": "Official vocabulary"
            },
            "explanation": {
              "pt": "Associa property, controlType, validação, opções e atributos específicos.",
              "en": "Associates property, controlType, validation, options and specific attributes."
            }
          },
          {
            "jsonPath": "definition.inputs.initialValue",
            "title": {
              "pt": "Valores observáveis",
              "en": "Observable values"
            },
            "explanation": {
              "pt": "Usa dados fictícios para tornar formatação, seleção e round-trip verificáveis.",
              "en": "Uses fixture data to make formatting, selection and round-trip verifiable."
            }
          },
          {
            "jsonPath": "definition.inputs.config.actions",
            "title": {
              "pt": "Exploração sem persistência",
              "en": "Exploration without persistence"
            },
            "explanation": {
              "pt": "Copiar, limpar e restaurar operam no laboratório, não em uma entidade corporativa.",
              "en": "Copy, clear and reset operate in the lab, not on an enterprise entity."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Troque um input por textarea preservando name e compare apenas a interação.",
            "en": "Change an input to textarea while preserving name and compare only the interaction."
          },
          {
            "pt": "Compare select e asyncSelect para dados locais e fontes governadas volumosas.",
            "en": "Compare select and asyncSelect for local data and governed high-volume sources."
          },
          {
            "pt": "Altere locale e currency e confirme que apresentação muda sem converter o valor em texto.",
            "en": "Change locale and currency and confirm presentation changes without converting the value to text."
          }
        ],
        "productionNotes": [
          {
            "pt": "O catálogo é referência de autoria, não formulário de negócio nem segunda fonte de metadata.",
            "en": "The catalog is an authoring reference, not a business form or second metadata source."
          },
          {
            "pt": "Passwords, documentos e uploads fictícios não substituem políticas de segredo, PII e armazenamento.",
            "en": "Fixture passwords, documents and uploads do not replace secret, PII and storage policies."
          },
          {
            "pt": "Suporte runtime não prova paridade editorial; registry, catálogo, manifesto e tooling devem ficar sincronizados.",
            "en": "Runtime support does not prove editorial parity; registry, catalog, manifest and tooling must stay synchronized."
          }
        ]
      },
      "envelope": {
        "id": "dynamic-fields-control-catalog",
        "title": "Dynamic Fields - control catalog",
        "summary": "Publishes the Dynamic Fields catalog as a live reference that authors and agents can reuse when choosing controls for governed forms.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-dynamic-fields",
        "runtime": {
          "mode": "authored-customizable",
          "minPraxisUiPackage": "@praxisui/dynamic-fields"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "dynamic-fields/catalog",
          "resourceKey": "dynamic-fields.catalog"
        },
        "requires": [
          "dynamic-form.sections",
          "dynamic-form.fieldMetadata",
          "dynamic-fields.catalog",
          "dynamic-fields.editorial-metadata",
          "local-transient-state"
        ],
        "tags": [
          "dynamic-fields",
          "field-catalog",
          "form",
          "controls",
          "local-transient",
          "ai-recipe"
        ],
        "demonstrates": [
          "Package-owned field controls grouped by text, number, date, selection and visual families",
          "Field-specific metadata for masks, validators, options, ranges, uploads and avatars",
          "Local transient form state for experimenting without mutating backend resources",
          "Copyable control recipes for agents that need exact controlType names",
          "Runtime/editorial coverage stated separately from backend resource semantics"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "dynamic-form.sections",
          "dynamic-form.fieldMetadata",
          "dynamic-fields.catalog",
          "dynamic-fields.editorial-metadata",
          "local-transient-state"
        ],
        "backendSurfaces": [
          "POST /api/human-resources/cargos/options/filter",
          "GET /api/human-resources/cargos/options/by-ids",
          "praxis-ui-angular/projects/praxis-dynamic-fields/src/lib/catalog/dynamic-fields-playground.catalog.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-form.fields.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-form.form-config.json"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-dynamic-form-rendered",
            "field-control-families-rendered",
            "package-owned-control-types-only"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "filtered-schema-response-funcionarios"
          ],
          "pendingHttpIds": [],
          "notes": [
            "This example keeps form state local and transient while the cargo lookup uses the governed read-only filter and by-ids option-source contract.",
            "All controlType values are package-owned Dynamic Fields controls already represented in the catalog and AI recipes."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.dynamic-fields-catalog.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-form.fields.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-form.form-config.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "dynamicFieldsCatalogForm",
              "shell": {
                "kind": "dashboard-card",
                "icon": "widgets",
                "title": "Dynamic Fields catalog",
                "subtitle": "Package-owned control recipes grouped by family"
              },
              "definition": {
                "id": "praxis-dynamic-form",
                "bindingOrder": [
                  "config",
                  "formId",
                  "initialValue"
                ],
                "inputs": {
                  "formId": "dynamic-fields-control-catalog",
                  "mode": "edit",
                  "initialValue": {
                    "fullName": "Ayla Hayes",
                    "emailAddress": "ayla.hayes@blackmesa.com",
                    "password": "Praxis-demo-2026",
                    "profileUrl": "https://praxisplatform.dev",
                    "phoneNumber": "+55 11 97100047",
                    "documentNumber": "99000000047",
                    "biography": "Operational profile used to demonstrate text, mask and validation controls.",
                    "salaryTarget": 28500,
                    "allocationPercent": 72,
                    "readinessRating": 4,
                    "admissionDate": "2022-03-05",
                    "availabilityWindow": {
                      "start": "2026-04-01",
                      "end": "2026-04-30"
                    },
                    "briefingTime": "09:30",
                    "department": "RD",
                    "cargoLookup": 2,
                    "skills": [
                      "ANGULAR",
                      "SECURITY"
                    ],
                    "workMode": "HYBRID",
                    "activeAssignment": true,
                    "tags": [
                      "metadata",
                      "runtime",
                      "agent-ready"
                    ],
                    "brandColor": "#1263b4",
                    "avatarUrl": "https://api.dicebear.com/7.x/adventurer/png?seed=ayla"
                  },
                  "config": {
                    "metadata": {
                      "name": "Dynamic Fields control catalog",
                      "version": "1.0.0"
                    },
                    "sections": [
                      {
                        "id": "text-family",
                        "title": "Text and identity",
                        "description": "Text, credentials, contact and Brazilian document controls.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "text-row-1",
                            "columns": [
                              {
                                "id": "text-left",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "fullName",
                                  "emailAddress",
                                  "password",
                                  "profileUrl"
                                ]
                              },
                              {
                                "id": "text-right",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "phoneNumber",
                                  "documentNumber",
                                  "biography"
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id": "numbers-dates",
                        "title": "Numbers and dates",
                        "description": "Numeric, currency, slider, rating, date range and time controls.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "numbers-row-1",
                            "columns": [
                              {
                                "id": "numbers-left",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "salaryTarget",
                                  "allocationPercent",
                                  "readinessRating"
                                ]
                              },
                              {
                                "id": "dates-right",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "admissionDate",
                                  "availabilityWindow",
                                  "briefingTime"
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id": "selection-family",
                        "title": "Selection",
                        "description": "Select, async select, multi select, radio and toggle controls.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "selection-row-1",
                            "columns": [
                              {
                                "id": "selection-left",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "department",
                                  "cargoLookup",
                                  "skills"
                                ]
                              },
                              {
                                "id": "selection-right",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "workMode",
                                  "activeAssignment",
                                  "acceptTerms"
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id": "visual-family",
                        "title": "Visual and attachments",
                        "description": "Chips, color, avatar and upload controls.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "visual-row-1",
                            "columns": [
                              {
                                "id": "visual-left",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "tags",
                                  "brandColor"
                                ]
                              },
                              {
                                "id": "visual-right",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "avatarUrl",
                                  "attachments"
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ],
                    "fieldMetadata": [
                      {
                        "name": "fullName",
                        "label": "Full name",
                        "controlType": "input",
                        "validators": {
                          "required": true,
                          "maxLength": 160
                        }
                      },
                      {
                        "name": "emailAddress",
                        "label": "Email",
                        "controlType": "email",
                        "validators": {
                          "required": true,
                          "email": true
                        }
                      },
                      {
                        "name": "password",
                        "label": "Password",
                        "controlType": "password",
                        "validators": {
                          "minLength": 8
                        }
                      },
                      {
                        "name": "profileUrl",
                        "label": "Profile URL",
                        "controlType": "url",
                        "placeholder": "https://example.com/profile"
                      },
                      {
                        "name": "phoneNumber",
                        "label": "Phone",
                        "controlType": "phone",
                        "maskType": "phone"
                      },
                      {
                        "name": "documentNumber",
                        "label": "CPF",
                        "controlType": "cpfCnpjInput",
                        "maskType": "cpf",
                        "unmaskOnSubmit": true
                      },
                      {
                        "name": "biography",
                        "label": "Biography",
                        "controlType": "textarea",
                        "rows": 4,
                        "validators": {
                          "maxLength": 500
                        }
                      },
                      {
                        "name": "salaryTarget",
                        "label": "Salary target",
                        "controlType": "currency",
                        "currencyCode": "BRL",
                        "locale": "pt-BR",
                        "validators": {
                          "min": 0
                        }
                      },
                      {
                        "name": "allocationPercent",
                        "label": "Allocation",
                        "controlType": "slider",
                        "min": 0,
                        "max": 100,
                        "step": 5
                      },
                      {
                        "name": "readinessRating",
                        "label": "Readiness",
                        "controlType": "rating",
                        "max": 5
                      },
                      {
                        "name": "admissionDate",
                        "label": "Admission date",
                        "controlType": "date"
                      },
                      {
                        "name": "availabilityWindow",
                        "label": "Availability window",
                        "controlType": "dateRange"
                      },
                      {
                        "name": "briefingTime",
                        "label": "Briefing time",
                        "controlType": "timePicker"
                      },
                      {
                        "name": "department",
                        "label": "Department",
                        "controlType": "select",
                        "options": [
                          {
                            "label": "Research",
                            "value": "RD"
                          },
                          {
                            "label": "Operations",
                            "value": "OPS"
                          },
                          {
                            "label": "Security",
                            "value": "SEC"
                          }
                        ]
                      },
                      {
                        "name": "cargoLookup",
                        "label": "Cargo lookup",
                        "controlType": "asyncSelect",
                        "endpoint": "/api/human-resources/cargos/options/filter",
                        "displayField": "label",
                        "valueField": "id"
                      },
                      {
                        "name": "skills",
                        "label": "Skills",
                        "controlType": "multiSelect",
                        "options": [
                          {
                            "label": "Angular",
                            "value": "ANGULAR"
                          },
                          {
                            "label": "Security",
                            "value": "SECURITY"
                          },
                          {
                            "label": "Analytics",
                            "value": "ANALYTICS"
                          }
                        ]
                      },
                      {
                        "name": "workMode",
                        "label": "Work mode",
                        "controlType": "radio",
                        "options": [
                          {
                            "label": "Remote",
                            "value": "REMOTE"
                          },
                          {
                            "label": "Hybrid",
                            "value": "HYBRID"
                          },
                          {
                            "label": "Field",
                            "value": "FIELD"
                          }
                        ]
                      },
                      {
                        "name": "activeAssignment",
                        "label": "Active assignment",
                        "controlType": "toggle"
                      },
                      {
                        "name": "acceptTerms",
                        "label": "Accept operating terms",
                        "controlType": "checkbox",
                        "validators": {
                          "requiredChecked": true
                        }
                      },
                      {
                        "name": "tags",
                        "label": "Tags",
                        "controlType": "chipInput"
                      },
                      {
                        "name": "brandColor",
                        "label": "Brand color",
                        "controlType": "colorPicker",
                        "format": "hex"
                      },
                      {
                        "name": "avatarUrl",
                        "label": "Avatar",
                        "controlType": "avatar",
                        "imageField": "avatarUrl"
                      },
                      {
                        "name": "attachments",
                        "label": "Attachments",
                        "controlType": "upload",
                        "multiple": true,
                        "accept": ".pdf,.png,.jpg"
                      }
                    ],
                    "actions": {
                      "submit": {
                        "id": "copy-field-catalog",
                        "label": "Copy control recipe",
                        "icon": "content_copy",
                        "visible": true,
                        "type": "submit"
                      },
                      "cancel": {
                        "id": "clear-field-catalog",
                        "label": "Clear",
                        "visible": true,
                        "type": "button"
                      },
                      "reset": {
                        "id": "reset-field-catalog",
                        "label": "Reset",
                        "visible": true,
                        "type": "reset"
                      },
                      "position": "right",
                      "placement": "afterSections",
                      "spacing": "normal"
                    }
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "operations-list-command-center",
      "title": "Operations - list command center",
      "summary": "Materializes a payroll closing queue with semantic status, formatted operational facts, structured expansion and reachable item actions expressed entirely as configuration.",
      "i18n": {
        "pt": {
          "title": "Operações - central de comando em lista",
          "summary": "Transforma Praxis List em superfície operacional com templates, agrupamento, expansão e ações declaradas por configuração.",
          "demonstrates": [
            "Explore Operações - central de comando em lista e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-list materializa operations/list-showcase com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Transforma Praxis List em superfície operacional com templates, agrupamento, expansão e ações declaradas por configuração.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, praxis-list.dataSource.data, praxis-list.templating.",
            "Verifique a conexão com as evidências canônicas list-config.model.ts e praxis-list.metadata.ts."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/operations-list-command-center",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/operations-list-command-center",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-list",
      "resourcePath": "operations/list-showcase",
      "resourceKey": "operations.list-showcase",
      "requires": [
        "praxis-list.config",
        "list.templating",
        "list.expansion",
        "list.actions"
      ],
      "tags": [
        "list",
        "templating",
        "expansion",
        "actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Coherent local payroll-closing queue grouped by operational workstream",
        "Semantic status, formatted currency, priority and SLA facts materialized from item fields",
        "Icon-owned inline expansion with structured ownership and blocker details",
        "Reachable per-item action with actionClick emitted to the host"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "praxis-list.dataSource.data",
        "praxis-list.templating",
        "praxis-list.actionClick",
        "praxis-list.expansion",
        "local-transient-state"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-list/src/lib/models/list-config.model.ts",
        "praxis-ui-angular/projects/praxis-list/src/lib/praxis-list.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-list.json"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "base-components",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-list-rendered",
          "list-templates-rendered",
          "list-events-declared"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This is intentionally local-only: it demonstrates the component contract surface without requiring a dedicated backend resource.",
          "The same config shape can replace dataSource.data with dataSource.resourcePath when a resource endpoint exists."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.list.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-list.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/operations-list-command-center.json",
      "documentation": {
        "story": {
          "pt": "Durante o fechamento da folha, pessoas operadoras precisam priorizar casos por frente, risco, exposição financeira, prazo e bloqueios. Uma lista textual simples não oferece a hierarquia necessária para decidir o próximo trabalho.",
          "en": "During payroll close, operators need to prioritize cases by workstream, risk, financial exposure, deadline and blockers. A plain text list does not provide the hierarchy needed to choose the next task."
        },
        "outcome": {
          "pt": "Praxis List agrupa a fila, compõe indicadores e revela detalhes sob demanda em uma superfície local determinística. A ação Abrir caso emite intenção; autorização, navegação e efeitos continuam pertencendo ao host.",
          "en": "Praxis List groups the queue, composes indicators and reveals details on demand in a deterministic local surface. Open case emits intent while authorization, navigation and effects remain host-owned."
        },
        "componentRoles": [
          {
            "component": "praxis-list",
            "jsonPath": "page.widgets[operationsListCommandCenter].definition.inputs.config",
            "role": {
              "pt": "Transforma casos locais em uma fila agrupada com hierarquia, indicadores, expansão e ação por item.",
              "en": "Turns local cases into a grouped queue with hierarchy, indicators, expansion and per-item action."
            },
            "rationale": {
              "pt": "Demonstra o contrato completo de apresentação e interação de List sem criar cards repetidos no template.",
              "en": "Demonstrates the complete List presentation and interaction contract without creating repeated cards in the template."
            }
          },
          {
            "component": "praxis-dynamic-page",
            "jsonPath": "page.widgets[operationsListCommandCenter]",
            "role": {
              "pt": "Publica a fila como superfície portátil dentro do catálogo e do Studio.",
              "en": "Publishes the queue as a portable surface inside the catalog and Studio."
            },
            "rationale": {
              "pt": "Mantém enquadramento, layout e identidade separados das decisões internas da coleção.",
              "en": "Keeps framing, layout and identity separate from the collection internal decisions."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.config.dataSource.data",
            "title": {
              "pt": "Cenário operacional local",
              "en": "Local operational scenario"
            },
            "explanation": {
              "pt": "Fixa seis casos de fechamento para demonstrar leitura e interação sem afirmar integração remota.",
              "en": "Pins six payroll-close cases to demonstrate reading and interaction without claiming remote integration."
            }
          },
          {
            "jsonPath": "definition.inputs.config.layout.groupBy",
            "title": {
              "pt": "Agrupamento por frente",
              "en": "Workstream grouping"
            },
            "explanation": {
              "pt": "Agrupa por workstream para preservar contexto de fila antes de ordenar prioridades individuais.",
              "en": "Groups by workstream to preserve queue context before sorting individual priorities."
            }
          },
          {
            "jsonPath": "definition.inputs.config.templating",
            "title": {
              "pt": "Hierarquia da decisão",
              "en": "Decision hierarchy"
            },
            "explanation": {
              "pt": "Distribui título, prazo, status, prioridade, exposição e SLA em slots e features legíveis.",
              "en": "Distributes title, deadline, status, priority, exposure and SLA through readable slots and features."
            }
          },
          {
            "jsonPath": "definition.inputs.config.expansion.sections",
            "title": {
              "pt": "Detalhe sob demanda",
              "en": "On-demand detail"
            },
            "explanation": {
              "pt": "Revela responsável, frente, SLA e bloqueios apenas quando o caso precisa de investigação.",
              "en": "Reveals owner, workstream, SLA and blockers only when the case needs investigation."
            }
          },
          {
            "jsonPath": "definition.inputs.config.actions[open-case]",
            "title": {
              "pt": "Intenção de continuidade",
              "en": "Continuation intent"
            },
            "explanation": {
              "pt": "Emite Abrir caso como evento declarativo; a navegação real não está codificada nesta receita local.",
              "en": "Emits Open case as a declarative event; actual navigation is not coded in this local recipe."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Troque groupBy de workstream para status e avalie se a nova organização melhora ou prejudica a decisão operacional.",
            "en": "Change groupBy from workstream to status and assess whether the new organization improves or harms operational decisions."
          },
          {
            "pt": "Altere uma entrada de chipColorMap e verifique contraste e significado sem usar cor como única evidência de prioridade.",
            "en": "Change one chipColorMap entry and verify contrast and meaning without using color as the only priority evidence."
          },
          {
            "pt": "Mude expansion.rendering.columns para 1 e compare o detalhe em viewport estreito antes de adotar o layout.",
            "en": "Set expansion.rendering.columns to 1 and compare detail in a narrow viewport before adopting the layout."
          }
        ],
        "productionNotes": [
          {
            "pt": "A fixture é adequada para demonstração visual, não para provar atualidade, SLA real ou persistência dos casos.",
            "en": "The fixture is suitable for visual demonstration, not for proving freshness, real SLA or case persistence."
          },
          {
            "pt": "Status, prioridade e exposição pertencem ao domínio; o template somente apresenta valores já resolvidos.",
            "en": "Status, priority and exposure belong to the domain; the template only presents already-resolved values."
          },
          {
            "pt": "open-case precisa ser mediado pelo host com capability, rota, auditoria e tratamento de falha no produto real.",
            "en": "open-case must be host-mediated with capability, routing, auditing and failure handling in a real product."
          }
        ]
      },
      "envelope": {
        "id": "operations-list-command-center",
        "title": "Operations - list command center",
        "summary": "Materializes a payroll closing queue with semantic status, formatted operational facts, structured expansion and reachable item actions expressed entirely as configuration.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-list",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/list"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/list-showcase",
          "resourceKey": "operations.list-showcase"
        },
        "requires": [
          "praxis-list.config",
          "list.templating",
          "list.expansion",
          "list.actions"
        ],
        "tags": [
          "list",
          "templating",
          "expansion",
          "actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Coherent local payroll-closing queue grouped by operational workstream",
          "Semantic status, formatted currency, priority and SLA facts materialized from item fields",
          "Icon-owned inline expansion with structured ownership and blocker details",
          "Reachable per-item action with actionClick emitted to the host"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "praxis-list.dataSource.data",
          "praxis-list.templating",
          "praxis-list.actionClick",
          "praxis-list.expansion",
          "local-transient-state"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-list/src/lib/models/list-config.model.ts",
          "praxis-ui-angular/projects/praxis-list/src/lib/praxis-list.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-list.json"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-list-rendered",
            "list-templates-rendered",
            "list-events-declared"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This is intentionally local-only: it demonstrates the component contract surface without requiring a dedicated backend resource.",
            "The same config shape can replace dataSource.data with dataSource.resourcePath when a resource endpoint exists."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.list.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-list.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "operationsListCommandCenter",
              "shell": {
                "kind": "dashboard-card",
                "icon": "checklist",
                "title": "Fechamento da folha",
                "subtitle": "Priorize exceções, consulte evidências e abra o próximo caso — tudo materializado pelo JSON"
              },
              "definition": {
                "id": "praxis-list",
                "bindingOrder": [
                  "listId",
                  "config"
                ],
                "inputs": {
                  "listId": "operations-list-command-center",
                  "config": {
                    "id": "operations-list-command-center-config",
                    "dataSource": {
                      "data": [
                        {
                          "id": 101,
                          "statusIcon": "warning",
                          "title": "Conciliação da folha de abril",
                          "subtitle": "Divergência de R$ 12.480 aguarda validação financeira",
                          "workstream": "Fechamento da folha",
                          "status": "Em risco",
                          "priority": "P0",
                          "exposure": 182500,
                          "dueAt": "2026-04-25T16:00:00.000Z",
                          "owner": "Marina Alves",
                          "slaHours": 6,
                          "blockers": [
                            "Aprovação da diretoria",
                            "Variação cambial"
                          ]
                        },
                        {
                          "id": 102,
                          "statusIcon": "fact_check",
                          "title": "Revisão de benefícios variáveis",
                          "subtitle": "Comissões e bônus aguardam conferência da área de Pessoas",
                          "workstream": "Fechamento da folha",
                          "status": "Em validação",
                          "priority": "P1",
                          "exposure": 94500,
                          "dueAt": "2026-04-26T12:00:00.000Z",
                          "owner": "Carlos Nogueira",
                          "slaHours": 18,
                          "blockers": [
                            "Conferência de comissões"
                          ]
                        },
                        {
                          "id": 103,
                          "statusIcon": "block",
                          "title": "Validação de encargos e impostos",
                          "subtitle": "Guia previdenciária bloqueada por divergência na base tributável",
                          "workstream": "Conformidade",
                          "status": "Bloqueado",
                          "priority": "P0",
                          "exposure": 38600,
                          "dueAt": "2026-04-25T18:00:00.000Z",
                          "owner": "Fernanda Lima",
                          "slaHours": 4,
                          "blockers": [
                            "Base tributável divergente"
                          ]
                        },
                        {
                          "id": 104,
                          "statusIcon": "manage_search",
                          "title": "Conferência de admissões retroativas",
                          "subtitle": "Cinco admissões precisam de validação antes do fechamento",
                          "workstream": "Conformidade",
                          "status": "Em análise",
                          "priority": "P1",
                          "exposure": 72000,
                          "dueAt": "2026-04-26T15:00:00.000Z",
                          "owner": "João Mendes",
                          "slaHours": 22,
                          "blockers": [
                            "Documentos admissionais"
                          ]
                        },
                        {
                          "id": 105,
                          "statusIcon": "task_alt",
                          "title": "Autorização do lote bancário",
                          "subtitle": "Arquivo validado e pronto para autorização da Tesouraria",
                          "workstream": "Tesouraria",
                          "status": "Pronto",
                          "priority": "P1",
                          "exposure": 860000,
                          "dueAt": "2026-04-27T10:00:00.000Z",
                          "owner": "Ana Souza",
                          "slaHours": 30,
                          "blockers": []
                        },
                        {
                          "id": 106,
                          "statusIcon": "approval",
                          "title": "Fechamento contábil da competência",
                          "subtitle": "Lançamentos conciliados aguardam aprovação da Controladoria",
                          "workstream": "Tesouraria",
                          "status": "Pronto para aprovação",
                          "priority": "P2",
                          "exposure": 214000,
                          "dueAt": "2026-04-28T09:00:00.000Z",
                          "owner": "Ricardo Paiva",
                          "slaHours": 46,
                          "blockers": []
                        }
                      ],
                      "sort": [
                        "priority,asc"
                      ]
                    },
                    "layout": {
                      "variant": "list",
                      "density": "comfortable",
                      "lines": 3,
                      "dividers": "between",
                      "groupBy": "workstream",
                      "pageSize": 8
                    },
                    "skin": {
                      "type": "flat"
                    },
                    "interaction": {
                      "expandable": true,
                      "expandTrigger": "icon",
                      "expandMode": "single"
                    },
                    "templating": {
                      "leading": {
                        "type": "icon",
                        "expr": "${item.statusIcon}"
                      },
                      "primary": {
                        "type": "text",
                        "expr": "${item.title}"
                      },
                      "secondary": {
                        "type": "text",
                        "expr": "${item.subtitle}"
                      },
                      "meta": {
                        "type": "date",
                        "expr": "${item.dueAt}|pt-BR:short"
                      },
                      "metaPrefixIcon": "schedule",
                      "trailing": {
                        "type": "chip",
                        "expr": "${item.status}",
                        "variant": "outlined"
                      },
                      "chipColorMap": {
                        "Em risco": "var(--md-sys-color-error)",
                        "Bloqueado": "var(--md-sys-color-error)",
                        "Em validação": "var(--md-sys-color-tertiary)",
                        "Em análise": "var(--md-sys-color-primary)",
                        "Pronto": "var(--md-sys-color-primary)",
                        "Pronto para aprovação": "var(--md-sys-color-primary)"
                      },
                      "iconColorMap": {
                        "Em risco": "var(--md-sys-color-error)",
                        "Bloqueado": "var(--md-sys-color-error)",
                        "Em validação": "var(--md-sys-color-tertiary)",
                        "Em análise": "var(--md-sys-color-primary)",
                        "Pronto": "var(--md-sys-color-primary)",
                        "Pronto para aprovação": "var(--md-sys-color-primary)"
                      },
                      "sectionHeader": {
                        "type": "text",
                        "expr": "${key}"
                      },
                      "features": [
                        {
                          "type": "chip",
                          "expr": "${item.priority}",
                          "variant": "filled"
                        },
                        {
                          "type": "currency",
                          "expr": "${item.exposure}|BRL:pt-BR"
                        },
                        {
                          "type": "text",
                          "expr": "SLA ${item.slaHours} h"
                        }
                      ],
                      "featuresMode": "icons+labels"
                    },
                    "expansion": {
                      "sections": [
                        {
                          "id": "detail",
                          "title": "Detalhes operacionais",
                          "type": "key-value",
                          "itemsExpr": "[{\"key\":\"Responsável\",\"value\":\"${item.owner}\"},{\"key\":\"Frente\",\"value\":\"${item.workstream}\"},{\"key\":\"SLA\",\"value\":\"${item.slaHours} horas\"}]"
                        },
                        {
                          "id": "blockers",
                          "title": "Bloqueios",
                          "type": "chip-list",
                          "itemsExpr": "${item.blockers}",
                          "emptyLabel": "Nenhum bloqueio ativo"
                        }
                      ],
                      "rendering": {
                        "shell": "attached",
                        "columns": 2,
                        "gap": "12px",
                        "padding": "12px"
                      }
                    },
                    "actions": [
                      {
                        "id": "open-case",
                        "icon": "open_in_new",
                        "label": "Abrir caso",
                        "kind": "button",
                        "buttonVariant": "stroked",
                        "placement": "trailing"
                      }
                    ],
                    "ui": {
                      "showSearch": false,
                      "showSort": false,
                      "showRange": false
                    },
                    "a11y": {
                      "ariaLabel": "Fila operacional de fechamento da folha"
                    }
                  }
                },
                "outputs": {
                  "itemClick": "emit",
                  "actionClick": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "related-resource-mission-team",
      "title": "Related Resource - equipe da missão",
      "summary": "Discovers the team surface of a real mission and materializes its governed participant collection without duplicating the missaoId relationship in the page JSON.",
      "i18n": {
        "pt": {
          "title": "Related Resource - equipe da missão",
          "summary": "Descobre a surface team de uma missão real e materializa sua coleção governada de participantes sem duplicar a relação missaoId no JSON da página.",
          "demonstrates": [
            "A missão real publica a surface team e a relação pai-filho no Quickstart",
            "O outlet deriva o filtro missaoId da metadata e materializa uma Praxis Table",
            "Ausência, negação e coleção vazia permanecem estados distintos e fail-closed"
          ],
          "operationalEvidenceNotes": [
            "A missão 1 e a surface team são lidas do Quickstart público; os nomes exibidos não decidem a relação.",
            "O documento não declara queryContext.filters.missaoId: esse filtro nasce de relatedResource.childParentField.",
            "Autorização e operações filhas continuam governadas por availability, capabilities e links publicados."
          ],
          "promptSuggestions": [
            "Explique de onde vem o filtro da equipe",
            "Mostre quais campos o backend publica na relação",
            "Como adaptar a receita para outra surface relacionada?"
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/related-resource-mission-team",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/related-resource-mission-team",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-related-resource-outlet",
      "resourcePath": "operations/missoes",
      "resourceKey": "operations.missoes",
      "requires": [
        "praxis-related-resource-outlet",
        "praxis-table",
        "surface.relatedResource",
        "surface.availability",
        "resourceEvent"
      ],
      "tags": [
        "related-resource",
        "surface",
        "mission",
        "team",
        "remote-data",
        "metadata-driven",
        "fail-closed",
        "ai-recipe"
      ],
      "demonstrates": [
        "Quickstart publishes the real operations.missoes item surface team and its relatedResource contract",
        "Related Resource Outlet derives queryContext.filters.missaoId from childParentField instead of a host-authored rule",
        "The child Praxis Table keeps schema-driven columns, server pagination and resource event provenance",
        "Permission-limited, not-found, empty and ready remain distinct runtime states rather than permissive fallbacks"
      ],
      "promptSuggestions": [
        "Explain where the team filter comes from",
        "Show the backend fields that govern this relationship",
        "How would I adapt this recipe to another related surface?"
      ],
      "platformFeatures": [
        "surface.relatedResource",
        "surface.availability",
        "related-resource.childResourceKey",
        "related-resource.childResourcePath",
        "related-resource.childParentField",
        "related-resource.fail-closed",
        "table.columnProjection",
        "resourceEvent"
      ],
      "backendSurfaces": [
        "GET /api/operations/missoes/1",
        "GET /api/operations/missoes/1/surfaces",
        "POST /api/operations/missao-participantes/filter?page=0&size=10",
        "GET /schemas/filtered?path=/api/operations/missao-participantes/filter&operation=post&schemaType=response"
      ],
      "complexity": "intermediate",
      "catalogRole": "runtime-widget",
      "learningStage": "base-components",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "parent-record-readable",
          "team-surface-available",
          "related-resource-contract-complete",
          "derived-parent-filter",
          "child-table-materialized",
          "participant-data-visible"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "mission-1-read",
          "mission-1-team-surface",
          "mission-1-participants-filter"
        ],
        "pendingHttpIds": [],
        "notes": [
          "Mission 1 and its team surface are read from the published Quickstart; displayed labels never decide the relationship.",
          "The page does not declare queryContext.filters.missaoId; the resolver derives it from relatedResource.childParentField.",
          "Authorization and child operations remain governed by published availability, capabilities and links."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.related-resource-mission-team.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-related-resource-outlet.json",
        "praxis-ui-angular/projects/praxis-core/docs/resource-events.md",
        "praxis-api-quickstart/src/test/java/com/example/praxis/apiquickstart/config/MissaoPilotIntegrationTest.java"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/related-resource-mission-team.json",
      "documentation": {
        "story": {
          "pt": "Uma liderança de operações precisa abrir a equipe de uma missão sem manter, em cada tela, a regra que liga missão e participante. O Quickstart já publica essa relação na surface item-level team, junto com disponibilidade, identidade do recurso filho e operações permitidas.",
          "en": "An operations lead needs to open a mission team without maintaining the mission-to-participant rule in every screen. Quickstart already publishes that relationship in the item-level team surface, together with availability, child identity and supported operations."
        },
        "outcome": {
          "pt": "O visitante vê dez participantes reais materializados por uma Praxis Table. No JSON existe apenas a surface e a identidade da missão; o runtime deriva missaoId, preserva a origem da decisão e falha fechado quando o contrato não autoriza a abertura.",
          "en": "The visitor sees ten real participants materialized by Praxis Table. The JSON contains only the surface and mission identity; the runtime derives missaoId, preserves decision provenance and fails closed when the contract does not authorize opening."
        },
        "componentRoles": [
          {
            "component": "praxis-related-resource-outlet",
            "jsonPath": "page.widgets[missionTeamRelationship].definition.inputs",
            "role": {
              "pt": "Descobre a surface team, resolve a relação e materializa a coleção filha.",
              "en": "Discovers the team surface, resolves the relationship and materializes the child collection."
            },
            "rationale": {
              "pt": "Evita reconstruir catálogo, paths e filtros no host, mantendo disponibilidade e proveniência no contrato publicado.",
              "en": "Avoids rebuilding catalogs, paths and filters in the host while preserving availability and provenance from the published contract."
            }
          },
          {
            "component": "praxis-table",
            "jsonPath": "definition.inputs.tableConfig",
            "role": {
              "pt": "Renderiza os participantes, pagina no servidor e preserva eventos de recurso.",
              "en": "Renders participants, paginates on the server and preserves resource events."
            },
            "rationale": {
              "pt": "A tabela é materializada pelo resolver e continua dona da experiência de coleção; o outlet não copia seu runtime.",
              "en": "The table is materialized by the resolver and remains the owner of collection UX; the outlet does not copy its runtime."
            }
          },
          {
            "component": "praxis-api-quickstart",
            "jsonPath": "operationalEvidence",
            "role": {
              "pt": "Publica a missão, o catálogo de surfaces e o endpoint filtrável de participantes.",
              "en": "Publishes the mission, surface catalog and filterable participant endpoint."
            },
            "rationale": {
              "pt": "Transforma a receita em prova operacional reproduzível, não em uma relação sintética inventada pelo frontend.",
              "en": "Turns the recipe into reproducible operational proof rather than a synthetic frontend-invented relationship."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.surfaceId",
            "title": {
              "pt": "Surface canônica",
              "en": "Canonical surface"
            },
            "explanation": {
              "pt": "team identifica exatamente a surface item-level publicada; o runtime não procura relações por título ou palavra-chave.",
              "en": "team identifies the exact published item-level surface; the runtime does not search relationships by title or keyword."
            }
          },
          {
            "jsonPath": "definition.inputs.parentResourcePath",
            "title": {
              "pt": "Endereço do recurso pai",
              "en": "Parent resource address"
            },
            "explanation": {
              "pt": "operations/missoes permite seguir a descoberta no origin configurado sem duplicar /api ou montar URLs locais.",
              "en": "operations/missoes lets discovery follow the configured origin without duplicating /api or building local URLs."
            }
          },
          {
            "jsonPath": "definition.inputs.parentResourceId",
            "title": {
              "pt": "Identidade contextual",
              "en": "Contextual identity"
            },
            "explanation": {
              "pt": "O id 1 contextualiza a surface e será usado no filtro apenas depois que a metadata confirmar childParentField.",
              "en": "Id 1 scopes the surface and is used in the filter only after metadata confirms childParentField."
            }
          },
          {
            "jsonPath": "surface.relatedResource",
            "title": {
              "pt": "Relação publicada pelo backend",
              "en": "Backend-published relationship"
            },
            "explanation": {
              "pt": "childResourceKey, childResourcePath, childParentField e childOperations chegam do catálogo; não aparecem como convenção da página.",
              "en": "childResourceKey, childResourcePath, childParentField and childOperations come from the catalog rather than page convention."
            }
          },
          {
            "jsonPath": "definition.inputs.tableConfig.columnProjection",
            "title": {
              "pt": "Projeção editorial da tabela",
              "en": "Editorial table projection"
            },
            "explanation": {
              "pt": "O schema continua dono das colunas; include e overrides apenas selecionam e apresentam os campos relevantes para a equipe.",
              "en": "Schema remains the column owner; include and overrides only select and present fields relevant to the team."
            }
          },
          {
            "jsonPath": "definition.outputs.resourceEvent",
            "title": {
              "pt": "Proveniência operacional",
              "en": "Operational provenance"
            },
            "explanation": {
              "pt": "Eventos da tabela filha atravessam o outlet com identidade de recurso e superfície para observação pelo host.",
              "en": "Child table events cross the outlet with resource and surface identity for host observation."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Remova parentResourceId e observe o estado not-found: o outlet não inventa uma coleção sem contexto.",
            "en": "Remove parentResourceId and observe the not-found state: the outlet does not invent a collection without context."
          },
          {
            "pt": "Troque surfaceId de team para timeline e ajuste somente a projeção visual; compare como o backend passa a governar outro recurso filho.",
            "en": "Change surfaceId from team to timeline and adjust only the visual projection; compare how the backend now governs a different child resource."
          },
          {
            "pt": "Remova um campo de columnProjection.include e confirme que a relação e o filtro permanecem inalterados.",
            "en": "Remove a field from columnProjection.include and confirm the relationship and filter remain unchanged."
          },
          {
            "pt": "Inspecione a requisição de filtro no navegador e confirme missaoId=1 embora esse critério não exista no documento.",
            "en": "Inspect the filter request in the browser and confirm missaoId=1 even though that criterion is absent from the document."
          }
        ],
        "productionNotes": [
          {
            "pt": "Não derive surfaceId, resourceKey ou childParentField de labels; use ids e metadata canônicos publicados.",
            "en": "Do not derive surfaceId, resourceKey or childParentField from labels; use published canonical ids and metadata."
          },
          {
            "pt": "childOperations descreve materialização possível, mas availability, capabilities e HATEOAS continuam decidindo o que a pessoa pode executar.",
            "en": "childOperations describes possible materialization, while availability, capabilities and HATEOAS still decide what the user may execute."
          },
          {
            "pt": "Estados permission-limited, not-found e empty têm significados diferentes; não converta negação ou metadata incompleta em coleção vazia.",
            "en": "Permission-limited, not-found and empty states have different meanings; do not convert denial or incomplete metadata into an empty collection."
          },
          {
            "pt": "O host deve fornecer origin confiável, autenticação, providers e observabilidade; a página não deve reconstruir endpoints nem autorização.",
            "en": "The host must provide a trusted origin, authentication, providers and observability; the page must not rebuild endpoints or authorization."
          }
        ]
      },
      "envelope": {
        "id": "related-resource-mission-team",
        "title": "Related Resource - equipe da missão",
        "summary": "Discovers the team surface of a real mission and materializes its governed participant collection without duplicating the missaoId relationship in the page JSON.",
        "i18n": {
          "pt": {
            "title": "Related Resource - equipe da missão",
            "summary": "Descobre a surface team de uma missão real e materializa sua coleção governada de participantes sem duplicar a relação missaoId no JSON da página.",
            "demonstrates": [
              "A missão real publica a surface team e a relação pai-filho no Quickstart",
              "O outlet deriva o filtro missaoId da metadata e materializa uma Praxis Table",
              "Ausência, negação e coleção vazia permanecem estados distintos e fail-closed"
            ],
            "operationalEvidenceNotes": [
              "A missão 1 e a surface team são lidas do Quickstart público; os nomes exibidos não decidem a relação.",
              "O documento não declara queryContext.filters.missaoId: esse filtro nasce de relatedResource.childParentField.",
              "Autorização e operações filhas continuam governadas por availability, capabilities e links publicados."
            ],
            "promptSuggestions": [
              "Explique de onde vem o filtro da equipe",
              "Mostre quais campos o backend publica na relação",
              "Como adaptar a receita para outra surface relacionada?"
            ]
          }
        },
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-related-resource-outlet",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/missoes",
          "resourceKey": "operations.missoes"
        },
        "requires": [
          "praxis-related-resource-outlet",
          "praxis-table",
          "surface.relatedResource",
          "surface.availability",
          "resourceEvent"
        ],
        "tags": [
          "related-resource",
          "surface",
          "mission",
          "team",
          "remote-data",
          "metadata-driven",
          "fail-closed",
          "ai-recipe"
        ],
        "demonstrates": [
          "Quickstart publishes the real operations.missoes item surface team and its relatedResource contract",
          "Related Resource Outlet derives queryContext.filters.missaoId from childParentField instead of a host-authored rule",
          "The child Praxis Table keeps schema-driven columns, server pagination and resource event provenance",
          "Permission-limited, not-found, empty and ready remain distinct runtime states rather than permissive fallbacks"
        ],
        "promptSuggestions": [
          "Explain where the team filter comes from",
          "Show the backend fields that govern this relationship",
          "How would I adapt this recipe to another related surface?"
        ],
        "platformFeatures": [
          "surface.relatedResource",
          "surface.availability",
          "related-resource.childResourceKey",
          "related-resource.childResourcePath",
          "related-resource.childParentField",
          "related-resource.fail-closed",
          "table.columnProjection",
          "resourceEvent"
        ],
        "backendSurfaces": [
          "GET /api/operations/missoes/1",
          "GET /api/operations/missoes/1/surfaces",
          "POST /api/operations/missao-participantes/filter?page=0&size=10",
          "GET /schemas/filtered?path=/api/operations/missao-participantes/filter&operation=post&schemaType=response"
        ],
        "complexity": "intermediate",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "parent-record-readable",
            "team-surface-available",
            "related-resource-contract-complete",
            "derived-parent-filter",
            "child-table-materialized",
            "participant-data-visible"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "mission-1-read",
            "mission-1-team-surface",
            "mission-1-participants-filter"
          ],
          "pendingHttpIds": [],
          "notes": [
            "Mission 1 and its team surface are read from the published Quickstart; displayed labels never decide the relationship.",
            "The page does not declare queryContext.filters.missaoId; the resolver derives it from relatedResource.childParentField.",
            "Authorization and child operations remain governed by published availability, capabilities and links."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.related-resource-mission-team.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-related-resource-outlet.json",
          "praxis-ui-angular/projects/praxis-core/docs/resource-events.md",
          "praxis-api-quickstart/src/test/java/com/example/praxis/apiquickstart/config/MissaoPilotIntegrationTest.java"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "missionTeamRelationship",
              "shell": {
                "kind": "dashboard-card",
                "icon": "hub",
                "title": "Equipe da missão",
                "subtitle": "Relação governada pela surface team da missão Batalha de Nova York",
                "windowActions": {
                  "collapsible": false,
                  "fullscreen": true
                }
              },
              "definition": {
                "id": "praxis-related-resource-outlet",
                "bindingOrder": [
                  "surfaceId",
                  "parentRecord",
                  "parentResourceId",
                  "parentResourcePath",
                  "mode",
                  "tableId",
                  "tableConfig"
                ],
                "inputs": {
                  "surfaceId": "team",
                  "parentResourcePath": "operations/missoes",
                  "parentResourceId": 1,
                  "parentRecord": {
                    "id": 1,
                    "titulo": "Batalha de Nova York",
                    "status": "EM_ANDAMENTO",
                    "prioridade": "CRITICA"
                  },
                  "mode": "inline",
                  "tableId": "mission-team-related-resource",
                  "tableConfig": {
                    "toolbar": {
                      "visible": true,
                      "title": "Participantes materializados",
                      "subtitle": "O filtro missaoId nasce de surface.relatedResource, não deste documento",
                      "search": {
                        "enabled": true
                      },
                      "columnsVisibility": {
                        "enabled": false
                      },
                      "densityToggle": {
                        "enabled": true
                      }
                    },
                    "columns": [],
                    "behavior": {
                      "pagination": {
                        "enabled": true,
                        "strategy": "server",
                        "pageSize": 10,
                        "pageSizeOptions": [
                          10,
                          20
                        ]
                      },
                      "sorting": {
                        "enabled": true,
                        "defaultSort": {
                          "column": "ordem",
                          "direction": "asc"
                        }
                      }
                    },
                    "columnProjection": {
                      "source": "schema",
                      "include": [
                        "funcionarioFotoUrl",
                        "funcionarioNome",
                        "papel",
                        "principal",
                        "resultado"
                      ],
                      "overrides": {
                        "funcionarioFotoUrl": {
                          "header": "Foto",
                          "width": "72px"
                        },
                        "funcionarioNome": {
                          "header": "Participante",
                          "sticky": "start"
                        },
                        "papel": {
                          "header": "Papel"
                        },
                        "principal": {
                          "header": "Liderança",
                          "format": "yes-no",
                          "align": "center"
                        },
                        "resultado": {
                          "header": "Resultado"
                        }
                      }
                    }
                  }
                },
                "outputs": {
                  "widgetEvent": "emit",
                  "resourceEvent": "emit",
                  "surfaceOpen": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "visual-block-presets-form",
      "title": "Dynamic Form - visual block presets",
      "summary": "Shows how Dynamic Form can mix API fields with governed visual guidance blocks while keeping layout decisions in metadata, not template code.",
      "i18n": {
        "pt": {
          "title": "Dynamic Form - blocos visuais governados",
          "summary": "Combina campos da API com blocos visuais governados, mantendo decisões de layout em metadata e não no template.",
          "demonstrates": [
            "Explore Dynamic Form - blocos visuais governados e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-dynamic-form materializa human-resources/funcionarios com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Combina campos da API com blocos visuais governados, mantendo decisões de layout em metadata e não no template.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas filtered?schemaType=response e {id}."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/visual-block-presets-form",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/visual-block-presets-form",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-dynamic-form",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "resource-detail",
        "dynamic-form.layout-items",
        "@praxisui/dynamic-form>=8.0.0-beta.12",
        "dynamic-form.sections",
        "praxis-rich-content",
        "rich-content.document",
        "rich-content.timeline",
        "visual-block-presets"
      ],
      "tags": [
        "form",
        "layout-items",
        "visual-blocks",
        "presets",
        "timeline",
        "rich-content",
        "sections",
        "quickstart"
      ],
      "demonstrates": [
        "FormColumn.items as the canonical ordered layout contract for fields and visual content",
        "RichContentDocument layout items created from text, notice, divider, info card and timeline documents",
        "Dividers and large guidance cards placed on dedicated full-width rows to preserve the field grid rhythm",
        "fields[] synchronized as a projection that contains only API field names",
        "Static visual guidance excluded from fieldMetadata and backend DTO semantics",
        "RichContentDocument nodes rendered inside the dynamic form column flow",
        "Timeline visual block rendered inside praxis-dynamic-form without entering the submit payload"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "resource-detail",
        "dynamic-form.layout-items",
        "form-column-items",
        "rich-content.document",
        "rich-content.timeline",
        "visual-block-presets",
        "fields-projection"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered?schemaType=response",
        "GET /api/human-resources/funcionarios/{id}",
        "POST /api/human-resources/cargos/options/filter",
        "POST /api/human-resources/departamentos/options/filter"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "base-components",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-dynamic-form-rendered",
          "form-column-items-rendered",
          "rich-content-layout-items-rendered",
          "rich-content-timeline-rendered",
          "fields-projection-excludes-visual-blocks"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "filtered-schema-response-funcionarios",
          "funcionarios-get-by-id",
          "cargos-options-filter",
          "departamentos-options-filter"
        ],
        "pendingHttpIds": [],
        "notes": [
          "Reference API: https://praxis-api-quickstart.onrender.com",
          "The example imports the golden recipe from praxis-ui-angular instead of copying the page contract.",
          "Requires @praxisui/core and @praxisui/dynamic-form 8.0.0-beta.12 or newer so FormColumn.items can render richContent blocks.",
          "Dividers and large guidance cards are rendered on dedicated full-width rows so the field grid keeps a consistent rhythm.",
          "The timeline block is a RichContentDocument layout item inside the form, not a field or payload fragment.",
          "Preset ids are not persisted; the saved shape is kind richContent with a RichContentDocument."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
        "praxis-ui-angular/projects/praxis-dynamic-form/README.md",
        "praxis-ui-angular/projects/praxis-dynamic-form/docs/layout-items-visual-blocks.md",
        "praxis-ui-angular/examples/ai-recipes/praxis-rich-content.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/visual-block-presets-form.json",
      "documentation": {
        "story": {
          "pt": "Uma pessoa revisora precisa enxergar contexto, alertas e orientação ao lado dos campos de um funcionário sem contaminar o DTO com texto editorial. O exemplo intercala campos remotos e documentos Rich Content na mesma ordem declarativa.",
          "en": "A reviewer needs context, warnings and guidance beside employee fields without contaminating the DTO with editorial text. The example interleaves remote fields and Rich Content documents through the same declarative order."
        },
        "outcome": {
          "pt": "Blocos visuais ocupam posições estáveis e respondem a regras de apresentação, mas ficam fora de fieldMetadata e do payload; a revisão ganha contexto sem duplicar template nem regra de negócio.",
          "en": "Visual blocks occupy stable positions and respond to presentation rules while staying outside fieldMetadata and the payload; the review gains context without duplicating templates or business rules."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[visualBlockPresetBriefing].definition.inputs.document",
            "role": {
              "pt": "Apresenta o briefing e materializa blocos editoriais como RichContentDocument.",
              "en": "Presents the brief and materializes editorial blocks as RichContentDocument."
            },
            "rationale": {
              "pt": "Evita HTML solto e preserva sanitização e portabilidade.",
              "en": "Avoids loose HTML and preserves sanitization and portability."
            }
          },
          {
            "component": "praxis-dynamic-form",
            "jsonPath": "page.widgets[funcionarioVisualBlocksForm].definition.inputs.config",
            "role": {
              "pt": "Ordena fields e richContent em FormColumn.items, hidrata o registro e aplica regras visuais.",
              "en": "Orders fields and richContent in FormColumn.items, hydrates the record and applies visual rules."
            },
            "rationale": {
              "pt": "Mantém uma anatomia declarativa sem recriar o grid no template.",
              "en": "Keeps a declarative anatomy without recreating the grid in the template."
            }
          },
          {
            "component": "praxis-dynamic-fields",
            "jsonPath": "definition.inputs.config.fieldMetadata",
            "role": {
              "pt": "Materializa os campos reais do funcionário em modo de leitura.",
              "en": "Materializes actual employee fields in view mode."
            },
            "rationale": {
              "pt": "Separa valores do recurso dos blocos que apenas explicam a revisão.",
              "en": "Separates resource values from blocks that only explain the review."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "page.widgets[visualBlockPresetBriefing]",
            "title": {
              "pt": "Contexto independente",
              "en": "Independent context"
            },
            "explanation": {
              "pt": "O briefing explica o contrato sem se misturar ao registro.",
              "en": "The brief explains the contract without mixing into the record."
            }
          },
          {
            "jsonPath": "definition.inputs.resourcePath + resourceId + mode",
            "title": {
              "pt": "Revisão real",
              "en": "Real review"
            },
            "explanation": {
              "pt": "Carrega funcionarios/1 em view e mantém ações de mutação ocultas.",
              "en": "Loads employee 1 in view mode and keeps mutation actions hidden."
            }
          },
          {
            "jsonPath": "definition.inputs.config.sections[].rows[].columns[].items",
            "title": {
              "pt": "Ordem mista canônica",
              "en": "Canonical mixed order"
            },
            "explanation": {
              "pt": "Intercala kind field e kind richContent; fields contém somente nomes da API.",
              "en": "Interleaves kind field and kind richContent; fields contains API names only."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata",
            "title": {
              "pt": "Campos continuam campos",
              "en": "Fields remain fields"
            },
            "explanation": {
              "pt": "Controles pertencem ao contrato de campo; avisos e cards não entram aqui.",
              "en": "Controls belong to the field contract; notices and cards do not enter it."
            }
          },
          {
            "jsonPath": "definition.inputs.config.formRules[targetType=visualBlock]",
            "title": {
              "pt": "Orientação condicional",
              "en": "Conditional guidance"
            },
            "explanation": {
              "pt": "Atualiza nós estáveis conforme ativo e cargoId sem modificar FormControl ou payload.",
              "en": "Updates stable nodes from ativo and cargoId without changing FormControl or payload."
            }
          },
          {
            "jsonPath": "definition.inputs.config.actions",
            "title": {
              "pt": "Modo de revisão",
              "en": "Review mode"
            },
            "explanation": {
              "pt": "Submit, reset e close ficam ocultos: a receita prova leitura, não persistência.",
              "en": "Submit, reset and close stay hidden: the recipe proves reading, not persistence."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Altere ativo e cargoId e observe títulos, mensagens e classes dos blocos.",
            "en": "Change ativo and cargoId and observe block titles, messages and classes."
          },
          {
            "pt": "Reordene richContent e field e confirme que fields continua contendo apenas propriedades.",
            "en": "Reorder richContent and field and confirm fields still contains properties only."
          },
          {
            "pt": "Compare view e edit sem transformar orientação visual em autorização.",
            "en": "Compare view and edit without turning visual guidance into authorization."
          }
        ],
        "productionNotes": [
          {
            "pt": "Blocos visuais explicam estado; não decidem inativação, aprovação, acesso ou transição de domínio.",
            "en": "Visual blocks explain state; they do not decide deactivation, approval, access or domain transitions."
          },
          {
            "pt": "IDs de items, blocos e nós-alvo devem permanecer estáveis para regras, autoria e telemetria.",
            "en": "Item, block and target-node ids must remain stable for rules, authoring and telemetry."
          },
          {
            "pt": "RichContentDocument segue sanitização e mediação de ações do host; conteúdo sensível exige governança.",
            "en": "RichContentDocument follows host sanitization and action mediation; sensitive content requires governance."
          }
        ]
      },
      "envelope": {
        "id": "visual-block-presets-form",
        "title": "Dynamic Form - visual block presets",
        "summary": "Shows how Dynamic Form can mix API fields with governed visual guidance blocks while keeping layout decisions in metadata, not template code.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-dynamic-form",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/dynamic-form >= 8.0.0-beta.12"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "resource-detail",
          "dynamic-form.layout-items",
          "@praxisui/dynamic-form>=8.0.0-beta.12",
          "dynamic-form.sections",
          "praxis-rich-content",
          "rich-content.document",
          "rich-content.timeline",
          "visual-block-presets"
        ],
        "tags": [
          "form",
          "layout-items",
          "visual-blocks",
          "presets",
          "timeline",
          "rich-content",
          "sections",
          "quickstart"
        ],
        "demonstrates": [
          "FormColumn.items as the canonical ordered layout contract for fields and visual content",
          "RichContentDocument layout items created from text, notice, divider, info card and timeline documents",
          "Dividers and large guidance cards placed on dedicated full-width rows to preserve the field grid rhythm",
          "fields[] synchronized as a projection that contains only API field names",
          "Static visual guidance excluded from fieldMetadata and backend DTO semantics",
          "RichContentDocument nodes rendered inside the dynamic form column flow",
          "Timeline visual block rendered inside praxis-dynamic-form without entering the submit payload"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "resource-detail",
          "dynamic-form.layout-items",
          "form-column-items",
          "rich-content.document",
          "rich-content.timeline",
          "visual-block-presets",
          "fields-projection"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered?schemaType=response",
          "GET /api/human-resources/funcionarios/{id}",
          "POST /api/human-resources/cargos/options/filter",
          "POST /api/human-resources/departamentos/options/filter"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-dynamic-form-rendered",
            "form-column-items-rendered",
            "rich-content-layout-items-rendered",
            "rich-content-timeline-rendered",
            "fields-projection-excludes-visual-blocks"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "filtered-schema-response-funcionarios",
            "funcionarios-get-by-id",
            "cargos-options-filter",
            "departamentos-options-filter"
          ],
          "pendingHttpIds": [],
          "notes": [
            "Reference API: https://praxis-api-quickstart.onrender.com",
            "The example imports the golden recipe from praxis-ui-angular instead of copying the page contract.",
            "Requires @praxisui/core and @praxisui/dynamic-form 8.0.0-beta.12 or newer so FormColumn.items can render richContent blocks.",
            "Dividers and large guidance cards are rendered on dedicated full-width rows so the field grid keeps a consistent rhythm.",
            "The timeline block is a RichContentDocument layout item inside the form, not a field or payload fragment.",
            "Preset ids are not persisted; the saved shape is kind richContent with a RichContentDocument."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.visual-block-presets-form.json",
          "praxis-ui-angular/projects/praxis-dynamic-form/README.md",
          "praxis-ui-angular/projects/praxis-dynamic-form/docs/layout-items-visual-blocks.md",
          "praxis-ui-angular/examples/ai-recipes/praxis-rich-content.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "visualBlockPresetBriefing",
              "shell": {
                "kind": "dashboard-card",
                "icon": "article",
                "title": "Visual block presets",
                "subtitle": "Authoring shortcuts that persist as RichContentDocument layout items"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "dynamic-page-visual-block-presets-briefing",
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "card",
                        "title": "Static guidance belongs in layout items",
                        "subtitle": "The form stays metadata-driven while explanation, warnings and separators remain governed content.",
                        "content": [
                          {
                            "type": "compose",
                            "wrap": true,
                            "gap": "sm",
                            "items": [
                              {
                                "type": "badge",
                                "label": "FormColumn.items"
                              },
                              {
                                "type": "badge",
                                "label": "richContent"
                              },
                              {
                                "type": "badge",
                                "label": "fields[] projection"
                              }
                            ]
                          },
                          {
                            "type": "text",
                            "text": "The examples below show the persisted shape produced by visual block presets: text, notice, divider, info card and contract proof. The preset id is not part of the saved contract."
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            },
            {
              "key": "funcionarioVisualBlocksForm",
              "shell": {
                "kind": "dashboard-card",
                "icon": "view_agenda",
                "title": "Funcionario review form",
                "subtitle": "API fields stay aligned while guidance cards move to dedicated rows",
                "appearance": {
                  "card": {
                    "interactionHighlight": "gradient"
                  }
                }
              },
              "definition": {
                "id": "praxis-dynamic-form",
                "bindingOrder": [
                  "config",
                  "resourcePath",
                  "formId",
                  "resourceId"
                ],
                "inputs": {
                  "formId": "human-resources-funcionarios-visual-block-presets",
                  "resourcePath": "human-resources/funcionarios",
                  "resourceId": 1,
                  "mode": "view",
                  "config": {
                    "metadata": {
                      "name": "Funcionario visual block review",
                      "version": "1.0.0"
                    },
                    "editorialContext": {
                      "review": {
                        "scope": 4,
                        "scopeCaption": "identity fields",
                        "readiness": 80
                      }
                    },
                    "sections": [
                      {
                        "id": "identity-and-context",
                        "title": "Identity and context",
                        "description": "A fields-plus-content layout that keeps larger guidance cards on dedicated rows so the field grid stays aligned.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "identity-row-main",
                            "columns": [
                              {
                                "id": "identity-main",
                                "span": {
                                  "md": 7,
                                  "lg": 7
                                },
                                "items": [
                                  {
                                    "kind": "richContent",
                                    "id": "identity-introduction-block",
                                    "layout": "block",
                                    "rootClassName": "visual-block-text",
                                    "document": {
                                      "kind": "praxis.rich-content",
                                      "version": "1.0.0",
                                      "nodes": [
                                        {
                                          "type": "text",
                                          "text": "Review the employee identity before checking assignment and payroll data. This block represents a RichContentDocument created from the Text preset."
                                        }
                                      ]
                                    }
                                  },
                                  {
                                    "kind": "field",
                                    "id": "field-nomeCompleto",
                                    "fieldName": "nomeCompleto"
                                  },
                                  {
                                    "kind": "field",
                                    "id": "field-email",
                                    "fieldName": "email"
                                  },
                                  {
                                    "kind": "richContent",
                                    "id": "contact-guidance-notice",
                                    "layout": "block",
                                    "rootClassName": "visual-block-notice",
                                    "document": {
                                      "kind": "praxis.rich-content",
                                      "version": "1.0.0",
                                      "nodes": [
                                        {
                                          "type": "compose",
                                          "direction": "row",
                                          "gap": "sm",
                                          "wrap": true,
                                          "className": "praxis-rich-content-notice",
                                          "items": [
                                            {
                                              "type": "icon",
                                              "icon": "error_outline",
                                              "ariaLabel": "Notice"
                                            },
                                            {
                                              "type": "text",
                                              "text": "Email and phone are operational contact fields. Keep changes aligned with the backend employee record instead of treating this guidance as field metadata."
                                            }
                                          ]
                                        }
                                      ]
                                    }
                                  },
                                  {
                                    "kind": "field",
                                    "id": "field-telefone",
                                    "fieldName": "telefone"
                                  }
                                ],
                                "fields": [
                                  "nomeCompleto",
                                  "email",
                                  "telefone"
                                ]
                              },
                              {
                                "id": "identity-side",
                                "span": {
                                  "md": 5,
                                  "lg": 5
                                },
                                "items": [
                                  {
                                    "kind": "field",
                                    "id": "field-fotoPerfilUrl",
                                    "fieldName": "fotoPerfilUrl"
                                  },
                                  {
                                    "kind": "field",
                                    "id": "field-ativo",
                                    "fieldName": "ativo"
                                  },
                                  {
                                    "kind": "field",
                                    "id": "field-estadoCivil",
                                    "fieldName": "estadoCivil"
                                  }
                                ],
                                "fields": [
                                  "fotoPerfilUrl",
                                  "ativo",
                                  "estadoCivil"
                                ]
                              }
                            ]
                          },
                          {
                            "id": "identity-status-row",
                            "columns": [
                              {
                                "id": "identity-status",
                                "span": {
                                  "md": 12,
                                  "lg": 12
                                },
                                "items": [
                                  {
                                    "kind": "richContent",
                                    "id": "profile-status-card",
                                    "layout": "block",
                                    "rootClassName": "visual-block-info-card",
                                    "document": {
                                      "kind": "praxis.rich-content",
                                      "version": "1.0.0",
                                      "nodes": [
                                        {
                                          "type": "card",
                                          "id": "profile-status-title",
                                          "title": "Profile status",
                                          "subtitle": "Info card preset placed on a dedicated row to preserve the field rhythm.",
                                          "content": [
                                            {
                                              "type": "compose",
                                              "wrap": true,
                                              "gap": "sm",
                                              "items": [
                                                {
                                                  "type": "badge",
                                                  "label": "API field"
                                                },
                                                {
                                                  "type": "badge",
                                                  "label": "visual guidance"
                                                }
                                              ]
                                            },
                                            {
                                              "id": "profile-status-message",
                                              "type": "text",
                                              "text": "Keep assignment, department and contact details current."
                                            },
                                            {
                                              "type": "metric",
                                              "label": "Review scope",
                                              "valueExpr": "${review.scope}",
                                              "captionExpr": "${review.scopeCaption}"
                                            },
                                            {
                                              "type": "progress",
                                              "label": "Readiness",
                                              "valueExpr": "${review.readiness}",
                                              "max": 100,
                                              "showPercent": true
                                            }
                                          ]
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id": "assignment-review",
                        "title": "Assignment review",
                        "description": "Divider and card blocks separate assignment data from compensation context while the guidance card stays on its own row.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "assignment-role-row",
                            "columns": [
                              {
                                "id": "assignment-role",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "items": [
                                  {
                                    "kind": "field",
                                    "id": "field-cargoId",
                                    "fieldName": "cargoId"
                                  }
                                ],
                                "fields": [
                                  "cargoId"
                                ]
                              },
                              {
                                "id": "assignment-department",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "items": [
                                  {
                                    "kind": "field",
                                    "id": "field-departamentoId",
                                    "fieldName": "departamentoId"
                                  }
                                ],
                                "fields": [
                                  "departamentoId"
                                ]
                              }
                            ]
                          },
                          {
                            "id": "assignment-policy-row",
                            "columns": [
                              {
                                "id": "assignment-policy",
                                "span": {
                                  "md": 12,
                                  "lg": 12
                                },
                                "items": [
                                  {
                                    "kind": "richContent",
                                    "id": "assignment-policy-divider",
                                    "layout": "block",
                                    "rootClassName": "visual-block-divider",
                                    "document": {
                                      "kind": "praxis.rich-content",
                                      "version": "1.0.0",
                                      "nodes": [
                                        {
                                          "type": "text",
                                          "id": "assignment-policy-divider-text",
                                          "text": "Assignment policy checkpoint",
                                          "className": "praxis-rich-content-divider"
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "id": "assignment-compensation-row",
                            "columns": [
                              {
                                "id": "assignment-admission",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "items": [
                                  {
                                    "kind": "field",
                                    "id": "field-dataAdmissao",
                                    "fieldName": "dataAdmissao"
                                  }
                                ],
                                "fields": [
                                  "dataAdmissao"
                                ]
                              },
                              {
                                "id": "assignment-payroll",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "items": [
                                  {
                                    "kind": "field",
                                    "id": "field-salario",
                                    "fieldName": "salario"
                                  }
                                ],
                                "fields": [
                                  "salario"
                                ]
                              }
                            ]
                          },
                          {
                            "id": "assignment-guidance-row",
                            "columns": [
                              {
                                "id": "assignment-guidance",
                                "span": {
                                  "md": 12,
                                  "lg": 12
                                },
                                "items": [
                                  {
                                    "kind": "richContent",
                                    "id": "assignment-guidance-card",
                                    "layout": "block",
                                    "rootClassName": "visual-block-guidance-card",
                                    "document": {
                                      "kind": "praxis.rich-content",
                                      "version": "1.0.0",
                                      "nodes": [
                                        {
                                          "type": "card",
                                          "id": "assignment-guidance-title",
                                          "title": "Operational assignment",
                                          "subtitle": "Confirm role, department and start date before closing the review.",
                                          "content": [
                                            {
                                              "type": "text",
                                              "id": "assignment-guidance-message",
                                              "text": "This row keeps guidance outside the submit payload while preserving the field rhythm."
                                            }
                                          ]
                                        },
                                        {
                                          "type": "keyValueList",
                                          "id": "assignment-contract-proof",
                                          "title": "Contract proof",
                                          "layout": "stacked",
                                          "items": [
                                            {
                                              "label": "items[]",
                                              "value": "Owns the mixed order of fields and visual blocks.",
                                              "icon": "view_week",
                                              "badge": "canonical"
                                            },
                                            {
                                              "label": "fields[]",
                                              "value": "Keeps only API field names as a derived projection.",
                                              "icon": "schema",
                                              "badge": "field projection"
                                            }
                                          ]
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            ]
                          },
                          {
                            "id": "assignment-timeline-row",
                            "columns": [
                              {
                                "id": "assignment-timeline",
                                "span": {
                                  "md": 12,
                                  "lg": 12
                                },
                                "items": [
                                  {
                                    "kind": "richContent",
                                    "id": "assignment-review-timeline",
                                    "layout": "block",
                                    "rootClassName": "visual-block-timeline",
                                    "document": {
                                      "kind": "praxis.rich-content",
                                      "version": "1.0.0",
                                      "nodes": [
                                        {
                                          "type": "timeline",
                                          "id": "assignment-review-timeline-node",
                                          "title": "Assignment review timeline",
                                          "orientation": "horizontal",
                                          "order": "normal",
                                          "position": "alternate",
                                          "connectorVariant": "none",
                                          "connectorColor": "neutral",
                                          "markerVariant": "number",
                                          "markerColor": "primary",
                                          "markerStyle": "filled",
                                          "emphasis": "hero",
                                          "density": "comfortable",
                                          "textAppearance": "prominent",
                                          "items": [
                                            {
                                              "id": "identity-check",
                                              "title": "Validate identity",
                                              "subtitle": "Confirm name, contact data and active status before reviewing assignment.",
                                              "opposite": "1. Intake",
                                              "badge": "Form data",
                                              "markerColor": "success",
                                              "markerStyle": "outlined",
                                              "connectorColor": "success",
                                              "connectorVariant": "solid"
                                            },
                                            {
                                              "id": "assignment-check",
                                              "title": "Review assignment",
                                              "subtitle": "Cargo and department stay as API fields; this timeline remains presentation metadata.",
                                              "opposite": "2. Assignment",
                                              "badge": "Rich content",
                                              "markerColor": "warning",
                                              "connectorColor": "warning",
                                              "connectorVariant": "dashed"
                                            },
                                            {
                                              "id": "payroll-check",
                                              "title": "Confirm payroll readiness",
                                              "subtitle": "Salary and admission date remain outside the visual block payload.",
                                              "opposite": "3. Payroll",
                                              "badge": "No submit payload",
                                              "markerColor": "info",
                                              "markerStyle": "outlined",
                                              "connectorVariant": "none"
                                            }
                                          ]
                                        }
                                      ]
                                    }
                                  }
                                ],
                                "fields": []
                              }
                            ]
                          }
                        ]
                      }
                    ],
                    "fieldMetadata": [
                      {
                        "name": "fotoPerfilUrl",
                        "label": "Avatar",
                        "controlType": "avatar",
                        "imageField": "fotoPerfilUrl",
                        "readonly": true
                      },
                      {
                        "name": "nomeCompleto",
                        "label": "Nome Completo",
                        "controlType": "input",
                        "validators": {
                          "required": true,
                          "maxLength": 160
                        },
                        "readonly": true
                      },
                      {
                        "name": "email",
                        "label": "Email",
                        "controlType": "email",
                        "validators": {
                          "email": true
                        },
                        "readonly": true
                      },
                      {
                        "name": "telefone",
                        "label": "Telefone",
                        "controlType": "phone",
                        "maskType": "phone",
                        "readonly": true
                      },
                      {
                        "name": "ativo",
                        "label": "Ativo",
                        "controlType": "toggle",
                        "readonly": true
                      },
                      {
                        "name": "cargoId",
                        "label": "Cargo",
                        "controlType": "asyncSelect",
                        "endpoint": "/api/human-resources/cargos/options/filter",
                        "displayField": "label",
                        "valueField": "id",
                        "readonly": true
                      },
                      {
                        "name": "departamentoId",
                        "label": "Departamento",
                        "controlType": "asyncSelect",
                        "endpoint": "/api/human-resources/departamentos/options/filter",
                        "displayField": "label",
                        "valueField": "id",
                        "readonly": true
                      },
                      {
                        "name": "dataAdmissao",
                        "label": "Data de Admissão",
                        "controlType": "date",
                        "readonly": true
                      },
                      {
                        "name": "salario",
                        "label": "Salário",
                        "controlType": "currency",
                        "currencyCode": "BRL",
                        "locale": "pt-BR",
                        "readonly": true
                      },
                      {
                        "name": "estadoCivil",
                        "label": "Estado Civil",
                        "controlType": "select",
                        "options": [
                          {
                            "label": "Solteiro",
                            "value": "SOLTEIRO"
                          },
                          {
                            "label": "Casado",
                            "value": "CASADO"
                          },
                          {
                            "label": "Divorciado",
                            "value": "DIVORCIADO"
                          },
                          {
                            "label": "Viúvo",
                            "value": "VIUVO"
                          }
                        ],
                        "readonly": true
                      }
                    ],
                    "actions": {
                      "submit": {
                        "id": "submit-visual-block-review",
                        "label": "Submit review",
                        "visible": false,
                        "type": "submit"
                      },
                      "reset": {
                        "id": "reset-visual-block-review",
                        "label": "Reset",
                        "visible": false,
                        "type": "reset"
                      },
                      "cancel": {
                        "id": "close-visual-block-review",
                        "label": "Close",
                        "visible": false,
                        "type": "button"
                      },
                      "position": "right",
                      "placement": "afterSections",
                      "spacing": "compact"
                    },
                    "formRules": [
                      {
                        "id": "employee-inactive-visual-guidance",
                        "name": "Employee inactive visual guidance",
                        "targetType": "visualBlock",
                        "targets": [
                          "profile-status-card"
                        ],
                        "effect": {
                          "condition": {
                            "===": [
                              {
                                "var": "ativo"
                              },
                              false
                            ]
                          },
                          "properties": {
                            "title": "Employee inactive",
                            "titleNodeId": "profile-status-title",
                            "message": "Review offboarding, access revocation and justification before saving.",
                            "messageNodeId": "profile-status-message",
                            "className": "employee-status-card employee-status-card--warning"
                          },
                          "propertiesWhenFalse": {
                            "title": "Employee active",
                            "titleNodeId": "profile-status-title",
                            "message": "Keep assignment, department and contact details current.",
                            "messageNodeId": "profile-status-message",
                            "className": "employee-status-card employee-status-card--ok"
                          }
                        }
                      },
                      {
                        "id": "assignment-guidance-by-role",
                        "name": "Assignment guidance by role",
                        "targetType": "visualBlock",
                        "targets": [
                          "assignment-guidance-card"
                        ],
                        "effect": {
                          "condition": {
                            "===": [
                              {
                                "var": "cargoId"
                              },
                              "gestor"
                            ]
                          },
                          "properties": {
                            "title": "Managerial assignment",
                            "titleNodeId": "assignment-guidance-title",
                            "message": "Confirm approval scope, reporting line and department ownership.",
                            "messageNodeId": "assignment-guidance-message",
                            "rootClassName": "visual-block-guidance-card visual-block-guidance-card--manager"
                          },
                          "propertiesWhenFalse": {
                            "title": "Operational assignment",
                            "titleNodeId": "assignment-guidance-title",
                            "message": "This row keeps guidance outside the submit payload while preserving the field rhythm.",
                            "messageNodeId": "assignment-guidance-message",
                            "rootClassName": "visual-block-guidance-card"
                          }
                        }
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "rich-content-knowledge-surface",
      "title": "Rich Content - knowledge surface",
      "summary": "Turns policy notes, metrics, timelines and AI guidance into portable rich-content surfaces that can sit beside operational widgets.",
      "i18n": {
        "pt": {
          "title": "Rich Content - superfície de conhecimento",
          "summary": "Transforma notas, métricas, timelines e orientação de IA em superfícies ricas portáveis ao lado dos widgets operacionais.",
          "demonstrates": [
            "Explore Rich Content - superfície de conhecimento e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/knowledge-surface com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Transforma notas, métricas, timelines e orientação de IA em superfícies ricas portáveis ao lado dos widgets operacionais.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, praxis-rich-content.document, praxis-rich-content.nodes.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e rich-content-ai-capabilities.ts."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/rich-content-knowledge-surface",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/rich-content-knowledge-surface",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/knowledge-surface",
      "resourceKey": "operations.knowledge-surface",
      "requires": [
        "praxis-rich-content.document",
        "RichContentDocument.nodes",
        "rich-content.context",
        "rich-content.inline-layout",
        "rich-content.timeline",
        "rich-content.mediaBlock",
        "rich-content.metrics",
        "rich-content.tabs",
        "rich-content.card.semantic-surface",
        "rich-content.card.variants",
        "rich-content.card.media-placement",
        "rich-content.card.interaction-state",
        "actionButton",
        "requiresCapabilities"
      ],
      "tags": [
        "rich-content",
        "knowledge-surface",
        "policy",
        "timeline",
        "metrics",
        "ai-recipe"
      ],
      "demonstrates": [
        "A canonical RichContentDocument rendered as a Dynamic Page widget",
        "Text, badges, cards, metrics, progress, media blocks and timeline nodes in one copyable contract",
        "Semantic cards with variant, tone, size, orientation, media and host-mediated interaction metadata",
        "Card gallery covering outlined, filled, transparent and plain cards with top, leading, trailing and background media",
        "Context-bound expressions such as ${mission.name}, ${mission.readiness} and ${policy.owner}",
        "Inline layout for compact status ribbons alongside block layout for document surfaces",
        "AI-facing guidance that separates presentation documents from field controls and data grids",
        "Host-mediated actionButton flows and capability-gated nodes without serializing runtime bridges",
        "Lookup cards published as governed summary blocks instead of ad hoc host markup",
        "Related records published as resolved relationship summaries instead of host-authored lookup wrappers",
        "Stat groups published as portable KPI blocks instead of hand-authored dashboard markup",
        "Tabs published as portable editorial panels instead of host-authored tab markup",
        "CTA groups published as semantic next-step clusters instead of page-specific button wrappers"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "praxis-rich-content.document",
        "praxis-rich-content.nodes",
        "praxis-rich-content.context",
        "praxis-rich-content.inline-layout",
        "rich-content.card",
        "rich-content.card.media",
        "rich-content.card.semantic-state",
        "rich-content.card.headerAction",
        "rich-content.card.selectable",
        "rich-content.metric",
        "rich-content.progress",
        "rich-content.mediaBlock",
        "rich-content.timeline",
        "rich-content.recordSummary",
        "rich-content.lookupCard",
        "rich-content.relatedRecord",
        "rich-content.actionCard",
        "rich-content.statGroup",
        "rich-content.ctaGroup",
        "rich-content.disclosure",
        "rich-content.emptyState",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/ai/rich-content-ai-capabilities.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-rich-content.json"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "base-components",
      "featuredRank": 3,
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "rich-content-context-expressions-rendered",
          "rich-content-timeline-rendered",
          "host-mediated-action-buttons-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because rich-content is a presentation/document contract, not a backend resource mutation.",
          "Agents should use RichContentDocument for explanatory knowledge surfaces and keep editable business data in forms, tables or lists.",
          "The same document shape can be embedded inside dialogs, tabs, steppers, page builder surfaces and list expansion panels.",
          "When rich content is hosted by praxis-dynamic-page, hostCapabilities is injected only at runtime and must not be serialized into the persisted page JSON."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-rich-content.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/rich-content-knowledge-surface.json",
      "documentation": {
        "story": {
          "pt": "Uma operação precisa combinar orientação, indicadores, histórico e próximas ações sem codificar um dashboard editorial exclusivo. O documento Rich Content organiza essas peças como conteúdo portável.",
          "en": "An operation needs to combine guidance, indicators, history and next actions without coding a dedicated editorial dashboard. The Rich Content document organizes those pieces as portable content."
        },
        "outcome": {
          "pt": "O runtime apresenta uma narrativa operacional rica que pode mudar por configuração mantendo tema, ações e mediação sob controle do app host.",
          "en": "The runtime presents a rich operational narrative that can change through configuration while theme, actions and mediation remain host-controlled."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[missionKnowledgeBriefing].definition.inputs.document",
            "role": {
              "pt": "Materializa um briefing de decisão portátil com evidências, cards, mídia, timeline e ações sem template específico da rota.",
              "en": "Materializes a portable decision briefing with evidence, cards, media, timeline and actions without a route-specific template."
            },
            "rationale": {
              "pt": "Mantém narrativa e composição editorial no RichContentDocument enquanto o host preserva responsabilidade por execução e persistência.",
              "en": "Keeps narrative and editorial composition in RichContentDocument while the host retains responsibility for execution and persistence."
            }
          },
          {
            "component": "praxis-dynamic-page",
            "jsonPath": "page.widgets[]",
            "role": {
              "pt": "Ordena briefing, faixa de status e mediação do host como superfícies independentes da mesma história.",
              "en": "Orders briefing, status ribbon and host mediation as independent surfaces in the same story."
            },
            "rationale": {
              "pt": "Permite que cada bloco evolua com identidade e densidade próprias sem fundir toda a experiência em um componente monolítico.",
              "en": "Lets each block evolve with its own identity and density without merging the experience into one monolithic component."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto separado do documento",
              "en": "Context separated from document"
            },
            "explanation": {
              "pt": "Fornece missão e policy para expressões; a estrutura editorial permanece reutilizável com outros valores.",
              "en": "Provides mission and policy values for expressions while the editorial structure remains reusable with other values."
            }
          },
          {
            "jsonPath": "definition.inputs.document.kind + version",
            "title": {
              "pt": "Contrato versionado",
              "en": "Versioned contract"
            },
            "explanation": {
              "pt": "Declara a linguagem canônica do documento antes de resolver qualquer node ou expressão.",
              "en": "Declares the document canonical language before resolving any node or expression."
            }
          },
          {
            "jsonPath": "definition.inputs.document.nodes[governed-decision-brief]",
            "title": {
              "pt": "Pacote de decisão",
              "en": "Decision package"
            },
            "explanation": {
              "pt": "Relaciona status, owner, risco, confiança, evidências e ações em uma unidade semântica revisável.",
              "en": "Relates status, owner, risk, confidence, evidence and actions in one reviewable semantic unit."
            }
          },
          {
            "jsonPath": "definition.inputs.document.nodes[type=card]",
            "title": {
              "pt": "Variações editoriais",
              "en": "Editorial variants"
            },
            "explanation": {
              "pt": "Demonstra tons, densidades, orientações, mídia e interação sem wrappers de card criados pelo host.",
              "en": "Demonstrates tones, densities, orientations, media and interaction without host-created card wrappers."
            }
          },
          {
            "jsonPath": "definition.inputs.document.nodes[].action",
            "title": {
              "pt": "Intenção estável",
              "en": "Stable intent"
            },
            "explanation": {
              "pt": "Publica actionId e payload; autorização, navegação, efeitos e auditoria continuam mediados pelo host.",
              "en": "Publishes actionId and payload while authorization, navigation, effects and auditing remain host-mediated."
            }
          },
          {
            "jsonPath": "page.widgets[missionKnowledgeHostMediation]",
            "title": {
              "pt": "Fronteira operacional",
              "en": "Operational boundary"
            },
            "explanation": {
              "pt": "Explica no próprio runtime quais ações são portáveis e quais responsabilidades não pertencem ao documento.",
              "en": "Explains in the runtime which actions are portable and which responsibilities do not belong to the document."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Altere os valores de mission.readiness e mission.semanticRisk e observe como o mesmo documento comunica outro cenário.",
            "en": "Change mission.readiness and mission.semanticRisk and observe how the same document communicates a different scenario."
          },
          {
            "pt": "Compare variantes outlined, filled, transparent e plain sem alterar o conteúdo semântico dos cards.",
            "en": "Compare outlined, filled, transparent and plain variants without changing the cards semantic content."
          },
          {
            "pt": "Troque a posição de um media block e valide legibilidade, texto alternativo e comportamento no viewport estreito.",
            "en": "Change a media block placement and validate readability, alternative text and narrow-viewport behavior."
          }
        ],
        "productionNotes": [
          {
            "pt": "RichContentDocument descreve apresentação e intenção; não deve carregar autorização ou regras de decisão como copy executável.",
            "en": "RichContentDocument describes presentation and intent; it must not carry authorization or decision rules as executable copy."
          },
          {
            "pt": "Imagens precisam de origem confiável, texto alternativo e política de conteúdo; URLs arbitrárias não devem contornar o host.",
            "en": "Images need a trusted source, alternative text and content policy; arbitrary URLs must not bypass the host."
          },
          {
            "pt": "actionId permanece canônico e independente do label traduzido; o host resolve a tool ou ação autorizada correspondente.",
            "en": "actionId remains canonical and independent from translated labels; the host resolves the corresponding authorized tool or action."
          }
        ]
      },
      "envelope": {
        "id": "rich-content-knowledge-surface",
        "title": "Rich Content - knowledge surface",
        "summary": "Turns policy notes, metrics, timelines and AI guidance into portable rich-content surfaces that can sit beside operational widgets.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/knowledge-surface",
          "resourceKey": "operations.knowledge-surface"
        },
        "requires": [
          "praxis-rich-content.document",
          "RichContentDocument.nodes",
          "rich-content.context",
          "rich-content.inline-layout",
          "rich-content.timeline",
          "rich-content.mediaBlock",
          "rich-content.metrics",
          "rich-content.tabs",
          "rich-content.card.semantic-surface",
          "rich-content.card.variants",
          "rich-content.card.media-placement",
          "rich-content.card.interaction-state",
          "actionButton",
          "requiresCapabilities"
        ],
        "tags": [
          "rich-content",
          "knowledge-surface",
          "policy",
          "timeline",
          "metrics",
          "ai-recipe"
        ],
        "demonstrates": [
          "A canonical RichContentDocument rendered as a Dynamic Page widget",
          "Text, badges, cards, metrics, progress, media blocks and timeline nodes in one copyable contract",
          "Semantic cards with variant, tone, size, orientation, media and host-mediated interaction metadata",
          "Card gallery covering outlined, filled, transparent and plain cards with top, leading, trailing and background media",
          "Context-bound expressions such as ${mission.name}, ${mission.readiness} and ${policy.owner}",
          "Inline layout for compact status ribbons alongside block layout for document surfaces",
          "AI-facing guidance that separates presentation documents from field controls and data grids",
          "Host-mediated actionButton flows and capability-gated nodes without serializing runtime bridges",
          "Lookup cards published as governed summary blocks instead of ad hoc host markup",
          "Related records published as resolved relationship summaries instead of host-authored lookup wrappers",
          "Stat groups published as portable KPI blocks instead of hand-authored dashboard markup",
          "Tabs published as portable editorial panels instead of host-authored tab markup",
          "CTA groups published as semantic next-step clusters instead of page-specific button wrappers"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "praxis-rich-content.document",
          "praxis-rich-content.nodes",
          "praxis-rich-content.context",
          "praxis-rich-content.inline-layout",
          "rich-content.card",
          "rich-content.card.media",
          "rich-content.card.semantic-state",
          "rich-content.card.headerAction",
          "rich-content.card.selectable",
          "rich-content.metric",
          "rich-content.progress",
          "rich-content.mediaBlock",
          "rich-content.timeline",
          "rich-content.recordSummary",
          "rich-content.lookupCard",
          "rich-content.relatedRecord",
          "rich-content.actionCard",
          "rich-content.statGroup",
          "rich-content.ctaGroup",
          "rich-content.disclosure",
          "rich-content.emptyState",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/ai/rich-content-ai-capabilities.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-rich-content.json"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "rich-content-context-expressions-rendered",
            "rich-content-timeline-rendered",
            "host-mediated-action-buttons-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because rich-content is a presentation/document contract, not a backend resource mutation.",
            "Agents should use RichContentDocument for explanatory knowledge surfaces and keep editable business data in forms, tables or lists.",
            "The same document shape can be embedded inside dialogs, tabs, steppers, page builder surfaces and list expansion panels.",
            "When rich content is hosted by praxis-dynamic-page, hostCapabilities is injected only at runtime and must not be serialized into the persisted page JSON."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-rich-content.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.rich-content-knowledge-surface.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "missionKnowledgeBriefing",
              "shell": {
                "kind": "dashboard-card",
                "icon": "article",
                "title": "Mission knowledge briefing",
                "subtitle": "Policy, metrics and timeline authored as RichContentDocument"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "dynamic-page-rich-content-knowledge-surface",
                  "context": {
                    "mission": {
                      "name": "Operation Dawn Gate",
                      "owner": "Ariadne Ops",
                      "readiness": 82,
                      "risk": "Elevated",
                      "semanticRisk": "medium",
                      "governanceStatus": "published",
                      "region": "South Atlantic"
                    },
                    "policy": {
                      "owner": "Platform Governance",
                      "version": "2026.04",
                      "source": "Quickstart reference contract",
                      "lastReviewed": "2026-04-18",
                      "cueCount": 3,
                      "cueCaption": "governed cues"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "id": "governed-decision-brief",
                        "type": "decisionPackage",
                        "titleExpr": "${mission.name}",
                        "subtitleExpr": "${policy.source}",
                        "summary": "Governed semantic briefing authored from the reference contract: readiness, risk, owner and policy version stay portable as one RichContentDocument while the host owns runtime actions.",
                        "statusExpr": "${mission.governanceStatus}",
                        "ownerExpr": "${policy.owner}",
                        "policySourceExpr": "${policy.source}",
                        "versionExpr": "${policy.version}",
                        "confidenceExpr": "${mission.readiness}",
                        "riskExpr": "${mission.semanticRisk}",
                        "lastReviewedExpr": "${policy.lastReviewed}",
                        "evidence": [
                          {
                            "id": "quickstart-contract",
                            "label": "Reference contract",
                            "source": "schemas.filtered"
                          },
                          {
                            "id": "ai-authoring",
                            "label": "AI-authored decision",
                            "source": "RichContentDocument"
                          }
                        ],
                        "primaryAction": {
                          "type": "actionButton",
                          "label": "Inspect decision package",
                          "variant": "raised",
                          "color": "primary",
                          "action": {
                            "actionId": "mission.decision.inspect"
                          }
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open evidence",
                            "variant": "stroked",
                            "action": {
                              "actionId": "mission.evidence.open"
                            }
                          }
                        ],
                        "accessibility": {
                          "role": "article",
                          "ariaLabel": "Governed semantic decision briefing"
                        }
                      },
                      {
                        "type": "card",
                        "title": "Compact policy note",
                        "subtitle": "Outlined / neutral / compact / leading icon",
                        "variant": "outlined",
                        "tone": "neutral",
                        "size": "sm",
                        "density": "compact",
                        "orientation": "horizontal",
                        "media": {
                          "kind": "icon",
                          "icon": "policy",
                          "label": "Policy note",
                          "placement": "leading"
                        },
                        "accessibility": {
                          "role": "group",
                          "ariaLabel": "Compact neutral policy card with leading policy icon"
                        },
                        "content": [
                          {
                            "type": "text",
                            "text": "Dense policy hints can stay readable when media, tags and body copy are balanced inside one portable card."
                          },
                          {
                            "type": "compose",
                            "wrap": true,
                            "gap": "xs",
                            "items": [
                              {
                                "type": "badge",
                                "label": "policy hint"
                              },
                              {
                                "type": "badge",
                                "label": "dense"
                              },
                              {
                                "type": "badge",
                                "label": "portable"
                              }
                            ]
                          },
                          {
                            "type": "metric",
                            "label": "Signal",
                            "valueExpr": "${policy.cueCount}",
                            "captionExpr": "${policy.cueCaption}"
                          }
                        ]
                      },
                      {
                        "type": "card",
                        "title": "Reusable decision package",
                        "subtitle": "Filled / success / selectable",
                        "variant": "filled",
                        "tone": "success",
                        "size": "md",
                        "density": "comfortable",
                        "orientation": "horizontal",
                        "active": true,
                        "media": {
                          "kind": "image",
                          "src": "/examples/rich-content/reusable-decision-package-portrait.png",
                          "alt": "Generated portrait of a verified reusable decision package with approval lineage",
                          "placement": "leading",
                          "aspectRatio": "3 / 4"
                        },
                        "interaction": {
                          "mode": "selectable",
                          "selected": true
                        },
                        "accessibility": {
                          "role": "button",
                          "ariaLabel": "Selected reusable decision package card"
                        },
                        "content": [
                          {
                            "type": "text",
                            "text": "Selectable cards can express governed choices while keeping the host responsible for persistence and action routing."
                          },
                          {
                            "type": "compose",
                            "wrap": true,
                            "gap": "sm",
                            "items": [
                              {
                                "type": "badge",
                                "label": "selected"
                              },
                              {
                                "type": "badge",
                                "label": "active"
                              },
                              {
                                "type": "badge",
                                "label": "portrait media"
                              },
                              {
                                "type": "badge",
                                "label": "92% confidence"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "card",
                        "title": "Risk review checkpoint",
                        "subtitle": "Transparent / warning / top generated media",
                        "variant": "transparent",
                        "tone": "warning",
                        "size": "md",
                        "density": "comfortable",
                        "orientation": "vertical",
                        "media": {
                          "kind": "image",
                          "src": "/examples/rich-content/risk-review-checkpoint.png",
                          "alt": "Generated warning checkpoint dashboard with audit trail and review markers",
                          "placement": "top",
                          "aspectRatio": "21 / 9"
                        },
                        "headerAction": {
                          "type": "actionButton",
                          "label": "Review",
                          "icon": "rule",
                          "variant": "stroked",
                          "color": "accent",
                          "action": {
                            "actionId": "reviewRiskCheckpoint",
                            "payload": {
                              "source": "rich-content-card-gallery",
                              "checkpoint": "risk-review"
                            }
                          }
                        },
                        "accessibility": {
                          "role": "article",
                          "ariaLabel": "Risk review checkpoint card with generated warning image"
                        },
                        "content": [
                          {
                            "type": "compose",
                            "wrap": true,
                            "gap": "sm",
                            "items": [
                              {
                                "type": "badge",
                                "label": "warning"
                              },
                              {
                                "type": "badge",
                                "label": "generated image"
                              },
                              {
                                "type": "badge",
                                "label": "header action"
                              }
                            ]
                          },
                          {
                            "type": "text",
                            "text": "Header actions keep secondary affordances visible without turning every card into a host-specific wrapper."
                          }
                        ]
                      },
                      {
                        "type": "card",
                        "title": "Escalation context",
                        "subtitle": "Plain / danger / background media",
                        "variant": "plain",
                        "tone": "danger",
                        "size": "sm",
                        "density": "compact",
                        "orientation": "vertical",
                        "media": {
                          "kind": "image",
                          "src": "/examples/rich-content/danger-escalation-gate.png",
                          "alt": "Generated blocked decision package paused behind a red escalation gate",
                          "placement": "background",
                          "aspectRatio": "21 / 9"
                        },
                        "accessibility": {
                          "role": "article",
                          "ariaLabel": "Plain danger escalation context card with background icon"
                        },
                        "content": [
                          {
                            "type": "text",
                            "text": "Use danger tone for blocked or escalated decisions that need immediate human attention before publication."
                          },
                          {
                            "type": "compose",
                            "wrap": true,
                            "gap": "xs",
                            "items": [
                              {
                                "type": "icon",
                                "icon": "priority_high",
                                "ariaLabel": "High priority"
                              },
                              {
                                "type": "badge",
                                "label": "danger"
                              },
                              {
                                "type": "badge",
                                "label": "generated background"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "card",
                        "title": "Published visual evidence",
                        "subtitle": "Elevated / info / image media",
                        "variant": "elevated",
                        "tone": "info",
                        "size": "md",
                        "density": "comfortable",
                        "orientation": "vertical",
                        "media": {
                          "kind": "image",
                          "src": "/examples/rich-content/governed-evidence-publication.png",
                          "alt": "Generated governed evidence publication surface with verified decision document",
                          "placement": "top",
                          "aspectRatio": "21 / 9"
                        },
                        "accessibility": {
                          "role": "article",
                          "ariaLabel": "Info card with top image media"
                        },
                        "content": [
                          {
                            "type": "compose",
                            "wrap": true,
                            "gap": "sm",
                            "items": [
                              {
                                "type": "badge",
                                "label": "image"
                              },
                              {
                                "type": "badge",
                                "label": "top media"
                              },
                              {
                                "type": "badge",
                                "label": "elevated"
                              }
                            ]
                          },
                          {
                            "type": "text",
                            "text": "Image media is useful for evidence cards, product explainers and visual attachments without leaving the canonical document contract."
                          }
                        ]
                      },
                      {
                        "type": "card",
                        "title": "Governed next step",
                        "subtitle": "Outlined / action mode / button semantics",
                        "variant": "outlined",
                        "tone": "success",
                        "size": "md",
                        "density": "comfortable",
                        "orientation": "horizontal",
                        "media": {
                          "kind": "icon",
                          "icon": "rocket_launch",
                          "label": "Publish",
                          "placement": "leading"
                        },
                        "interaction": {
                          "mode": "action",
                          "action": {
                            "actionId": "publishDecisionPreview",
                            "payload": {
                              "source": "rich-content-card-gallery",
                              "step": "publish-preview"
                            }
                          }
                        },
                        "accessibility": {
                          "role": "button",
                          "ariaLabel": "Publish decision preview action card"
                        },
                        "content": [
                          {
                            "type": "text",
                            "text": "Action cards can be keyboard-focusable semantic buttons while the host still owns authorization, routing and side effects."
                          },
                          {
                            "type": "compose",
                            "wrap": true,
                            "gap": "xs",
                            "items": [
                              {
                                "type": "badge",
                                "label": "action"
                              },
                              {
                                "type": "badge",
                                "label": "keyboard ready"
                              },
                              {
                                "type": "badge",
                                "label": "host mediated"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "card",
                        "title": "Quiet reference card",
                        "subtitle": "Transparent / neutral / trailing avatar",
                        "variant": "transparent",
                        "tone": "neutral",
                        "size": "sm",
                        "density": "compact",
                        "orientation": "horizontal",
                        "media": {
                          "kind": "avatar",
                          "label": "QA",
                          "placement": "trailing"
                        },
                        "accessibility": {
                          "role": "group",
                          "ariaLabel": "Quiet neutral reference card with trailing avatar"
                        },
                        "content": [
                          {
                            "type": "text",
                            "text": "Transparent neutral cards work well for secondary notes, attribution and compact reference material."
                          }
                        ]
                      },
                      {
                        "type": "card",
                        "title": "Approval pending",
                        "subtitle": "Filled / warning / compact leading status",
                        "variant": "filled",
                        "tone": "warning",
                        "size": "sm",
                        "density": "compact",
                        "orientation": "horizontal",
                        "loading": true,
                        "media": {
                          "kind": "icon",
                          "icon": "hourglass_top",
                          "label": "Pending",
                          "placement": "leading"
                        },
                        "accessibility": {
                          "role": "article",
                          "ariaLabel": "Warning card showing a pending loading state"
                        },
                        "content": [
                          {
                            "type": "text",
                            "text": "Loading state communicates that the card is waiting for a governed publication or approval snapshot."
                          },
                          {
                            "type": "compose",
                            "wrap": true,
                            "gap": "xs",
                            "items": [
                              {
                                "type": "badge",
                                "label": "pending"
                              },
                              {
                                "type": "badge",
                                "label": "compact status"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id": "decision-provenance-note",
                        "type": "mediaBlock",
                        "avatar": {
                          "type": "avatar",
                          "initials": "AI",
                          "name": "AI-authored decision"
                        },
                        "title": {
                          "type": "text",
                          "text": "Authoring evidence"
                        },
                        "subtitle": {
                          "type": "text",
                          "text": "Policy context, ownership and runtime boundaries travel with the document; editable business data remains in forms, tables and governed host services."
                        },
                        "meta": {
                          "type": "badge",
                          "label": "runtime-safe JSON"
                        },
                        "trailing": [
                          {
                            "type": "icon",
                            "icon": "psychology",
                            "ariaLabel": "AI ready"
                          }
                        ]
                      },
                      {
                        "id": "decision-lifecycle",
                        "type": "timeline",
                        "title": "Decision lifecycle",
                        "orientation": "horizontal",
                        "order": "reverse",
                        "position": "alternate",
                        "connectorVariant": "dashed",
                        "markerVariant": "number",
                        "markerColor": "primary",
                        "emphasis": "strong",
                        "density": "spacious",
                        "textAppearance": "prominent",
                        "style": {
                          "--prx-rich-timeline-item-body-background": "color-mix(in srgb, var(--md-sys-color-primary, #6750a4) 8%, transparent)",
                          "--prx-rich-timeline-item-body-border": "1px solid color-mix(in srgb, var(--md-sys-color-primary, #6750a4) 28%, transparent)",
                          "--prx-rich-timeline-item-body-border-radius": "8px",
                          "--prx-rich-timeline-item-body-padding": "14px"
                        },
                        "items": [
                          {
                            "icon": "schema",
                            "title": "Grounded",
                            "subtitle": "Resolve the canonical contract and classify the surface as explanation, data or action before rendering.",
                            "meta": "schemas.filtered + recipes",
                            "opposite": "1. Ground",
                            "badge": "source"
                          },
                          {
                            "icon": "article",
                            "title": "Authored",
                            "subtitle": "Publish briefing, metrics and evidence as a portable RichContentDocument instead of a local Angular template.",
                            "meta": "praxis-rich-content",
                            "opposite": "2. Author",
                            "badge": "runtime"
                          },
                          {
                            "icon": "open_in_new",
                            "title": "Materialized",
                            "subtitle": "Reuse the same semantic decision package in tabs, dialogs, steppers, list expansion or dashboard cells.",
                            "meta": "Dynamic Page composition",
                            "opposite": "3. Publish",
                            "badge": "portable"
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            },
            {
              "key": "missionKnowledgeStatusRibbon",
              "shell": {
                "kind": "dashboard-card",
                "icon": "fact_check",
                "title": "Inline status ribbon",
                "subtitle": "Compact rich-content nodes for toolbar and table-cell style affordances"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "nodes",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "inline",
                  "rootClassName": "dynamic-page-rich-content-inline-status",
                  "context": {
                    "status": {
                      "icon": "verified",
                      "label": "Governed knowledge surface",
                      "phase": "Reusable"
                    }
                  },
                  "nodes": [
                    {
                      "type": "icon",
                      "icon": "verified",
                      "ariaLabel": "Verified"
                    },
                    {
                      "type": "text",
                      "textExpr": "${status.label}"
                    },
                    {
                      "type": "badge",
                      "labelExpr": "${status.phase}"
                    }
                  ]
                }
              }
            },
            {
              "key": "missionKnowledgeHostMediation",
              "shell": {
                "kind": "dashboard-card",
                "icon": "hub",
                "title": "Host-mediated editorial actions",
                "subtitle": "Action buttons and capability-gated blocks resolved by praxis-dynamic-page at runtime"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context"
                ],
                "inputs": {
                  "context": {
                    "selectedRecord": {
                      "name": "Carla Mendes",
                      "department": "Platform Governance",
                      "status": "Needs review",
                      "recordId": "employee-42"
                    },
                    "pageRuntime": {
                      "capability": "page.widget.configurable",
                      "actionChannel": "customAction or GlobalActionService"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "info",
                        "icon": "hub",
                        "title": "Runtime host mediation",
                        "message": "Hosted praxis-rich-content widgets can trigger governed actions and capability-gated editorial blocks without persisting runtime helpers in WidgetPageDefinition.",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Open details",
                            "icon": "open_in_new",
                            "variant": "stroked",
                            "color": "primary",
                            "action": {
                              "actionId": "openDetails",
                              "payload": {
                                "source": "rich-content-knowledge-surface",
                                "widgetKey": "missionKnowledgeHostMediation"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "recordSummary",
                        "titleExpr": "${selectedRecord.name}",
                        "subtitleExpr": "${selectedRecord.department}",
                        "metaExpr": "${pageRuntime.actionChannel}",
                        "fields": [
                          {
                            "label": "Status",
                            "valueExpr": "${selectedRecord.status}"
                          },
                          {
                            "label": "Capability gate",
                            "valueExpr": "${pageRuntime.capability}"
                          },
                          {
                            "label": "Persistence rule",
                            "value": "Persist only document/context; never persist hostCapabilities"
                          }
                        ],
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Inspect widget settings",
                            "icon": "settings",
                            "variant": "flat",
                            "color": "accent",
                            "action": {
                              "actionId": "openWidgetSettings",
                              "payloadExpr": "${selectedRecord}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "statGroup",
                        "title": "Governed host metrics",
                        "subtitle": "Portable KPI summary owned by the rich-content document",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Capability gates",
                            "value": "1",
                            "captionExpr": "${pageRuntime.capability}",
                            "icon": "shield"
                          },
                          {
                            "label": "Action channel",
                            "value": "2",
                            "captionExpr": "${pageRuntime.actionChannel}",
                            "icon": "hub"
                          },
                          {
                            "label": "Selection status",
                            "valueExpr": "${selectedRecord.status}",
                            "captionExpr": "${selectedRecord.recordId}",
                            "icon": "person_search"
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Governed host views",
                        "subtitle": "One portable document organizing multiple editorial panels without host-specific tab markup.",
                        "appearance": "underline",
                        "defaultTabId": "overview",
                        "items": [
                          {
                            "id": "overview",
                            "label": "Overview",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Tabs keep explanatory panels, summaries and governed actions inside the canonical RichContentDocument instead of forcing each host to invent its own tab container."
                              }
                            ]
                          },
                          {
                            "id": "selection",
                            "label": "Selection",
                            "icon": "person_search",
                            "badgeExpr": "${selectedRecord.status}",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Selected record",
                                    "valueExpr": "${selectedRecord.name}"
                                  },
                                  {
                                    "label": "Department",
                                    "valueExpr": "${selectedRecord.department}"
                                  },
                                  {
                                    "label": "Portability rule",
                                    "value": "Selected record context stays portable across host surfaces."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Next steps",
                        "subtitle": "Choose the governed host action",
                        "message": "Use a semantic CTA cluster when the host must expose multiple governed next steps from one portable document.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Open governed lookup",
                            "icon": "open_in_new",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "openDetails",
                              "payloadExpr": "${selectedRecord}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Inspect widget settings",
                            "icon": "settings",
                            "variant": "stroked",
                            "action": {
                              "actionId": "openWidgetSettings",
                              "payloadExpr": "${selectedRecord}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "titleExpr": "${selectedRecord.name}",
                        "subtitleExpr": "${selectedRecord.department}",
                        "status": "resolved",
                        "metaExpr": "${pageRuntime.actionChannel}",
                        "ctaLabel": "Open governed lookup",
                        "action": {
                          "actionId": "openDetails",
                          "payloadExpr": "${selectedRecord}"
                        },
                        "fields": [
                          {
                            "label": "Status",
                            "valueExpr": "${selectedRecord.status}"
                          },
                          {
                            "label": "Record id",
                            "valueExpr": "${selectedRecord.recordId}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Inspect widget settings",
                            "icon": "settings",
                            "variant": "stroked",
                            "color": "accent",
                            "action": {
                              "actionId": "openWidgetSettings",
                              "payloadExpr": "${selectedRecord}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "titleExpr": "${selectedRecord.name}",
                        "subtitle": "Reports to",
                        "relationLabel": "Manager record",
                        "metaExpr": "${selectedRecord.department}",
                        "ctaLabel": "Open related manager",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "openDetails",
                          "payloadExpr": "${selectedRecord}"
                        },
                        "fields": [
                          {
                            "label": "Selection status",
                            "valueExpr": "${selectedRecord.status}",
                            "hint": "Resolved from the active selection context."
                          },
                          {
                            "label": "Record id",
                            "valueExpr": "${selectedRecord.recordId}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Inspect related settings",
                            "icon": "settings",
                            "variant": "stroked",
                            "color": "accent",
                            "action": {
                              "actionId": "openWidgetSettings",
                              "payloadExpr": "${selectedRecord}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Inspect governed package",
                        "subtitleExpr": "${selectedRecord.department}",
                        "message": "This editorial card triggers a host-mediated workflow without embedding handlers in the document.",
                        "metaExpr": "${pageRuntime.actionChannel}",
                        "ctaLabel": "Inspect governed package",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "openDetails",
                          "payloadExpr": "${selectedRecord}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Inspect widget settings",
                            "icon": "settings",
                            "variant": "stroked",
                            "color": "accent",
                            "action": {
                              "actionId": "openWidgetSettings",
                              "payloadExpr": "${selectedRecord}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "disclosure",
                        "title": "Visible only when the page host exposes widget configuration capability",
                        "subtitle": "This block stays in the document but the host decides whether it renders",
                        "appearance": "card",
                        "defaultExpanded": true,
                        "requiresCapabilities": [
                          "page.widget.configurable"
                        ],
                        "content": [
                          {
                            "type": "keyValueList",
                            "layout": "stacked",
                            "items": [
                              {
                                "label": "Capability source",
                                "value": "DynamicWidgetPageComponent hostCapabilities.hasCapability"
                              },
                              {
                                "label": "Action dispatch",
                                "value": "hostCapabilities.dispatchAction resolves GlobalActionService first and falls back to customAction"
                              },
                              {
                                "label": "Persisted contract",
                                "value": "definition.inputs.document remains the only canonical rich-content payload in the page JSON"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "emptyState",
                        "icon": "data_object",
                        "title": "Do not serialize runtime bridges",
                        "message": "This example intentionally omits hostCapabilities from definition.inputs. Runtime helpers belong to the page host, not to the persisted recipe.",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Refresh host state",
                            "icon": "refresh",
                            "variant": "basic",
                            "action": {
                              "actionId": "refreshHostState",
                              "payload": {
                                "recordId": "employee-42"
                              }
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "funcionarios-crud",
      "title": "Funcionarios - CRUD page",
      "summary": "Renders a CRUD page over funcionarios while leaving openings, policy and host mediation explicit instead of hiding them in generated scaffolding.",
      "i18n": {
        "pt": {
          "title": "Funcionários - página CRUD",
          "summary": "Renderiza um CRUD de funcionários mantendo aberturas, política e mediação do host explícitas, sem esconder tudo em scaffolding gerado.",
          "demonstrates": [
            "Explore Funcionários - página CRUD e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-crud materializa human-resources/funcionarios com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Renderiza um CRUD de funcionários mantendo aberturas, política e mediação do host explícitas, sem esconder tudo em scaffolding gerado.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas filtered e filter."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/funcionarios-crud",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/funcionarios-crud",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-crud",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "filter",
        "options",
        "capabilities",
        "crud",
        "remote-data"
      ],
      "tags": [
        "crud",
        "kpi-band",
        "declarative-pipes",
        "remote",
        "schema-driven",
        "quickstart"
      ],
      "demonstrates": [
        "CRUD widget resolution inside Dynamic Page",
        "Host-governed drawer openings for create, view and edit",
        "Shared funcionarios resource contract for table and form flows",
        "CRUD metadata carried as widget input",
        "Telemetry-driven kpiBand with CSP-safe declarative value pipes (| number, | default) and interactive collection filters"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "remote-filter",
        "remote-options",
        "capabilities",
        "crud-openings",
        "schema-driven-form"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered",
        "POST /api/human-resources/funcionarios/filter",
        "POST /api/human-resources/funcionarios/stats/group-by",
        "GET /api/human-resources/funcionarios/capabilities",
        "POST /api/human-resources/cargos/options/filter",
        "POST /api/human-resources/departamentos/options/filter"
      ],
      "complexity": "intermediate",
      "catalogRole": "runtime-widget",
      "learningStage": "productivity",
      "variantFamilyId": "employee-workspace-compositions",
      "featuredRank": 4,
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "authoring-plan-visible",
          "dynamic-page-rendered",
          "praxis-crud-rendered",
          "quickstart-filter-response"
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.crud.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/funcionarios-crud.json",
      "documentation": {
        "story": {
          "pt": "Uma equipe administrativa precisa consultar e manter funcionários sem reconstruir listagem, formulários e aberturas para cada recurso. O exemplo reúne essas operações sobre o mesmo contrato publicado.",
          "en": "An administrative team needs to browse and maintain employees without rebuilding lists, forms and opening modes for every resource. The example brings those operations over the same published contract."
        },
        "outcome": {
          "pt": "Consulta, criação e edição compartilham identidade de recurso, políticas e mediação, demonstrando um fluxo corporativo que permanece governável.",
          "en": "Browse, create and edit share resource identity, policies and mediation, demonstrating an enterprise flow that remains governable."
        },
        "componentRoles": [
          {
            "component": "praxis-crud",
            "jsonPath": "page.widgets[funcionariosCrud].definition.inputs.metadata",
            "role": {
              "pt": "Coordena tabela, formulários e modos de abertura para consultar, criar, visualizar e editar funcionários.",
              "en": "Coordinates table, forms and opening modes to browse, create, view and edit employees."
            },
            "rationale": {
              "pt": "Evita duplicar o mesmo recurso em páginas e handlers separados, preservando uma identidade operacional única.",
              "en": "Avoids duplicating the same resource across separate pages and handlers while preserving one operational identity."
            }
          },
          {
            "component": "praxis-table + praxis-dynamic-form",
            "jsonPath": "definition.inputs.metadata.table + metadata.actions[].formId",
            "role": {
              "pt": "Materializam a coleção e os formulários especializados sob orquestração do CRUD.",
              "en": "Materialize the collection and specialized forms under CRUD orchestration."
            },
            "rationale": {
              "pt": "Cada componente mantém seu contrato; CRUD governa o fluxo e não reimplementa tabela ou formulário.",
              "en": "Each component keeps its contract; CRUD governs the flow without reimplementing table or form."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.crudId",
            "title": {
              "pt": "Identidade do workspace",
              "en": "Workspace identity"
            },
            "explanation": {
              "pt": "Estabelece uma chave estável para a instância, sua configuração e sua observabilidade.",
              "en": "Establishes a stable key for the instance, its configuration and observability."
            }
          },
          {
            "jsonPath": "definition.inputs.metadata.resource",
            "title": {
              "pt": "Recurso compartilhado",
              "en": "Shared resource"
            },
            "explanation": {
              "pt": "Declara path, idField e endpointKey usados por consulta e operações sem duplicar identidade.",
              "en": "Declares path, idField and endpointKey used by browse and operations without duplicating identity."
            }
          },
          {
            "jsonPath": "definition.inputs.metadata.kpiBand",
            "title": {
              "pt": "Faixa de KPIs com pipes CSP-safe",
              "en": "KPI band with CSP-safe pipes"
            },
            "explanation": {
              "pt": "Hidrata cards a partir de stats/group-by, formata valores com pipes declarativos (| number, | default:0) e filtra a coleção ao clicar.",
              "en": "Hydrates cards from stats/group-by, formats values with declarative pipes (| number, | default:0) and filters the collection on click."
            }
          },
          {
            "jsonPath": "definition.inputs.metadata.table",
            "title": {
              "pt": "Coleção proprietária",
              "en": "Owned collection"
            },
            "explanation": {
              "pt": "Configura toolbar e seleção da tabela que inicia o fluxo de detalhe ou edição.",
              "en": "Configures the table toolbar and selection that starts the detail or edit flow."
            }
          },
          {
            "jsonPath": "definition.inputs.metadata.defaults.openMode",
            "title": {
              "pt": "Padrão de abertura",
              "en": "Opening default"
            },
            "explanation": {
              "pt": "Escolhe drawer como apresentação inicial sem acoplar o CRUD a um shell único.",
              "en": "Chooses drawer as the initial presentation without coupling CRUD to one shell."
            }
          },
          {
            "jsonPath": "definition.inputs.metadata.actions",
            "title": {
              "pt": "Operações e formulários",
              "en": "Operations and forms"
            },
            "explanation": {
              "pt": "Relaciona create, view e edit ao formId e openMode correspondentes; capabilities reais continuam governando disponibilidade.",
              "en": "Relates create, view and edit to their formId and openMode while real capabilities continue governing availability."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Troque view para dialog e edit para drawer e compare como a apresentação muda sem alterar a operação canônica.",
            "en": "Switch view to dialog and edit to drawer and compare how presentation changes without changing the canonical operation."
          },
          {
            "pt": "Desabilite a seleção da tabela e avalie quais jornadas deixam de ter um alvo explícito para visualizar ou editar.",
            "en": "Disable table selection and assess which journeys no longer have an explicit target to view or edit."
          },
          {
            "pt": "Compare este exemplo com o master-detail para decidir quando contexto persistente é melhor que uma abertura transitória.",
            "en": "Compare this example with master-detail to decide when persistent context is better than a transient opening."
          }
        ],
        "productionNotes": [
          {
            "pt": "A presença de uma ação no metadata não autoriza sua execução; capabilities e policy do backend devem prevalecer.",
            "en": "The presence of an action in metadata does not authorize execution; backend capabilities and policy must prevail."
          },
          {
            "pt": "formId deve apontar para uma configuração registrada e compatível com o recurso, sem gerar formulários por convenção textual.",
            "en": "formId must point to a registered configuration compatible with the resource, without generating forms by textual convention."
          },
          {
            "pt": "O host é responsável por persistência, feedback, concorrência, erros e restauração de contexto após cada operação.",
            "en": "The host is responsible for persistence, feedback, concurrency, errors and context restoration after each operation."
          }
        ]
      },
      "envelope": {
        "id": "funcionarios-crud",
        "title": "Funcionarios - CRUD page",
        "summary": "Renders a CRUD page over funcionarios while leaving openings, policy and host mediation explicit instead of hiding them in generated scaffolding.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-crud",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "filter",
          "options",
          "capabilities",
          "crud",
          "remote-data"
        ],
        "tags": [
          "crud",
          "kpi-band",
          "declarative-pipes",
          "remote",
          "schema-driven",
          "quickstart"
        ],
        "demonstrates": [
          "CRUD widget resolution inside Dynamic Page",
          "Host-governed drawer openings for create, view and edit",
          "Shared funcionarios resource contract for table and form flows",
          "CRUD metadata carried as widget input",
          "Telemetry-driven kpiBand with CSP-safe declarative value pipes (| number, | default) and interactive collection filters"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "remote-filter",
          "remote-options",
          "capabilities",
          "crud-openings",
          "schema-driven-form"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered",
          "POST /api/human-resources/funcionarios/filter",
          "POST /api/human-resources/funcionarios/stats/group-by",
          "GET /api/human-resources/funcionarios/capabilities",
          "POST /api/human-resources/cargos/options/filter",
          "POST /api/human-resources/departamentos/options/filter"
        ],
        "complexity": "intermediate",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "authoring-plan-visible",
            "dynamic-page-rendered",
            "praxis-crud-rendered",
            "quickstart-filter-response"
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.crud.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "funcionariosCrud",
              "shell": {
                "kind": "dashboard-card",
                "icon": "database",
                "title": "Funcionarios CRUD",
                "subtitle": "Schema-driven CRUD flow"
              },
              "definition": {
                "id": "praxis-crud",
                "bindingOrder": [
                  "metadata"
                ],
                "inputs": {
                  "crudId": "human-resources-funcionarios-crud",
                  "metadata": {
                    "component": "praxis-crud",
                    "resource": {
                      "path": "human-resources/funcionarios",
                      "idField": "id",
                      "endpointKey": "human-resources.funcionarios"
                    },
                    "kpiBand": {
                      "enabled": true,
                      "source": "human-resources/funcionarios/stats/group-by",
                      "method": "POST",
                      "payload": {
                        "field": "ativo",
                        "metrics": [
                          {
                            "field": "id",
                            "operation": "COUNT",
                            "alias": "total"
                          }
                        ]
                      },
                      "cards": [
                        {
                          "id": "total-funcionarios",
                          "label": "Efetivo Total",
                          "value": "0",
                          "valueExpr": "${totalCount} | number",
                          "caption": "Quadro geral",
                          "icon": "groups",
                          "variant": "primary",
                          "filter": {}
                        },
                        {
                          "id": "funcionarios-ativos",
                          "label": "Ativos",
                          "value": "0",
                          "valueExpr": "${byKey.true} | default:0 | number",
                          "caption": "Em exercício",
                          "icon": "verified_user",
                          "variant": "success",
                          "filter": {
                            "ativo": true
                          }
                        },
                        {
                          "id": "funcionarios-inativos",
                          "label": "Inativos",
                          "value": "0",
                          "valueExpr": "${byKey.false} | default:0 | number",
                          "captionExpr": "Fora de atividade",
                          "icon": "person_off",
                          "variant": "warning",
                          "filter": {
                            "ativo": false
                          }
                        }
                      ]
                    },
                    "table": {
                      "toolbar": {
                        "visible": true,
                        "title": "Funcionarios"
                      },
                      "behavior": {
                        "selection": {
                          "enabled": true,
                          "type": "single"
                        }
                      }
                    },
                    "defaults": {
                      "openMode": "drawer"
                    },
                    "actions": [
                      {
                        "action": "create",
                        "openMode": "drawer",
                        "formId": "human-resources-funcionarios-form"
                      },
                      {
                        "action": "view",
                        "openMode": "drawer",
                        "formId": "human-resources-funcionarios-form"
                      },
                      {
                        "action": "edit",
                        "openMode": "drawer",
                        "formId": "human-resources-funcionarios-form"
                      }
                    ]
                  }
                },
                "outputs": {
                  "afterSave": "emit",
                  "afterDelete": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "funcionarios-actions-capabilities",
      "title": "Funcionarios - actions and capabilities",
      "summary": "Connects row actions to backend-published surfaces and capabilities, showing how available operations can be discovered at runtime.",
      "i18n": {
        "pt": {
          "title": "Funcionários - ações e capabilities",
          "summary": "Conecta ações de linha a superfícies e capabilities publicadas pelo backend, mostrando operações descobertas em runtime.",
          "demonstrates": [
            "Explore Funcionários - ações e capabilities e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-table materializa human-resources/funcionarios com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Conecta ações de linha a superfícies e capabilities publicadas pelo backend, mostrando operações descobertas em runtime.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas filtered e filter."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/funcionarios-actions-capabilities",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/funcionarios-actions-capabilities",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-table",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "filter",
        "surfaces",
        "actions",
        "capabilities",
        "remote-data"
      ],
      "tags": [
        "actions",
        "capabilities",
        "surfaces",
        "table",
        "quickstart"
      ],
      "demonstrates": [
        "A backend-published Perfil 360 item surface discovered from row _links",
        "Host-declared surface.open actions for payroll analytics and mission participation",
        "Response cardinality guiding whether a projection renders as a profile object, chart, or related collection",
        "Immediate host feedback while catalog, schema and data are materialized",
        "Collection capabilities describing canonical operations",
        "Action buttons kept in the table while policy remains backend-owned"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "remote-filter",
        "surfaces",
        "actions",
        "capabilities",
        "surface.open",
        "responseCardinality"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered",
        "POST /api/human-resources/funcionarios/filter",
        "GET /api/human-resources/funcionarios/capabilities",
        "GET /api/human-resources/funcionarios/{id}/surfaces",
        "GET /api/human-resources/funcionarios/{id}/capabilities",
        "GET /api/human-resources/funcionarios/{id}/hero-profile",
        "GET /api/human-resources/funcionarios/{id}/payroll-history",
        "POST /api/operations/missao-participantes/filter"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "productivity",
      "variantFamilyId": "employee-table-operations",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-table-rendered",
          "row-actions-rendered",
          "capabilities-surface-declared",
          "response-cardinality-guides-rendering",
          "surface-open-loading-feedback",
          "quickstart-filter-response"
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-table.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.actions-workspace.json",
        "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/controller/FuncionarioController.java"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/funcionarios-actions-capabilities.json",
      "documentation": {
        "story": {
          "pt": "Uma pessoa de People Ops precisa partir da lista de funcionários para consultar perfil, histórico de folha ou participação em missões sem navegar por menus desconectados nem presumir que todo registro permite as mesmas operações. A tabela aproxima cada intenção da linha e usa surfaces, links e capabilities publicados para manter a decisão no contexto correto.",
          "en": "A People Ops user needs to move from the employee list to profile, payroll history or mission participation without navigating disconnected menus or assuming every record permits the same operations. The table keeps each intent close to its row and uses published surfaces, links and capabilities to preserve the correct context."
        },
        "outcome": {
          "pt": "Cada ação declara surface.open e a cardinalidade esperada para que o host escolha perfil, gráfico ou coleção relacionada. A presença do ícone melhora descoberta, mas autorização, disponibilidade e dados permanecem pertencendo ao backend no contexto do funcionário selecionado.",
          "en": "Each action declares surface.open and the expected cardinality so the host can choose a profile, chart or related collection. The icon improves discovery, but authorization, availability and data remain backend-owned in the selected employee context."
        },
        "componentRoles": [
          {
            "component": "praxis-table",
            "jsonPath": "page.widgets[governedFuncionariosTable].definition.inputs.config.actions.row",
            "role": {
              "pt": "Mantém Perfil 360, Folha e Missões junto à linha que fornece o contexto da operação.",
              "en": "Keeps Profile 360, Payroll and Missions next to the row providing operation context."
            },
            "rationale": {
              "pt": "A coleção continua escaneável enquanto ações relacionadas reutilizam seleção, identidade e affordances oficiais da tabela.",
              "en": "The collection stays scannable while related actions reuse the table official selection, identity and affordances."
            }
          },
          {
            "component": "praxis-dynamic-page",
            "jsonPath": "page.widgets[governedFuncionariosTable].definition.outputs.rowAction",
            "role": {
              "pt": "Entrega a intenção surface.open ao host com a proveniência do widget e do registro.",
              "en": "Delivers the surface.open intent to the host with widget and record provenance."
            },
            "rationale": {
              "pt": "Separa descoberta visual de autorização, resolução da surface, navegação e tratamento de falha.",
              "en": "Separates visual discovery from authorization, surface resolution, navigation and failure handling."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.resourcePath + tableId",
            "title": {
              "pt": "Coleção e instância",
              "en": "Collection and instance"
            },
            "explanation": {
              "pt": "Liga a experiência a human-resources/funcionarios e dá identidade estável à tabela sem inferir o recurso pelo título.",
              "en": "Binds the experience to human-resources/funcionarios and gives the table stable identity without inferring the resource from its title."
            }
          },
          {
            "jsonPath": "definition.inputs.config.actions.row.actions[hero-profile]",
            "title": {
              "pt": "Surface descoberta",
              "en": "Discovered surface"
            },
            "explanation": {
              "pt": "Perfil 360 representa uma READ_PROJECTION publicada e vinculada ao registro; o botão não recria o contrato de leitura.",
              "en": "Profile 360 represents a published record-bound READ_PROJECTION; the button does not recreate the read contract."
            }
          },
          {
            "jsonPath": "definition.inputs.config.actions.row.actions[].recordSurface",
            "title": {
              "pt": "Forma do destino",
              "en": "Destination shape"
            },
            "explanation": {
              "pt": "Endpoint, queryContext e responseCardinality dizem ao host se a resposta é objeto, série analítica ou coleção relacionada.",
              "en": "Endpoint, queryContext and responseCardinality tell the host whether the response is an object, analytical series or related collection."
            }
          },
          {
            "jsonPath": "definition.inputs.config.actions.row.behavior.maxInline",
            "title": {
              "pt": "Densidade da linha",
              "en": "Row density"
            },
            "explanation": {
              "pt": "Mantém duas ações prioritárias visíveis e desloca o restante para overflow sem alterar sua identidade.",
              "en": "Keeps two priority actions visible and moves the remainder to overflow without changing their identity."
            }
          },
          {
            "jsonPath": "definition.outputs.rowAction",
            "title": {
              "pt": "Mediação explícita",
              "en": "Explicit mediation"
            },
            "explanation": {
              "pt": "Emite a ação escolhida; o host revalida capability e decide como abrir a surface.",
              "en": "Emits the chosen action; the host revalidates capability and decides how to open the surface."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Compare Perfil 360, Folha e Missões e identifique como responseCardinality altera o materializador adequado.",
            "en": "Compare Profile 360, Payroll and Missions and identify how responseCardinality changes the appropriate materializer."
          },
          {
            "pt": "Reduza maxInline para 1 e avalie descoberta, densidade e acesso por teclado no menu de overflow.",
            "en": "Reduce maxInline to 1 and assess discoverability, density and keyboard access in the overflow menu."
          },
          {
            "pt": "Inspecione um registro sem uma capability esperada e confirme que a experiência falha fechada, sem tratar presença do ícone como autorização.",
            "en": "Inspect a record without an expected capability and confirm the experience fails closed instead of treating icon presence as authorization."
          }
        ],
        "productionNotes": [
          {
            "pt": "Capabilities e item surfaces devem ser resolvidas no contexto autenticado atual; snapshots antigos não autorizam ações.",
            "en": "Capabilities and item surfaces must be resolved in the current authenticated context; stale snapshots do not authorize actions."
          },
          {
            "pt": "queryContext deve transportar apenas identificadores e filtros previstos pelo contrato, nunca estado arbitrário da linha.",
            "en": "queryContext must carry only contract-defined identities and filters, never arbitrary row state."
          },
          {
            "pt": "Falhas de catálogo, schema, dados e surface precisam de estados distintos e recuperáveis; não use fixture silenciosa para mascará-las.",
            "en": "Catalog, schema, data and surface failures need distinct recoverable states; do not hide them with silent fixture fallback."
          }
        ]
      },
      "envelope": {
        "id": "funcionarios-actions-capabilities",
        "title": "Funcionarios - actions and capabilities",
        "summary": "Connects row actions to backend-published surfaces and capabilities, showing how available operations can be discovered at runtime.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-table",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "filter",
          "surfaces",
          "actions",
          "capabilities",
          "remote-data"
        ],
        "tags": [
          "actions",
          "capabilities",
          "surfaces",
          "table",
          "quickstart"
        ],
        "demonstrates": [
          "A backend-published Perfil 360 item surface discovered from row _links",
          "Host-declared surface.open actions for payroll analytics and mission participation",
          "Response cardinality guiding whether a projection renders as a profile object, chart, or related collection",
          "Immediate host feedback while catalog, schema and data are materialized",
          "Collection capabilities describing canonical operations",
          "Action buttons kept in the table while policy remains backend-owned"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "remote-filter",
          "surfaces",
          "actions",
          "capabilities",
          "surface.open",
          "responseCardinality"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered",
          "POST /api/human-resources/funcionarios/filter",
          "GET /api/human-resources/funcionarios/capabilities",
          "GET /api/human-resources/funcionarios/{id}/surfaces",
          "GET /api/human-resources/funcionarios/{id}/capabilities",
          "GET /api/human-resources/funcionarios/{id}/hero-profile",
          "GET /api/human-resources/funcionarios/{id}/payroll-history",
          "POST /api/operations/missao-participantes/filter"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-table-rendered",
            "row-actions-rendered",
            "capabilities-surface-declared",
            "response-cardinality-guides-rendering",
            "surface-open-loading-feedback",
            "quickstart-filter-response"
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-table.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.actions-workspace.json",
          "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/controller/FuncionarioController.java"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "governedFuncionariosTable",
              "shell": {
                "kind": "dashboard-card",
                "icon": "rule",
                "title": "Funcionarios governed actions",
                "subtitle": "Perfil 360, folha and missoes demonstrate backend discovery plus declarative surface.open payloads"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath"
                ],
                "inputs": {
                  "resourcePath": "human-resources/funcionarios",
                  "tableId": "human-resources-funcionarios-actions",
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Funcionarios"
                    },
                    "actions": {
                      "row": {
                        "enabled": true,
                        "display": "icons",
                        "position": "end",
                        "sticky": "end",
                        "width": "136px",
                        "header": {
                          "label": "Actions",
                          "icon": "bolt",
                          "tooltip": "Row affordances governed by the quickstart contract"
                        },
                        "behavior": {
                          "maxInline": 2
                        },
                        "actions": [
                          {
                            "id": "hero-profile",
                            "label": "Perfil 360",
                            "icon": "account_circle",
                            "color": "primary",
                            "action": "surface.open",
                            "tooltip": "Backend READ_PROJECTION discovered from row surfaces",
                            "recordSurface": {
                              "id": "hero-profile",
                              "resourceKey": "human-resources.funcionarios",
                              "kind": "READ_PROJECTION",
                              "scope": "ITEM",
                              "title": "Perfil 360",
                              "description": "Consolida identidade operacional, reputação, habilidades, equipe e base principal do funcionário para leitura contextual de RH.",
                              "intent": "employee-360",
                              "operationId": "getHeroProfile",
                              "path": "/api/human-resources/funcionarios/{id}/hero-profile",
                              "method": "GET",
                              "schemaId": "/api/human-resources/funcionarios/{id}/hero-profile|get|response|internal:false|idField:id|readOnly:false",
                              "schemaUrl": "/schemas/filtered?path=%2Fapi%2Fhuman-resources%2Ffuncionarios%2F%7Bid%7D%2Fhero-profile&operation=get&schemaType=response&idField=id&readOnly=false",
                              "responseCardinality": "OBJECT",
                              "availability": {
                                "allowed": true,
                                "reason": null
                              },
                              "order": 40,
                              "tags": [
                                "human-resources",
                                "employee-360",
                                "read-projection",
                                "profile-context"
                              ]
                            }
                          },
                          {
                            "id": "employee-payroll-surface",
                            "label": "Folha",
                            "icon": "payments",
                            "color": "accent",
                            "action": "surface.open",
                            "tooltip": "Host-declared surface.open payload filtered by the selected employee",
                            "recordSurface": {
                              "id": "payroll-history",
                              "resourceKey": "human-resources.funcionarios",
                              "kind": "READ_PROJECTION",
                              "scope": "ITEM",
                              "title": "Histórico de folha",
                              "description": "Apresenta ciclos recentes de folha de pagamento do funcionário com valores, eventos e classificações analíticas para acompanhamento de RH.",
                              "intent": "employee-payroll-intelligence",
                              "operationId": "getPayrollHistory",
                              "path": "/api/human-resources/funcionarios/{id}/payroll-history",
                              "method": "GET",
                              "schemaId": "/api/human-resources/funcionarios/{id}/payroll-history|get|response|internal:false|idField:id|readOnly:false",
                              "schemaUrl": "/schemas/filtered?path=%2Fapi%2Fhuman-resources%2Ffuncionarios%2F%7Bid%7D%2Fpayroll-history&operation=get&schemaType=response&idField=id&readOnly=false",
                              "responseCardinality": "COLLECTION",
                              "availability": {
                                "allowed": true,
                                "reason": null
                              },
                              "order": 50,
                              "tags": [
                                "human-resources",
                                "payroll",
                                "folha-de-pagamento",
                                "pagamento",
                                "analytics",
                                "read-projection"
                              ]
                            }
                          },
                          {
                            "id": "employee-missions-relation",
                            "label": "Missoes",
                            "icon": "flag",
                            "color": "accent",
                            "action": "surface.open",
                            "tooltip": "Related collection rendered from a row-bound queryContext",
                            "recordSurface": {
                              "id": "mission-participations",
                              "resourceKey": "human-resources.funcionarios",
                              "kind": "READ_PROJECTION",
                              "scope": "ITEM",
                              "title": "Participações em missões",
                              "description": "Lista missões, papéis e resultados operacionais em que o funcionário participou para leitura contextual de RH e operações.",
                              "intent": "employee-mission-participations",
                              "operationId": "getMissionParticipations",
                              "path": "/api/human-resources/funcionarios/{id}/mission-participations",
                              "method": "GET",
                              "schemaId": "/api/human-resources/funcionarios/{id}/mission-participations|get|response|internal:false|idField:id|readOnly:false",
                              "schemaUrl": "/schemas/filtered?path=%2Fapi%2Fhuman-resources%2Ffuncionarios%2F%7Bid%7D%2Fmission-participations&operation=get&schemaType=response&idField=id&readOnly=false",
                              "responseCardinality": "COLLECTION",
                              "availability": {
                                "allowed": true,
                                "reason": null
                              },
                              "order": 60,
                              "tags": [
                                "human-resources",
                                "operations",
                                "missions",
                                "mission-participations",
                                "read-projection"
                              ]
                            }
                          }
                        ]
                      }
                    },
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      }
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "rowAction": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "funcionarios-actions-workspace",
      "title": "Funcionarios - actions workspace",
      "summary": "Surfaces toolbar, row, bulk, floating and footer actions from the funcionarios contract, making operations discoverable without hardcoding every command in the host.",
      "i18n": {
        "pt": {
          "title": "Funcionários - workspace de ações",
          "summary": "Expõe ações de toolbar, linha, lote, floating e rodapé a partir do contrato de funcionários, sem codificar cada comando no host.",
          "demonstrates": [
            "Explore Funcionários - workspace de ações e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-table materializa human-resources/funcionarios com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Expõe ações de toolbar, linha, lote, floating e rodapé a partir do contrato de funcionários, sem codificar cada comando no host.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas filtered e filter."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/funcionarios-actions-workspace",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/funcionarios-actions-workspace",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-table",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "filter",
        "surfaces",
        "actions",
        "capabilities",
        "remote-data",
        "table.toolbar-actions",
        "table.row-actions",
        "table.bulk-actions"
      ],
      "tags": [
        "table",
        "actions",
        "toolbar",
        "row-actions",
        "bulk-actions",
        "footer-actions",
        "shortcuts",
        "quickstart"
      ],
      "demonstrates": [
        "Toolbar actions with button, icon, menu, outlined and tonal appearances",
        "Footer action bar through toolbar.actionsPosition = both",
        "Bulk actions rendered in toolbar and floating action positions",
        "Row actions with inline and overflow affordances",
        "Single-selection profile opening to avoid ambiguous bulk detail navigation",
        "visibleWhen and shortcuts evaluated by the table toolbar runtime",
        "Surfaces and actions discovery opened as host modal previews"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "remote-filter",
        "surfaces",
        "actions",
        "capabilities",
        "table.toolbar-actions",
        "table.row-actions",
        "table.bulk-actions",
        "table.footer-actions",
        "table.floating-actions",
        "json-logic"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered",
        "POST /api/human-resources/funcionarios/filter",
        "GET /schemas/surfaces?resource=human-resources.funcionarios",
        "GET /schemas/actions?resource=human-resources.funcionarios",
        "GET /api/human-resources/funcionarios/capabilities",
        "GET /api/human-resources/funcionarios/{id}/capabilities"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "productivity",
      "variantFamilyId": "employee-table-operations",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-table-rendered",
          "toolbar-actions-rendered",
          "row-actions-rendered",
          "bulk-actions-rendered",
          "footer-toolbar-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "filtered-schema-response-funcionarios",
          "funcionarios-filter-basic",
          "schemas-surfaces-human-resources-funcionarios"
        ],
        "pendingHttpIds": [],
        "notes": [
          "Toolbar and bulk affordances remain host-composed over the published funcionarios table.",
          "Lifecycle actions are discovered from /schemas/actions, while item-level capabilities decide whether deactivate or reactivate is currently available from the persisted employee state."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.actions-workspace.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/funcionarios-actions-workspace.json",
      "documentation": {
        "story": {
          "pt": "Uma equipe operacional executa tarefas com escopos diferentes sobre a mesma coleção: atualizar dados, criar um funcionário, abrir um registro ou agir sobre uma seleção. Espalhar esses comandos pela rota tornaria prioridade, atalho, disponibilidade e ciclo de vida inconsistentes entre telas.",
          "en": "An operations team performs tasks with different scopes over the same collection: refresh data, create an employee, open a record or act on a selection. Scattering those commands across the route would make priority, shortcuts, availability and lifecycle inconsistent between screens."
        },
        "outcome": {
          "pt": "Toolbar, linha, lote, faixa flutuante e rodapé projetam ações declaradas com identidade e posição explícitas. A tabela organiza as affordances e emite eventos; o host medeia drawer, modal, navegação, confirmação e execução contra capabilities atuais.",
          "en": "Toolbar, row, bulk, floating and footer regions project declared actions with explicit identity and placement. The table organizes affordances and emits events while the host mediates drawers, dialogs, navigation, confirmation and execution against current capabilities."
        },
        "componentRoles": [
          {
            "component": "praxis-table",
            "jsonPath": "page.widgets[funcionariosActionsWorkspace].definition.inputs.config",
            "role": {
              "pt": "Organiza comandos de coleção, linha e seleção nas regiões de ação da tabela.",
              "en": "Organizes collection, row and selection commands across table action regions."
            },
            "rationale": {
              "pt": "Prioridade, atalho, seleção e overflow permanecem coerentes no componente proprietário.",
              "en": "Priority, shortcuts, selection and overflow remain coherent in the owning component."
            }
          },
          {
            "component": "praxis-dynamic-page",
            "jsonPath": "page.widgets[funcionariosActionsWorkspace].definition.outputs",
            "role": {
              "pt": "Publica eventos de ação para que o host execute cada intenção na superfície apropriada.",
              "en": "Publishes action events so the host executes each intent in the appropriate surface."
            },
            "rationale": {
              "pt": "Evita acoplar drawer, modal, HTTP e navegação à configuração visual da tabela.",
              "en": "Avoids coupling drawers, dialogs, HTTP and navigation to the table visual configuration."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.config.toolbar.actionsPosition",
            "title": {
              "pt": "Ações em duas bordas",
              "en": "Actions on two edges"
            },
            "explanation": {
              "pt": "both replica a barra no topo e no rodapé para manter continuidade em coleções longas.",
              "en": "both repeats the action bar at top and footer to preserve continuity in long collections."
            }
          },
          {
            "jsonPath": "definition.inputs.config.toolbar.actions[]",
            "title": {
              "pt": "Comandos de coleção",
              "en": "Collection commands"
            },
            "explanation": {
              "pt": "Cada item declara id, intenção, posição, aparência, ordem e atalho sem derivar execução do label.",
              "en": "Each item declares id, intent, placement, appearance, order and shortcut without deriving execution from its label."
            }
          },
          {
            "jsonPath": "definition.inputs.config.actions.row",
            "title": {
              "pt": "Ações do registro",
              "en": "Record actions"
            },
            "explanation": {
              "pt": "Ações inline e overflow recebem a identidade da linha e não confundem operação individual com lote.",
              "en": "Inline and overflow actions receive row identity and do not confuse individual operations with bulk work."
            }
          },
          {
            "jsonPath": "definition.inputs.config.actions.bulk",
            "title": {
              "pt": "Escopo da seleção",
              "en": "Selection scope"
            },
            "explanation": {
              "pt": "Comandos de lote dependem da seleção explícita e podem ocupar toolbar ou posição flutuante conforme prioridade.",
              "en": "Bulk commands depend on explicit selection and may occupy the toolbar or floating position according to priority."
            }
          },
          {
            "jsonPath": "definition.outputs.toolbarAction + rowAction + bulkAction",
            "title": {
              "pt": "Eventos por escopo",
              "en": "Scope-specific events"
            },
            "explanation": {
              "pt": "O host recebe canais distintos e pode aplicar capability, confirmação e auditoria adequadas a cada escopo.",
              "en": "The host receives distinct channels and can apply capability, confirmation and auditing appropriate to each scope."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Mude actionsPosition de both para top e compare continuidade operacional depois de rolar uma coleção extensa.",
            "en": "Change actionsPosition from both to top and compare operational continuity after scrolling a long collection."
          },
          {
            "pt": "Altere uma ação de button para icon e valide tooltip, nome acessível, foco e prioridade visual.",
            "en": "Change one action from button to icon and validate tooltip, accessible name, focus and visual priority."
          },
          {
            "pt": "Selecione múltiplas linhas e compare os eventos rowAction e bulkAction para confirmar identidade e cardinalidade do payload.",
            "en": "Select multiple rows and compare rowAction and bulkAction events to confirm payload identity and cardinality."
          }
        ],
        "productionNotes": [
          {
            "pt": "Atalhos precisam respeitar escopo, conflitos do host e estado disabled; Ctrl+R não pode sequestrar comportamento global inadvertidamente.",
            "en": "Shortcuts must respect scope, host conflicts and disabled state; Ctrl+R must not inadvertently hijack global behavior."
          },
          {
            "pt": "A tabela não deve fabricar create, deactivate ou reactivate quando catálogo, links ou capabilities não os publicarem.",
            "en": "The table must not fabricate create, deactivate or reactivate when catalogs, links or capabilities do not publish them."
          },
          {
            "pt": "Comandos destrutivos ou concorrentes exigem confirmação, versão, resultado parcial e política de refresh governados pelo contrato.",
            "en": "Destructive or concurrent commands require contract-governed confirmation, version, partial outcomes and refresh policy."
          }
        ]
      },
      "envelope": {
        "id": "funcionarios-actions-workspace",
        "title": "Funcionarios - actions workspace",
        "summary": "Surfaces toolbar, row, bulk, floating and footer actions from the funcionarios contract, making operations discoverable without hardcoding every command in the host.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-table",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "filter",
          "surfaces",
          "actions",
          "capabilities",
          "remote-data",
          "table.toolbar-actions",
          "table.row-actions",
          "table.bulk-actions"
        ],
        "tags": [
          "table",
          "actions",
          "toolbar",
          "row-actions",
          "bulk-actions",
          "footer-actions",
          "shortcuts",
          "quickstart"
        ],
        "demonstrates": [
          "Toolbar actions with button, icon, menu, outlined and tonal appearances",
          "Footer action bar through toolbar.actionsPosition = both",
          "Bulk actions rendered in toolbar and floating action positions",
          "Row actions with inline and overflow affordances",
          "Single-selection profile opening to avoid ambiguous bulk detail navigation",
          "visibleWhen and shortcuts evaluated by the table toolbar runtime",
          "Surfaces and actions discovery opened as host modal previews"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "remote-filter",
          "surfaces",
          "actions",
          "capabilities",
          "table.toolbar-actions",
          "table.row-actions",
          "table.bulk-actions",
          "table.footer-actions",
          "table.floating-actions",
          "json-logic"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered",
          "POST /api/human-resources/funcionarios/filter",
          "GET /schemas/surfaces?resource=human-resources.funcionarios",
          "GET /schemas/actions?resource=human-resources.funcionarios",
          "GET /api/human-resources/funcionarios/capabilities",
          "GET /api/human-resources/funcionarios/{id}/capabilities"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-table-rendered",
            "toolbar-actions-rendered",
            "row-actions-rendered",
            "bulk-actions-rendered",
            "footer-toolbar-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "filtered-schema-response-funcionarios",
            "funcionarios-filter-basic",
            "schemas-surfaces-human-resources-funcionarios"
          ],
          "pendingHttpIds": [],
          "notes": [
            "Toolbar and bulk affordances remain host-composed over the published funcionarios table.",
            "Lifecycle actions are discovered from /schemas/actions, while item-level capabilities decide whether deactivate or reactivate is currently available from the persisted employee state."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.actions-workspace.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "funcionariosActionsWorkspace",
              "shell": {
                "kind": "dashboard-card",
                "icon": "bolt",
                "title": "Funcionarios actions workspace",
                "subtitle": "Toolbar, row, bulk, floating and footer actions"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath"
                ],
                "inputs": {
                  "resourcePath": "human-resources/funcionarios",
                  "tableId": "human-resources-funcionarios-actions-workspace",
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Funcionarios",
                      "subtitle": "Action surfaces and workflow affordances",
                      "actionsPosition": "both",
                      "actionsBackgroundColor": "color-mix(in srgb, var(--card) 86%, var(--primary) 14%)",
                      "actions": [
                        {
                          "id": "refresh-table",
                          "action": "refresh-table",
                          "label": "Refresh",
                          "icon": "refresh",
                          "type": "icon",
                          "position": "start",
                          "order": 10,
                          "tooltip": "Refresh current table data",
                          "shortcut": "Ctrl+R",
                          "shortcutScope": "toolbar"
                        },
                        {
                          "id": "create-funcionario",
                          "action": "create",
                          "label": "Create",
                          "icon": "add",
                          "appearance": "elevated",
                          "color": "primary",
                          "position": "end",
                          "order": 20,
                          "tooltip": "Create through a host-governed opening"
                        },
                        {
                          "id": "selected-actions",
                          "action": "selected-actions",
                          "label": "Selected",
                          "icon": "task_alt",
                          "type": "menu",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 30,
                          "visibleWhen": {
                            ">": [
                              {
                                "var": "selectedCount"
                              },
                              0
                            ]
                          },
                          "children": [
                            {
                              "id": "inspect-selected-capabilities",
                              "action": "inspect-actions",
                              "label": "Inspect capabilities",
                              "icon": "bolt",
                              "order": 10,
                              "discovery": {
                                "rel": "actions",
                                "scope": "resource",
                                "resourcePath": "human-resources/funcionarios",
                                "resourceKey": "human-resources.funcionarios"
                              }
                            },
                            {
                              "id": "open-selected-profile",
                              "action": "profile",
                              "label": "Open profile",
                              "icon": "badge",
                              "order": 20,
                              "shortcut": "Ctrl+Enter",
                              "visibleWhen": {
                                "===": [
                                  {
                                    "var": "selectedCount"
                                  },
                                  1
                                ]
                              }
                            }
                          ]
                        },
                        {
                          "id": "inspect-surfaces",
                          "action": "inspect-surfaces",
                          "label": "Surfaces",
                          "icon": "layers",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 90,
                          "tooltip": "Inspect published resource surfaces",
                          "discovery": {
                            "rel": "surfaces",
                            "scope": "resource",
                            "resourcePath": "human-resources/funcionarios",
                            "resourceKey": "human-resources.funcionarios"
                          }
                        },
                        {
                          "id": "inspect-actions",
                          "action": "inspect-actions",
                          "label": "Actions",
                          "icon": "bolt",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 100,
                          "tooltip": "Inspect published resource actions and capabilities",
                          "discovery": {
                            "rel": "actions",
                            "scope": "resource",
                            "resourcePath": "human-resources/funcionarios",
                            "resourceKey": "human-resources.funcionarios"
                          }
                        }
                      ]
                    },
                    "columns": [
                      {
                        "field": "nomeCompleto",
                        "header": "Funcionario",
                        "type": "text",
                        "sticky": "start",
                        "width": "220px"
                      },
                      {
                        "field": "email",
                        "header": "Email",
                        "type": "string",
                        "width": "260px"
                      },
                      {
                        "field": "cargoNome",
                        "header": "Cargo",
                        "type": "chip",
                        "width": "180px"
                      },
                      {
                        "field": "departamentoNome",
                        "header": "Departamento",
                        "type": "badge",
                        "width": "190px"
                      },
                      {
                        "field": "ativo",
                        "header": "Status",
                        "type": "boolean",
                        "align": "center",
                        "format": "active-inactive",
                        "width": "130px",
                        "conditionalRenderers": [
                          {
                            "condition": {
                              "==": [
                                {
                                  "var": "ativo"
                                },
                                true
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "text": "Ativo",
                                "color": "success",
                                "variant": "filled",
                                "icon": "check_circle"
                              }
                            }
                          },
                          {
                            "condition": {
                              "==": [
                                {
                                  "var": "ativo"
                                },
                                false
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "text": "Inativo",
                                "color": "warn",
                                "variant": "outlined",
                                "icon": "block"
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "export": {
                      "enabled": true,
                      "formats": [
                        "csv",
                        "json"
                      ],
                      "general": {
                        "includeHeaders": true,
                        "scope": "selected",
                        "defaultFileName": "funcionarios-selected",
                        "includeColumns": "visible",
                        "applyFormatting": true
                      }
                    },
                    "actions": {
                      "row": {
                        "enabled": true,
                        "display": "icons",
                        "position": "end",
                        "sticky": "end",
                        "width": "168px",
                        "header": {
                          "label": "Workflow",
                          "icon": "bolt",
                          "tooltip": "Inline and overflow row actions"
                        },
                        "behavior": {
                          "maxInline": 2
                        },
                        "menu": {
                          "icon": "more_vert",
                          "tooltip": "More row actions",
                          "color": "primary"
                        },
                        "actions": [
                          {
                            "id": "view",
                            "action": "view",
                            "label": "View",
                            "icon": "visibility",
                            "color": "primary",
                            "tooltip": "Open detail surface"
                          },
                          {
                            "id": "edit",
                            "action": "edit",
                            "label": "Edit",
                            "icon": "edit",
                            "color": "accent",
                            "tooltip": "Open edit workflow when allowed"
                          },
                          {
                            "id": "inspect-row-capabilities",
                            "action": "inspect-actions",
                            "label": "Capabilities",
                            "icon": "policy",
                            "color": "primary",
                            "tooltip": "Inspect row-level capabilities",
                            "discovery": {
                              "rel": "actions",
                              "scope": "resource",
                              "resourcePath": "human-resources/funcionarios",
                              "resourceKey": "human-resources.funcionarios"
                            }
                          },
                          {
                            "id": "deactivate",
                            "action": "deactivate",
                            "label": "Deactivate",
                            "icon": "block",
                            "color": "warn",
                            "tooltip": "Workflow action gated by backend policy"
                          }
                        ]
                      },
                      "bulk": {
                        "enabled": true,
                        "position": "both",
                        "floating": {
                          "position": "bottom-right",
                          "hideWhenEmpty": true
                        },
                        "actions": [
                          {
                            "id": "bulk-export",
                            "action": "bulk-export",
                            "label": "Export selected",
                            "icon": "download",
                            "color": "primary",
                            "appearance": "outlined",
                            "exportFormat": "csv",
                            "visibleWhen": {
                              ">": [
                                {
                                  "var": "selectedCount"
                                },
                                0
                              ]
                            },
                            "shortcut": "Ctrl+Shift+E"
                          },
                          {
                            "id": "bulk-inspect-capabilities",
                            "action": "inspect-actions",
                            "label": "Inspect selected",
                            "icon": "policy",
                            "color": "accent",
                            "appearance": "tonal",
                            "visibleWhen": {
                              ">": [
                                {
                                  "var": "selectedCount"
                                },
                                0
                              ]
                            },
                            "discovery": {
                              "rel": "actions",
                              "scope": "resource",
                              "resourcePath": "human-resources/funcionarios",
                              "resourceKey": "human-resources.funcionarios"
                            }
                          }
                        ]
                      }
                    },
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "multiple"
                      },
                      "pagination": {
                        "enabled": true,
                        "position": "both",
                        "style": "compact",
                        "pageSize": 10
                      },
                      "density": "compact"
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "rowAction": "emit",
                  "bulkAction": "emit",
                  "toolbarAction": "emit",
                  "selectionChange": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "funcionarios-inline-filter-lab",
      "title": "Funcionarios - inline filter lab",
      "summary": "Places the published filter DTO directly in the table toolbar, so search controls follow the backend contract instead of a separate frontend form.",
      "i18n": {
        "pt": {
          "title": "Funcionários - laboratório de filtros inline",
          "summary": "Coloca o DTO de filtro publicado diretamente na toolbar da tabela, fazendo os controles seguirem o contrato do backend.",
          "demonstrates": [
            "Explore Funcionários - laboratório de filtros inline e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-table materializa human-resources/funcionarios com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Coloca o DTO de filtro publicado diretamente na toolbar da tabela, fazendo os controles seguirem o contrato do backend.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas filtered?schemaType=request e filter."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/funcionarios-inline-filter-lab",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/funcionarios-inline-filter-lab",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-table",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "filter.dto",
        "filter",
        "options",
        "remote-data",
        "inline-filter-controls"
      ],
      "tags": [
        "table",
        "filters",
        "inline-filters",
        "advanced-filters",
        "remote-options",
        "quickstart"
      ],
      "demonstrates": [
        "Always-visible filters projected from the published filter DTO",
        "Inline text, boolean, async select, date range and currency range controls",
        "Remote option endpoints for cargo and departamento filters",
        "Filter tags and clear buttons without host-specific filter code",
        "Table data refresh driven by praxis-filter change and submit events"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "filter.dto",
        "remote-filter",
        "remote-options",
        "table.filters.advancedFilters",
        "dynamic-fields.inline-controls"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered?schemaType=request",
        "POST /api/human-resources/funcionarios/filter",
        "POST /api/human-resources/cargos/options/filter",
        "POST /api/human-resources/departamentos/options/filter"
      ],
      "complexity": "advanced",
      "catalogRole": "capability-lab",
      "learningStage": "productivity",
      "variantFamilyId": "employee-table-operations",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-table-rendered",
          "praxis-filter-rendered",
          "always-visible-filter-controls",
          "quickstart-filter-response"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "filtered-schema-request-funcionarios",
          "funcionarios-filter-basic",
          "cargos-options-filter",
          "departamentos-options-filter"
        ],
        "pendingHttpIds": [],
        "notes": [
          "Inline filter controls are rendered from the published filter request schema; the example does not introduce new Dynamic Fields control types."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.inline-filter-lab.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/funcionarios-inline-filter-lab.json",
      "documentation": {
        "story": {
          "pt": "Uma analista precisa refinar uma lista extensa por nome, situação, cargo, departamento, período e faixa salarial sem alternar entre uma tabela e um formulário de busca paralelo. Os controles devem acompanhar o DTO de filtro publicado, inclusive opções remotas e tipos de valor.",
          "en": "An analyst needs to refine a large list by name, status, role, department, date period and salary range without switching between the table and a parallel search form. Controls must follow the published filter DTO, including remote options and value types."
        },
        "outcome": {
          "pt": "A toolbar materializa campos sempre visíveis, tags e limpeza a partir de advancedFilters; alterações percorrem o filtro remoto com debounce. O frontend não inventa propriedades, operadores ou catálogos: schema request e option sources continuam canônicos.",
          "en": "The toolbar materializes always-visible fields, tags and clearing behavior from advancedFilters, and changes flow through the remote filter with debounce. The frontend does not invent properties, operators or catalogs: the request schema and option sources remain canonical."
        },
        "componentRoles": [
          {
            "component": "praxis-table",
            "jsonPath": "page.widgets[funcionariosInlineFilterTable].definition.inputs.config.behavior.filtering",
            "role": {
              "pt": "Integra o filtro à coleção e coordena submit, debounce, tags, limpeza e recarga remota.",
              "en": "Integrates filtering with the collection and coordinates submit, debounce, tags, clearing and remote reload."
            },
            "rationale": {
              "pt": "Mantém estado de consulta e resultado na mesma superfície operacional.",
              "en": "Keeps query state and results in the same operational surface."
            }
          },
          {
            "component": "praxis-dynamic-fields",
            "jsonPath": "definition.inputs.config.behavior.filtering.advancedFilters.settings",
            "role": {
              "pt": "Materializa texto, booleano, selects assíncronos, intervalos de data e moeda a partir do schema request.",
              "en": "Materializes text, boolean, async selects, date ranges and currency ranges from the request schema."
            },
            "rationale": {
              "pt": "Reutiliza controles e option sources oficiais em vez de criar filtros paralelos na rota.",
              "en": "Reuses official controls and option sources instead of creating route-specific filters."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.resourcePath",
            "title": {
              "pt": "Mesmo recurso para schema e dados",
              "en": "One resource for schema and data"
            },
            "explanation": {
              "pt": "human-resources/funcionarios ancora descoberta do DTO de filtro e execução da consulta remota.",
              "en": "human-resources/funcionarios anchors filter DTO discovery and remote query execution."
            }
          },
          {
            "jsonPath": "definition.inputs.config.behavior.filtering.strategy",
            "title": {
              "pt": "Consulta no servidor",
              "en": "Server query"
            },
            "explanation": {
              "pt": "server impede que a toolbar finja filtrar apenas as linhas já carregadas.",
              "en": "server prevents the toolbar from pretending to filter only already-loaded rows."
            }
          },
          {
            "jsonPath": "definition.inputs.config.behavior.filtering.advancedFilters.settings.alwaysVisibleFields",
            "title": {
              "pt": "Primeiro nível de refinamento",
              "en": "First refinement layer"
            },
            "explanation": {
              "pt": "Promove os campos de uso frequente sem esconder os demais operadores avançados.",
              "en": "Promotes frequently used fields without hiding the remaining advanced operators."
            }
          },
          {
            "jsonPath": "definition.inputs.config.behavior.filtering.advancedFilters.settings",
            "title": {
              "pt": "Feedback do filtro",
              "en": "Filter feedback"
            },
            "explanation": {
              "pt": "Tags, limpeza e debounce tornam o estado aplicado visível e evitam uma requisição por tecla.",
              "en": "Tags, clearing and debounce make applied state visible and avoid one request per keystroke."
            }
          },
          {
            "jsonPath": "backendSurfaces",
            "title": {
              "pt": "Option sources remotas",
              "en": "Remote option sources"
            },
            "explanation": {
              "pt": "Cargo e departamento usam endpoints próprios; labels apresentados não substituem IDs enviados ao filtro.",
              "en": "Role and department use their own endpoints; displayed labels do not replace IDs sent to the filter."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Remova cargoId de alwaysVisibleFields e compare descoberta sem alterar o DTO publicado.",
            "en": "Remove cargoId from alwaysVisibleFields and compare discoverability without changing the published DTO."
          },
          {
            "pt": "Combine período de admissão e faixa salarial e inspecione o payload enviado, distinguindo valores exibidos de operadores canônicos.",
            "en": "Combine admission period and salary range and inspect the submitted payload, distinguishing displayed values from canonical operators."
          },
          {
            "pt": "Indisponibilize uma option source e confirme que o controle comunica falha sem transformar ausência de opções em lista vazia válida.",
            "en": "Make one option source unavailable and confirm the control communicates failure without treating missing options as a valid empty list."
          }
        ],
        "productionNotes": [
          {
            "pt": "Busca textual e aliases apenas refinam candidatos dentro do campo já resolvido; não decidem a intenção primária da página.",
            "en": "Text search and aliases only refine candidates within an already-resolved field; they do not decide the page primary intent."
          },
          {
            "pt": "O backend deve validar propriedades, operadores, limites e acesso; esconder um filtro não remove sua responsabilidade de segurança.",
            "en": "The backend must validate properties, operators, limits and access; hiding a filter does not remove its security responsibility."
          },
          {
            "pt": "Debounce, cancelamento e ordenação de respostas precisam impedir que uma requisição antiga substitua um resultado mais recente.",
            "en": "Debounce, cancellation and response ordering must prevent an older request from replacing a newer result."
          }
        ]
      },
      "envelope": {
        "id": "funcionarios-inline-filter-lab",
        "title": "Funcionarios - inline filter lab",
        "summary": "Places the published filter DTO directly in the table toolbar, so search controls follow the backend contract instead of a separate frontend form.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-table",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "filter.dto",
          "filter",
          "options",
          "remote-data",
          "inline-filter-controls"
        ],
        "tags": [
          "table",
          "filters",
          "inline-filters",
          "advanced-filters",
          "remote-options",
          "quickstart"
        ],
        "demonstrates": [
          "Always-visible filters projected from the published filter DTO",
          "Inline text, boolean, async select, date range and currency range controls",
          "Remote option endpoints for cargo and departamento filters",
          "Filter tags and clear buttons without host-specific filter code",
          "Table data refresh driven by praxis-filter change and submit events"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "filter.dto",
          "remote-filter",
          "remote-options",
          "table.filters.advancedFilters",
          "dynamic-fields.inline-controls"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered?schemaType=request",
          "POST /api/human-resources/funcionarios/filter",
          "POST /api/human-resources/cargos/options/filter",
          "POST /api/human-resources/departamentos/options/filter"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-table-rendered",
            "praxis-filter-rendered",
            "always-visible-filter-controls",
            "quickstart-filter-response"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "filtered-schema-request-funcionarios",
            "funcionarios-filter-basic",
            "cargos-options-filter",
            "departamentos-options-filter"
          ],
          "pendingHttpIds": [],
          "notes": [
            "Inline filter controls are rendered from the published filter request schema; the example does not introduce new Dynamic Fields control types."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.inline-filter-lab.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "funcionariosInlineFilterTable",
              "shell": {
                "kind": "dashboard-card",
                "icon": "filter_alt",
                "title": "Funcionarios inline filter lab",
                "subtitle": "Filter DTO rendered as toolbar controls"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath"
                ],
                "inputs": {
                  "resourcePath": "human-resources/funcionarios",
                  "tableId": "human-resources-funcionarios-inline-filter-lab",
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Funcionarios",
                      "subtitle": "Inline filter controls backed by the quickstart filter DTO"
                    },
                    "columns": [
                      {
                        "field": "nomeCompleto",
                        "header": "Funcionario",
                        "type": "text",
                        "sticky": "start",
                        "width": "220px"
                      },
                      {
                        "field": "cargoNome",
                        "header": "Cargo",
                        "type": "chip",
                        "width": "180px"
                      },
                      {
                        "field": "departamentoNome",
                        "header": "Departamento",
                        "type": "badge",
                        "width": "190px"
                      },
                      {
                        "field": "estadoCivil",
                        "header": "Estado Civil",
                        "type": "badge",
                        "width": "150px"
                      },
                      {
                        "field": "salario",
                        "header": "Salario",
                        "type": "currency",
                        "align": "end",
                        "format": {
                          "currency": "BRL",
                          "locale": "pt-BR"
                        },
                        "width": "150px"
                      },
                      {
                        "field": "dataAdmissao",
                        "header": "Admissao",
                        "type": "date",
                        "format": {
                          "dateStyle": "short",
                          "locale": "pt-BR"
                        },
                        "width": "140px"
                      },
                      {
                        "field": "ativo",
                        "header": "Ativo",
                        "type": "toggle",
                        "align": "center",
                        "width": "110px"
                      }
                    ],
                    "behavior": {
                      "filtering": {
                        "enabled": true,
                        "strategy": "server",
                        "debounceTime": 250,
                        "advancedFilters": {
                          "enabled": true,
                          "settings": {
                            "mode": "filter",
                            "showAdvanced": true,
                            "allowSaveTags": true,
                            "changeDebounceMs": 250,
                            "alwaysVisibleFields": [
                              "nomeCompleto",
                              "ativo",
                              "cargoId",
                              "departamentoId",
                              "dataAdmissaoRange",
                              "salarioBetween",
                              "estadoCivil"
                            ],
                            "selectedFieldIds": [
                              "email",
                              "telefone"
                            ],
                            "placeBooleansInActions": true,
                            "showToggleLabels": true,
                            "alwaysMinWidth": 180,
                            "alwaysColsMd": 3,
                            "alwaysColsLg": 4,
                            "tagColor": "primary",
                            "tagVariant": "outlined",
                            "actionsButtonColor": "primary",
                            "actionsVariant": "outlined",
                            "useInlineSearchableSelectVariant": true,
                            "useInlineDateRangeVariant": true,
                            "useInlineRangeVariant": true,
                            "overlayVariant": "card",
                            "advancedOpenMode": "drawer",
                            "advancedClearButtonsEnabled": true,
                            "alwaysVisibleFieldMetadataOverrides": {
                              "nomeCompleto": {
                                "label": "Nome",
                                "controlType": "inlineInput",
                                "inlineAutoSize": {
                                  "minWidth": 220,
                                  "maxWidth": 320
                                },
                                "clearButton": {
                                  "enabled": true,
                                  "showOnlyWhenFilled": true
                                }
                              },
                              "ativo": {
                                "label": "Ativos",
                                "controlType": "inlineToggle",
                                "inlineAutoSize": {
                                  "minWidth": 112
                                }
                              },
                              "cargoId": {
                                "label": "Cargo",
                                "controlType": "inlineAsyncSelect",
                                "endpoint": "/api/human-resources/cargos/options/filter",
                                "displayField": "label",
                                "valueField": "id",
                                "inlineAutoSize": {
                                  "minWidth": 190,
                                  "maxWidth": 280
                                }
                              },
                              "departamentoId": {
                                "label": "Departamento",
                                "controlType": "inlineAsyncSelect",
                                "endpoint": "/api/human-resources/departamentos/options/filter",
                                "displayField": "label",
                                "valueField": "id",
                                "inlineAutoSize": {
                                  "minWidth": 210,
                                  "maxWidth": 320
                                }
                              },
                              "dataAdmissaoRange": {
                                "label": "Admissao",
                                "controlType": "inlineDateRange",
                                "inlineAutoSize": {
                                  "minWidth": 260,
                                  "maxWidth": 360
                                }
                              },
                              "salarioBetween": {
                                "label": "Salario",
                                "controlType": "inlineCurrencyRange",
                                "currency": "BRL",
                                "locale": "pt-BR",
                                "inlineAutoSize": {
                                  "minWidth": 250,
                                  "maxWidth": 360
                                }
                              },
                              "estadoCivil": {
                                "label": "Estado Civil",
                                "controlType": "inlineSelect",
                                "inlineAutoSize": {
                                  "minWidth": 160,
                                  "maxWidth": 240
                                }
                              }
                            }
                          }
                        }
                      },
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      },
                      "density": "compact"
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "funcionarios-rules-computed-table",
      "title": "Funcionarios - rules and computed columns",
      "summary": "Uses computed columns and conditional rules to add tenure, salary bands and risk signals without moving business semantics into handwritten frontend code.",
      "i18n": {
        "pt": {
          "title": "Funcionários - regras e colunas computadas",
          "summary": "Adiciona tempo de casa, faixas salariais e sinais de risco com colunas computadas e regras condicionais sem espalhar semântica no frontend.",
          "demonstrates": [
            "Explore Funcionários - regras e colunas computadas e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-table materializa human-resources/funcionarios com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Adiciona tempo de casa, faixas salariais e sinais de risco com colunas computadas e regras condicionais sem espalhar semântica no frontend.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas filtered e filter."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/funcionarios-rules-computed-table",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/funcionarios-rules-computed-table",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-table",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "filter",
        "capabilities",
        "remote-data",
        "table.computed-columns",
        "table.conditional-styles",
        "table.conditional-renderers"
      ],
      "tags": [
        "table",
        "computed",
        "rules",
        "conditional-styles",
        "conditional-renderers",
        "quickstart"
      ],
      "demonstrates": [
        "Computed tenure column using yearsSince over dataAdmissao",
        "Computed salary band from salary thresholds",
        "Cell conditional styles driven by computed values",
        "Row conditional styles for inactive employees",
        "Conditional badge renderers for active-state semantics"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "remote-filter",
        "capabilities",
        "table.computed-columns",
        "table.rules.conditionalStyles",
        "table.rules.rowConditionalStyles",
        "table.rules.conditionalRenderers",
        "json-logic"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered",
        "POST /api/human-resources/funcionarios/filter",
        "GET /api/human-resources/funcionarios/capabilities"
      ],
      "complexity": "advanced",
      "catalogRole": "capability-lab",
      "learningStage": "productivity",
      "variantFamilyId": "employee-table-operations",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-table-rendered",
          "computed-columns-configured",
          "conditional-rules-configured"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "filtered-schema-response-funcionarios",
          "funcionarios-filter-basic"
        ],
        "pendingHttpIds": [],
        "notes": [
          "Computed columns and rules are host-authored table config evaluated by the Angular runtime over published funcionarios rows."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.rules-computed-table.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/funcionarios-rules-computed-table.json",
      "documentation": {
        "story": {
          "pt": "Uma liderança precisa comparar tempo de casa, faixa salarial e sinais de atenção sem exportar a coleção para uma planilha nem transformar cada indicador em código de template. A leitura adicionada pela tabela deve continuar rastreável às propriedades publicadas.",
          "en": "A leader needs to compare tenure, salary bands and attention signals without exporting the collection to a spreadsheet or turning every indicator into template code. The reading added by the table must remain traceable to published properties."
        },
        "outcome": {
          "pt": "Colunas computadas derivam valores de dataAdmissao e salario; Json Logic seleciona estilos, badges e tratamento de linha. Essas regras explicam e destacam o estado recebido, mas não substituem política salarial, elegibilidade, autorização ou cálculo oficial do backend.",
          "en": "Computed columns derive values from dataAdmissao and salario, while Json Logic selects styles, badges and row treatment. These rules explain and highlight received state but do not replace backend salary policy, eligibility, authorization or official calculations."
        },
        "componentRoles": [
          {
            "component": "praxis-table",
            "jsonPath": "page.widgets[funcionariosRulesComputedTable].definition.inputs.config.columns",
            "role": {
              "pt": "Calcula valores de apresentação e aplica renderers condicionais sobre cada registro carregado.",
              "en": "Computes presentation values and applies conditional renderers over each loaded record."
            },
            "rationale": {
              "pt": "Mantém a leitura comparativa próxima das colunas sem criar pipes e templates específicos da rota.",
              "en": "Keeps comparative reading close to columns without route-specific pipes and templates."
            }
          },
          {
            "component": "praxis-dynamic-page",
            "jsonPath": "page.widgets[funcionariosRulesComputedTable]",
            "role": {
              "pt": "Publica a tabela enriquecida como uma variante governada e inspecionável do mesmo recurso.",
              "en": "Publishes the enriched table as a governed, inspectable variant of the same resource."
            },
            "rationale": {
              "pt": "Diferencia decisão de apresentação local de schema, dados e política mantidos pelo backend.",
              "en": "Distinguishes local presentation decisions from backend-owned schema, data and policy."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.config.columns[tempoCasaAnos].computed",
            "title": {
              "pt": "Tempo de casa derivado",
              "en": "Derived tenure"
            },
            "explanation": {
              "pt": "yearsSince usa dataAdmissao como dependência explícita e produz um número formatável.",
              "en": "yearsSince uses dataAdmissao as an explicit dependency and produces a formattable number."
            }
          },
          {
            "jsonPath": "definition.inputs.config.columns[faixaSalarial].computed",
            "title": {
              "pt": "Faixa para leitura",
              "en": "Reading band"
            },
            "explanation": {
              "pt": "A expressão deriva uma categoria de apresentação de salario; ela não publica política remuneratória oficial.",
              "en": "The expression derives a presentation category from salario; it does not publish official compensation policy."
            }
          },
          {
            "jsonPath": "definition.inputs.config.columns[].conditionalStyles",
            "title": {
              "pt": "Ênfase condicionada",
              "en": "Conditional emphasis"
            },
            "explanation": {
              "pt": "Json Logic seleciona estilo a partir do valor bruto ou computado sem modificar o registro.",
              "en": "Json Logic selects style from raw or computed values without changing the record."
            }
          },
          {
            "jsonPath": "definition.inputs.config.columns[].conditionalRenderers",
            "title": {
              "pt": "Badge semântico",
              "en": "Semantic badge"
            },
            "explanation": {
              "pt": "O primeiro caso correspondente escolhe texto, tom e variante; o valor original continua disponível para operações.",
              "en": "The first matching case chooses text, tone and variant while the original value remains available to operations."
            }
          },
          {
            "jsonPath": "definition.inputs.config.rowConditionalStyles",
            "title": {
              "pt": "Sinal de linha",
              "en": "Row signal"
            },
            "explanation": {
              "pt": "Registros inativos recebem tratamento visual discreto, sem serem removidos ou reclassificados.",
              "en": "Inactive records receive subdued visual treatment without being removed or reclassified."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Altere o limiar visual de faixa salarial e confirme que o experimento não muda dados nem regras do backend.",
            "en": "Change the visual salary-band threshold and confirm the experiment changes neither backend data nor rules."
          },
          {
            "pt": "Remova conditionalRenderers de ativo e compare badge, texto bruto, contraste e acessibilidade.",
            "en": "Remove ativo conditionalRenderers and compare badge, raw text, contrast and accessibility."
          },
          {
            "pt": "Adicione uma dependência inválida à coluna computada e observe o diagnóstico em vez de aceitar resultado silencioso.",
            "en": "Add an invalid dependency to a computed column and observe the diagnostic instead of accepting a silent result."
          }
        ],
        "productionNotes": [
          {
            "pt": "Cálculos que afetam pagamento, elegibilidade ou obrigação regulatória pertencem a uma decisão canônica do backend, não à tabela.",
            "en": "Calculations affecting payment, eligibility or regulatory obligations belong to a canonical backend decision, not the table."
          },
          {
            "pt": "Cor, opacidade e badge nunca podem ser a única evidência de estado; mantenha texto e nomes acessíveis.",
            "en": "Color, opacity and badges must never be the only state evidence; preserve text and accessible names."
          },
          {
            "pt": "Dependências e IDs de colunas computadas precisam permanecer estáveis para ordenação, exportação, autoria e telemetria.",
            "en": "Computed-column dependencies and IDs must remain stable for sorting, export, authoring and telemetry."
          }
        ]
      },
      "envelope": {
        "id": "funcionarios-rules-computed-table",
        "title": "Funcionarios - rules and computed columns",
        "summary": "Uses computed columns and conditional rules to add tenure, salary bands and risk signals without moving business semantics into handwritten frontend code.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-table",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "filter",
          "capabilities",
          "remote-data",
          "table.computed-columns",
          "table.conditional-styles",
          "table.conditional-renderers"
        ],
        "tags": [
          "table",
          "computed",
          "rules",
          "conditional-styles",
          "conditional-renderers",
          "quickstart"
        ],
        "demonstrates": [
          "Computed tenure column using yearsSince over dataAdmissao",
          "Computed salary band from salary thresholds",
          "Cell conditional styles driven by computed values",
          "Row conditional styles for inactive employees",
          "Conditional badge renderers for active-state semantics"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "remote-filter",
          "capabilities",
          "table.computed-columns",
          "table.rules.conditionalStyles",
          "table.rules.rowConditionalStyles",
          "table.rules.conditionalRenderers",
          "json-logic"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered",
          "POST /api/human-resources/funcionarios/filter",
          "GET /api/human-resources/funcionarios/capabilities"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-table-rendered",
            "computed-columns-configured",
            "conditional-rules-configured"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "filtered-schema-response-funcionarios",
            "funcionarios-filter-basic"
          ],
          "pendingHttpIds": [],
          "notes": [
            "Computed columns and rules are host-authored table config evaluated by the Angular runtime over published funcionarios rows."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.rules-computed-table.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "funcionariosRulesComputedTable",
              "shell": {
                "kind": "dashboard-card",
                "icon": "rule",
                "title": "Funcionarios rules and computed columns",
                "subtitle": "Tenure, salary bands and conditional runtime feedback"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath"
                ],
                "inputs": {
                  "resourcePath": "human-resources/funcionarios",
                  "tableId": "human-resources-funcionarios-rules-computed",
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Funcionarios",
                      "subtitle": "Computed columns and conditional rules"
                    },
                    "columns": [
                      {
                        "field": "nomeCompleto",
                        "header": "Funcionario",
                        "type": "text",
                        "sticky": "start",
                        "width": "220px"
                      },
                      {
                        "field": "dataAdmissao",
                        "header": "Admissao",
                        "type": "date",
                        "format": {
                          "dateStyle": "short",
                          "locale": "pt-BR"
                        },
                        "width": "140px"
                      },
                      {
                        "field": "tempoCasaAnos",
                        "header": "Tempo de Casa",
                        "type": "number",
                        "align": "end",
                        "width": "150px",
                        "computed": {
                          "expression": {
                            "yearsSince": [
                              {
                                "var": "dataAdmissao"
                              }
                            ]
                          },
                          "outputType": "number",
                          "format": "1.0-0",
                          "dependencies": [
                            "dataAdmissao"
                          ]
                        },
                        "conditionalStyles": [
                          {
                            "condition": {
                              ">=": [
                                {
                                  "var": "computed.tempoCasaAnos"
                                },
                                5
                              ]
                            },
                            "style": {
                              "color": "#166534",
                              "fontWeight": "700"
                            }
                          }
                        ]
                      },
                      {
                        "field": "salario",
                        "header": "Salario",
                        "type": "currency",
                        "align": "end",
                        "format": {
                          "currency": "BRL",
                          "locale": "pt-BR"
                        },
                        "width": "150px",
                        "conditionalStyles": [
                          {
                            "condition": {
                              ">=": [
                                {
                                  "var": "salario"
                                },
                                35000
                              ]
                            },
                            "style": {
                              "color": "#7c2d12",
                              "fontWeight": "700"
                            }
                          }
                        ]
                      },
                      {
                        "field": "faixaSalarial",
                        "header": "Faixa",
                        "type": "badge",
                        "width": "130px",
                        "computed": {
                          "expression": {
                            "if": [
                              {
                                ">=": [
                                  {
                                    "var": "salario"
                                  },
                                  35000
                                ]
                              },
                              "executive",
                              {
                                ">=": [
                                  {
                                    "var": "salario"
                                  },
                                  18000
                                ]
                              },
                              "senior",
                              "standard"
                            ]
                          },
                          "outputType": "text",
                          "dependencies": [
                            "salario"
                          ]
                        },
                        "conditionalRenderers": [
                          {
                            "condition": {
                              "==": [
                                {
                                  "var": "computed.faixaSalarial"
                                },
                                "executive"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "text": "Executive",
                                "color": "warn",
                                "variant": "filled"
                              }
                            }
                          },
                          {
                            "condition": {
                              "==": [
                                {
                                  "var": "computed.faixaSalarial"
                                },
                                "senior"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "text": "Senior",
                                "color": "primary",
                                "variant": "soft"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "field": "departamentoNome",
                        "header": "Departamento",
                        "type": "chip",
                        "width": "180px"
                      },
                      {
                        "field": "ativo",
                        "header": "Estado",
                        "type": "badge",
                        "width": "130px",
                        "conditionalRenderers": [
                          {
                            "condition": {
                              "==": [
                                {
                                  "var": "ativo"
                                },
                                true
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "text": "Ativo",
                                "color": "success",
                                "variant": "filled"
                              }
                            }
                          },
                          {
                            "condition": {
                              "==": [
                                {
                                  "var": "ativo"
                                },
                                false
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "text": "Inativo",
                                "color": "warn",
                                "variant": "outlined"
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "rowConditionalStyles": [
                      {
                        "condition": {
                          "==": [
                            {
                              "var": "ativo"
                            },
                            false
                          ]
                        },
                        "style": {
                          "opacity": "0.68",
                          "backgroundColor": "rgba(239, 68, 68, 0.08)"
                        }
                      },
                      {
                        "condition": {
                          ">=": [
                            {
                              "var": "computed.tempoCasaAnos"
                            },
                            5
                          ]
                        },
                        "style": {
                          "borderLeft": "4px solid #16a34a"
                        }
                      }
                    ],
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      },
                      "density": "comfortable"
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "funcionarios-ai-table-workspace",
      "title": "Funcionarios - AI table workspace",
      "summary": "Lets the Praxis assistant propose governed table changes over real funcionarios data, changing runtime configuration instead of generating a new Angular component.",
      "i18n": {
        "pt": {
          "title": "Funcionarios - workspace de tabela com IA",
          "summary": "Mostra a IA do Praxis propondo ajustes governados sobre dados reais de funcionários, alterando configuração de runtime em vez de gerar outro componente Angular.",
          "demonstrates": [
            "Uma tabela Angular real criada por configuracao, pronta para ser alterada por IA sem deploy",
            "O assistente abre no proprio runtime da tabela e trabalha sobre o contrato canonico de @praxisui/table",
            "A IA recebe contexto seguro: tableId, resourcePath, colunas, renderers, capabilities e limites de autoria",
            "As mudancas propostas sao materializadas como configuracao governada, nao como codigo Angular descartavel",
            "Dados reais de funcionarios do quickstart provam que o fluxo funciona sobre uma API publicada"
          ],
          "operationalEvidenceNotes": [
            "O exemplo habilita customizacao na fronteira de input do widget para que o assistente fique visivel sem depender do toggle global da galeria.",
            "A execucao do assistente e governada por @praxisui/table e @praxisui/ai; esta pagina apenas declara os inputs de runtime e a ancora do recurso remoto.",
            "O assistente recebe um snapshot de contexto seguro, nao dumps de dados brutos da tabela nem patches arbitrarios de frontend.",
            "O mesmo recurso funcionarios publicado pelo quickstart e usado para carregamento de dados, descoberta de schema e grounding de capabilities."
          ],
          "promptSuggestions": [
            "Mostre a foto e o nome do funcionario na mesma coluna e oculte a coluna de foto separada.",
            "Junte Departamento e Cargo em uma coluna “Posicao organizacional” e oculte as colunas originais.",
            "Crie uma coluna calculada “Tempo de casa” a partir da data de admissao.",
            "Aplique formatacao condicional no Salario destacando faixas alta, media e baixa.",
            "Mostre o Status como badge semantico e deixe registros inativos visualmente discretos.",
            "Prepare uma visualizacao publica: oculte CPF e salario, fixe Nome e destaque Departamento."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/funcionarios-ai-table-workspace",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/funcionarios-ai-table-workspace",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-table",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "filter",
        "capabilities",
        "remote-data",
        "table.agentic-authoring",
        "table.renderers",
        "table.formatters",
        "assistant.context-snapshot",
        "assistant.session-registry"
      ],
      "tags": [
        "table",
        "assistant",
        "ai",
        "agentic-authoring",
        "remote",
        "schema-driven",
        "quickstart"
      ],
      "demonstrates": [
        "Praxis Table running inside Dynamic Page with customization mode enabled by contract",
        "The table assistant trigger in the runtime toolbar, backed by the canonical @praxisui/ai shell",
        "Safe assistant context built from tableId, resourcePath, columns, renderers and governance hints",
        "Remote funcionarios data loaded from the published quickstart resource while authoring stays governed",
        "Rich employee columns that give the assistant meaningful targets for formatting, visibility and behavior changes"
      ],
      "promptSuggestions": [
        "Show the employee photo and name in the same column and hide the separate photo column.",
        "Merge Department and Role into one “Organizational position” column and hide the original columns.",
        "Create a calculated “Tenure” column from the admission date.",
        "Apply conditional formatting to Salary by highlighting high, medium, and low ranges.",
        "Render Status as a semantic badge and make inactive records visually quieter.",
        "Prepare a public view: hide CPF and salary, pin Name, and emphasize Department."
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "remote-filter",
        "capabilities",
        "table.agentic-authoring",
        "table.enableCustomization",
        "table.renderers.avatar",
        "table.renderers.badge",
        "table.renderers.chip",
        "table.formatters.currency",
        "assistant.session-registry",
        "assistant.context-snapshot",
        "assistant.backend-endpoint-resolution"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered",
        "POST /api/human-resources/funcionarios/filter",
        "GET /api/human-resources/funcionarios/capabilities",
        "POST /api/praxis/config/ai/authoring/table/turn",
        "POST /api/praxis/config/ai/authoring/table/apply"
      ],
      "complexity": "advanced",
      "catalogRole": "capability-lab",
      "learningStage": "productivity",
      "variantFamilyId": "employee-table-operations",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-table-rendered",
          "table-customization-enabled",
          "table-ai-assistant-trigger-rendered",
          "table-ai-assistant-shell-opens",
          "quickstart-filter-response"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "filtered-schema-response-funcionarios",
          "funcionarios-filter-basic"
        ],
        "pendingHttpIds": [
          "ai-table-authoring-turn",
          "ai-table-authoring-apply"
        ],
        "notes": [
          "The example intentionally enables customization at the widget input boundary so the assistant is visible without requiring the gallery-level edit toggle.",
          "Assistant execution is governed by @praxisui/table and @praxisui/ai; this page only declares the runtime inputs and remote resource anchor.",
          "The assistant receives a safe context snapshot, not raw table data dumps or arbitrary frontend patches.",
          "The same published quickstart funcionarios resource is used for data loading, schema discovery and capability grounding."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/projects/praxis-table/README.md",
        "praxis-ui-angular/projects/praxis-table/src/lib/praxis-table.json-api.md",
        "praxis-ui-angular/projects/praxis-ai/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/funcionarios-ai-table-workspace.json",
      "documentation": {
        "story": {
          "pt": "Uma pessoa autora precisa adaptar a leitura da tabela para outra audiência — por exemplo, ocultar campos sensíveis, combinar contexto organizacional ou destacar status — sem pedir um novo componente Angular para cada variação. A IA trabalha dentro da superfície proprietária e sobre seu contrato conhecido.",
          "en": "An author needs to adapt the table reading for another audience—for example, hide sensitive fields, combine organizational context or emphasize status—without requesting a new Angular component for every variation. AI works inside the owning surface and over its known contract."
        },
        "outcome": {
          "pt": "enableCustomization abre o assistente com identidade estável, recurso, colunas, renderers e limites de autoria em um snapshot seguro. A proposta resultante altera configuração governada e revisável; não recebe dados brutos indiscriminados, não gera código solto e depende dos endpoints de authoring do host para aplicar ou persistir.",
          "en": "enableCustomization opens the assistant with stable identity, resource, columns, renderers and authoring limits in a safe snapshot. The resulting proposal changes reviewable governed configuration; it does not receive indiscriminate raw data, generate loose code, or bypass host authoring endpoints for apply and persistence."
        },
        "componentRoles": [
          {
            "component": "praxis-table",
            "jsonPath": "page.widgets[funcionariosAiTableWorkspace].definition.inputs",
            "role": {
              "pt": "Expõe a tabela real, sua identidade, contrato atual e entrada de customização assistida.",
              "en": "Exposes the real table, its identity, current contract and assisted-customization entrypoint."
            },
            "rationale": {
              "pt": "A autoria acontece na superfície proprietária que conhece colunas, renderers, eventos e limites de apply.",
              "en": "Authoring happens in the owning surface that knows columns, renderers, events and apply limits."
            }
          },
          {
            "component": "praxis-ai",
            "jsonPath": "definition.inputs.enableCustomization + componentInstanceId",
            "role": {
              "pt": "Mantém a sessão do assistente ancorada à instância e envia um snapshot seguro do contexto authorável.",
              "en": "Keeps the assistant session anchored to the instance and sends a safe snapshot of authorable context."
            },
            "rationale": {
              "pt": "Evita prompts sem grounding, dumps de linhas e patches arbitrários fora do contrato da tabela.",
              "en": "Avoids ungrounded prompts, row dumps and arbitrary patches outside the table contract."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.enableCustomization",
            "title": {
              "pt": "Entrada de autoria",
              "en": "Authoring entrypoint"
            },
            "explanation": {
              "pt": "true torna o assistente disponível nesta instância sem depender do toggle global da galeria.",
              "en": "true makes the assistant available for this instance without depending on the gallery global toggle."
            }
          },
          {
            "jsonPath": "definition.inputs.tableId + componentInstanceId",
            "title": {
              "pt": "Identidade da sessão",
              "en": "Session identity"
            },
            "explanation": {
              "pt": "Identificadores estáveis impedem que propostas e preferências de uma tabela sejam aplicadas a outra.",
              "en": "Stable identifiers prevent proposals and preferences from one table being applied to another."
            }
          },
          {
            "jsonPath": "definition.inputs.config.meta",
            "title": {
              "pt": "Grounding governado",
              "en": "Governed grounding"
            },
            "explanation": {
              "pt": "resourceKey e authoringSurface delimitam o alvo sem resolver intenção por palavras-chave.",
              "en": "resourceKey and authoringSurface bound the target without resolving intent through keywords."
            }
          },
          {
            "jsonPath": "definition.inputs.config.columns",
            "title": {
              "pt": "Contrato inicial",
              "en": "Initial contract"
            },
            "explanation": {
              "pt": "Colunas, renderers e formatters fornecem candidatos canônicos que a proposta pode reorganizar ou ajustar.",
              "en": "Columns, renderers and formatters provide canonical candidates the proposal may reorganize or adjust."
            }
          },
          {
            "jsonPath": "backendSurfaces[ai authoring turn + apply]",
            "title": {
              "pt": "Propor antes de aplicar",
              "en": "Propose before apply"
            },
            "explanation": {
              "pt": "turn produz uma proposta revisável e apply materializa a decisão aprovada; persistência continua responsabilidade do host.",
              "en": "turn produces a reviewable proposal and apply materializes the approved decision; persistence remains the host responsibility."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Peça uma visão pública sem CPF e salário e revise o diff de configuração antes de aplicar.",
            "en": "Request a public view without tax ID and salary and review the configuration diff before applying."
          },
          {
            "pt": "Solicite uma coluna Tempo de casa e confirme que a proposta usa o contrato computado da tabela em vez de gerar código.",
            "en": "Request a Tenure column and confirm the proposal uses the table computed contract instead of generating code."
          },
          {
            "pt": "Tente pedir uma mutação de negócio e verifique se o assistente mantém a autoria dentro das capabilities e ferramentas declaradas.",
            "en": "Try requesting a business mutation and verify the assistant keeps authoring within declared capabilities and tools."
          }
        ],
        "productionNotes": [
          {
            "pt": "A IA deve receber contexto mínimo e governado; linhas, campos sensíveis e credenciais não pertencem ao snapshot por conveniência.",
            "en": "AI must receive minimal governed context; rows, sensitive fields and credentials do not belong in the snapshot for convenience."
          },
          {
            "pt": "Propostas precisam de validação, revisão, identidade do autor e política de persistência; uma resposta do modelo não é configuração publicada.",
            "en": "Proposals require validation, review, author identity and persistence policy; a model response is not published configuration."
          },
          {
            "pt": "Ausência dos endpoints de turn ou apply deve produzir falha explícita e recuperável, nunca fallback para patch local não governado.",
            "en": "Missing turn or apply endpoints must produce an explicit recoverable failure, never fallback to an ungoverned local patch."
          }
        ]
      },
      "envelope": {
        "id": "funcionarios-ai-table-workspace",
        "title": "Funcionarios - AI table workspace",
        "summary": "Lets the Praxis assistant propose governed table changes over real funcionarios data, changing runtime configuration instead of generating a new Angular component.",
        "i18n": {
          "pt": {
            "title": "Funcionarios - workspace de tabela com IA",
            "summary": "Demonstra IA alterando uma tabela Angular configuravel em runtime: sem gerar componente, sem recompilar e sem redeploy.",
            "demonstrates": [
              "Uma tabela Angular real criada por configuracao, pronta para ser alterada por IA sem deploy",
              "O assistente abre no proprio runtime da tabela e trabalha sobre o contrato canonico de @praxisui/table",
              "A IA recebe contexto seguro: tableId, resourcePath, colunas, renderers, capabilities e limites de autoria",
              "As mudancas propostas sao materializadas como configuracao governada, nao como codigo Angular descartavel",
              "Dados reais de funcionarios do quickstart provam que o fluxo funciona sobre uma API publicada"
            ],
            "operationalEvidenceNotes": [
              "O exemplo habilita customizacao na fronteira de input do widget para que o assistente fique visivel sem depender do toggle global da galeria.",
              "A execucao do assistente e governada por @praxisui/table e @praxisui/ai; esta pagina apenas declara os inputs de runtime e a ancora do recurso remoto.",
              "O assistente recebe um snapshot de contexto seguro, nao dumps de dados brutos da tabela nem patches arbitrarios de frontend.",
              "O mesmo recurso funcionarios publicado pelo quickstart e usado para carregamento de dados, descoberta de schema e grounding de capabilities."
            ],
            "promptSuggestions": [
              "Mostre a foto e o nome do funcionario na mesma coluna e oculte a coluna de foto separada.",
              "Junte Departamento e Cargo em uma coluna “Posicao organizacional” e oculte as colunas originais.",
              "Crie uma coluna calculada “Tempo de casa” a partir da data de admissao.",
              "Aplique formatacao condicional no Salario destacando faixas alta, media e baixa.",
              "Mostre o Status como badge semantico e deixe registros inativos visualmente discretos.",
              "Prepare uma visualizacao publica: oculte CPF e salario, fixe Nome e destaque Departamento."
            ]
          }
        },
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-table",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/table >= 8.0.0-beta.30"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "filter",
          "capabilities",
          "remote-data",
          "table.agentic-authoring",
          "table.renderers",
          "table.formatters",
          "assistant.context-snapshot",
          "assistant.session-registry"
        ],
        "tags": [
          "table",
          "assistant",
          "ai",
          "agentic-authoring",
          "remote",
          "schema-driven",
          "quickstart"
        ],
        "demonstrates": [
          "Praxis Table running inside Dynamic Page with customization mode enabled by contract",
          "The table assistant trigger in the runtime toolbar, backed by the canonical @praxisui/ai shell",
          "Safe assistant context built from tableId, resourcePath, columns, renderers and governance hints",
          "Remote funcionarios data loaded from the published quickstart resource while authoring stays governed",
          "Rich employee columns that give the assistant meaningful targets for formatting, visibility and behavior changes"
        ],
        "promptSuggestions": [
          "Show the employee photo and name in the same column and hide the separate photo column.",
          "Merge Department and Role into one “Organizational position” column and hide the original columns.",
          "Create a calculated “Tenure” column from the admission date.",
          "Apply conditional formatting to Salary by highlighting high, medium, and low ranges.",
          "Render Status as a semantic badge and make inactive records visually quieter.",
          "Prepare a public view: hide CPF and salary, pin Name, and emphasize Department."
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "remote-filter",
          "capabilities",
          "table.agentic-authoring",
          "table.enableCustomization",
          "table.renderers.avatar",
          "table.renderers.badge",
          "table.renderers.chip",
          "table.formatters.currency",
          "assistant.session-registry",
          "assistant.context-snapshot",
          "assistant.backend-endpoint-resolution"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered",
          "POST /api/human-resources/funcionarios/filter",
          "GET /api/human-resources/funcionarios/capabilities",
          "POST /api/praxis/config/ai/authoring/table/turn",
          "POST /api/praxis/config/ai/authoring/table/apply"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-table-rendered",
            "table-customization-enabled",
            "table-ai-assistant-trigger-rendered",
            "table-ai-assistant-shell-opens",
            "quickstart-filter-response"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "filtered-schema-response-funcionarios",
            "funcionarios-filter-basic"
          ],
          "pendingHttpIds": [
            "ai-table-authoring-turn",
            "ai-table-authoring-apply"
          ],
          "notes": [
            "The example intentionally enables customization at the widget input boundary so the assistant is visible without requiring the gallery-level edit toggle.",
            "Assistant execution is governed by @praxisui/table and @praxisui/ai; this page only declares the runtime inputs and remote resource anchor.",
            "The assistant receives a safe context snapshot, not raw table data dumps or arbitrary frontend patches.",
            "The same published quickstart funcionarios resource is used for data loading, schema discovery and capability grounding."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/projects/praxis-table/README.md",
          "praxis-ui-angular/projects/praxis-table/src/lib/praxis-table.json-api.md",
          "praxis-ui-angular/projects/praxis-ai/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "funcionariosAiTableWorkspace",
              "shell": {
                "kind": "dashboard-card",
                "icon": "auto_awesome",
                "title": "Funcionarios AI table workspace",
                "subtitle": "Remote table with governed assistant authoring"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath"
                ],
                "inputs": {
                  "resourcePath": "human-resources/funcionarios",
                  "tableId": "human-resources-funcionarios-ai-workspace",
                  "componentInstanceId": "landing-dynamic-page-funcionarios-ai-table-workspace",
                  "enableCustomization": true,
                  "aiAssistantVoiceInputMode": "browser-speech",
                  "aiAssistantVoiceLanguage": "pt-BR",
                  "config": {
                    "meta": {
                      "idField": "id",
                      "resourceKey": "human-resources.funcionarios",
                      "authoringSurface": "landing.dynamic-page.funcionarios-ai-table-workspace"
                    },
                    "toolbar": {
                      "visible": true,
                      "title": "Funcionarios",
                      "subtitle": "Use the assistant to propose governed table changes"
                    },
                    "columns": [
                      {
                        "field": "avatarUrl",
                        "header": "Avatar",
                        "type": "string",
                        "renderer": {
                          "type": "avatar",
                          "avatar": {
                            "srcField": "avatarUrl",
                            "altField": "nomeCompleto",
                            "initialsField": "nomeCompleto",
                            "shape": "circle",
                            "size": 36
                          }
                        },
                        "width": "88px",
                        "sticky": "start"
                      },
                      {
                        "field": "nomeCompleto",
                        "header": "Funcionario",
                        "type": "string",
                        "sticky": "start",
                        "width": "230px"
                      },
                      {
                        "field": "email",
                        "header": "Email",
                        "type": "string",
                        "width": "260px"
                      },
                      {
                        "field": "cargoNome",
                        "header": "Cargo",
                        "type": "string",
                        "renderer": {
                          "type": "chip",
                          "chip": {
                            "textField": "cargoNome",
                            "variant": "outlined",
                            "color": "primary"
                          }
                        },
                        "width": "210px"
                      },
                      {
                        "field": "departamentoNome",
                        "header": "Departamento",
                        "type": "string",
                        "renderer": {
                          "type": "badge",
                          "badge": {
                            "textField": "departamentoNome",
                            "variant": "soft",
                            "color": "accent"
                          }
                        },
                        "width": "190px"
                      },
                      {
                        "field": "salario",
                        "header": "Salario",
                        "type": "currency",
                        "align": "end",
                        "format": "BRL|symbol|2",
                        "width": "150px"
                      },
                      {
                        "field": "dataAdmissao",
                        "header": "Admissao",
                        "type": "date",
                        "format": "dd/MM/yyyy",
                        "width": "150px"
                      },
                      {
                        "field": "ativo",
                        "header": "Status",
                        "type": "boolean",
                        "align": "center",
                        "width": "130px",
                        "conditionalRenderers": [
                          {
                            "condition": {
                              "==": [
                                {
                                  "var": "ativo"
                                },
                                true
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "text": "Ativo",
                                "color": "success",
                                "variant": "filled",
                                "icon": "check_circle"
                              }
                            }
                          },
                          {
                            "condition": {
                              "==": [
                                {
                                  "var": "ativo"
                                },
                                false
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "text": "Inativo",
                                "color": "warn",
                                "variant": "outlined",
                                "icon": "block"
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "multiple"
                      },
                      "pagination": {
                        "enabled": true,
                        "position": "both",
                        "style": "compact",
                        "pageSize": 10
                      },
                      "density": "compact"
                    },
                    "export": {
                      "enabled": true,
                      "formats": [
                        "csv",
                        "json"
                      ],
                      "general": {
                        "includeHeaders": true,
                        "scope": "selected",
                        "defaultFileName": "funcionarios-ai-selected",
                        "includeColumns": "visible",
                        "applyFormatting": true
                      }
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "selectionChange": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "employee-entity-lookup-workspace",
      "title": "Funcionarios - Entity Lookup",
      "summary": "Shows Employee Entity Lookup as a governed selection pattern: rich display for the user, stable canonical ID for persistence and surfaces for detail.",
      "i18n": {
        "pt": {
          "title": "Funcionários - Entity Lookup",
          "summary": "Mostra Entity Lookup de funcionário como padrão governado: display rico para o usuário, ID canônico persistido e superfícies de detalhe.",
          "demonstrates": [
            "Explore Funcionários - Entity Lookup e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-dynamic-form materializa human-resources/funcionarios com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Mostra Entity Lookup de funcionário como padrão governado: display rico para o usuário, ID canônico persistido e superfícies de detalhe.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas funcionarios&operation=post&schemaType=request e filter."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/employee-entity-lookup-workspace",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/employee-entity-lookup-workspace",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-dynamic-form",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "filter",
        "entityLookup",
        "inlineEntityLookup",
        "optionSource",
        "surfaces",
        "rich-display",
        "surface.open",
        "praxis-list.actions",
        "remote-data",
        "capabilities"
      ],
      "tags": [
        "form",
        "entity-lookup",
        "inline-entity-lookup",
        "option-source",
        "employee",
        "funcionarios",
        "surfaces",
        "surface-open",
        "modal",
        "rich-display",
        "quickstart",
        "ai-recipe"
      ],
      "demonstrates": [
        "Funcionario selecionado como entidade governada, nao como async select criado pelo host",
        "Valor salvo permanece funcionarioResponsavelId enquanto o display vem da metadata do lookup",
        "Display directory com cargo, departamento, data de admissao, status e contador de resultados",
        "Selecionado renderizado como card rico com avatar, titulo, subtitulo, chips e acoes",
        "Acao Abrir detalhe disparando surface.open em modal com os dados da entidade selecionada",
        "Detalhe publicado por surface em vez de rota hardcoded na aplicacao host",
        "A mesma fonte de funcionarios pode alimentar formulario, filtro inline, dashboard e revisao",
        "Fronteiras explicitas: schema publica x-ui, option-sources/employee/options/filter busca, option-sources/employee/options/by-ids reidrata e surfaces abrem detalhe"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "schema-driven-form",
        "dynamic-fields.entityLookup",
        "dynamic-fields.inlineEntityLookup",
        "x-ui.optionSource",
        "optionSource.display.fields",
        "optionSource.selectionPolicy",
        "optionSource.byIds",
        "surfaces.item-detail",
        "surface.open",
        "praxis-list.actions",
        "remote-filter",
        "capabilities"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered?path=/api/human-resources/funcionarios&operation=post&schemaType=request",
        "POST /api/human-resources/funcionarios/filter",
        "GET /api/human-resources/funcionarios/capabilities",
        "POST /api/human-resources/funcionarios/option-sources/employee/options/filter",
        "GET /api/human-resources/funcionarios/option-sources/employee/options/by-ids?ids=3&ids=1&ids=2",
        "GET /api/human-resources/funcionarios/{id}/surfaces"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "productivity",
      "variantFamilyId": "employee-form-workflows",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-dynamic-form-rendered",
          "employee-entity-lookup-field-rendered",
          "surface-detail-contract-declared",
          "employee-table-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "FuncionarioService.optionSources() is the canonical backend source for the employee lookup descriptor.",
          "The descriptor keeps sensitive employee fields such as CPF, salary and phone out of lookup search/display metadata.",
          "The public contract uses named option-source endpoints; the generic /options endpoints remain for simple id/label option lists, not governed entity lookup.",
          "The form field ships with a small employee seed copied from the quickstart so the public static landing remains reviewable even when remote option-source materialization lags the deployed API.",
          "The Angular runtime should use surface discovery for detail actions; routeTemplate and hrefTemplate are legacy fallbacks only."
        ]
      },
      "sourceRecipes": [
        "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/service/FuncionarioService.java",
        "praxis-ui-angular/projects/praxis-dynamic-fields/src/lib/components/inline-entity-lookup/pdx-inline-entity-lookup.json-api.md",
        "praxis-ui-landing-page/src/app/data/guides/dynamic-fields/dynamic-fields-entity-lookup.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/employee-entity-lookup-workspace.json",
      "documentation": {
        "story": {
          "pt": "Uma pessoa gestora precisa escolher o responsável por uma atividade sem decorar IDs nem perder cargo, departamento e situação funcional. O cenário combina um lookup governado, um resumo da seleção, o mapa do contrato e a tabela remota do mesmo recurso.",
          "en": "A manager needs to choose the owner of an activity without memorizing IDs or losing role, department and employment status. The scenario combines a governed lookup, a selection summary, the contract map and the remote table for the same resource."
        },
        "outcome": {
          "pt": "A experiência exibe uma entidade rica, mas o formulário persiste somente funcionarioResponsavelId. Uma pequena semente mantém a demonstração estática explorável; filter, by-ids, detalhe, capabilities e dados atuais continuam pertencendo ao Quickstart e ao host.",
          "en": "The experience displays a rich entity while the form persists only funcionarioResponsavelId. A small seed keeps the static demo explorable; filter, by-ids, detail, capabilities and current data remain owned by Quickstart and the host."
        },
        "componentRoles": [
          {
            "component": "praxis-dynamic-form",
            "jsonPath": "page.widgets[employeeLookupForm].definition.inputs.config",
            "role": {
              "pt": "Hospeda o Entity Lookup e mantém o valor submetido como funcionarioResponsavelId.",
              "en": "Hosts the Entity Lookup and keeps the submitted value as funcionarioResponsavelId."
            },
            "rationale": {
              "pt": "Separa a entidade rica usada para escolha do payload estável esperado pelo comando.",
              "en": "Separates the rich entity used for selection from the stable payload expected by the command."
            }
          },
          {
            "component": "praxis-dynamic-fields",
            "jsonPath": "definition.inputs.config.fieldMetadata[funcionarioResponsavelId].optionSource",
            "role": {
              "pt": "Resolve busca, reidratação por IDs, display directory, política de seleção e detalhe por surface.",
              "en": "Resolves search, by-id rehydration, directory display, selection policy and surface-based detail."
            },
            "rationale": {
              "pt": "Centraliza o padrão de seleção de entidade sem criar autocomplete, card e navegação específicos no host.",
              "en": "Centralizes entity selection without host-specific autocomplete, card and navigation implementations."
            }
          },
          {
            "component": "praxis-list",
            "jsonPath": "page.widgets[employeeSelectedDetail|employeeLookupContract]",
            "role": {
              "pt": "Explica a seleção atual e as responsabilidades de schema, option source, by-ids e surfaces.",
              "en": "Explains the current selection and the responsibilities of schema, option source, by-ids and surfaces."
            },
            "rationale": {
              "pt": "Transforma o contrato em evidência legível sem fingir que a lista concede autorização ou persiste o valor.",
              "en": "Turns the contract into readable evidence without pretending the list grants authorization or persists the value."
            }
          },
          {
            "component": "praxis-table",
            "jsonPath": "page.widgets[employeeTable].definition.inputs.resourcePath",
            "role": {
              "pt": "Mostra a coleção remota de funcionários que sustenta outras superfícies do mesmo domínio.",
              "en": "Shows the remote employee collection that supports other surfaces in the same domain."
            },
            "rationale": {
              "pt": "Relaciona o lookup ao recurso canônico e mantém indisponibilidade remota visível.",
              "en": "Relates the lookup to its canonical resource and keeps remote unavailability visible."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.config.fieldMetadata[funcionarioResponsavelId].payloadMode",
            "title": {
              "pt": "Payload por identidade",
              "en": "Identity payload"
            },
            "explanation": {
              "pt": "payloadMode=id mantém somente o identificador canônico no FormControl e no submit.",
              "en": "payloadMode=id keeps only the canonical identifier in the FormControl and submission."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata[funcionarioResponsavelId].optionSource",
            "title": {
              "pt": "Descritor governado",
              "en": "Governed descriptor"
            },
            "explanation": {
              "pt": "Declara propriedades de identidade, busca, status, capabilities e reidratação sem inferir semântica por labels.",
              "en": "Declares identity, search, status, capabilities and rehydration properties without inferring semantics from labels."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata[funcionarioResponsavelId].optionSource.display",
            "title": {
              "pt": "Entidade legível",
              "en": "Readable entity"
            },
            "explanation": {
              "pt": "Escolhe nome, cargo, departamento, admissão, badges e densidade para resultados e seleção.",
              "en": "Chooses name, role, department, hire date, badges and density for results and selection."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata[funcionarioResponsavelId].optionSource.detail",
            "title": {
              "pt": "Detalhe por surface",
              "en": "Surface-based detail"
            },
            "explanation": {
              "pt": "Aponta para a surface view em drawer; URL e rota são apenas fallbacks legados.",
              "en": "Points to the view surface in a drawer; URL and route are legacy fallbacks only."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata[funcionarioResponsavelId].options",
            "title": {
              "pt": "Semente de demonstração",
              "en": "Demo seed"
            },
            "explanation": {
              "pt": "Mantém uma amostra pública pequena e explícita; não comprova atualização, paginação nem disponibilidade da API.",
              "en": "Keeps a small explicit public sample; it does not prove API freshness, pagination or availability."
            }
          },
          {
            "jsonPath": "page.widgets[employeeTable].definition.inputs.resourcePath",
            "title": {
              "pt": "Prova remota separada",
              "en": "Separate remote proof"
            },
            "explanation": {
              "pt": "A tabela consulta human-resources/funcionarios e pode falhar sem converter a semente do lookup em fallback silencioso.",
              "en": "The table queries human-resources/funcionarios and may fail without turning the lookup seed into a silent fallback."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Selecione outra pessoa e confirme que o card muda enquanto valueChange continua emitindo somente o ID.",
            "en": "Select another person and confirm the card changes while valueChange continues emitting only the ID."
          },
          {
            "pt": "Remova temporariamente a semente options e observe a diferença entre descoberta remota, vazio legítimo e indisponibilidade.",
            "en": "Temporarily remove the options seed and observe the difference between remote discovery, a legitimate empty state and unavailability."
          },
          {
            "pt": "Altere display.density ou secondaryPropertyPaths e compare legibilidade no desktop e no viewport estreito sem mudar o payload.",
            "en": "Change display.density or secondaryPropertyPaths and compare readability on desktop and narrow viewports without changing the payload."
          }
        ],
        "productionNotes": [
          {
            "pt": "CPF, salário e telefone ficam fora da busca e do display; minimização e field access continuam governados pelo backend.",
            "en": "Tax ID, salary and phone stay outside search and display; minimization and field access remain backend-governed."
          },
          {
            "pt": "options locais são somente semente de demonstração e nunca devem mascarar falha dos endpoints filter ou by-ids em produção.",
            "en": "Local options are demo seed only and must never mask filter or by-ids endpoint failures in production."
          },
          {
            "pt": "Abrir detalhe exige surface e capability válidas no contexto autenticado; uma action visível ou detailHref não concede acesso.",
            "en": "Opening detail requires a valid surface and capability in authenticated context; a visible action or detailHref does not grant access."
          }
        ]
      },
      "envelope": {
        "id": "employee-entity-lookup-workspace",
        "title": "Funcionarios - Entity Lookup",
        "summary": "Shows Employee Entity Lookup as a governed selection pattern: rich display for the user, stable canonical ID for persistence and surfaces for detail.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-dynamic-form",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "filter",
          "entityLookup",
          "inlineEntityLookup",
          "optionSource",
          "surfaces",
          "rich-display",
          "surface.open",
          "praxis-list.actions",
          "remote-data",
          "capabilities"
        ],
        "tags": [
          "form",
          "entity-lookup",
          "inline-entity-lookup",
          "option-source",
          "employee",
          "funcionarios",
          "surfaces",
          "surface-open",
          "modal",
          "rich-display",
          "quickstart",
          "ai-recipe"
        ],
        "demonstrates": [
          "Funcionario selecionado como entidade governada, nao como async select criado pelo host",
          "Valor salvo permanece funcionarioResponsavelId enquanto o display vem da metadata do lookup",
          "Display directory com cargo, departamento, data de admissao, status e contador de resultados",
          "Selecionado renderizado como card rico com avatar, titulo, subtitulo, chips e acoes",
          "Acao Abrir detalhe disparando surface.open em modal com os dados da entidade selecionada",
          "Detalhe publicado por surface em vez de rota hardcoded na aplicacao host",
          "A mesma fonte de funcionarios pode alimentar formulario, filtro inline, dashboard e revisao",
          "Fronteiras explicitas: schema publica x-ui, option-sources/employee/options/filter busca, option-sources/employee/options/by-ids reidrata e surfaces abrem detalhe"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "schema-driven-form",
          "dynamic-fields.entityLookup",
          "dynamic-fields.inlineEntityLookup",
          "x-ui.optionSource",
          "optionSource.display.fields",
          "optionSource.selectionPolicy",
          "optionSource.byIds",
          "surfaces.item-detail",
          "surface.open",
          "praxis-list.actions",
          "remote-filter",
          "capabilities"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered?path=/api/human-resources/funcionarios&operation=post&schemaType=request",
          "POST /api/human-resources/funcionarios/filter",
          "GET /api/human-resources/funcionarios/capabilities",
          "POST /api/human-resources/funcionarios/option-sources/employee/options/filter",
          "GET /api/human-resources/funcionarios/option-sources/employee/options/by-ids?ids=3&ids=1&ids=2",
          "GET /api/human-resources/funcionarios/{id}/surfaces"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-dynamic-form-rendered",
            "employee-entity-lookup-field-rendered",
            "surface-detail-contract-declared",
            "employee-table-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "FuncionarioService.optionSources() is the canonical backend source for the employee lookup descriptor.",
            "The descriptor keeps sensitive employee fields such as CPF, salary and phone out of lookup search/display metadata.",
            "The public contract uses named option-source endpoints; the generic /options endpoints remain for simple id/label option lists, not governed entity lookup.",
            "The form field ships with a small employee seed copied from the quickstart so the public static landing remains reviewable even when remote option-source materialization lags the deployed API.",
            "The Angular runtime should use surface discovery for detail actions; routeTemplate and hrefTemplate are legacy fallbacks only."
          ]
        },
        "sourceRecipes": [
          "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/hr/service/FuncionarioService.java",
          "praxis-ui-angular/projects/praxis-dynamic-fields/src/lib/components/inline-entity-lookup/pdx-inline-entity-lookup.json-api.md",
          "praxis-ui-landing-page/src/app/data/guides/dynamic-fields/dynamic-fields-entity-lookup.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 3,
            "gap": "16px"
          },
          "deviceLayouts": {
            "desktop": {
              "layout": {
                "orientation": "columns",
                "columns": 3,
                "gap": "16px"
              },
              "widgetOverrides": {
                "employeeLookupForm": {
                  "order": 10,
                  "span": 2
                },
                "employeeSelectedDetail": {
                  "order": 20,
                  "span": 1
                },
                "employeeLookupContract": {
                  "order": 30,
                  "span": 3
                },
                "employeeTable": {
                  "order": 40,
                  "span": 3
                }
              }
            },
            "tablet": {
              "layout": {
                "orientation": "columns",
                "columns": 1,
                "gap": "16px"
              }
            },
            "mobile": {
              "layout": {
                "orientation": "columns",
                "columns": 1,
                "gap": "16px"
              }
            }
          },
          "widgets": [
            {
              "key": "employeeLookupForm",
              "shell": {
                "kind": "dashboard-card",
                "icon": "badge",
                "title": "Funcionario responsavel",
                "subtitle": "Campo de formulario com ID persistido e display resolvido pelo backend"
              },
              "definition": {
                "id": "praxis-dynamic-form",
                "bindingOrder": [
                  "config",
                  "apiUrlEntry",
                  "formId",
                  "initialValue"
                ],
                "inputs": {
                  "formId": "employee-entity-lookup-workspace-form",
                  "apiUrlEntry": {
                    "fullUrl": "https://praxis-api-quickstart.onrender.com/api"
                  },
                  "mode": "create",
                  "initialValue": {
                    "funcionarioResponsavelId": 194
                  },
                  "config": {
                    "metadata": {
                      "name": "Employee entity lookup workspace request",
                      "version": "1.0.0"
                    },
                    "sections": [
                      {
                        "id": "employee-selection",
                        "title": "Selecionar funcionario",
                        "description": "Escolha uma pessoa real do dominio. O formulario grava somente o ID canonico; nome, cargo, departamento e detalhe sao resolvidos pela plataforma.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "employee-selection-row",
                            "columns": [
                              {
                                "id": "employee-lookup-column",
                                "span": {
                                  "md": 12,
                                  "lg": 12
                                },
                                "fields": [
                                  "funcionarioResponsavelId"
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ],
                    "fieldMetadata": [
                      {
                        "name": "funcionarioResponsavelId",
                        "label": "Funcionario responsavel",
                        "placeholder": "Buscar por nome, cargo ou departamento...",
                        "controlType": "entityLookup",
                        "required": true,
                        "payloadMode": "id",
                        "optionValueKey": "value",
                        "optionLabelKey": "label",
                        "lookupIdKey": "id",
                        "lookupLabelKey": "label",
                        "lookupSubtitleKey": "subtitle",
                        "lookupSeparator": " - ",
                        "searchable": true,
                        "showResultCount": false,
                        "searchPlaceholder": "Buscar por nome, cargo ou departamento...",
                        "options": [
                          {
                            "value": {
                              "id": 194,
                              "label": "Sol Drax",
                              "nomeCompleto": "Sol Drax",
                              "cargoNome": "Agente de Segurança",
                              "departamentoNome": "Black Mesa - Segurança",
                              "dataAdmissao": "2022-06-13",
                              "status": "Ativo",
                              "subtitle": "Agente de Segurança - Black Mesa - Segurança",
                              "badges": [
                                "Segurança",
                                "Ativo"
                              ],
                              "detailHref": "https://praxis-api-quickstart.onrender.com/api/human-resources/funcionarios/194",
                              "richFields": [
                                {
                                  "propertyPath": "cargoNome",
                                  "label": "Cargo",
                                  "value": "Agente de Segurança",
                                  "icon": "work",
                                  "presentation": "text"
                                },
                                {
                                  "propertyPath": "departamentoNome",
                                  "label": "Departamento",
                                  "value": "Black Mesa - Segurança",
                                  "icon": "groups",
                                  "presentation": "chip",
                                  "tone": "info"
                                },
                                {
                                  "propertyPath": "dataAdmissao",
                                  "label": "Admissao",
                                  "value": "2022-06-13",
                                  "icon": "event",
                                  "presentation": "date",
                                  "tone": "success"
                                }
                              ]
                            },
                            "id": "194",
                            "label": "Sol Drax",
                            "text": "Sol Drax",
                            "subtitle": "Agente de Segurança - Black Mesa - Segurança"
                          },
                          {
                            "value": {
                              "id": 193,
                              "label": "Ayla Hayes",
                              "subtitle": "Diretor de P&D - Black Mesa - Pesquisa",
                              "status": "Ativo",
                              "badges": [
                                "Pesquisa",
                                "Ativo"
                              ],
                              "detailHref": "https://praxis-api-quickstart.onrender.com/api/human-resources/funcionarios/193",
                              "richFields": [
                                {
                                  "propertyPath": "cargoNome",
                                  "label": "Cargo",
                                  "value": "Diretor de P&D",
                                  "icon": "work",
                                  "presentation": "text"
                                },
                                {
                                  "propertyPath": "departamentoNome",
                                  "label": "Departamento",
                                  "value": "Black Mesa - Pesquisa",
                                  "icon": "groups",
                                  "presentation": "chip",
                                  "tone": "info"
                                },
                                {
                                  "propertyPath": "dataAdmissao",
                                  "label": "Admissao",
                                  "value": "2022-06-02",
                                  "icon": "event",
                                  "presentation": "date",
                                  "tone": "success"
                                }
                              ]
                            },
                            "id": "193",
                            "label": "Ayla Hayes",
                            "text": "Ayla Hayes",
                            "subtitle": "Diretor de P&D - Black Mesa - Pesquisa"
                          },
                          {
                            "value": {
                              "id": 192,
                              "label": "Jonah Sterling",
                              "subtitle": "Engenheiro de Software Sênior - Capsule Corp - Engenharia",
                              "status": "Ativo",
                              "badges": [
                                "Engenharia",
                                "Ativo"
                              ],
                              "detailHref": "https://praxis-api-quickstart.onrender.com/api/human-resources/funcionarios/192",
                              "richFields": [
                                {
                                  "propertyPath": "cargoNome",
                                  "label": "Cargo",
                                  "value": "Engenheiro de Software Sênior",
                                  "icon": "work",
                                  "presentation": "text"
                                },
                                {
                                  "propertyPath": "departamentoNome",
                                  "label": "Departamento",
                                  "value": "Capsule Corp - Engenharia",
                                  "icon": "groups",
                                  "presentation": "chip",
                                  "tone": "info"
                                },
                                {
                                  "propertyPath": "dataAdmissao",
                                  "label": "Admissao",
                                  "value": "2022-05-22",
                                  "icon": "event",
                                  "presentation": "date",
                                  "tone": "success"
                                }
                              ]
                            },
                            "id": "192",
                            "label": "Jonah Sterling",
                            "text": "Jonah Sterling",
                            "subtitle": "Engenheiro de Software Sênior - Capsule Corp - Engenharia"
                          },
                          {
                            "value": {
                              "id": 191,
                              "label": "Ravi Almeida",
                              "subtitle": "Cientista Chefe - Capsule Corp - P&D",
                              "status": "Ativo",
                              "badges": [
                                "P&D",
                                "Ativo"
                              ],
                              "detailHref": "https://praxis-api-quickstart.onrender.com/api/human-resources/funcionarios/191",
                              "richFields": [
                                {
                                  "propertyPath": "cargoNome",
                                  "label": "Cargo",
                                  "value": "Cientista Chefe",
                                  "icon": "work",
                                  "presentation": "text"
                                },
                                {
                                  "propertyPath": "departamentoNome",
                                  "label": "Departamento",
                                  "value": "Capsule Corp - P&D",
                                  "icon": "groups",
                                  "presentation": "chip",
                                  "tone": "info"
                                },
                                {
                                  "propertyPath": "dataAdmissao",
                                  "label": "Admissao",
                                  "value": "2022-05-11",
                                  "icon": "event",
                                  "presentation": "date",
                                  "tone": "success"
                                }
                              ]
                            },
                            "id": "191",
                            "label": "Ravi Almeida",
                            "text": "Ravi Almeida",
                            "subtitle": "Cientista Chefe - Capsule Corp - P&D"
                          },
                          {
                            "value": {
                              "id": 190,
                              "label": "Mira Drax",
                              "subtitle": "Operador de Sistemas - Tyrell Corp - Operações",
                              "status": "Ativo",
                              "badges": [
                                "Operações",
                                "Ativo"
                              ],
                              "detailHref": "https://praxis-api-quickstart.onrender.com/api/human-resources/funcionarios/190",
                              "richFields": [
                                {
                                  "propertyPath": "cargoNome",
                                  "label": "Cargo",
                                  "value": "Operador de Sistemas",
                                  "icon": "work",
                                  "presentation": "text"
                                },
                                {
                                  "propertyPath": "departamentoNome",
                                  "label": "Departamento",
                                  "value": "Tyrell Corp - Operações",
                                  "icon": "groups",
                                  "presentation": "chip",
                                  "tone": "info"
                                },
                                {
                                  "propertyPath": "dataAdmissao",
                                  "label": "Admissao",
                                  "value": "2022-04-30",
                                  "icon": "event",
                                  "presentation": "date",
                                  "tone": "success"
                                }
                              ]
                            },
                            "id": "190",
                            "label": "Mira Drax",
                            "text": "Mira Drax",
                            "subtitle": "Operador de Sistemas - Tyrell Corp - Operações"
                          }
                        ],
                        "clearButton": {
                          "enabled": true
                        },
                        "optionSource": {
                          "key": "employee",
                          "type": "RESOURCE_ENTITY",
                          "entityKey": "employee",
                          "valuePropertyPath": "id",
                          "labelPropertyPath": "nomeCompleto",
                          "codePropertyPath": "id",
                          "descriptionPropertyPaths": [
                            "cargoNome",
                            "departamentoNome",
                            "dataAdmissao"
                          ],
                          "statusPropertyPath": "ativo",
                          "searchPropertyPaths": [
                            "nomeCompleto",
                            "cargoNome",
                            "departamentoNome"
                          ],
                          "searchMode": "contains",
                          "pageSize": 25,
                          "includeIds": true,
                          "selectionPolicy": {
                            "statusPropertyPath": "ativo",
                            "selectablePropertyPath": "ativo",
                            "allowRetainInvalidExistingValue": true,
                            "disabledReasonTemplate": "Funcionario inativo preservado apenas para reidratacao de valores existentes."
                          },
                          "capabilities": {
                            "filter": true,
                            "byIds": true,
                            "detail": true,
                            "navigateToDetail": true,
                            "favorites": true,
                            "auditSnapshot": true
                          },
                          "detail": {
                            "kind": "surface",
                            "surfaceId": "view",
                            "presentation": "drawer",
                            "preferredWidget": "praxis-dynamic-form",
                            "mode": "view"
                          },
                          "display": {
                            "preset": "directory",
                            "usage": "form",
                            "density": "comfortable",
                            "selectedLayout": "card",
                            "resultLayout": "list",
                            "primaryPropertyPath": "nomeCompleto",
                            "secondaryPropertyPaths": [
                              "cargoNome",
                              "departamentoNome",
                              "dataAdmissao"
                            ],
                            "badgePropertyPaths": [
                              "departamentoNome"
                            ],
                            "fields": [
                              {
                                "propertyPath": "cargoNome",
                                "label": "Cargo",
                                "icon": "work",
                                "presentation": "text"
                              },
                              {
                                "propertyPath": "departamentoNome",
                                "label": "Departamento",
                                "icon": "groups",
                                "presentation": "chip",
                                "tone": "info"
                              },
                              {
                                "propertyPath": "dataAdmissao",
                                "label": "Admissao",
                                "icon": "event",
                                "presentation": "date",
                                "tone": "success",
                                "format": "date"
                              }
                            ],
                            "showAvatar": true,
                            "showCode": false,
                            "showDescription": true,
                            "showStatus": true,
                            "showBadges": true,
                            "showResultCount": false
                          }
                        },
                        "actions": {
                          "showDetail": true,
                          "showChange": true,
                          "showCopyCode": true,
                          "showClear": true
                        },
                        "detailActionLabel": "Detalhe",
                        "changeActionLabel": "Trocar",
                        "copyCodeActionLabel": "Copiar ID",
                        "clearActionLabel": "Limpar"
                      }
                    ],
                    "actions": {
                      "submit": {
                        "id": "submit-employee-lookup",
                        "label": "Enviar",
                        "icon": "send",
                        "visible": true,
                        "type": "submit"
                      },
                      "reset": {
                        "id": "reset-employee-lookup",
                        "label": "Limpar",
                        "visible": true,
                        "type": "reset"
                      },
                      "position": "right",
                      "placement": "afterSections"
                    },
                    "submit": {
                      "method": "post",
                      "url": "/api/human-resources/funcionarios"
                    }
                  }
                },
                "outputs": {
                  "formSubmit": "emit",
                  "valueChange": "emit"
                }
              }
            },
            {
              "key": "employeeSelectedDetail",
              "shell": {
                "kind": "dashboard-card",
                "icon": "open_in_new",
                "title": "Detalhe do selecionado",
                "subtitle": "surface.open em modal para a entidade escolhida"
              },
              "definition": {
                "id": "praxis-list",
                "bindingOrder": [
                  "listId",
                  "config"
                ],
                "inputs": {
                  "listId": "employee-selected-detail-launcher",
                  "componentInstanceId": "dynamic-page-showcase",
                  "config": {
                    "id": "employee-selected-detail-launcher-config",
                    "dataSource": {
                      "data": [
                        {
                          "id": 194,
                          "icon": "badge",
                          "title": "Sol Drax",
                          "subtitle": "Agente de Segurança - Black Mesa - Segurança",
                          "meta": "ID 194",
                          "state": "Ativo"
                        }
                      ]
                    },
                    "layout": {
                      "variant": "cards",
                      "density": "comfortable",
                      "lines": 3,
                      "dividers": "none",
                      "pageSize": 1
                    },
                    "templating": {
                      "leading": {
                        "type": "icon",
                        "expr": "${item.icon}"
                      },
                      "primary": {
                        "type": "text",
                        "expr": "${item.title}"
                      },
                      "secondary": {
                        "type": "text",
                        "expr": "${item.subtitle}"
                      },
                      "meta": {
                        "type": "chip",
                        "expr": "${item.meta}",
                        "variant": "outlined"
                      },
                      "trailing": {
                        "type": "chip",
                        "expr": "${item.state}",
                        "variant": "filled"
                      },
                      "features": [
                        {
                          "type": "chip",
                          "expr": "surface.open",
                          "variant": "outlined"
                        },
                        {
                          "type": "chip",
                          "expr": "praxis-dynamic-form",
                          "variant": "outlined"
                        }
                      ],
                      "featuresMode": "labels-only"
                    },
                    "actions": [
                      {
                        "id": "open-selected-employee-detail",
                        "icon": "open_in_new",
                        "label": "Abrir detalhe",
                        "kind": "button",
                        "buttonVariant": "stroked",
                        "globalAction": {
                          "actionId": "surface.open",
                          "payload": {
                            "presentation": "modal",
                            "title": "Detalhe do funcionario",
                            "icon": "badge",
                            "subtitle": "Surface item-level aberta a partir do Entity Lookup",
                            "size": {
                              "width": "760px",
                              "maxWidth": "92vw",
                              "height": "580px",
                              "maxHeight": "86vh"
                            },
                            "widget": {
                              "id": "praxis-list",
                              "bindingOrder": [
                                "listId",
                                "config"
                              ],
                              "inputs": {
                                "listId": "selected-employee-detail-modal",
                                "config": {
                                  "id": "selected-employee-detail-modal-config",
                                  "dataSource": {
                                    "data": [
                                      {
                                        "id": "nome",
                                        "icon": "person",
                                        "title": "Nome",
                                        "value": "Sol Drax",
                                        "group": "Identidade"
                                      },
                                      {
                                        "id": "cargo",
                                        "icon": "work",
                                        "title": "Cargo",
                                        "value": "Agente de Segurança",
                                        "group": "Alocacao"
                                      },
                                      {
                                        "id": "departamento",
                                        "icon": "groups",
                                        "title": "Departamento",
                                        "value": "Black Mesa - Segurança",
                                        "group": "Alocacao"
                                      },
                                      {
                                        "id": "admissao",
                                        "icon": "event",
                                        "title": "Admissao",
                                        "value": "13/06/2022",
                                        "group": "Historico"
                                      },
                                      {
                                        "id": "status",
                                        "icon": "check_circle",
                                        "title": "Status",
                                        "value": "Ativo",
                                        "group": "Governanca"
                                      }
                                    ]
                                  },
                                  "layout": {
                                    "variant": "list",
                                    "density": "comfortable",
                                    "lines": 2,
                                    "dividers": "between",
                                    "groupBy": "group",
                                    "pageSize": 8
                                  },
                                  "templating": {
                                    "leading": {
                                      "type": "icon",
                                      "expr": "${item.icon}"
                                    },
                                    "primary": {
                                      "type": "text",
                                      "expr": "${item.title}"
                                    },
                                    "secondary": {
                                      "type": "text",
                                      "expr": "${item.value}"
                                    },
                                    "meta": {
                                      "type": "chip",
                                      "expr": "${item.group}",
                                      "variant": "outlined"
                                    },
                                    "sectionHeader": {
                                      "type": "text",
                                      "expr": "${key}"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "emitLocal": false,
                        "showLoading": true,
                        "placement": "trailing"
                      }
                    ],
                    "ui": {
                      "showSearch": false,
                      "showSort": false,
                      "showRange": false
                    }
                  }
                },
                "outputs": {
                  "itemClick": "emit",
                  "actionClick": "emit"
                }
              }
            },
            {
              "key": "employeeLookupContract",
              "shell": {
                "kind": "dashboard-card",
                "icon": "schema",
                "title": "Contrato do lookup",
                "subtitle": "Semantica do backend materializada pelo runtime"
              },
              "definition": {
                "id": "praxis-list",
                "bindingOrder": [
                  "listId",
                  "config"
                ],
                "inputs": {
                  "listId": "employee-entity-lookup-contract-checklist",
                  "config": {
                    "id": "employee-entity-lookup-contract-checklist-config",
                    "dataSource": {
                      "data": [
                        {
                          "id": "schema",
                          "icon": "schema",
                          "title": "/schemas/filtered",
                          "detail": "Publica x-ui.optionSource para o campo de funcionario.",
                          "state": "Contrato"
                        },
                        {
                          "id": "search",
                          "icon": "search",
                          "title": "options/filter",
                          "detail": "Busca paginada por nome, cargo ou departamento.",
                          "state": "Busca"
                        },
                        {
                          "id": "rehydrate",
                          "icon": "restart_alt",
                          "title": "options/by-ids",
                          "detail": "Reidrata valores salvos sem trocar o payload canonico.",
                          "state": "Reidratacao"
                        },
                        {
                          "id": "surface",
                          "icon": "open_in_new",
                          "title": "detail.kind = surface",
                          "detail": "Abre detalhe por surface do recurso, nao por rota do host.",
                          "state": "Detalhe"
                        }
                      ]
                    },
                    "layout": {
                      "variant": "list",
                      "density": "compact",
                      "lines": 2,
                      "dividers": "between",
                      "pageSize": 4
                    },
                    "templating": {
                      "leading": {
                        "type": "icon",
                        "expr": "${item.icon}"
                      },
                      "primary": {
                        "type": "text",
                        "expr": "${item.title}"
                      },
                      "secondary": {
                        "type": "text",
                        "expr": "${item.detail}"
                      },
                      "trailing": {
                        "type": "chip",
                        "expr": "${item.state}",
                        "variant": "outlined"
                      }
                    }
                  }
                }
              }
            },
            {
              "key": "employeeTable",
              "shell": {
                "kind": "dashboard-card",
                "icon": "table_view",
                "title": "Funcionarios",
                "subtitle": "Tabela remota para conferir o ID selecionado contra o recurso real"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath"
                ],
                "inputs": {
                  "resourcePath": "human-resources/funcionarios",
                  "tableId": "employee-entity-lookup-workspace-table",
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Funcionarios",
                      "subtitle": "O lookup mostra a pessoa; a persistencia guarda o ID canonico.",
                      "actions": [
                        {
                          "id": "inspect-surfaces",
                          "action": "inspect-surfaces",
                          "label": "Surfaces",
                          "icon": "layers",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 90,
                          "tooltip": "Inspect published resource surfaces",
                          "discovery": {
                            "rel": "surfaces",
                            "scope": "resource",
                            "resourcePath": "human-resources/funcionarios",
                            "resourceKey": "human-resources.funcionarios"
                          }
                        },
                        {
                          "id": "inspect-actions",
                          "action": "inspect-actions",
                          "label": "Actions",
                          "icon": "bolt",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 100,
                          "tooltip": "Inspect published resource actions and capabilities",
                          "discovery": {
                            "rel": "actions",
                            "scope": "resource",
                            "resourcePath": "human-resources/funcionarios",
                            "resourceKey": "human-resources.funcionarios"
                          }
                        }
                      ]
                    },
                    "columns": [
                      {
                        "field": "id",
                        "header": "ID",
                        "type": "string",
                        "width": "88px",
                        "sticky": "start",
                        "renderer": {
                          "type": "badge",
                          "badge": {
                            "textField": "id",
                            "icon": "tag",
                            "color": "primary",
                            "variant": "soft"
                          }
                        }
                      },
                      {
                        "field": "nomeCompleto",
                        "header": "Nome",
                        "type": "string",
                        "width": "220px"
                      },
                      {
                        "field": "cargoNome",
                        "header": "Cargo",
                        "type": "string",
                        "width": "200px"
                      },
                      {
                        "field": "departamentoNome",
                        "header": "Departamento",
                        "type": "string",
                        "width": "220px",
                        "renderer": {
                          "type": "chip",
                          "chip": {
                            "textField": "departamentoNome",
                            "variant": "outlined",
                            "color": "primary"
                          }
                        }
                      },
                      {
                        "field": "dataAdmissao",
                        "header": "Admissao",
                        "type": "date",
                        "format": "dd/MM/yyyy",
                        "width": "140px"
                      },
                      {
                        "field": "ativo",
                        "header": "Status",
                        "type": "boolean",
                        "align": "center",
                        "width": "130px",
                        "conditionalRenderers": [
                          {
                            "condition": {
                              "==": [
                                {
                                  "var": "ativo"
                                },
                                true
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "text": "Ativo",
                                "color": "success",
                                "variant": "filled",
                                "icon": "check_circle"
                              }
                            }
                          },
                          {
                            "condition": {
                              "==": [
                                {
                                  "var": "ativo"
                                },
                                false
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "text": "Inativo",
                                "color": "warn",
                                "variant": "outlined",
                                "icon": "block"
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      }
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "toolbarAction": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "procurement-entity-lookup-workspace",
      "title": "Option sources - cascading decision cockpit",
      "summary": "Composes purchase-order decisions with cascading option sources, governed lookups, runtime evidence and persisted canonical IDs.",
      "i18n": {
        "pt": {
          "title": "Option sources - cockpit de decisão em cascata",
          "summary": "Compõe decisões de compra com option sources em cascata, lookups governados, evidência de runtime e IDs canônicos persistidos.",
          "demonstrates": [
            "Explore Option sources - cockpit de decisão em cascata e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-dynamic-form materializa procurement/purchase-orders com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Compõe decisões de compra com option sources em cascata, lookups governados, evidência de runtime e IDs canônicos persistidos.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas purchase-orders&operation=post&schemaType=request e filter."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/procurement-entity-lookup-workspace",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/procurement-entity-lookup-workspace",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-dynamic-form",
      "resourcePath": "procurement/purchase-orders",
      "resourceKey": "procurement.purchase-orders",
      "requires": [
        "schemas.filtered",
        "filter",
        "entityLookup",
        "optionSource",
        "dependent-fields",
        "runtime-trace",
        "widget:rich-text-block",
        "remote-data",
        "capabilities"
      ],
      "tags": [
        "form",
        "entity-lookup",
        "option-source",
        "cascading",
        "procurement",
        "decision-cockpit",
        "table",
        "quickstart",
        "ai-recipe"
      ],
      "demonstrates": [
        "Create form fields hydrated from /schemas/filtered request metadata without a resourceId",
        "Company to supplier to contract to product lookup cascade using optionSource.dependsOn",
        "Immediate child reloads and resetOnDependentChange when a parent lookup changes",
        "Disabled options and retained historical values governed by selectionPolicy",
        "Entity lookup rows carrying label, code, description, status, disabled reason and detail navigation metadata",
        "Runtime evidence for endpoint, dependencyFields, identity-map omission and by-ids rehydration",
        "Purchase order table beside the form so agents can compare submitted IDs with loaded resource rows"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "schema-driven-form",
        "dynamic-fields.entityLookup",
        "x-ui.optionSource",
        "optionSource.dependsOn",
        "optionSource.dependencyFilterMap-policy",
        "optionSource.selectionPolicy",
        "dependencyLoadOnChange.immediate",
        "resetOnDependentChange",
        "optionSource.byIds",
        "remote-filter",
        "capabilities"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered?path=/api/procurement/purchase-orders&operation=post&schemaType=request",
        "POST /api/procurement/purchase-orders/filter",
        "GET /api/procurement/purchase-orders/capabilities",
        "POST /api/procurement/companies/option-sources/company/options/filter",
        "GET /api/procurement/companies/option-sources/company/options/by-ids",
        "POST /api/procurement/suppliers/option-sources/supplier/options/filter",
        "POST /api/procurement/suppliers/option-sources/supplier/options/by-ids",
        "POST /api/procurement/contracts/option-sources/contract/options/filter",
        "POST /api/procurement/contracts/option-sources/contract/options/by-ids",
        "POST /api/procurement/products/option-sources/product/options/filter",
        "POST /api/procurement/products/option-sources/product/options/by-ids"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "productivity",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-dynamic-form-rendered",
          "entity-lookup-fields-rendered",
          "dependent-option-source-contract-declared",
          "runtime-evidence-widget-rendered",
          "purchase-orders-filter-response"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "The quickstart schema publishes entityLookup controls with optionSource metadata for company, supplier, contract and product.",
          "The runtime keeps the submitted payload as stable IDs while the lookup endpoints provide display, status, disabled reason and navigation metadata.",
          "Identity dependencyFilterMap entries are intentionally omitted: when the backend filter key equals the UI field, dependsOn is sufficient."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-form.entity-lookup-procurement.json",
        "praxis-ui-landing-page/src/app/data/guides/cascading-option-sources.md",
        "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/procurement/controller/ProcurementPurchaseOrderController.java"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/procurement-entity-lookup-workspace.json",
      "documentation": {
        "story": {
          "pt": "Uma pessoa compradora precisa montar um pedido em que empresa restringe fornecedor, fornecedor restringe contrato e contrato restringe produto. Seleções antigas não podem sobreviver quando o contexto comercial muda, nem labels podem substituir as identidades persistidas.",
          "en": "A buyer needs to compose an order where company constrains supplier, supplier constrains contract and contract constrains product. Stale selections must not survive a commercial-context change, and labels must not replace persisted identities."
        },
        "outcome": {
          "pt": "Quatro Entity Lookups executam dependências e políticas de status declaradas, o trace explica o encadeamento e a tabela remota evidencia os IDs gravados. Falhas de coluna ou rede permanecem visíveis como falhas de integração, não como dados locais silenciosos.",
          "en": "Four Entity Lookups execute declared dependencies and status policies, the trace explains the chain and the remote table exposes persisted IDs. Column or network failures remain visible as integration failures rather than silent local data."
        },
        "componentRoles": [
          {
            "component": "praxis-dynamic-form",
            "jsonPath": "page.widgets[purchaseOrderForm].definition.inputs.config.fieldMetadata",
            "role": {
              "pt": "Coordena quatro lookups em cascata e os demais campos do pedido.",
              "en": "Coordinates four cascading lookups and the remaining purchase-order fields."
            },
            "rationale": {
              "pt": "Mantém dependências e limpeza de escolhas obsoletas no contrato do formulário, sem listeners da rota.",
              "en": "Keeps dependencies and stale-choice clearing in the form contract without route listeners."
            }
          },
          {
            "component": "widget:rich-text-block",
            "jsonPath": "page.widgets[cascadeRuntimeTrace].definition.inputs",
            "role": {
              "pt": "Explica quais dependências o mapper executa e quando dependencyFilterMap é realmente necessário.",
              "en": "Explains which dependencies the mapper executes and when dependencyFilterMap is actually needed."
            },
            "rationale": {
              "pt": "Torna o comportamento inspecionável sem duplicar a regra no componente editorial.",
              "en": "Makes behavior inspectable without duplicating the rule in the editorial component."
            }
          },
          {
            "component": "praxis-table",
            "jsonPath": "page.widgets[purchaseOrdersTable].definition.inputs",
            "role": {
              "pt": "Consulta pedidos remotos e evidencia os IDs persistidos pelo backend.",
              "en": "Queries remote purchase orders and exposes IDs persisted by the backend."
            },
            "rationale": {
              "pt": "Fecha a história entre escolha rica e representação armazenada, preservando falhas reais de integração.",
              "en": "Closes the story between rich selection and stored representation while preserving real integration failures."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.config.fieldMetadata[companyId].optionSource",
            "title": {
              "pt": "Raiz da cascata",
              "en": "Cascade root"
            },
            "explanation": {
              "pt": "Empresa não depende de outro campo e inicia o contexto comercial com status ACTIVE.",
              "en": "Company has no parent dependency and starts the commercial context with ACTIVE status."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata[supplierId|contractId|productId].optionSource.dependsOn",
            "title": {
              "pt": "Dependências declaradas",
              "en": "Declared dependencies"
            },
            "explanation": {
              "pt": "Cada lookup publica os IDs que restringem sua busca; nomes coincidentes dispensam mapping adicional.",
              "en": "Each lookup publishes the IDs constraining its search; matching names do not require an additional mapping."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata[].resetOnDependentChange",
            "title": {
              "pt": "Limpeza de estado obsoleto",
              "en": "Stale-state clearing"
            },
            "explanation": {
              "pt": "Mudanças no ancestral limpam escolhas filhas antes de recarregar opções compatíveis.",
              "en": "Ancestor changes clear child choices before compatible options reload."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata[].optionSource.selectionPolicy",
            "title": {
              "pt": "Política por entidade",
              "en": "Per-entity policy"
            },
            "explanation": {
              "pt": "Empresa, fornecedor, contrato e produto têm estados aceitos e bloqueados próprios, publicados como metadata.",
              "en": "Company, supplier, contract and product each have metadata-published accepted and blocked states."
            }
          },
          {
            "jsonPath": "page.widgets[cascadeRuntimeTrace]",
            "title": {
              "pt": "Trace explicativo",
              "en": "Explanatory trace"
            },
            "explanation": {
              "pt": "Documenta a execução observável sem se tornar fonte das dependências.",
              "en": "Documents observable execution without becoming the source of dependencies."
            }
          },
          {
            "jsonPath": "page.widgets[purchaseOrdersTable].definition.inputs.resourcePath",
            "title": {
              "pt": "Resultado persistido",
              "en": "Persisted result"
            },
            "explanation": {
              "pt": "Consulta procurement/purchase-orders remotamente; erro de schema ou rede deve aparecer como falha recuperável.",
              "en": "Queries procurement/purchase-orders remotely; schema or network errors must appear as recoverable failures."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Troque companyId e acompanhe supplierId, contractId e productId sendo limpos e recarregados na ordem.",
            "en": "Change companyId and follow supplierId, contractId and productId as they clear and reload in order."
          },
          {
            "pt": "Remova resetOnDependentChange de um filho e observe por que preservar uma seleção incompatível produz um pedido ambíguo.",
            "en": "Remove resetOnDependentChange from a child and observe why preserving an incompatible choice creates an ambiguous order."
          },
          {
            "pt": "Compare os cards do lookup com a tabela final para distinguir display rico de identidade persistida.",
            "en": "Compare lookup cards with the final table to distinguish rich display from persisted identity."
          }
        ],
        "productionNotes": [
          {
            "pt": "dependsOn faz grounding de filtros depois que a intenção da superfície já está resolvida; não é roteamento textual de intenção.",
            "en": "dependsOn grounds filters after surface intent is resolved; it is not textual intent routing."
          },
          {
            "pt": "Políticas de status orientam seleção, mas o comando final deve autorizar e revalidar empresa, contrato, produto e preço no backend.",
            "en": "Status policies guide selection, but the final command must authorize and revalidate company, contract, product and price in the backend."
          },
          {
            "pt": "Falha da tabela não deve acionar fixture automática; carregamento, vazio, contrato inválido e indisponibilidade têm diagnósticos distintos.",
            "en": "Table failure must not trigger an automatic fixture; loading, empty, invalid contract and unavailability have distinct diagnostics."
          }
        ]
      },
      "envelope": {
        "id": "procurement-entity-lookup-workspace",
        "title": "Option sources - cascading decision cockpit",
        "summary": "Composes purchase-order decisions with cascading option sources, governed lookups, runtime evidence and persisted canonical IDs.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-dynamic-form",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "procurement/purchase-orders",
          "resourceKey": "procurement.purchase-orders"
        },
        "requires": [
          "schemas.filtered",
          "filter",
          "entityLookup",
          "optionSource",
          "dependent-fields",
          "runtime-trace",
          "widget:rich-text-block",
          "remote-data",
          "capabilities"
        ],
        "tags": [
          "form",
          "entity-lookup",
          "option-source",
          "cascading",
          "procurement",
          "decision-cockpit",
          "table",
          "quickstart",
          "ai-recipe"
        ],
        "demonstrates": [
          "Create form fields hydrated from /schemas/filtered request metadata without a resourceId",
          "Company to supplier to contract to product lookup cascade using optionSource.dependsOn",
          "Immediate child reloads and resetOnDependentChange when a parent lookup changes",
          "Disabled options and retained historical values governed by selectionPolicy",
          "Entity lookup rows carrying label, code, description, status, disabled reason and detail navigation metadata",
          "Runtime evidence for endpoint, dependencyFields, identity-map omission and by-ids rehydration",
          "Purchase order table beside the form so agents can compare submitted IDs with loaded resource rows"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "schema-driven-form",
          "dynamic-fields.entityLookup",
          "x-ui.optionSource",
          "optionSource.dependsOn",
          "optionSource.dependencyFilterMap-policy",
          "optionSource.selectionPolicy",
          "dependencyLoadOnChange.immediate",
          "resetOnDependentChange",
          "optionSource.byIds",
          "remote-filter",
          "capabilities"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered?path=/api/procurement/purchase-orders&operation=post&schemaType=request",
          "POST /api/procurement/purchase-orders/filter",
          "GET /api/procurement/purchase-orders/capabilities",
          "POST /api/procurement/companies/option-sources/company/options/filter",
          "GET /api/procurement/companies/option-sources/company/options/by-ids",
          "POST /api/procurement/suppliers/option-sources/supplier/options/filter",
          "POST /api/procurement/suppliers/option-sources/supplier/options/by-ids",
          "POST /api/procurement/contracts/option-sources/contract/options/filter",
          "POST /api/procurement/contracts/option-sources/contract/options/by-ids",
          "POST /api/procurement/products/option-sources/product/options/filter",
          "POST /api/procurement/products/option-sources/product/options/by-ids"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-dynamic-form-rendered",
            "entity-lookup-fields-rendered",
            "dependent-option-source-contract-declared",
            "runtime-evidence-widget-rendered",
            "purchase-orders-filter-response"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "The quickstart schema publishes entityLookup controls with optionSource metadata for company, supplier, contract and product.",
            "The runtime keeps the submitted payload as stable IDs while the lookup endpoints provide display, status, disabled reason and navigation metadata.",
            "Identity dependencyFilterMap entries are intentionally omitted: when the backend filter key equals the UI field, dependsOn is sufficient."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-form.entity-lookup-procurement.json",
          "praxis-ui-landing-page/src/app/data/guides/cascading-option-sources.md",
          "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/procurement/controller/ProcurementPurchaseOrderController.java"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 3,
            "gap": "16px"
          },
          "deviceLayouts": {
            "desktop": {
              "layout": {
                "orientation": "columns",
                "columns": 3,
                "gap": "16px"
              },
              "widgetOverrides": {
                "purchaseOrderForm": {
                  "order": 10,
                  "span": 2
                },
                "cascadeRuntimeTrace": {
                  "order": 20,
                  "span": 1
                },
                "purchaseOrdersTable": {
                  "order": 30,
                  "span": 3
                }
              }
            },
            "tablet": {
              "layout": {
                "orientation": "columns",
                "columns": 1,
                "gap": "16px"
              }
            },
            "mobile": {
              "layout": {
                "orientation": "columns",
                "columns": 1,
                "gap": "16px"
              }
            }
          },
          "widgets": [
            {
              "key": "purchaseOrderForm",
              "shell": {
                "kind": "dashboard-card",
                "icon": "account_tree",
                "title": "Purchase order cascade",
                "subtitle": "Company, supplier, contract and product from optionSource metadata"
              },
              "definition": {
                "id": "praxis-dynamic-form",
                "bindingOrder": [
                  "config",
                  "apiUrlEntry",
                  "formId",
                  "initialValue"
                ],
                "inputs": {
                  "formId": "procurement-purchase-order-entity-lookup",
                  "apiUrlEntry": {
                    "fullUrl": "https://praxis-api-quickstart.onrender.com/api"
                  },
                  "mode": "create",
                  "initialValue": {
                    "companyId": 1,
                    "supplierId": 10,
                    "contractId": 20,
                    "productId": 30,
                    "orderDate": "2026-04-15",
                    "currency": "BRL",
                    "quantity": 2
                  },
                  "config": {
                    "metadata": {
                      "name": "Purchase order entity lookup request",
                      "version": "1.0.0"
                    },
                    "sections": [
                      {
                        "id": "commercial-context",
                        "title": "Commercial context",
                        "description": "Choose the company first; downstream entity lookups receive dependency filters from form state.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "commercial-context-row",
                            "columns": [
                              {
                                "id": "company-column",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "companyId",
                                  "orderDate"
                                ]
                              },
                              {
                                "id": "currency-column",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "currency",
                                  "quantity"
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "id": "purchase-entities",
                        "title": "Purchase entities",
                        "description": "Supplier, contract and product are governed RESOURCE_ENTITY lookups with status policy and detail navigation metadata.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "purchase-entities-row-1",
                            "columns": [
                              {
                                "id": "supplier-column",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "supplierId"
                                ]
                              },
                              {
                                "id": "contract-column",
                                "span": {
                                  "md": 6,
                                  "lg": 6
                                },
                                "fields": [
                                  "contractId"
                                ]
                              }
                            ]
                          },
                          {
                            "id": "purchase-entities-row-2",
                            "columns": [
                              {
                                "id": "product-column",
                                "span": {
                                  "md": 12,
                                  "lg": 12
                                },
                                "fields": [
                                  "productId"
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ],
                    "fieldMetadata": [
                      {
                        "name": "companyId",
                        "label": "Empresa",
                        "controlType": "entityLookup",
                        "required": true,
                        "endpoint": "/api/procurement/companies/option-sources/company/options/filter",
                        "displayField": "label",
                        "valueField": "id",
                        "optionSource": {
                          "key": "company",
                          "type": "RESOURCE_ENTITY",
                          "entityKey": "company",
                          "resourcePath": "/api/procurement/companies",
                          "valuePropertyPath": "id",
                          "labelPropertyPath": "legalName",
                          "codePropertyPath": "code",
                          "descriptionPropertyPaths": [
                            "documentNumber",
                            "city",
                            "state"
                          ],
                          "statusPropertyPath": "status",
                          "disabledReasonPropertyPath": "disabledReason",
                          "searchPropertyPaths": [
                            "code",
                            "legalName",
                            "documentNumber"
                          ],
                          "searchMode": "contains",
                          "pageSize": 25,
                          "includeIds": true,
                          "selectionPolicy": {
                            "statusPropertyPath": "status",
                            "allowedStatuses": [
                              "ACTIVE"
                            ],
                            "blockedStatuses": [
                              "INACTIVE",
                              "BLOCKED"
                            ],
                            "allowRetainInvalidExistingValue": true
                          },
                          "capabilities": {
                            "filter": true,
                            "byIds": true,
                            "detail": true,
                            "navigateToDetail": true,
                            "auditSnapshot": true
                          },
                          "detail": {
                            "hrefTemplate": "/api/procurement/companies/{id}",
                            "routeTemplate": "/procurement/companies/{id}",
                            "openDetailMode": "route"
                          }
                        }
                      },
                      {
                        "name": "supplierId",
                        "label": "Fornecedor",
                        "controlType": "entityLookup",
                        "required": true,
                        "endpoint": "/api/procurement/suppliers/option-sources/supplier/options/filter",
                        "displayField": "label",
                        "valueField": "id",
                        "dependentField": "companyId",
                        "dependencyLoadOnChange": "immediate",
                        "resetOnDependentChange": true,
                        "optionSource": {
                          "key": "supplier",
                          "type": "RESOURCE_ENTITY",
                          "entityKey": "supplier",
                          "resourcePath": "/api/procurement/suppliers",
                          "filterField": "supplierId",
                          "dependsOn": [
                            "companyId"
                          ],
                          "valuePropertyPath": "id",
                          "labelPropertyPath": "legalName",
                          "codePropertyPath": "code",
                          "descriptionPropertyPaths": [
                            "documentNumber",
                            "homologationStatus",
                            "riskLevel"
                          ],
                          "statusPropertyPath": "status",
                          "disabledReasonPropertyPath": "disabledReason",
                          "searchPropertyPaths": [
                            "code",
                            "legalName",
                            "documentNumber"
                          ],
                          "searchMode": "contains",
                          "pageSize": 25,
                          "includeIds": true,
                          "selectionPolicy": {
                            "statusPropertyPath": "status",
                            "allowedStatuses": [
                              "ACTIVE",
                              "APPROVED"
                            ],
                            "blockedStatuses": [
                              "INACTIVE",
                              "BLOCKED"
                            ],
                            "allowRetainInvalidExistingValue": true
                          },
                          "capabilities": {
                            "filter": true,
                            "byIds": true,
                            "detail": true,
                            "navigateToDetail": true,
                            "auditSnapshot": true
                          },
                          "detail": {
                            "hrefTemplate": "/api/procurement/suppliers/{id}",
                            "routeTemplate": "/procurement/suppliers/{id}",
                            "openDetailMode": "route"
                          }
                        }
                      },
                      {
                        "name": "contractId",
                        "label": "Contrato",
                        "controlType": "entityLookup",
                        "endpoint": "/api/procurement/contracts/option-sources/contract/options/filter",
                        "displayField": "label",
                        "valueField": "id",
                        "dependentField": "supplierId",
                        "dependencyLoadOnChange": "immediate",
                        "resetOnDependentChange": true,
                        "optionSource": {
                          "key": "contract",
                          "type": "RESOURCE_ENTITY",
                          "entityKey": "contract",
                          "resourcePath": "/api/procurement/contracts",
                          "filterField": "contractId",
                          "dependsOn": [
                            "companyId",
                            "supplierId"
                          ],
                          "valuePropertyPath": "id",
                          "labelPropertyPath": "number",
                          "descriptionPropertyPaths": [
                            "supplierName",
                            "validUntil",
                            "currency"
                          ],
                          "statusPropertyPath": "status",
                          "disabledReasonPropertyPath": "disabledReason",
                          "searchPropertyPaths": [
                            "number",
                            "supplierName",
                            "currency"
                          ],
                          "searchMode": "contains",
                          "pageSize": 25,
                          "includeIds": true,
                          "selectionPolicy": {
                            "statusPropertyPath": "status",
                            "allowedStatuses": [
                              "ACTIVE",
                              "SIGNED"
                            ],
                            "blockedStatuses": [
                              "EXPIRED",
                              "CANCELLED"
                            ],
                            "allowRetainInvalidExistingValue": true
                          },
                          "capabilities": {
                            "filter": true,
                            "byIds": true,
                            "detail": true,
                            "navigateToDetail": true,
                            "auditSnapshot": true
                          },
                          "detail": {
                            "hrefTemplate": "/api/procurement/contracts/{id}",
                            "routeTemplate": "/procurement/contracts/{id}",
                            "openDetailMode": "route"
                          }
                        }
                      },
                      {
                        "name": "productId",
                        "label": "Produto",
                        "controlType": "entityLookup",
                        "required": true,
                        "endpoint": "/api/procurement/products/option-sources/product/options/filter",
                        "displayField": "label",
                        "valueField": "id",
                        "dependentField": "contractId",
                        "dependencyLoadOnChange": "immediate",
                        "resetOnDependentChange": true,
                        "optionSource": {
                          "key": "product",
                          "type": "RESOURCE_ENTITY",
                          "entityKey": "product",
                          "resourcePath": "/api/procurement/products",
                          "filterField": "productId",
                          "dependsOn": [
                            "companyId",
                            "contractId"
                          ],
                          "valuePropertyPath": "id",
                          "labelPropertyPath": "name",
                          "codePropertyPath": "sku",
                          "descriptionPropertyPaths": [
                            "categoryName",
                            "stockAvailable",
                            "unitOfMeasure"
                          ],
                          "statusPropertyPath": "status",
                          "disabledReasonPropertyPath": "disabledReason",
                          "searchPropertyPaths": [
                            "sku",
                            "name",
                            "categoryName"
                          ],
                          "searchMode": "contains",
                          "pageSize": 25,
                          "includeIds": true,
                          "selectionPolicy": {
                            "statusPropertyPath": "status",
                            "allowedStatuses": [
                              "ACTIVE",
                              "AVAILABLE"
                            ],
                            "blockedStatuses": [
                              "INACTIVE",
                              "BLOCKED"
                            ],
                            "allowRetainInvalidExistingValue": true
                          },
                          "capabilities": {
                            "filter": true,
                            "byIds": true,
                            "detail": true,
                            "navigateToDetail": true,
                            "auditSnapshot": true
                          },
                          "detail": {
                            "hrefTemplate": "/api/procurement/products/{id}",
                            "routeTemplate": "/procurement/products/{id}",
                            "openDetailMode": "route"
                          }
                        }
                      },
                      {
                        "name": "orderDate",
                        "label": "Data do pedido",
                        "controlType": "date"
                      },
                      {
                        "name": "currency",
                        "label": "Moeda",
                        "controlType": "select",
                        "options": [
                          {
                            "label": "BRL",
                            "value": "BRL"
                          },
                          {
                            "label": "USD",
                            "value": "USD"
                          }
                        ]
                      },
                      {
                        "name": "quantity",
                        "label": "Quantidade",
                        "controlType": "numericTextBox",
                        "validators": {
                          "min": 1
                        }
                      }
                    ],
                    "actions": {
                      "submit": {
                        "id": "submit-purchase-order",
                        "label": "Create purchase order",
                        "icon": "shopping_cart_checkout",
                        "visible": true,
                        "type": "submit"
                      },
                      "reset": {
                        "id": "reset-purchase-order",
                        "label": "Reset",
                        "visible": true,
                        "type": "reset"
                      },
                      "position": "right",
                      "placement": "afterSections"
                    },
                    "submit": {
                      "method": "post",
                      "url": "/api/procurement/purchase-orders"
                    }
                  }
                },
                "outputs": {
                  "formSubmit": "emit",
                  "valueChange": "emit"
                }
              }
            },
            {
              "key": "cascadeRuntimeTrace",
              "shell": {
                "kind": "dashboard-card",
                "icon": "route",
                "title": "Runtime trace",
                "subtitle": "Contract fields the Angular runtime executes"
              },
              "definition": {
                "id": "widget:rich-text-block",
                "inputs": {
                  "title": "Cascading option-source contract",
                  "content": "Supplier observes companyId and posts to /api/procurement/suppliers/option-sources/supplier/options/filter. Contract observes companyId and supplierId. Product observes companyId and contractId. The mapper derives dependencyFields from optionSource.dependsOn, immediate reloads refresh child options, resetOnDependentChange clears stale choices, and by-ids rehydrates the initial IDs without changing the submitted payload. Because these filters use the same field names as the UI, dependencyFilterMap is intentionally omitted; use it only for divergent keys such as universo -> universoContexto.",
                  "variant": "emphasis"
                }
              }
            },
            {
              "key": "purchaseOrdersTable",
              "shell": {
                "kind": "dashboard-card",
                "icon": "receipt_long",
                "title": "Purchase orders",
                "subtitle": "Remote filter table with the persisted entity IDs"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath"
                ],
                "inputs": {
                  "resourcePath": "procurement/purchase-orders",
                  "tableId": "procurement-purchase-orders-entity-lookup",
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Purchase orders",
                      "subtitle": "Compare lookup selections with saved canonical IDs",
                      "actions": [
                        {
                          "id": "inspect-surfaces",
                          "action": "inspect-surfaces",
                          "label": "Surfaces",
                          "icon": "layers",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 90,
                          "tooltip": "Inspect published resource surfaces",
                          "discovery": {
                            "rel": "surfaces",
                            "scope": "resource",
                            "resourcePath": "procurement/purchase-orders",
                            "resourceKey": "procurement.purchase-orders"
                          }
                        },
                        {
                          "id": "inspect-actions",
                          "action": "inspect-actions",
                          "label": "Actions",
                          "icon": "bolt",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 100,
                          "tooltip": "Inspect published resource actions and capabilities",
                          "discovery": {
                            "rel": "actions",
                            "scope": "resource",
                            "resourcePath": "procurement/purchase-orders",
                            "resourceKey": "procurement.purchase-orders"
                          }
                        }
                      ]
                    },
                    "columns": [
                      {
                        "field": "id",
                        "header": "ID",
                        "type": "number",
                        "width": "88px",
                        "sticky": "start"
                      },
                      {
                        "field": "companyId",
                        "header": "Company",
                        "type": "badge",
                        "width": "128px"
                      },
                      {
                        "field": "supplierId",
                        "header": "Supplier",
                        "type": "badge",
                        "width": "128px"
                      },
                      {
                        "field": "contractId",
                        "header": "Contract",
                        "type": "badge",
                        "width": "128px"
                      },
                      {
                        "field": "productId",
                        "header": "Product",
                        "type": "badge",
                        "width": "128px"
                      },
                      {
                        "field": "orderDate",
                        "header": "Order date",
                        "type": "date",
                        "width": "148px"
                      },
                      {
                        "field": "currency",
                        "header": "Currency",
                        "type": "chip",
                        "width": "120px"
                      },
                      {
                        "field": "quantity",
                        "header": "Qty",
                        "type": "number",
                        "align": "end",
                        "width": "96px"
                      }
                    ],
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      }
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "toolbarAction": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "files-upload-evidence-flow",
      "title": "Files Upload - evidence flow",
      "summary": "Frames file upload as a governed evidence intake flow with explicit policy, validation, metadata capture and host-owned API boundaries.",
      "i18n": {
        "pt": {
          "title": "Files Upload - fluxo de evidências",
          "summary": "Trata upload como fluxo governado de evidências com política, validação, metadata e fronteira explícita da API do host.",
          "demonstrates": [
            "Explore Files Upload - fluxo de evidências e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-files-upload materializa files/evidence com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Trata upload como fluxo governado de evidências com política, validação, metadata e fronteira explícita da API do host.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, praxis-files-upload.config, praxis-files-upload.baseUrl.",
            "Verifique a conexão com as evidências canônicas config e upload."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/files-upload-evidence-flow",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/files-upload-evidence-flow",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-files-upload",
      "resourcePath": "files/evidence",
      "resourceKey": "files.evidence",
      "requires": [
        "praxis-files-upload.config",
        "filesUploadId",
        "baseUrl",
        "upload.events",
        "upload.validation",
        "upload.metadata",
        "host-files-api"
      ],
      "tags": [
        "files-upload",
        "evidence",
        "validation",
        "metadata",
        "host-api",
        "events",
        "ai-recipe"
      ],
      "demonstrates": [
        "Host-owned files API boundary through baseUrl while the upload contract stays component-owned",
        "Direct strategy with manual upload, metadata form, conflict policy selector and progress feedback",
        "Client-side validation for file type, per-file size, batch size and batch count",
        "Backend-facing options for allowed extensions, MIME types, virus scanning and target directory",
        "Upload lifecycle outputs exposed to Dynamic Page: uploadStart, uploadProgress, uploadSuccess, bulkComplete and error"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "praxis-files-upload.config",
        "praxis-files-upload.baseUrl",
        "praxis-files-upload.validation",
        "praxis-files-upload.backend-options",
        "praxis-files-upload.bulk-policy",
        "praxis-files-upload.rateLimit",
        "praxis-files-upload.quotas",
        "widget:rich-text-block",
        "praxis-list.local-evidence-log"
      ],
      "backendSurfaces": [
        "Host files API: GET {baseUrl}/config",
        "Host files API: POST {baseUrl}/upload",
        "Host files API: POST {baseUrl}/bulk",
        "Host files API: POST {baseUrl}/upload/presign?filename=...",
        "praxis-ui-angular/projects/praxis-files-upload/docs/host-files-upload-integration.md",
        "praxis-ui-angular/projects/praxis-files-upload/src/lib/models/index.ts"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "productivity",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-files-upload-rendered",
          "upload-policy-visible",
          "evidence-context-rendered",
          "upload-events-declared"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the published quickstart currently does not expose a files controller.",
          "The baseUrl input is intentionally explicit: production hosts must provide a Praxis-compatible files API at that boundary.",
          "The component will fetch {baseUrl}/config when available and falls back to the local config if the host endpoint is absent."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.files-upload-evidence-flow.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-files-upload.json",
        "praxis-ui-angular/projects/praxis-files-upload/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/files-upload-evidence-flow.json",
      "documentation": {
        "story": {
          "pt": "Uma equipe de missão precisa receber evidências com tipo, tamanho, metadata, política de conflito e progresso explícitos. A landing demonstra a experiência e seus eventos, mas não finge possuir armazenamento, antivírus, quota ou autorização de arquivos.",
          "en": "A mission team needs to intake evidence with explicit type, size, metadata, conflict policy and progress. The landing demonstrates the experience and its events without pretending to own storage, malware scanning, quota or file authorization."
        },
        "outcome": {
          "pt": "Upload, orientação de política e checklist de revisão formam uma história coerente. O exemplo é deliberadamente local-only: seleção e validação de cliente são exploráveis, enquanto qualquer envio real depende de uma API de arquivos compatível fornecida pelo host em baseUrl.",
          "en": "Upload, policy guidance and the review checklist form one coherent story. The example is deliberately local-only: client selection and validation are explorable while any real transfer depends on a compatible host-provided files API at baseUrl."
        },
        "componentRoles": [
          {
            "component": "praxis-files-upload",
            "jsonPath": "page.widgets[missionEvidenceUpload].definition",
            "role": {
              "pt": "Materializa seleção, validação, fila, progresso, detalhes e eventos do upload.",
              "en": "Materializes upload selection, validation, queue, progress, details and events."
            },
            "rationale": {
              "pt": "Concentra o contrato cliente sem assumir armazenamento, autorização ou ciclo de vida final do arquivo.",
              "en": "Keeps the client contract together without assuming storage, authorization or final file lifecycle."
            }
          },
          {
            "component": "widget:rich-text-block",
            "jsonPath": "page.widgets[evidencePolicyNotes].definition.inputs",
            "role": {
              "pt": "Explica política e fronteiras do fluxo junto à área de envio.",
              "en": "Explains flow policy and boundaries beside the upload area."
            },
            "rationale": {
              "pt": "Evita que limites e responsabilidades fiquem escondidos em configuração técnica.",
              "en": "Prevents limits and responsibilities from remaining hidden in technical configuration."
            }
          },
          {
            "component": "praxis-list",
            "jsonPath": "page.widgets[evidenceReviewChecklist].definition.inputs.config",
            "role": {
              "pt": "Organiza o checklist de revisão posterior ao recebimento.",
              "en": "Organizes the review checklist after evidence intake."
            },
            "rationale": {
              "pt": "Mostra que upload entrega evidência para outro trabalho; não encerra aprovação ou retenção.",
              "en": "Shows that upload hands evidence to another job; it does not complete approval or retention."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.filesUploadId + componentInstanceId",
            "title": {
              "pt": "Identidade estável",
              "en": "Stable identity"
            },
            "explanation": {
              "pt": "Delimita persistência de configuração, eventos e instâncias repetidas sem depender do título.",
              "en": "Scopes config persistence, events and repeated instances without relying on the title."
            }
          },
          {
            "jsonPath": "definition.inputs.baseUrl",
            "title": {
              "pt": "Fronteira da API",
              "en": "API boundary"
            },
            "explanation": {
              "pt": "Declara /api/files como contrato esperado; a landing local não fornece esse backend.",
              "en": "Declares /api/files as the expected contract; the local landing does not provide that backend."
            }
          },
          {
            "jsonPath": "definition.inputs.config.ui + limits",
            "title": {
              "pt": "Entrada e limites",
              "en": "Intake and limits"
            },
            "explanation": {
              "pt": "Expõe dropzone, metadata, conflito, progresso, tipos, 10 MB por arquivo e 50 MB por lote antes do envio.",
              "en": "Exposes dropzone, metadata, conflict, progress, types, 10 MB per file and 50 MB per batch before transfer."
            }
          },
          {
            "jsonPath": "definition.inputs.config.options + bulk",
            "title": {
              "pt": "Contrato de execução",
              "en": "Execution contract"
            },
            "explanation": {
              "pt": "Declara diretório, scanning solicitado, paralelismo e retry; o serviço proprietário precisa aplicar a política final.",
              "en": "Declares directory, requested scanning, parallelism and retry; the owning service must enforce final policy."
            }
          },
          {
            "jsonPath": "definition.inputs.config.quotas + rateLimit",
            "title": {
              "pt": "Pressão operacional",
              "en": "Operational pressure"
            },
            "explanation": {
              "pt": "Modela feedback de quota e 429 sem transformar retry de cliente em garantia de aceite.",
              "en": "Models quota and 429 feedback without turning client retry into a guarantee of acceptance."
            }
          },
          {
            "jsonPath": "definition.outputs",
            "title": {
              "pt": "Eventos para o host",
              "en": "Events for the host"
            },
            "explanation": {
              "pt": "Publica início, progresso, sucesso, lote, erro, rate limit e ações sobre resultados para observabilidade e integração.",
              "en": "Publishes start, progress, success, bulk, error, rate-limit and result actions for observability and integration."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Selecione um tipo não aceito e um arquivo acima de 10 MB para diferenciar validação local de erro do backend.",
            "en": "Select an unsupported type and a file over 10 MB to distinguish local validation from a backend error."
          },
          {
            "pt": "Altere strategy entre direct e auto e relacione a mudança aos endpoints que o host precisa disponibilizar.",
            "en": "Change strategy between direct and auto and relate the change to endpoints the host must provide."
          },
          {
            "pt": "Reduza maxFilesPerBulk e parallelUploads e observe como política de lote muda sem alterar a identidade das evidências.",
            "en": "Reduce maxFilesPerBulk and parallelUploads and observe how batch policy changes without changing evidence identity."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este exemplo é local-only e não comprova upload bem-sucedido; produção exige API compatível, autenticação e headers confiáveis.",
            "en": "This example is local-only and does not prove successful upload; production requires a compatible API, authentication and trusted headers."
          },
          {
            "pt": "MIME, extensão, tamanho e scanning no cliente são defesa em profundidade; validação, malware, quota e autorização finais pertencem ao backend.",
            "en": "Client MIME, extension, size and scanning settings are defense in depth; final validation, malware, quota and authorization belong to the backend."
          },
          {
            "pt": "O host deve definir retenção, classificação, auditoria, descarte, download e acesso às evidências após o upload.",
            "en": "The host must define retention, classification, auditing, disposal, download and evidence access after upload."
          }
        ]
      },
      "envelope": {
        "id": "files-upload-evidence-flow",
        "title": "Files Upload - evidence flow",
        "summary": "Frames file upload as a governed evidence intake flow with explicit policy, validation, metadata capture and host-owned API boundaries.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-files-upload",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/files-upload"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "files/evidence",
          "resourceKey": "files.evidence"
        },
        "requires": [
          "praxis-files-upload.config",
          "filesUploadId",
          "baseUrl",
          "upload.events",
          "upload.validation",
          "upload.metadata",
          "host-files-api"
        ],
        "tags": [
          "files-upload",
          "evidence",
          "validation",
          "metadata",
          "host-api",
          "events",
          "ai-recipe"
        ],
        "demonstrates": [
          "Host-owned files API boundary through baseUrl while the upload contract stays component-owned",
          "Direct strategy with manual upload, metadata form, conflict policy selector and progress feedback",
          "Client-side validation for file type, per-file size, batch size and batch count",
          "Backend-facing options for allowed extensions, MIME types, virus scanning and target directory",
          "Upload lifecycle outputs exposed to Dynamic Page: uploadStart, uploadProgress, uploadSuccess, bulkComplete and error"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "praxis-files-upload.config",
          "praxis-files-upload.baseUrl",
          "praxis-files-upload.validation",
          "praxis-files-upload.backend-options",
          "praxis-files-upload.bulk-policy",
          "praxis-files-upload.rateLimit",
          "praxis-files-upload.quotas",
          "widget:rich-text-block",
          "praxis-list.local-evidence-log"
        ],
        "backendSurfaces": [
          "Host files API: GET {baseUrl}/config",
          "Host files API: POST {baseUrl}/upload",
          "Host files API: POST {baseUrl}/bulk",
          "Host files API: POST {baseUrl}/upload/presign?filename=...",
          "praxis-ui-angular/projects/praxis-files-upload/docs/host-files-upload-integration.md",
          "praxis-ui-angular/projects/praxis-files-upload/src/lib/models/index.ts"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-files-upload-rendered",
            "upload-policy-visible",
            "evidence-context-rendered",
            "upload-events-declared"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the published quickstart currently does not expose a files controller.",
            "The baseUrl input is intentionally explicit: production hosts must provide a Praxis-compatible files API at that boundary.",
            "The component will fetch {baseUrl}/config when available and falls back to the local config if the host endpoint is absent."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.files-upload-evidence-flow.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-files-upload.json",
          "praxis-ui-angular/projects/praxis-files-upload/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 2,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "missionEvidenceUpload",
              "shell": {
                "kind": "dashboard-card",
                "icon": "upload_file",
                "title": "Mission evidence intake",
                "subtitle": "Manual upload, metadata, validation and host API boundary"
              },
              "definition": {
                "id": "praxis-files-upload",
                "bindingOrder": [
                  "filesUploadId",
                  "baseUrl",
                  "displayMode",
                  "config",
                  "context"
                ],
                "inputs": {
                  "filesUploadId": "mission-evidence-upload",
                  "componentInstanceId": "dynamic-page-showcase",
                  "baseUrl": "/api/files",
                  "displayMode": "full",
                  "enableCustomization": true,
                  "context": {
                    "resourceKey": "operations.missoes",
                    "resourcePath": "operations/missoes",
                    "evidenceScope": "mission-review"
                  },
                  "config": {
                    "strategy": "direct",
                    "ui": {
                      "showDropzone": true,
                      "accept": [
                        "application/pdf",
                        "image/png",
                        "image/jpeg",
                        ".pdf",
                        ".png",
                        ".jpg"
                      ],
                      "dense": false,
                      "showConflictPolicySelector": true,
                      "showMetadataForm": true,
                      "showProgress": true,
                      "manualUpload": true,
                      "dropzone": {
                        "expandOnDragProximity": true,
                        "proximityPx": 96,
                        "expandMode": "inline",
                        "expandHeight": 180,
                        "expandDebounceMs": 120
                      },
                      "list": {
                        "collapseAfter": 4,
                        "detailsMode": "card",
                        "detailsShowTechnical": true,
                        "detailsFields": [
                          "id",
                          "fileName",
                          "contentType",
                          "fileSize",
                          "uploadedAt",
                          "scanStatus"
                        ]
                      }
                    },
                    "limits": {
                      "maxFileSizeBytes": 10485760,
                      "maxFilesPerBulk": 6,
                      "maxBulkSizeBytes": 52428800
                    },
                    "options": {
                      "defaultConflictPolicy": "MAKE_UNIQUE",
                      "strictValidation": true,
                      "maxUploadSizeMb": 10,
                      "allowedExtensions": [
                        "pdf",
                        "png",
                        "jpg",
                        "jpeg"
                      ],
                      "acceptMimeTypes": [
                        "application/pdf",
                        "image/png",
                        "image/jpeg"
                      ],
                      "targetDirectory": "mission-evidence",
                      "enableVirusScanning": true
                    },
                    "bulk": {
                      "failFast": false,
                      "parallelUploads": 2,
                      "retryCount": 2,
                      "retryBackoffMs": 600
                    },
                    "quotas": {
                      "showQuotaWarnings": true,
                      "blockOnExceed": true
                    },
                    "rateLimit": {
                      "autoRetryOn429": true,
                      "showBannerOn429": true,
                      "maxAutoRetry": 2,
                      "baseBackoffMs": 1000
                    },
                    "headers": {
                      "tenantHeader": "X-Tenant-Id",
                      "userHeader": "X-User-Id"
                    },
                    "messages": {
                      "successSingle": "Evidence uploaded and ready for review.",
                      "successBulk": "Evidence batch processed.",
                      "errors": {
                        "QUOTA_EXCEEDED": "Evidence quota reached for this mission.",
                        "TIPO_ARQUIVO_INVALIDO": "Only PDF, PNG and JPEG evidence is accepted.",
                        "FILE_TOO_LARGE": "Evidence file exceeds the 10 MB limit."
                      }
                    }
                  }
                },
                "outputs": {
                  "uploadStart": "emit",
                  "uploadProgress": "emit",
                  "uploadSuccess": "emit",
                  "bulkComplete": "emit",
                  "error": "emit",
                  "rateLimited": "emit",
                  "pendingStateChange": "emit",
                  "retry": "emit",
                  "download": "emit",
                  "copyLink": "emit",
                  "detailsOpened": "emit",
                  "detailsClosed": "emit"
                }
              }
            },
            {
              "key": "evidencePolicyNotes",
              "shell": {
                "kind": "dashboard-card",
                "icon": "policy",
                "title": "Evidence policy",
                "subtitle": "Host API contract and review rules"
              },
              "definition": {
                "id": "widget:rich-text-block",
                "inputs": {
                  "title": "Files are a governed host boundary",
                  "content": "The upload component owns validation, feedback, retry, quota and event semantics. The host owns the files API at baseUrl and must return the Praxis success, partial_success and failure envelopes documented by @praxisui/files-upload.",
                  "variant": "emphasis"
                }
              }
            },
            {
              "key": "evidenceReviewChecklist",
              "shell": {
                "kind": "dashboard-card",
                "icon": "fact_check",
                "title": "Review checklist",
                "subtitle": "Local evidence states for the intake team"
              },
              "definition": {
                "id": "praxis-list",
                "bindingOrder": [
                  "listId",
                  "config"
                ],
                "inputs": {
                  "listId": "mission-evidence-review-checklist",
                  "config": {
                    "id": "mission-evidence-review-checklist-config",
                    "dataSource": {
                      "data": [
                        {
                          "id": 1,
                          "title": "Mission order signed",
                          "owner": "Operations",
                          "status": "Required",
                          "priority": "P0"
                        },
                        {
                          "id": 2,
                          "title": "Participant authorization",
                          "owner": "Human Resources",
                          "status": "Required",
                          "priority": "P0"
                        },
                        {
                          "id": 3,
                          "title": "After-action evidence",
                          "owner": "Field team",
                          "status": "Optional",
                          "priority": "P2"
                        }
                      ]
                    },
                    "layout": {
                      "variant": "list",
                      "density": "comfortable",
                      "lines": 3,
                      "dividers": "between",
                      "pageSize": 5,
                      "rowLayout": {
                        "type": "grid",
                        "columns": [
                          {
                            "slot": "leading",
                            "width": "40px",
                            "align": "center"
                          },
                          {
                            "slot": "primary",
                            "width": "minmax(180px, 1.4fr)"
                          },
                          {
                            "slot": "secondary",
                            "width": "minmax(130px, 1fr)"
                          },
                          {
                            "slot": "trailing",
                            "width": "96px",
                            "align": "center",
                            "justify": "end"
                          }
                        ],
                        "gap": "12px",
                        "align": "center"
                      }
                    },
                    "selection": {
                      "mode": "multiple",
                      "compareBy": "id",
                      "return": "id"
                    },
                    "templating": {
                      "leading": {
                        "type": "icon",
                        "expr": "verified"
                      },
                      "primary": {
                        "type": "text",
                        "expr": "${item.title}"
                      },
                      "secondary": {
                        "type": "text",
                        "expr": "${item.owner}"
                      },
                      "trailing": {
                        "type": "chip",
                        "expr": "${item.status}",
                        "variant": "outlined"
                      }
                    },
                    "ui": {
                      "showSearch": false,
                      "showSort": false,
                      "showRange": false
                    }
                  }
                },
                "outputs": {
                  "itemClick": "emit",
                  "selectionChange": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "mission-team-editable-collection-form",
      "title": "Mission team - editable collection form",
      "summary": "Renders the mission team-plan action as an editable collection form, proving complex array input can come from the action contract.",
      "i18n": {
        "pt": {
          "title": "Equipe de missão - coleção editável",
          "summary": "Renderiza a ação team-plan como formulário com coleção editável, mostrando arrays complexos vindos do contrato da ação.",
          "demonstrates": [
            "Explore Equipe de missão - coleção editável e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como pdx-editable-collection materializa operations/missoes/1/team-plan com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Renderiza a ação team-plan como formulário com coleção editável, mostrando arrays complexos vindos do contrato da ação.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas filtered?schemaType=request e 1."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/mission-team-editable-collection-form",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/mission-team-editable-collection-form",
      "category": "feature",
      "mode": "authored-customizable",
      "primaryComponent": "pdx-editable-collection",
      "resourcePath": "operations/missoes/1/team-plan",
      "resourceKey": "operations.missoes",
      "requires": [
        "schemas.filtered",
        "ui-surface.partial-form",
        "dynamic-form.fieldMetadata",
        "dynamic-fields.array",
        "dynamic-fields.editable-collection",
        "array.itemSchemaRef",
        "array.collectionValidation",
        "remote-options",
        "resource-action"
      ],
      "tags": [
        "dynamic-form",
        "dynamic-fields",
        "array-field",
        "editable-collection",
        "partial-form",
        "mission-team",
        "quickstart",
        "ai-recipe"
      ],
      "demonstrates": [
        "Backend-authored x-ui.array contract mirrored in praxis-dynamic-form metadata",
        "Editable Collection cards with add, edit and remove operations",
        "Nested item fields for funcionario lookup, role, order and principal toggle",
        "Collection validators for unique funcionarioId and exactly one principal participant",
        "Item identity preservation through array.itemIdentityField and removeFromPayload delete mode"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "ui-surface.partial-form",
        "resource-action.team-plan",
        "dynamic-form.FormArray",
        "dynamic-fields.ARRAY_INPUT",
        "pdx-editable-collection",
        "array.itemSchemaRef",
        "array.itemSchema.fields",
        "array.collectionValidation.uniqueBy",
        "array.collectionValidation.exactlyOne",
        "remote-options"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered?schemaType=request",
        "GET /api/operations/missoes/1",
        "PATCH /api/operations/missoes/{id}/team-plan",
        "POST /api/human-resources/funcionarios/options/filter",
        "GET /api/human-resources/funcionarios/options/by-ids",
        "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/operations/dto/PlanejarEquipeMissaoDTO.java",
        "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/operations/dto/PlanejarEquipeMissaoParticipanteDTO.java"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "productivity",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-dynamic-form-rendered",
          "pdx-editable-collection-rendered",
          "array-card-items-rendered",
          "collection-validation-configured",
          "quickstart-action-schema-declared"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "filtered-schema-request-missao-team-plan",
          "missoes-team-plan-patch"
        ],
        "pendingHttpIds": [],
        "notes": [
          "The Java quickstart owns the action schema through UiSurface(PARTIAL_FORM) and PlanejarEquipeMissaoDTO.",
          "The landing example renders a local mirror of that x-ui.array contract while the public Render deploy and HTTP corpus catch up."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.editable-collection-form.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/mission-team-editable-collection-form.json",
      "documentation": {
        "story": {
          "pt": "Uma liderança de missão precisa planejar uma equipe com vários participantes, papéis e ordem, garantindo pessoas únicas e exatamente uma liderança principal. O contrato da action team-plan publica esse array complexo como uma coleção editável, sem criar um editor artesanal na rota.",
          "en": "A mission lead needs to plan a team with multiple participants, roles and ordering while guaranteeing unique people and exactly one principal member. The team-plan action contract publishes this complex array as an editable collection without a handcrafted route editor."
        },
        "outcome": {
          "pt": "Cada participante mantém identidade, campos aninhados e operações de adicionar, editar e remover; as validações da coleção impedem duplicidade e ambiguidade de liderança antes do PATCH. O backend continua responsável por revalidar, autorizar e persistir a decisão.",
          "en": "Each participant keeps identity, nested fields and add, edit and remove operations; collection validation prevents duplicates and ambiguous leadership before PATCH. The backend remains responsible for revalidation, authorization and persistence."
        },
        "componentRoles": [
          {
            "component": "praxis-dynamic-form",
            "jsonPath": "page.widgets[missionTeamEditableCollectionForm].definition.inputs",
            "role": {
              "pt": "Hospeda o request da action team-plan, sua coleção e o PATCH de submissão.",
              "en": "Hosts the team-plan action request, its collection and PATCH submission."
            },
            "rationale": {
              "pt": "Mantém o comando schema-driven sem criar um formulário específico da missão no host.",
              "en": "Keeps the command schema-driven without a mission-specific host form."
            }
          },
          {
            "component": "pdx-editable-collection",
            "jsonPath": "definition.inputs.config.fieldMetadata[participantes].array",
            "role": {
              "pt": "Materializa cards repetíveis, operações por item e validações de conjunto.",
              "en": "Materializes repeatable cards, item operations and collection-wide validation."
            },
            "rationale": {
              "pt": "Preserva identidade e estrutura do array em vez de fragmentar participantes em formulários independentes.",
              "en": "Preserves array identity and structure instead of fragmenting participants into independent forms."
            }
          },
          {
            "component": "praxis-dynamic-fields",
            "jsonPath": "definition.inputs.config.fieldMetadata[participantes].array.itemSchema.fields",
            "role": {
              "pt": "Resolve lookup de funcionário, papel, ordem, principal e campos técnicos de cada item.",
              "en": "Resolves employee lookup, role, order, principal flag and technical fields for each item."
            },
            "rationale": {
              "pt": "Reutiliza controles proprietários dentro da coleção sem duplicar validação e acessibilidade.",
              "en": "Reuses owning controls inside the collection without duplicating validation and accessibility."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.submitUrl + submitMethod",
            "title": {
              "pt": "Comando explícito",
              "en": "Explicit command"
            },
            "explanation": {
              "pt": "Relaciona o formulário ao PATCH /api/operations/missoes/1/team-plan sem inferir ação pelo título.",
              "en": "Binds the form to PATCH /api/operations/missoes/1/team-plan without inferring an action from the title."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata[participantes]",
            "title": {
              "pt": "Array como campo",
              "en": "Array as a field"
            },
            "explanation": {
              "pt": "Declara participantes como fieldMetadata required e mantém o valor completo dentro do FormArray.",
              "en": "Declares participantes as required fieldMetadata and keeps the complete value inside the FormArray."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata[participantes].array.itemIdentityField",
            "title": {
              "pt": "Identidade por item",
              "en": "Per-item identity"
            },
            "explanation": {
              "pt": "Usa id para preservar participantes existentes durante edição e remoção do payload.",
              "en": "Uses id to preserve existing participants during editing and payload removal."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata[participantes].array.itemSchema.fields",
            "title": {
              "pt": "Contrato aninhado",
              "en": "Nested contract"
            },
            "explanation": {
              "pt": "Define funcionário, nome, papel, ordem e principal com controles e restrições próprias.",
              "en": "Defines employee, name, role, order and principal with their own controls and constraints."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata[participantes].array.collectionValidation",
            "title": {
              "pt": "Invariantes da equipe",
              "en": "Team invariants"
            },
            "explanation": {
              "pt": "uniqueBy impede funcionário repetido e exactlyOne exige uma única pessoa principal.",
              "en": "uniqueBy prevents duplicate employees and exactlyOne requires one principal person."
            }
          },
          {
            "jsonPath": "definition.inputs.config.fieldMetadata[participantes].array.operations + deleteMode",
            "title": {
              "pt": "Edição governada",
              "en": "Governed editing"
            },
            "explanation": {
              "pt": "Habilita add, edit e remove; removeFromPayload expressa remoção no próximo comando, não exclusão imediata.",
              "en": "Enables add, edit and remove; removeFromPayload expresses removal in the next command rather than immediate deletion."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Adicione a mesma pessoa duas vezes e confirme que uniqueBy bloqueia o conjunto antes do submit.",
            "en": "Add the same person twice and confirm uniqueBy blocks the collection before submission."
          },
          {
            "pt": "Marque duas pessoas como principal e depois nenhuma para observar os dois lados da regra exactlyOne.",
            "en": "Mark two people as principal and then none to observe both sides of the exactlyOne rule."
          },
          {
            "pt": "Remova um participante existente e inspecione o valor para entender removeFromPayload antes de executar o PATCH.",
            "en": "Remove an existing participant and inspect the value to understand removeFromPayload before executing PATCH."
          }
        ],
        "productionNotes": [
          {
            "pt": "A landing espelha localmente o x-ui.array publicado; o DTO e o schema request do Quickstart continuam sendo a fonte canônica.",
            "en": "The landing locally mirrors published x-ui.array; the Quickstart request DTO and schema remain canonical."
          },
          {
            "pt": "Validação de coleção melhora feedback, mas o PATCH deve revalidar unicidade, principal, elegibilidade e concorrência no backend.",
            "en": "Collection validation improves feedback, but PATCH must revalidate uniqueness, principal member, eligibility and concurrency in the backend."
          },
          {
            "pt": "itemIdentityField e IDs da action precisam permanecer estáveis; nomes, ordem visual e labels traduzidos não identificam entidades.",
            "en": "itemIdentityField and action IDs must remain stable; names, visual order and translated labels do not identify entities."
          }
        ]
      },
      "envelope": {
        "id": "mission-team-editable-collection-form",
        "title": "Mission team - editable collection form",
        "summary": "Renders the mission team-plan action as an editable collection form, proving complex array input can come from the action contract.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "pdx-editable-collection",
        "runtime": {
          "mode": "authored-customizable",
          "minPraxisUiPackage": "@praxisui/dynamic-fields"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/missoes/1/team-plan",
          "resourceKey": "operations.missoes"
        },
        "requires": [
          "schemas.filtered",
          "ui-surface.partial-form",
          "dynamic-form.fieldMetadata",
          "dynamic-fields.array",
          "dynamic-fields.editable-collection",
          "array.itemSchemaRef",
          "array.collectionValidation",
          "remote-options",
          "resource-action"
        ],
        "tags": [
          "dynamic-form",
          "dynamic-fields",
          "array-field",
          "editable-collection",
          "partial-form",
          "mission-team",
          "quickstart",
          "ai-recipe"
        ],
        "demonstrates": [
          "Backend-authored x-ui.array contract mirrored in praxis-dynamic-form metadata",
          "Editable Collection cards with add, edit and remove operations",
          "Nested item fields for funcionario lookup, role, order and principal toggle",
          "Collection validators for unique funcionarioId and exactly one principal participant",
          "Item identity preservation through array.itemIdentityField and removeFromPayload delete mode"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "ui-surface.partial-form",
          "resource-action.team-plan",
          "dynamic-form.FormArray",
          "dynamic-fields.ARRAY_INPUT",
          "pdx-editable-collection",
          "array.itemSchemaRef",
          "array.itemSchema.fields",
          "array.collectionValidation.uniqueBy",
          "array.collectionValidation.exactlyOne",
          "remote-options"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered?schemaType=request",
          "GET /api/operations/missoes/1",
          "PATCH /api/operations/missoes/{id}/team-plan",
          "POST /api/human-resources/funcionarios/options/filter",
          "GET /api/human-resources/funcionarios/options/by-ids",
          "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/operations/dto/PlanejarEquipeMissaoDTO.java",
          "praxis-api-quickstart/src/main/java/com/example/praxis/apiquickstart/operations/dto/PlanejarEquipeMissaoParticipanteDTO.java"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-dynamic-form-rendered",
            "pdx-editable-collection-rendered",
            "array-card-items-rendered",
            "collection-validation-configured",
            "quickstart-action-schema-declared"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "filtered-schema-request-missao-team-plan",
            "missoes-team-plan-patch"
          ],
          "pendingHttpIds": [],
          "notes": [
            "The Java quickstart owns the action schema through UiSurface(PARTIAL_FORM) and PlanejarEquipeMissaoDTO.",
            "The landing example renders a local mirror of that x-ui.array contract while the public Render deploy and HTTP corpus catch up."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.editable-collection-form.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "missionTeamEditableCollectionForm",
              "shell": {
                "kind": "dashboard-card",
                "icon": "groups",
                "title": "Mission team plan",
                "subtitle": "Editable Collection from the quickstart team-plan action"
              },
              "definition": {
                "id": "praxis-dynamic-form",
                "bindingOrder": [
                  "config",
                  "formId",
                  "initialValue",
                  "submitUrl",
                  "submitMethod"
                ],
                "inputs": {
                  "formId": "operations-missoes-team-plan",
                  "mode": "edit",
                  "submitUrl": "/api/operations/missoes/1/team-plan",
                  "submitMethod": "patch",
                  "initialValue": {
                    "participantes": [
                      {
                        "id": 2,
                        "funcionarioId": 2,
                        "funcionarioNome": "Ayla Hayes",
                        "papel": "LIDER",
                        "ordem": 1,
                        "principal": true
                      },
                      {
                        "id": 5,
                        "funcionarioId": 5,
                        "funcionarioNome": "Tomas Hayes",
                        "papel": "TECNICO",
                        "ordem": 2,
                        "principal": false
                      },
                      {
                        "id": 8,
                        "funcionarioId": 8,
                        "funcionarioNome": "Zara Hayes",
                        "papel": "MEDICO",
                        "ordem": 3,
                        "principal": false
                      }
                    ]
                  },
                  "config": {
                    "metadata": {
                      "name": "Mission team planning request",
                      "version": "1.0.0"
                    },
                    "sections": [
                      {
                        "id": "team-plan",
                        "title": "Team plan",
                        "description": "Edit the mission participant collection published by the quickstart team-plan action schema.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "team-plan-row",
                            "columns": [
                              {
                                "id": "team-plan-main",
                                "span": {
                                  "md": 12,
                                  "lg": 12
                                },
                                "fields": [
                                  "participantes"
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ],
                    "fieldMetadata": [
                      {
                        "name": "participantes",
                        "label": "Participantes",
                        "controlType": "array",
                        "type": "array",
                        "required": true,
                        "defaultValue": [
                          {
                            "id": 2,
                            "funcionarioId": 2,
                            "funcionarioNome": "Ayla Hayes",
                            "papel": "LIDER",
                            "ordem": 1,
                            "principal": true
                          },
                          {
                            "id": 5,
                            "funcionarioId": 5,
                            "funcionarioNome": "Tomas Hayes",
                            "papel": "TECNICO",
                            "ordem": 2,
                            "principal": false
                          },
                          {
                            "id": 8,
                            "funcionarioId": 8,
                            "funcionarioNome": "Zara Hayes",
                            "papel": "MEDICO",
                            "ordem": 3,
                            "principal": false
                          }
                        ],
                        "array": {
                          "itemType": "object",
                          "mode": "cards",
                          "itemSchemaRef": "#/components/schemas/PlanejarEquipeMissaoParticipanteDTO",
                          "itemIdentityField": "id",
                          "minItems": 1,
                          "maxItems": 12,
                          "addLabel": "Adicionar participante",
                          "emptyState": "Nenhum participante planejado",
                          "itemTitleTemplate": "{{funcionarioNome}} - {{papel}}",
                          "deleteMode": "removeFromPayload",
                          "operations": {
                            "add": true,
                            "edit": true,
                            "remove": true
                          },
                          "collectionValidation": {
                            "uniqueBy": [
                              "funcionarioId"
                            ],
                            "exactlyOne": {
                              "field": "principal",
                              "value": true,
                              "message": "Defina exatamente um participante principal."
                            }
                          },
                          "itemSchema": {
                            "fields": [
                              {
                                "name": "id",
                                "label": "ID",
                                "controlType": "numericTextBox",
                                "readOnly": true,
                                "hidden": true
                              },
                              {
                                "name": "funcionarioId",
                                "label": "Funcionario",
                                "controlType": "asyncSelect",
                                "required": true,
                                "endpoint": "/api/human-resources/funcionarios/options/filter",
                                "displayField": "label",
                                "valueField": "id"
                              },
                              {
                                "name": "funcionarioNome",
                                "label": "Nome",
                                "controlType": "input",
                                "readOnly": true
                              },
                              {
                                "name": "papel",
                                "label": "Papel",
                                "controlType": "select",
                                "required": true,
                                "options": [
                                  {
                                    "label": "Lider",
                                    "value": "LIDER"
                                  },
                                  {
                                    "label": "Tecnico",
                                    "value": "TECNICO"
                                  },
                                  {
                                    "label": "Analista",
                                    "value": "ANALISTA"
                                  },
                                  {
                                    "label": "Piloto",
                                    "value": "PILOTO"
                                  },
                                  {
                                    "label": "Medico",
                                    "value": "MEDICO"
                                  }
                                ]
                              },
                              {
                                "name": "ordem",
                                "label": "Ordem",
                                "controlType": "numericTextBox",
                                "readOnly": true
                              },
                              {
                                "name": "principal",
                                "label": "Principal",
                                "controlType": "toggle"
                              }
                            ]
                          }
                        }
                      }
                    ],
                    "actions": {
                      "submit": {
                        "id": "submit-team-plan",
                        "label": "Submit team plan",
                        "icon": "task_alt",
                        "visible": true,
                        "type": "submit"
                      },
                      "reset": {
                        "id": "reset-team-plan",
                        "label": "Reset",
                        "visible": true,
                        "type": "reset"
                      },
                      "position": "right",
                      "placement": "afterSections",
                      "spacing": "normal"
                    },
                    "submit": {
                      "method": "patch",
                      "url": "/api/operations/missoes/1/team-plan"
                    }
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "operations-tabs-workspace",
      "title": "Operations - tabs workspace",
      "summary": "Composes a tabbed workspace with nested widgets and widget events, showing how multiple runtime surfaces can share one governed page frame.",
      "i18n": {
        "pt": {
          "title": "Operações - workspace em abas",
          "summary": "Compõe um workspace em abas com widgets internos e eventos, mostrando várias superfícies compartilhando uma página governada.",
          "demonstrates": [
            "Explore Operações - workspace em abas e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-tabs materializa operations/tabs-workspace com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Compõe um workspace em abas com widgets internos e eventos, mostrando várias superfícies compartilhando uma página governada.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, praxis-tabs.group, praxis-tabs.tabs.widgets.",
            "Verifique a conexão com as evidências canônicas praxis-tabs.json-api.md e praxis-tabs.metadata.ts."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/operations-tabs-workspace",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/operations-tabs-workspace",
      "category": "composition",
      "mode": "local-only",
      "primaryComponent": "praxis-tabs",
      "resourcePath": "operations/tabs-workspace",
      "resourceKey": "operations.tabs-workspace",
      "requires": [
        "praxis-tabs.config",
        "tabs.group",
        "tabs.widgets",
        "tabs.widgetEvent",
        "dynamic-widget-resolution"
      ],
      "tags": [
        "tabs",
        "composition",
        "nested-widgets",
        "list",
        "charts",
        "ai-recipe"
      ],
      "demonstrates": [
        "Tabs group mode with density, alignment, dynamic height and selectedIndex",
        "Nested widgets inside tabs resolved by the same ComponentMetadataRegistry",
        "widgetEvent bridge from nested components back through the tab container",
        "Per-tab content that combines list, chart and rich text contracts"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "praxis-tabs.group",
        "praxis-tabs.tabs.widgets",
        "praxis-tabs.widgetEvent",
        "praxis-list.templating",
        "praxis-charts.series"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-tabs/src/lib/praxis-tabs.json-api.md",
        "praxis-ui-angular/projects/praxis-tabs/src/lib/praxis-tabs.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-tabs.json"
      ],
      "complexity": "advanced",
      "catalogRole": "composition",
      "learningStage": "composition",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-tabs-rendered",
          "nested-widget-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example intentionally demonstrates local composition because tabs are a container contract.",
          "Nested widgets use the same public metadata registry used by top-level Dynamic Page widgets."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.tabs.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-tabs.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/operations-tabs-workspace.json",
      "documentation": {
        "story": {
          "pt": "Compõe um workspace em abas com widgets internos e eventos, mostrando várias superfícies compartilhando uma página governada. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-tabs materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Composes a tabbed workspace with nested widgets and widget events, showing how multiple runtime surfaces can share one governed page frame. The recipe follows that task from its initial context to the visible result and separates what praxis-tabs materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-tabs deve tornar a promessa de “Operações - workspace em abas” inspecionável: o visitante relaciona praxis-tabs.group ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-tabs must make the “Operations - tabs workspace” promise inspectable: visitors relate praxis-tabs.group to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-tabs",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza superfícies relacionadas preservando contexto e navegação.",
              "en": "Organizes related surfaces while preserving context and navigation."
            },
            "rationale": {
              "pt": "Permite alternar perspectivas do mesmo trabalho sem fragmentar o fluxo em páginas independentes.",
              "en": "Allows switching perspectives on the same job without fragmenting the flow into separate pages."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "page.layout",
            "title": {
              "pt": "Estrutura da página",
              "en": "Page structure"
            },
            "explanation": {
              "pt": "Define orientação, colunas e ritmo espacial antes de qualquer widget ser resolvido.",
              "en": "Defines orientation, columns and spatial rhythm before any widget is resolved."
            }
          },
          {
            "jsonPath": "page.widgets[]",
            "title": {
              "pt": "Composição executável",
              "en": "Executable composition"
            },
            "explanation": {
              "pt": "Registra as superfícies do cenário e entrega praxis-tabs ao resolvedor de widgets.",
              "en": "Registers the scenario surfaces and hands praxis-tabs to the widget resolver."
            }
          },
          {
            "jsonPath": "page.widgets[].definition.inputs",
            "title": {
              "pt": "Contrato do componente",
              "en": "Component contract"
            },
            "explanation": {
              "pt": "Concentra os dados e opções que explicam por que o runtime assume esta forma, sem esconder configuração no host.",
              "en": "Holds the data and options that explain the runtime shape without hiding configuration in the host."
            }
          },
          {
            "jsonPath": "runtime",
            "title": {
              "pt": "Fronteira operacional",
              "en": "Operational boundary"
            },
            "explanation": {
              "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
              "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Troque a aba inicial ou o modo de navegação e observe a continuidade do contexto.",
            "en": "Change the initial tab or navigation mode and observe context continuity."
          },
          {
            "pt": "Procure praxis-tabs.group no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Operações - workspace em abas”.",
            "en": "Find praxis-tabs.group in the primary widget, change only its associated configuration, and compare the effect with the “Operations - tabs workspace” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.tabs.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.tabs.json."
          }
        ]
      },
      "envelope": {
        "id": "operations-tabs-workspace",
        "title": "Operations - tabs workspace",
        "summary": "Composes a tabbed workspace with nested widgets and widget events, showing how multiple runtime surfaces can share one governed page frame.",
        "component": "praxis-dynamic-page",
        "category": "composition",
        "primaryComponent": "praxis-tabs",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/tabs"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/tabs-workspace",
          "resourceKey": "operations.tabs-workspace"
        },
        "requires": [
          "praxis-tabs.config",
          "tabs.group",
          "tabs.widgets",
          "tabs.widgetEvent",
          "dynamic-widget-resolution"
        ],
        "tags": [
          "tabs",
          "composition",
          "nested-widgets",
          "list",
          "charts",
          "ai-recipe"
        ],
        "demonstrates": [
          "Tabs group mode with density, alignment, dynamic height and selectedIndex",
          "Nested widgets inside tabs resolved by the same ComponentMetadataRegistry",
          "widgetEvent bridge from nested components back through the tab container",
          "Per-tab content that combines list, chart and rich text contracts"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "praxis-tabs.group",
          "praxis-tabs.tabs.widgets",
          "praxis-tabs.widgetEvent",
          "praxis-list.templating",
          "praxis-charts.series"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-tabs/src/lib/praxis-tabs.json-api.md",
          "praxis-ui-angular/projects/praxis-tabs/src/lib/praxis-tabs.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-tabs.json"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-tabs-rendered",
            "nested-widget-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example intentionally demonstrates local composition because tabs are a container contract.",
            "Nested widgets use the same public metadata registry used by top-level Dynamic Page widgets."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.tabs.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-tabs.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "operationsTabsWorkspace",
              "shell": {
                "kind": "dashboard-card",
                "icon": "tab",
                "title": "Operations tabs workspace",
                "subtitle": "Nested widgets and widgetEvent bridge"
              },
              "definition": {
                "id": "praxis-tabs",
                "bindingOrder": [
                  "tabsId",
                  "config"
                ],
                "inputs": {
                  "tabsId": "operations-tabs-workspace",
                  "componentInstanceId": "dynamic-page-showcase",
                  "config": {
                    "appearance": {
                      "density": "comfortable",
                      "tokens": {
                        "active-indicator-color": "#0f766e",
                        "active-focus-indicator-color": "#1263b4",
                        "active-hover-indicator-color": "#1263b4"
                      }
                    },
                    "behavior": {
                      "lazyLoad": false,
                      "closeable": false,
                      "reorderable": false
                    },
                    "accessibility": {
                      "ariaLabel": "Operations workspace tabs",
                      "reduceMotion": true
                    },
                    "group": {
                      "selectedIndex": 0,
                      "alignTabs": "start",
                      "stretchTabs": false,
                      "dynamicHeight": true,
                      "fitInkBarToContent": true
                    },
                    "tabs": [
                      {
                        "id": "queue",
                        "textLabel": "Queue",
                        "widgets": [
                          {
                            "id": "praxis-list",
                            "bindingOrder": [
                              "listId",
                              "config"
                            ],
                            "inputs": {
                              "listId": "operations-tabs-queue-list",
                              "config": {
                                "id": "operations-tabs-queue-list-config",
                                "dataSource": {
                                  "data": [
                                    {
                                      "id": 1,
                                      "title": "Payroll reconciliation",
                                      "owner": "Mira Drax",
                                      "status": "At risk",
                                      "priority": "P0"
                                    },
                                    {
                                      "id": 2,
                                      "title": "Mission readiness review",
                                      "owner": "Sol Drax",
                                      "status": "Ready",
                                      "priority": "P1"
                                    },
                                    {
                                      "id": 3,
                                      "title": "Capabilities rollout",
                                      "owner": "Ravi Almeida",
                                      "status": "Blocked",
                                      "priority": "P1"
                                    }
                                  ]
                                },
                                "layout": {
                                  "variant": "list",
                                  "density": "compact",
                                  "lines": 2,
                                  "dividers": "between",
                                  "pageSize": 5
                                },
                                "selection": {
                                  "mode": "single",
                                  "compareBy": "id",
                                  "return": "id"
                                },
                                "templating": {
                                  "leading": {
                                    "type": "icon",
                                    "expr": "task_alt"
                                  },
                                  "primary": {
                                    "type": "text",
                                    "expr": "${item.title}"
                                  },
                                  "secondary": {
                                    "type": "text",
                                    "expr": "${item.owner}"
                                  },
                                  "trailing": {
                                    "type": "chip",
                                    "expr": "${item.status}",
                                    "variant": "outlined"
                                  },
                                  "features": [
                                    {
                                      "type": "chip",
                                      "expr": "${item.priority}",
                                      "variant": "filled"
                                    }
                                  ]
                                },
                                "ui": {
                                  "showSearch": false,
                                  "showSort": false,
                                  "showRange": false
                                }
                              }
                            },
                            "outputs": {
                              "selectionChange": "emit",
                              "itemClick": "emit"
                            }
                          }
                        ]
                      },
                      {
                        "id": "contract-notes",
                        "textLabel": "Contract notes",
                        "widgets": [
                          {
                            "id": "widget:rich-text-block",
                            "inputs": {
                              "title": "Agent-ready contract",
                              "content": "This tab is pure metadata. A host can swap list, chart or form widgets without changing the Angular template.",
                              "variant": "emphasis"
                            }
                          }
                        ]
                      }
                    ]
                  }
                },
                "outputs": {
                  "selectedIndexChange": "emit",
                  "selectedTabChange": "emit",
                  "widgetEvent": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "tabs-nav-routing-workspace",
      "title": "Tabs - navigation workspace",
      "summary": "Uses Tabs in navigation mode to switch operational views through metadata, reducing the need for custom host routing templates.",
      "i18n": {
        "pt": {
          "title": "Tabs - workspace de navegação",
          "summary": "Usa Tabs em modo de navegação para trocar visões operacionais por metadata, reduzindo templates de rota no host.",
          "demonstrates": [
            "Explore Tabs - workspace de navegação e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-tabs materializa operations/tabs-nav-workspace com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Usa Tabs em modo de navegação para trocar visões operacionais por metadata, reduzindo templates de rota no host.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, praxis-tabs.nav, praxis-tabs.nav.links.widgets.",
            "Verifique a conexão com as evidências canônicas praxis-tabs.ts e README.md."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/tabs-nav-routing-workspace",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/tabs-nav-routing-workspace",
      "category": "composition",
      "mode": "local-only",
      "primaryComponent": "praxis-tabs",
      "resourcePath": "operations/tabs-nav-workspace",
      "resourceKey": "operations.tabs-nav-workspace",
      "requires": [
        "praxis-tabs.config",
        "tabs.nav",
        "tabs.nav.links.widgets",
        "tabs.widgetEvent",
        "dynamic-widget-resolution"
      ],
      "tags": [
        "tabs",
        "nav-mode",
        "composition",
        "nested-widgets",
        "list",
        "rich-content",
        "ai-recipe"
      ],
      "demonstrates": [
        "Navigation-style tabs rendered from nav.links metadata",
        "Per-link content hosted by the same dynamic widget registry used by page widgets",
        "A command queue link with nested Praxis List and emitted selection events",
        "A briefing link and decision link expressed as copyable rich-content widgets",
        "Host shell coordination through selectedIndexChange and widgetEvent outputs"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "praxis-tabs.nav",
        "praxis-tabs.nav.links.widgets",
        "praxis-tabs.selectedIndexChange",
        "praxis-tabs.widgetEvent",
        "praxis-list.templating",
        "praxis-rich-content"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-tabs/src/lib/praxis-tabs.ts",
        "praxis-ui-angular/projects/praxis-tabs/README.md",
        "praxis-ui-angular/examples/ai-recipes/praxis-tabs.json"
      ],
      "complexity": "advanced",
      "catalogRole": "capability-lab",
      "learningStage": "composition",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-tabs-nav-rendered",
          "nav-link-content-rendered",
          "nested-widget-events-declared"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because tabs are a container and navigation contract rather than a backend resource.",
          "The runtime-supported nav contract is nav.links with content or widgets; route semantics remain a host concern."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.tabs-nav-routing-workspace.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-tabs.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/tabs-nav-routing-workspace.json",
      "documentation": {
        "story": {
          "pt": "Usa Tabs em modo de navegação para trocar visões operacionais por metadata, reduzindo templates de rota no host. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-tabs materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Uses Tabs in navigation mode to switch operational views through metadata, reducing the need for custom host routing templates. The recipe follows that task from its initial context to the visible result and separates what praxis-tabs materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-tabs deve tornar a promessa de “Tabs - workspace de navegação” inspecionável: o visitante relaciona praxis-tabs.nav ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-tabs must make the “Tabs - navigation workspace” promise inspectable: visitors relate praxis-tabs.nav to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-tabs",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza superfícies relacionadas preservando contexto e navegação.",
              "en": "Organizes related surfaces while preserving context and navigation."
            },
            "rationale": {
              "pt": "Permite alternar perspectivas do mesmo trabalho sem fragmentar o fluxo em páginas independentes.",
              "en": "Allows switching perspectives on the same job without fragmenting the flow into separate pages."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "page.layout",
            "title": {
              "pt": "Estrutura da página",
              "en": "Page structure"
            },
            "explanation": {
              "pt": "Define orientação, colunas e ritmo espacial antes de qualquer widget ser resolvido.",
              "en": "Defines orientation, columns and spatial rhythm before any widget is resolved."
            }
          },
          {
            "jsonPath": "page.widgets[]",
            "title": {
              "pt": "Composição executável",
              "en": "Executable composition"
            },
            "explanation": {
              "pt": "Registra as superfícies do cenário e entrega praxis-tabs ao resolvedor de widgets.",
              "en": "Registers the scenario surfaces and hands praxis-tabs to the widget resolver."
            }
          },
          {
            "jsonPath": "page.widgets[].definition.inputs",
            "title": {
              "pt": "Contrato do componente",
              "en": "Component contract"
            },
            "explanation": {
              "pt": "Concentra os dados e opções que explicam por que o runtime assume esta forma, sem esconder configuração no host.",
              "en": "Holds the data and options that explain the runtime shape without hiding configuration in the host."
            }
          },
          {
            "jsonPath": "runtime",
            "title": {
              "pt": "Fronteira operacional",
              "en": "Operational boundary"
            },
            "explanation": {
              "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
              "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Troque a aba inicial ou o modo de navegação e observe a continuidade do contexto.",
            "en": "Change the initial tab or navigation mode and observe context continuity."
          },
          {
            "pt": "Procure praxis-tabs.nav no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Tabs - workspace de navegação”.",
            "en": "Find praxis-tabs.nav in the primary widget, change only its associated configuration, and compare the effect with the “Tabs - navigation workspace” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.tabs-nav-routing-workspace.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.tabs-nav-routing-workspace.json."
          }
        ]
      },
      "envelope": {
        "id": "tabs-nav-routing-workspace",
        "title": "Tabs - navigation workspace",
        "summary": "Uses Tabs in navigation mode to switch operational views through metadata, reducing the need for custom host routing templates.",
        "component": "praxis-dynamic-page",
        "category": "composition",
        "primaryComponent": "praxis-tabs",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/tabs"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/tabs-nav-workspace",
          "resourceKey": "operations.tabs-nav-workspace"
        },
        "requires": [
          "praxis-tabs.config",
          "tabs.nav",
          "tabs.nav.links.widgets",
          "tabs.widgetEvent",
          "dynamic-widget-resolution"
        ],
        "tags": [
          "tabs",
          "nav-mode",
          "composition",
          "nested-widgets",
          "list",
          "rich-content",
          "ai-recipe"
        ],
        "demonstrates": [
          "Navigation-style tabs rendered from nav.links metadata",
          "Per-link content hosted by the same dynamic widget registry used by page widgets",
          "A command queue link with nested Praxis List and emitted selection events",
          "A briefing link and decision link expressed as copyable rich-content widgets",
          "Host shell coordination through selectedIndexChange and widgetEvent outputs"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "praxis-tabs.nav",
          "praxis-tabs.nav.links.widgets",
          "praxis-tabs.selectedIndexChange",
          "praxis-tabs.widgetEvent",
          "praxis-list.templating",
          "praxis-rich-content"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-tabs/src/lib/praxis-tabs.ts",
          "praxis-ui-angular/projects/praxis-tabs/README.md",
          "praxis-ui-angular/examples/ai-recipes/praxis-tabs.json"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-tabs-nav-rendered",
            "nav-link-content-rendered",
            "nested-widget-events-declared"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because tabs are a container and navigation contract rather than a backend resource.",
            "The runtime-supported nav contract is nav.links with content or widgets; route semantics remain a host concern."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.tabs-nav-routing-workspace.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-tabs.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "tabsNavRoutingWorkspace",
              "shell": {
                "kind": "dashboard-card",
                "icon": "alt_route",
                "title": "Tabs nav workspace",
                "subtitle": "Navigation links with nested runtime widgets"
              },
              "definition": {
                "id": "praxis-tabs",
                "bindingOrder": [
                  "tabsId",
                  "config"
                ],
                "inputs": {
                  "tabsId": "tabs-nav-routing-workspace",
                  "componentInstanceId": "dynamic-page-showcase",
                  "config": {
                    "appearance": {
                      "density": "comfortable",
                      "tokens": {
                        "active-indicator-color": "#0f766e",
                        "active-label-text-color": "#0f172a",
                        "inactive-label-text-color": "#475569"
                      }
                    },
                    "behavior": {
                      "lazyLoad": true,
                      "closeable": false,
                      "reorderable": false
                    },
                    "accessibility": {
                      "ariaLabel": "Navigation workspace tabs",
                      "reduceMotion": true
                    },
                    "nav": {
                      "selectedIndex": 0,
                      "fitInkBarToContent": true,
                      "stretchTabs": false,
                      "ariaLabel": "Operations navigation",
                      "links": [
                        {
                          "id": "briefing",
                          "label": "Briefing",
                          "widgets": [
                            {
                              "id": "widget:rich-text-block",
                              "inputs": {
                                "title": "Mission operations briefing",
                                "content": "Use nav mode when the host shell needs stable navigation semantics while each link remains metadata-driven content. The runtime changes the active link and renders only the selected link widgets.",
                                "variant": "emphasis"
                              }
                            }
                          ]
                        },
                        {
                          "id": "queue",
                          "label": "Queue",
                          "widgets": [
                            {
                              "id": "praxis-list",
                              "bindingOrder": [
                                "listId",
                                "config"
                              ],
                              "inputs": {
                                "listId": "tabs-nav-routing-queue-list",
                                "config": {
                                  "id": "tabs-nav-routing-queue-list-config",
                                  "dataSource": {
                                    "data": [
                                      {
                                        "id": 1,
                                        "title": "Review mission readiness",
                                        "owner": "Sol Drax",
                                        "status": "Ready",
                                        "priority": "P1"
                                      },
                                      {
                                        "id": 2,
                                        "title": "Confirm payroll exceptions",
                                        "owner": "Mira Drax",
                                        "status": "At risk",
                                        "priority": "P0"
                                      },
                                      {
                                        "id": 3,
                                        "title": "Publish capability notes",
                                        "owner": "Ravi Almeida",
                                        "status": "Blocked",
                                        "priority": "P1"
                                      }
                                    ]
                                  },
                                  "layout": {
                                    "variant": "list",
                                    "density": "compact",
                                    "lines": 2,
                                    "dividers": "between",
                                    "pageSize": 5
                                  },
                                  "selection": {
                                    "mode": "single",
                                    "compareBy": "id",
                                    "return": "id"
                                  },
                                  "templating": {
                                    "leading": {
                                      "type": "icon",
                                      "expr": "route"
                                    },
                                    "primary": {
                                      "type": "text",
                                      "expr": "${item.title}"
                                    },
                                    "secondary": {
                                      "type": "text",
                                      "expr": "${item.owner}"
                                    },
                                    "meta": {
                                      "type": "chip",
                                      "expr": "${item.priority}",
                                      "variant": "filled"
                                    },
                                    "trailing": {
                                      "type": "chip",
                                      "expr": "${item.status}",
                                      "variant": "outlined"
                                    }
                                  },
                                  "ui": {
                                    "showSearch": false,
                                    "showSort": false,
                                    "showRange": false
                                  }
                                }
                              },
                              "outputs": {
                                "itemClick": "emit",
                                "selectionChange": "emit"
                              }
                            }
                          ]
                        },
                        {
                          "id": "decisions",
                          "label": "Decisions",
                          "widgets": [
                            {
                              "id": "widget:rich-text-block",
                              "inputs": {
                                "title": "Host-owned routing intent",
                                "content": "Praxis Tabs nav mode owns the selected link and widgetEvent bridge. The application shell can map selectedIndexChange to route state, breadcrumbs or inspector context without redefining the tab contract.",
                                "variant": "default"
                              }
                            }
                          ]
                        }
                      ]
                    }
                  }
                },
                "outputs": {
                  "selectedIndexChange": "emit",
                  "indexFocused": "emit",
                  "selectFocusedIndex": "emit",
                  "widgetEvent": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "funcionarios-master-detail",
      "title": "Funcionarios - master detail",
      "summary": "Connects a remote funcionarios table, detail form and guidance surface through composition links, proving master-detail can be configuration-driven.",
      "i18n": {
        "pt": {
          "title": "Funcionários - master detail",
          "summary": "Conecta tabela remota, formulário de detalhe e orientação por composition links, provando master-detail governado por configuração.",
          "demonstrates": [
            "Explore Funcionários - master detail e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-dynamic-page materializa human-resources/funcionarios com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Conecta tabela remota, formulário de detalhe e orientação por composition links, provando master-detail governado por configuração.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas filtered e filter."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/funcionarios-master-detail",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/funcionarios-master-detail",
      "category": "composition",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-dynamic-page",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "filter",
        "options",
        "capabilities",
        "composition.links",
        "remote-data",
        "praxis-rich-content",
        "formBlocksBefore",
        "customAction"
      ],
      "tags": [
        "master-detail",
        "table",
        "form",
        "composition",
        "quickstart",
        "rich-content"
      ],
      "demonstrates": [
        "Three widgets rendered by one Dynamic Page",
        "Shared selection state in page.state.values",
        "Table rowClick output writing selected funcionario id",
        "Detail form resourceId input hydrated through composition.links",
        "Form-level rich content blocks emitted through formBlocksBefore without entering the payload",
        "Hosted praxis-rich-content used as an auxiliary guidance surface with host-mediated actions",
        "Lookup cards rendered with the same canonical rich-content contract used by the page-builder and dynamic-form hosts",
        "Related records rendered as resolved relationship summaries in the same portable rich-content contract",
        "Stat groups rendered with the same canonical rich-content document used by multiple hosts",
        "Tabs rendered as the same canonical rich-content document used by multiple hosts",
        "CTA groups rendered as semantic next-step clusters in the same portable document contract"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "remote-filter",
        "remote-options",
        "capabilities",
        "composition.links",
        "state.values",
        "schema-driven-form",
        "praxis-rich-content.document",
        "rich-content.lookupCard",
        "rich-content.relatedRecord",
        "rich-content.actionCard",
        "rich-content.statGroup",
        "rich-content.ctaGroup",
        "actionButton",
        "requiresCapabilities",
        "customAction"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered",
        "POST /api/human-resources/funcionarios/filter",
        "GET /api/human-resources/funcionarios/{id}",
        "GET /api/human-resources/funcionarios/capabilities",
        "POST /api/human-resources/cargos/options/filter",
        "POST /api/human-resources/departamentos/options/filter"
      ],
      "complexity": "advanced",
      "catalogRole": "composition",
      "learningStage": "composition",
      "variantFamilyId": "employee-workspace-compositions",
      "featuredRank": 5,
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-table-rendered",
          "praxis-dynamic-form-rendered",
          "praxis-rich-content-rendered",
          "composition-links-present",
          "host-mediated-rich-content-actions-present"
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.master-detail.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/funcionarios-master-detail.json",
      "documentation": {
        "story": {
          "pt": "Uma pessoa analista precisa selecionar um funcionário e investigar seu detalhe sem perder a coleção de origem. A página conecta tabela, formulário e orientação por links declarativos de composição.",
          "en": "An analyst needs to select an employee and inspect details without losing the source collection. The page connects table, form and guidance through declarative composition links."
        },
        "outcome": {
          "pt": "A seleção percorre o documento e atualiza as superfícies dependentes sem cola de estado específica da rota, tornando causa e efeito visíveis.",
          "en": "Selection travels through the document and updates dependent surfaces without route-specific state glue, making cause and effect visible."
        },
        "componentRoles": [
          {
            "component": "praxis-table",
            "jsonPath": "page.widgets[masterTable]",
            "role": {
              "pt": "Mantém a coleção de funcionários e publica o rowClick que inicia a seleção.",
              "en": "Keeps the employee collection and publishes the rowClick that starts selection."
            },
            "rationale": {
              "pt": "Preserva o contexto da lista enquanto a pessoa investiga um registro, evitando navegação prematura.",
              "en": "Preserves collection context while a person investigates a record, avoiding premature navigation."
            }
          },
          {
            "component": "praxis-dynamic-form",
            "jsonPath": "page.widgets[detailForm]",
            "role": {
              "pt": "Apresenta o registro selecionado em modo view e recebe resourceId pelo grafo de composição.",
              "en": "Presents the selected record in view mode and receives resourceId through the composition graph."
            },
            "rationale": {
              "pt": "Reutiliza o contrato do formulário como detalhe sem criar um painel de campos específico da página.",
              "en": "Reuses the form contract as detail without creating a page-specific field panel."
            }
          },
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[detailGuide]",
            "role": {
              "pt": "Explica o fluxo, resume sinais e oferece ações auxiliares mediadas pelo host.",
              "en": "Explains the flow, summarizes signals and offers host-mediated auxiliary actions."
            },
            "rationale": {
              "pt": "Mantém orientação e próximos passos próximos da tarefa sem incorporar handlers na composição.",
              "en": "Keeps guidance and next steps close to the task without embedding handlers in the composition."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "page.state.selection.funcionarioId",
            "title": {
              "pt": "Estado de seleção",
              "en": "Selection state"
            },
            "explanation": {
              "pt": "Reserva o identificador compartilhado entre a coleção e o detalhe sem duplicar o registro inteiro.",
              "en": "Reserves the identifier shared between collection and detail without duplicating the entire record."
            }
          },
          {
            "jsonPath": "page.composition.links[funcionarios:rowClick->state:selection.funcionarioId]",
            "title": {
              "pt": "Evento para estado",
              "en": "Event to state"
            },
            "explanation": {
              "pt": "Extrai payload.row.id por transform declarativo e grava somente o valor canônico selecionado.",
              "en": "Extracts payload.row.id through a declarative transform and writes only the selected canonical value."
            }
          },
          {
            "jsonPath": "page.composition.links[funcionarios:state:selection.funcionarioId->detailForm.resourceId]",
            "title": {
              "pt": "Estado para detalhe",
              "en": "State to detail"
            },
            "explanation": {
              "pt": "Entrega o identificador ao input resourceId; missingValuePolicy=skip evita hidratação inválida antes da seleção.",
              "en": "Delivers the identifier to resourceId while missingValuePolicy=skip prevents invalid hydration before selection."
            }
          },
          {
            "jsonPath": "page.widgets[detailForm].definition.inputs.mode",
            "title": {
              "pt": "Detalhe somente leitura",
              "en": "Read-only detail"
            },
            "explanation": {
              "pt": "Declara view como comportamento da superfície e mantém mutações fora deste fluxo de investigação.",
              "en": "Declares view as the surface behavior and keeps mutations outside this investigation flow."
            }
          },
          {
            "jsonPath": "page.widgets[detailGuide].definition.inputs.document",
            "title": {
              "pt": "Orientação portável",
              "en": "Portable guidance"
            },
            "explanation": {
              "pt": "Agrupa resumo, sinais, tabs e CTAs sem tornar a Dynamic Page proprietária dessas apresentações.",
              "en": "Groups summary, signals, tabs and CTAs without making Dynamic Page own those presentations."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Selecione funcionários diferentes e acompanhe rowClick, state.selection.funcionarioId e detailForm.resourceId na ordem.",
            "en": "Select different employees and follow rowClick, state.selection.funcionarioId and detailForm.resourceId in order."
          },
          {
            "pt": "Troque missingValuePolicy para observar por que o estado inicial precisa falhar de forma previsível antes da seleção.",
            "en": "Change missingValuePolicy to observe why the initial state must fail predictably before selection."
          },
          {
            "pt": "Compare o layout com o CRUD em drawer e avalie qual alternativa preserva melhor o contexto para investigação repetida.",
            "en": "Compare the layout with CRUD in a drawer and assess which alternative better preserves context for repeated investigation."
          }
        ],
        "productionNotes": [
          {
            "pt": "Links usam portas e paths canônicos; labels, títulos ou nomes aproximados não devem decidir o roteamento da seleção.",
            "en": "Links use canonical ports and paths; labels, titles or fuzzy names must not decide selection routing."
          },
          {
            "pt": "O detalhe deve respeitar capabilities item-level e evitar expor campos não permitidos pelo schema filtrado.",
            "en": "The detail must respect item-level capabilities and avoid exposing fields disallowed by the filtered schema."
          },
          {
            "pt": "Ações rich-content são intenção mediada; abrir modal ou navegar continua sendo responsabilidade auditável do host.",
            "en": "Rich-content actions are mediated intent; opening a modal or navigating remains an auditable host responsibility."
          }
        ]
      },
      "envelope": {
        "id": "funcionarios-master-detail",
        "title": "Funcionarios - master detail",
        "summary": "Connects a remote funcionarios table, detail form and guidance surface through composition links, proving master-detail can be configuration-driven.",
        "component": "praxis-dynamic-page",
        "category": "composition",
        "primaryComponent": "praxis-dynamic-page",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "filter",
          "options",
          "capabilities",
          "composition.links",
          "remote-data",
          "praxis-rich-content",
          "formBlocksBefore",
          "customAction"
        ],
        "tags": [
          "master-detail",
          "table",
          "form",
          "composition",
          "quickstart",
          "rich-content"
        ],
        "demonstrates": [
          "Three widgets rendered by one Dynamic Page",
          "Shared selection state in page.state.values",
          "Table rowClick output writing selected funcionario id",
          "Detail form resourceId input hydrated through composition.links",
          "Form-level rich content blocks emitted through formBlocksBefore without entering the payload",
          "Hosted praxis-rich-content used as an auxiliary guidance surface with host-mediated actions",
          "Lookup cards rendered with the same canonical rich-content contract used by the page-builder and dynamic-form hosts",
          "Related records rendered as resolved relationship summaries in the same portable rich-content contract",
          "Stat groups rendered with the same canonical rich-content document used by multiple hosts",
          "Tabs rendered as the same canonical rich-content document used by multiple hosts",
          "CTA groups rendered as semantic next-step clusters in the same portable document contract"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "remote-filter",
          "remote-options",
          "capabilities",
          "composition.links",
          "state.values",
          "schema-driven-form",
          "praxis-rich-content.document",
          "rich-content.lookupCard",
          "rich-content.relatedRecord",
          "rich-content.actionCard",
          "rich-content.statGroup",
          "rich-content.ctaGroup",
          "actionButton",
          "requiresCapabilities",
          "customAction"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered",
          "POST /api/human-resources/funcionarios/filter",
          "GET /api/human-resources/funcionarios/{id}",
          "GET /api/human-resources/funcionarios/capabilities",
          "POST /api/human-resources/cargos/options/filter",
          "POST /api/human-resources/departamentos/options/filter"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-table-rendered",
            "praxis-dynamic-form-rendered",
            "praxis-rich-content-rendered",
            "composition-links-present",
            "host-mediated-rich-content-actions-present"
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.master-detail.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 3,
            "gap": "16px"
          },
          "state": {
            "values": {
              "selection": {
                "funcionarioId": null
              }
            }
          },
          "widgets": [
            {
              "key": "masterTable",
              "shell": {
                "kind": "dashboard-card",
                "icon": "table",
                "title": "Funcionarios",
                "subtitle": "Select a row to update the detail form"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath"
                ],
                "inputs": {
                  "resourcePath": "human-resources/funcionarios",
                  "tableId": "human-resources-funcionarios-master",
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Funcionarios"
                    },
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      }
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit"
                }
              }
            },
            {
              "key": "detailForm",
              "shell": {
                "kind": "dashboard-card",
                "icon": "badge",
                "title": "Funcionario detail",
                "subtitle": "Read-only form hydrated from selection state with editorial blocks"
              },
              "definition": {
                "id": "praxis-dynamic-form",
                "bindingOrder": [
                  "resourcePath",
                  "formId",
                  "resourceId",
                  "config"
                ],
                "inputs": {
                  "formId": "human-resources-funcionarios-detail",
                  "resourcePath": "human-resources/funcionarios",
                  "mode": "view",
                  "resourceId": null,
                  "config": {
                    "formBlocksBefore": {
                      "kind": "praxis.rich-content",
                      "version": "1.0.0",
                      "nodes": [
                        {
                          "type": "callout",
                          "tone": "info",
                          "icon": "rule",
                          "title": "Formulario metadata-driven",
                          "message": "Use blocos rich-content para contexto e operacoes auxiliares. O payload persistido continua sendo o do formulario.",
                          "actions": [
                            {
                              "type": "actionButton",
                              "label": "Abrir detalhes",
                              "icon": "open_in_new",
                              "variant": "stroked",
                              "color": "primary",
                              "action": {
                                "actionId": "surface.open",
                                "payload": {
                                  "presentation": "modal",
                                  "title": "Detalhes do funcionario selecionado",
                                  "icon": "open_in_new",
                                  "subtitle": "Abertura governada a partir do master-detail",
                                  "size": {
                                    "width": "720px",
                                    "maxWidth": "90vw"
                                  },
                                  "widget": {
                                    "id": "widget:rich-text-block",
                                    "inputs": {
                                      "title": "Fluxo master-detail mediado pelo host",
                                      "content": "A ação foi executada por surface.open a partir de um bloco rich-content. A seleção da tabela continua governando o formulário de detalhe por composition.links, enquanto esta superfície representa um fluxo auxiliar aberto pelo host.",
                                      "variant": "emphasis"
                                    }
                                  }
                                }
                              }
                            }
                          ]
                        },
                        {
                          "type": "disclosure",
                          "title": "Bloco dependente de capability de edicao",
                          "subtitle": "O host do dynamic form decide se este conteudo aparece",
                          "appearance": "card",
                          "requiresCapabilities": [
                            "form.mode.edit"
                          ],
                          "content": [
                            {
                              "type": "keyValueList",
                              "layout": "stacked",
                              "items": [
                                {
                                  "label": "Capability gate",
                                  "value": "form.mode.edit"
                                },
                                {
                                  "label": "Persistencia",
                                  "value": "Nao serializar hostCapabilities no config do formulario"
                                }
                              ]
                            }
                          ]
                        }
                      ]
                    }
                  }
                },
                "outputs": {
                  "customAction": {
                    "type": "surface.open",
                    "params": {
                      "presentation": "${payload.globalAction.payload.presentation}",
                      "title": "${payload.globalAction.payload.title}",
                      "icon": "${payload.globalAction.payload.icon}",
                      "subtitle": "${payload.globalAction.payload.subtitle}",
                      "size": "${payload.globalAction.payload.size}",
                      "widget": "${payload.globalAction.payload.widget}"
                    }
                  }
                }
              }
            },
            {
              "key": "detailGuide",
              "shell": {
                "kind": "dashboard-card",
                "icon": "article",
                "title": "Master-detail guidance",
                "subtitle": "Hosted praxis-rich-content for contextual operations"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context"
                ],
                "inputs": {
                  "context": {
                    "workspace": {
                      "resourceLabel": "Funcionarios",
                      "selectionFlow": "rowClick -> resourceId",
                      "runtimeRule": "hostCapabilities sao apenas runtime do host"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "recordSummary",
                        "title": "Master-detail governed by configuration",
                        "subtitleExpr": "${workspace.resourceLabel}",
                        "meta": "praxis-dynamic-page",
                        "fields": [
                          {
                            "label": "Selection flow",
                            "valueExpr": "${workspace.selectionFlow}"
                          },
                          {
                            "label": "Runtime note",
                            "valueExpr": "${workspace.runtimeRule}"
                          }
                        ]
                      },
                      {
                        "type": "statGroup",
                        "title": "Workspace signals",
                        "subtitle": "Portable summary blocks alongside the master-detail flow",
                        "layout": "inline",
                        "items": [
                          {
                            "label": "Selection flow",
                            "value": "1",
                            "captionExpr": "${workspace.selectionFlow}",
                            "icon": "swap_horiz"
                          },
                          {
                            "label": "Runtime contract",
                            "value": "host",
                            "captionExpr": "${workspace.runtimeRule}",
                            "icon": "verified_user"
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Workspace views",
                        "subtitle": "Canonical editorial tabs hosted alongside the table and detail form.",
                        "appearance": "pills",
                        "defaultTabId": "overview",
                        "items": [
                          {
                            "id": "overview",
                            "label": "Overview",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Use tabs when the same portable rich-content document needs multiple editorial panels near the master-detail flow."
                              }
                            ]
                          },
                          {
                            "id": "runtime",
                            "label": "Runtime",
                            "icon": "verified_user",
                            "badge": "Host",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Selection flow",
                                    "valueExpr": "${workspace.selectionFlow}"
                                  },
                                  {
                                    "label": "Runtime rule",
                                    "valueExpr": "${workspace.runtimeRule}"
                                  },
                                  {
                                    "label": "Persistence rule",
                                    "value": "hostCapabilities stay outside persisted page JSON."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Next steps",
                        "subtitle": "Governed actions for the selected record",
                        "message": "Cluster primary and secondary host-mediated actions without inventing page-specific markup.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Open selected funcionario",
                            "icon": "open_in_new",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "surface.open",
                              "payload": {
                                "presentation": "modal",
                                "title": "Detalhes do funcionario selecionado",
                                "icon": "open_in_new",
                                "subtitle": "Abertura governada a partir do master-detail",
                                "size": {
                                  "width": "720px",
                                  "maxWidth": "90vw"
                                },
                                "widget": {
                                  "id": "widget:rich-text-block",
                                  "inputs": {
                                    "title": "Fluxo master-detail mediado pelo host",
                                    "content": "A ação foi executada por surface.open a partir de um bloco rich-content. A seleção da tabela continua governando o formulário de detalhe por composition.links, enquanto esta superfície representa um fluxo auxiliar aberto pelo host.",
                                    "variant": "emphasis"
                                  }
                                }
                              }
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Inspect workspace",
                            "icon": "manage_search",
                            "variant": "stroked",
                            "action": {
                              "actionId": "surface.open",
                              "payload": {
                                "presentation": "modal",
                                "title": "Inspecionar workspace master-detail",
                                "icon": "manage_search",
                                "subtitle": "Contrato operacional da composição",
                                "size": {
                                  "width": "760px",
                                  "maxWidth": "90vw"
                                },
                                "widget": {
                                  "id": "praxis-rich-content",
                                  "bindingOrder": [
                                    "document"
                                  ],
                                  "inputs": {
                                    "document": {
                                      "kind": "praxis.rich-content",
                                      "version": "1.0.0",
                                      "nodes": [
                                        {
                                          "type": "keyValueList",
                                          "title": "Sinais governados",
                                          "layout": "stacked",
                                          "items": [
                                            {
                                              "label": "Resource",
                                              "value": "human-resources.funcionarios"
                                            },
                                            {
                                              "label": "Selecao",
                                              "value": "rowClick -> selection.funcionarioId -> detailForm.resourceId"
                                            },
                                            {
                                              "label": "Acoes editoriais",
                                              "value": "Rich-content aciona surface.open sem handlers locais na pagina."
                                            }
                                          ]
                                        }
                                      ]
                                    }
                                  }
                                }
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected funcionario",
                        "subtitleExpr": "${workspace.resourceLabel}",
                        "status": "resolved",
                        "meta": "host-mediated lookup",
                        "ctaLabel": "Open selected funcionario",
                        "action": {
                          "actionId": "surface.open",
                          "payload": {
                            "presentation": "modal",
                            "title": "Detalhes do funcionario selecionado",
                            "icon": "open_in_new",
                            "subtitle": "Abertura governada a partir do master-detail",
                            "size": {
                              "width": "720px",
                              "maxWidth": "90vw"
                            },
                            "widget": {
                              "id": "widget:rich-text-block",
                              "inputs": {
                                "title": "Fluxo master-detail mediado pelo host",
                                "content": "A ação foi executada por surface.open a partir de um bloco rich-content. A seleção da tabela continua governando o formulário de detalhe por composition.links, enquanto esta superfície representa um fluxo auxiliar aberto pelo host.",
                                "variant": "emphasis"
                              }
                            }
                          }
                        },
                        "fields": [
                          {
                            "label": "Selection binding",
                            "valueExpr": "${workspace.selectionFlow}"
                          },
                          {
                            "label": "Runtime rule",
                            "valueExpr": "${workspace.runtimeRule}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Inspect workspace",
                            "icon": "manage_search",
                            "variant": "stroked",
                            "action": {
                              "actionId": "surface.open",
                              "payload": {
                                "presentation": "modal",
                                "title": "Inspecionar workspace master-detail",
                                "icon": "manage_search",
                                "subtitle": "Contrato operacional da composição",
                                "size": {
                                  "width": "760px",
                                  "maxWidth": "90vw"
                                },
                                "widget": {
                                  "id": "praxis-rich-content",
                                  "bindingOrder": [
                                    "document"
                                  ],
                                  "inputs": {
                                    "document": {
                                      "kind": "praxis.rich-content",
                                      "version": "1.0.0",
                                      "nodes": [
                                        {
                                          "type": "keyValueList",
                                          "title": "Sinais governados",
                                          "layout": "stacked",
                                          "items": [
                                            {
                                              "label": "Resource",
                                              "value": "human-resources.funcionarios"
                                            },
                                            {
                                              "label": "Selecao",
                                              "value": "rowClick -> selection.funcionarioId -> detailForm.resourceId"
                                            },
                                            {
                                              "label": "Acoes editoriais",
                                              "value": "Rich-content aciona surface.open sem handlers locais na pagina."
                                            }
                                          ]
                                        }
                                      ]
                                    }
                                  }
                                }
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Selected related record",
                        "subtitleExpr": "${workspace.resourceLabel}",
                        "relationLabel": "Current selection",
                        "meta": "resolved relationship",
                        "ctaLabel": "Open related funcionario",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "surface.open",
                          "payload": {
                            "presentation": "modal",
                            "title": "Detalhes do funcionario selecionado",
                            "icon": "open_in_new",
                            "subtitle": "Abertura governada a partir do master-detail",
                            "size": {
                              "width": "720px",
                              "maxWidth": "90vw"
                            },
                            "widget": {
                              "id": "widget:rich-text-block",
                              "inputs": {
                                "title": "Fluxo master-detail mediado pelo host",
                                "content": "A ação foi executada por surface.open a partir de um bloco rich-content. A seleção da tabela continua governando o formulário de detalhe por composition.links, enquanto esta superfície representa um fluxo auxiliar aberto pelo host.",
                                "variant": "emphasis"
                              }
                            }
                          }
                        },
                        "fields": [
                          {
                            "label": "Selection binding",
                            "valueExpr": "${workspace.selectionFlow}",
                            "hint": "Resolved from the same selected record context."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Inspect workspace",
                            "icon": "manage_search",
                            "variant": "stroked",
                            "action": {
                              "actionId": "surface.open",
                              "payload": {
                                "presentation": "modal",
                                "title": "Inspecionar workspace master-detail",
                                "icon": "manage_search",
                                "subtitle": "Contrato operacional da composição",
                                "size": {
                                  "width": "760px",
                                  "maxWidth": "90vw"
                                },
                                "widget": {
                                  "id": "praxis-rich-content",
                                  "bindingOrder": [
                                    "document"
                                  ],
                                  "inputs": {
                                    "document": {
                                      "kind": "praxis.rich-content",
                                      "version": "1.0.0",
                                      "nodes": [
                                        {
                                          "type": "keyValueList",
                                          "title": "Sinais governados",
                                          "layout": "stacked",
                                          "items": [
                                            {
                                              "label": "Resource",
                                              "value": "human-resources.funcionarios"
                                            },
                                            {
                                              "label": "Selecao",
                                              "value": "rowClick -> selection.funcionarioId -> detailForm.resourceId"
                                            },
                                            {
                                              "label": "Acoes editoriais",
                                              "value": "Rich-content aciona surface.open sem handlers locais na pagina."
                                            }
                                          ]
                                        }
                                      ]
                                    }
                                  }
                                }
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Open governed funcionario flow",
                        "subtitleExpr": "${workspace.resourceLabel}",
                        "message": "Use the same canonical document to launch a governed host action from the master-detail workspace.",
                        "meta": "host-mediated action",
                        "ctaLabel": "Open governed funcionario flow",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "surface.open",
                          "payload": {
                            "presentation": "modal",
                            "title": "Detalhes do funcionario selecionado",
                            "icon": "open_in_new",
                            "subtitle": "Abertura governada a partir do master-detail",
                            "size": {
                              "width": "720px",
                              "maxWidth": "90vw"
                            },
                            "widget": {
                              "id": "widget:rich-text-block",
                              "inputs": {
                                "title": "Fluxo master-detail mediado pelo host",
                                "content": "A ação foi executada por surface.open a partir de um bloco rich-content. A seleção da tabela continua governando o formulário de detalhe por composition.links, enquanto esta superfície representa um fluxo auxiliar aberto pelo host.",
                                "variant": "emphasis"
                              }
                            }
                          }
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Inspect workspace",
                            "icon": "manage_search",
                            "variant": "stroked",
                            "action": {
                              "actionId": "surface.open",
                              "payload": {
                                "presentation": "modal",
                                "title": "Inspecionar workspace master-detail",
                                "icon": "manage_search",
                                "subtitle": "Contrato operacional da composição",
                                "size": {
                                  "width": "760px",
                                  "maxWidth": "90vw"
                                },
                                "widget": {
                                  "id": "praxis-rich-content",
                                  "bindingOrder": [
                                    "document"
                                  ],
                                  "inputs": {
                                    "document": {
                                      "kind": "praxis.rich-content",
                                      "version": "1.0.0",
                                      "nodes": [
                                        {
                                          "type": "keyValueList",
                                          "title": "Sinais governados",
                                          "layout": "stacked",
                                          "items": [
                                            {
                                              "label": "Resource",
                                              "value": "human-resources.funcionarios"
                                            },
                                            {
                                              "label": "Selecao",
                                              "value": "rowClick -> selection.funcionarioId -> detailForm.resourceId"
                                            },
                                            {
                                              "label": "Acoes editoriais",
                                              "value": "Rich-content aciona surface.open sem handlers locais na pagina."
                                            }
                                          ]
                                        }
                                      ]
                                    }
                                  }
                                }
                              }
                            }
                          }
                        ]
                      },
                      {
                        "type": "emptyState",
                        "icon": "integration_instructions",
                        "title": "Use hosted editorial actions for auxiliary flows",
                        "message": "O widget rich-content pode acionar fluxos governados pelo host sem misturar handlers no documento.",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Inspecionar workspace",
                            "icon": "manage_search",
                            "variant": "flat",
                            "action": {
                              "actionId": "surface.open",
                              "payload": {
                                "presentation": "modal",
                                "title": "Inspecionar workspace master-detail",
                                "icon": "manage_search",
                                "subtitle": "Contrato operacional da composição",
                                "size": {
                                  "width": "760px",
                                  "maxWidth": "90vw"
                                },
                                "widget": {
                                  "id": "praxis-rich-content",
                                  "bindingOrder": [
                                    "document"
                                  ],
                                  "inputs": {
                                    "document": {
                                      "kind": "praxis.rich-content",
                                      "version": "1.0.0",
                                      "nodes": [
                                        {
                                          "type": "keyValueList",
                                          "title": "Sinais governados",
                                          "layout": "stacked",
                                          "items": [
                                            {
                                              "label": "Resource",
                                              "value": "human-resources.funcionarios"
                                            },
                                            {
                                              "label": "Selecao",
                                              "value": "rowClick -> selection.funcionarioId -> detailForm.resourceId"
                                            },
                                            {
                                              "label": "Acoes editoriais",
                                              "value": "Rich-content aciona surface.open sem handlers locais na pagina."
                                            }
                                          ]
                                        }
                                      ]
                                    }
                                  }
                                }
                              }
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ],
          "composition": {
            "version": "1.0.0",
            "links": [
              {
                "id": "funcionarios:rowClick->state:selection.funcionarioId",
                "intent": "state-write",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "masterTable",
                    "port": "rowClick",
                    "direction": "output",
                    "componentType": "praxis-table"
                  }
                },
                "to": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.funcionarioId",
                    "layer": "values",
                    "writable": true
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "funcionarios:pick-row-id",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.row.id"
                      }
                    }
                  ]
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Selected funcionario id"
                }
              },
              {
                "id": "funcionarios:state:selection.funcionarioId->detailForm.resourceId",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.funcionarioId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "detailForm",
                    "port": "resourceId",
                    "direction": "input",
                    "componentType": "praxis-dynamic-form"
                  }
                },
                "policy": {
                  "missingValuePolicy": "skip"
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Hydrate detail resource id"
                }
              }
            ]
          }
        }
      }
    },
    {
      "id": "nested-path-showcase",
      "title": "Mission command nestedPath workspace",
      "summary": "Shows how one mission selection can drive summary, team and timeline widgets through governed nestedPath links instead of custom page glue.",
      "i18n": {
        "pt": {
          "title": "Missões - workspace com nestedPath",
          "summary": "Mostra uma seleção de missão alimentando resumo, equipe e linha do tempo por links nestedPath governados, sem cola manual de tela.",
          "demonstrates": [
            "Explore Missões - workspace com nestedPath e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-dynamic-page materializa operations/missoes com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Mostra uma seleção de missão alimentando resumo, equipe e linha do tempo por links nestedPath governados, sem cola manual de tela.",
            "Confirme no resultado capacidades da plataforma como composition.links, component-port.nestedPath, nested-widget-identity.",
            "Verifique a conexão com as evidências canônicas surfaces?resource=operations.missoes e actions?resource=operations.missoes."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/nested-path-showcase",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/nested-path-showcase",
      "category": "composition",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-dynamic-page",
      "resourcePath": "operations/missoes",
      "resourceKey": "operations.missoes",
      "requires": [
        "composition.links",
        "component-port.nestedPath",
        "dynamic-widget-loader",
        "praxis-tabs",
        "praxis-table",
        "praxis-rich-content",
        "quickstart-render-api"
      ],
      "tags": [
        "nestedPath",
        "composition",
        "tabs",
        "table",
        "rich-content",
        "timeline",
        "json-logic",
        "missions",
        "operations",
        "ai-recipe"
      ],
      "demonstrates": [
        "Canonical component-port endpoints with nestedPath for child widget inputs and outputs",
        "Nested mission table selection writing state that drives summary and team tables plus a rich-content timeline",
        "Tabs as owner containers with stable childWidgetKey terminal identity",
        "POST /filter-backed resources using queryContext instead of fake GET filter endpoints",
        "Link transforms without bindingPath or page.connections"
      ],
      "platformFeatures": [
        "composition.links",
        "component-port.nestedPath",
        "nested-widget-identity",
        "state-read",
        "state-write",
        "rich-content.timeline",
        "json-logic.link-conditions",
        "transform.object-template",
        "tabs.lazyLoad"
      ],
      "backendSurfaces": [
        "GET /schemas/surfaces?resource=operations.missoes",
        "GET /schemas/actions?resource=operations.missoes",
        "POST /api/operations/missoes/filter",
        "POST /api/operations/vw-resumo-missoes/filter",
        "POST /api/operations/missao-participantes/filter",
        "GET /api/operations/missoes/{id}/capabilities",
        "GET /api/operations/missoes/capabilities",
        "GET /api/operations/vw-resumo-missoes/capabilities",
        "GET /api/operations/missao-participantes/capabilities",
        "POST /api/operations/missoes/option-sources/mission/options/filter",
        "GET /api/operations/missoes/option-sources/mission/options/by-ids",
        "POST /api/human-resources/funcionarios/option-sources/employee/options/filter",
        "GET /api/human-resources/funcionarios/option-sources/employee/options/by-ids"
      ],
      "complexity": "advanced",
      "catalogRole": "composition",
      "learningStage": "composition",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "loads imported canonical nested-path recipe",
          "renders tabs, nested table metadata and the rich-content timeline in DynamicWidgetLoader",
          "propagates nested output to state and state to nested inputs through composition.links",
          "keeps persisted links under page.composition.links only",
          "uses operations.missoes endpoints that match the demonstrated business flow"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "schemas-surfaces-operations-missoes",
          "schemas-actions-operations-missoes",
          "operations-missoes-item-capabilities",
          "vw-resumo-missoes-filter-basic",
          "missao-participantes-stats-papel"
        ],
        "pendingHttpIds": [],
        "notes": [
          "Reference API: https://praxis-api-quickstart.onrender.com",
          "The landing example imports the golden recipe from praxis-ui-angular instead of copying the page contract.",
          "The example intentionally uses mission read projections instead of HR/payroll endpoints that do not support the demonstrated flow."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
        "praxis-ui-angular/projects/praxis-core/docs/nested-component-ports-implementation-plan.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/nested-path-showcase.json",
      "documentation": {
        "story": {
          "pt": "Mostra uma seleção de missão alimentando resumo, equipe e linha do tempo por links nestedPath governados, sem cola manual de tela. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-dynamic-page materializa do que continua sob responsabilidade da API, de suas capabilities e da mediação do app host.",
          "en": "Shows how one mission selection can drive summary, team and timeline widgets through governed nestedPath links instead of custom page glue. The recipe follows that task from its initial context to the visible result and separates what praxis-dynamic-page materializes from what remains owned by the API, its capabilities and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-dynamic-page deve tornar a promessa de “Missões - workspace com nestedPath” inspecionável: o visitante relaciona composition.links ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-dynamic-page must make the “Mission command nestedPath workspace” promise inspectable: visitors relate composition.links to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-dynamic-page",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Compõe widgets registrados em um documento de página executável.",
              "en": "Composes registered widgets into an executable page document."
            },
            "rationale": {
              "pt": "Permite que layout e composição evoluam como materialização governada, sem criar outra rota codificada à mão.",
              "en": "Lets layout and composition evolve as governed materialization without another hand-coded route."
            }
          },
          {
            "component": "praxis-tabs",
            "jsonPath": "page.widgets[].definition.inputs",
            "role": {
              "pt": "Organiza superfícies relacionadas preservando contexto e navegação.",
              "en": "Organizes related surfaces while preserving context and navigation."
            },
            "rationale": {
              "pt": "Permite alternar perspectivas do mesmo trabalho sem fragmentar o fluxo em páginas independentes.",
              "en": "Allows switching perspectives on the same job without fragmenting the flow into separate pages."
            }
          },
          {
            "component": "praxis-table",
            "jsonPath": "page.widgets[].definition.inputs",
            "role": {
              "pt": "Materializa dados tabulares, filtros, seleção e ações operacionais.",
              "en": "Materializes tabular data, filters, selection and operational actions."
            },
            "rationale": {
              "pt": "É usado quando o trabalho depende de comparar registros e agir sobre uma coleção governada.",
              "en": "It is used when the job depends on comparing records and acting on a governed collection."
            }
          },
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition.inputs",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "page.widgets[]",
            "title": {
              "pt": "Superfícies da composição",
              "en": "Composition surfaces"
            },
            "explanation": {
              "pt": "Cada widget mantém contrato e responsabilidade próprios dentro do mesmo documento.",
              "en": "Each widget keeps its own contract and responsibility inside the same document."
            }
          },
          {
            "jsonPath": "page.links[]",
            "title": {
              "pt": "Fluxo entre componentes",
              "en": "Component flow"
            },
            "explanation": {
              "pt": "Conecta saídas e entradas declarativamente para que seleção e contexto percorram a página.",
              "en": "Connects outputs and inputs declaratively so selection and context travel through the page."
            }
          },
          {
            "jsonPath": "page.widgets[].shell",
            "title": {
              "pt": "Apresentação no host",
              "en": "Host presentation"
            },
            "explanation": {
              "pt": "Define título e enquadramento sem misturar a semântica interna do componente com a composição.",
              "en": "Defines title and framing without mixing component internals with composition semantics."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Mude a posição ou o span de um widget e observe a recomposição responsiva do documento.",
            "en": "Change a widget position or span and observe the responsive document recomposition."
          },
          {
            "pt": "Procure composition.links no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Missões - workspace com nestedPath”.",
            "en": "Find composition.links in the primary widget, change only its associated configuration, and compare the effect with the “Mission command nestedPath workspace” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Os dados e as capacidades continuam pertencendo à API; o documento apenas materializa a experiência publicada.",
            "en": "Data and capabilities remain owned by the API; the document only materializes the published experience."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json."
          }
        ]
      },
      "envelope": {
        "id": "nested-path-showcase",
        "title": "Mission command nestedPath workspace",
        "summary": "Shows how one mission selection can drive summary, team and timeline widgets through governed nestedPath links instead of custom page glue.",
        "component": "praxis-dynamic-page",
        "category": "composition",
        "primaryComponent": "praxis-dynamic-page",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/missoes",
          "resourceKey": "operations.missoes"
        },
        "requires": [
          "composition.links",
          "component-port.nestedPath",
          "dynamic-widget-loader",
          "praxis-tabs",
          "praxis-table",
          "praxis-rich-content",
          "quickstart-render-api"
        ],
        "tags": [
          "nestedPath",
          "composition",
          "tabs",
          "table",
          "rich-content",
          "timeline",
          "json-logic",
          "missions",
          "operations",
          "ai-recipe"
        ],
        "demonstrates": [
          "Canonical component-port endpoints with nestedPath for child widget inputs and outputs",
          "Nested mission table selection writing state that drives summary and team tables plus a rich-content timeline",
          "Tabs as owner containers with stable childWidgetKey terminal identity",
          "POST /filter-backed resources using queryContext instead of fake GET filter endpoints",
          "Link transforms without bindingPath or page.connections"
        ],
        "platformFeatures": [
          "composition.links",
          "component-port.nestedPath",
          "nested-widget-identity",
          "state-read",
          "state-write",
          "rich-content.timeline",
          "json-logic.link-conditions",
          "transform.object-template",
          "tabs.lazyLoad"
        ],
        "backendSurfaces": [
          "GET /schemas/surfaces?resource=operations.missoes",
          "GET /schemas/actions?resource=operations.missoes",
          "POST /api/operations/missoes/filter",
          "POST /api/operations/vw-resumo-missoes/filter",
          "POST /api/operations/missao-participantes/filter",
          "GET /api/operations/missoes/{id}/capabilities",
          "GET /api/operations/missoes/capabilities",
          "GET /api/operations/vw-resumo-missoes/capabilities",
          "GET /api/operations/missao-participantes/capabilities",
          "POST /api/operations/missoes/option-sources/mission/options/filter",
          "GET /api/operations/missoes/option-sources/mission/options/by-ids",
          "POST /api/human-resources/funcionarios/option-sources/employee/options/filter",
          "GET /api/human-resources/funcionarios/option-sources/employee/options/by-ids"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "loads imported canonical nested-path recipe",
            "renders tabs, nested table metadata and the rich-content timeline in DynamicWidgetLoader",
            "propagates nested output to state and state to nested inputs through composition.links",
            "keeps persisted links under page.composition.links only",
            "uses operations.missoes endpoints that match the demonstrated business flow"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "schemas-surfaces-operations-missoes",
            "schemas-actions-operations-missoes",
            "operations-missoes-item-capabilities",
            "vw-resumo-missoes-filter-basic",
            "missao-participantes-stats-papel"
          ],
          "pendingHttpIds": [],
          "notes": [
            "Reference API: https://praxis-api-quickstart.onrender.com",
            "The landing example imports the golden recipe from praxis-ui-angular instead of copying the page contract.",
            "The example intentionally uses mission read projections instead of HR/payroll endpoints that do not support the demonstrated flow."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.nested-path-showcase.json",
          "praxis-ui-angular/projects/praxis-core/docs/nested-component-ports-implementation-plan.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "state": {
            "values": {
              "selection": {
                "missionId": 1,
                "missionTitle": "Batalha de Nova York"
              }
            }
          },
          "widgets": [
            {
              "key": "missionNestedWorkspace",
              "shell": {
                "kind": "dashboard-card",
                "icon": "account_tree",
                "title": "Mission command nestedPath workspace",
                "subtitle": "Select a mission once; summary, team and timeline tabs receive mission context through component-port + nestedPath"
              },
              "definition": {
                "id": "praxis-tabs",
                "bindingOrder": [
                  "tabsId",
                  "componentInstanceId",
                  "config",
                  "selectedIndex"
                ],
                "inputs": {
                  "tabsId": "nested-path-mission-workspace",
                  "componentInstanceId": "nested-path-mission-workspace",
                  "selectedIndex": 0,
                  "config": {
                    "appearance": {
                      "density": "comfortable",
                      "dynamicHeight": true,
                      "fitInkBarToContent": true
                    },
                    "behavior": {
                      "lazyLoad": true,
                      "reorderable": false,
                      "closeable": false
                    },
                    "tabs": [
                      {
                        "id": "missions",
                        "textLabel": "Select mission",
                        "icon": "radar",
                        "widgets": [
                          {
                            "id": "praxis-table",
                            "childWidgetKey": "missions-table",
                            "bindingOrder": [
                              "tableId",
                              "resourcePath",
                              "config"
                            ],
                            "inputs": {
                              "tableId": "nested-path-missions-table",
                              "resourcePath": "operations/missoes",
                              "config": {
                                "toolbar": {
                                  "visible": true,
                                  "title": "Mission portfolio",
                                  "search": {
                                    "enabled": true,
                                    "placeholder": "Search by title, threat or location"
                                  },
                                  "layout": {
                                    "alignment": "space-between",
                                    "showSeparator": true
                                  },
                                  "actions": [
                                    {
                                      "id": "inspect-surfaces",
                                      "label": "Surfaces",
                                      "icon": "layers",
                                      "action": "inspect-surfaces",
                                      "discovery": {
                                        "rel": "surfaces",
                                        "scope": "resource",
                                        "resourcePath": "operations/missoes",
                                        "resourceKey": "operations.missoes"
                                      }
                                    },
                                    {
                                      "id": "inspect-actions",
                                      "label": "Actions",
                                      "icon": "bolt",
                                      "action": "inspect-actions",
                                      "discovery": {
                                        "rel": "actions",
                                        "scope": "resource",
                                        "resourcePath": "operations/missoes",
                                        "resourceKey": "operations.missoes"
                                      }
                                    }
                                  ]
                                },
                                "columns": [
                                  {
                                    "field": "id",
                                    "header": "ID",
                                    "width": "80px",
                                    "align": "center"
                                  },
                                  {
                                    "field": "titulo",
                                    "header": "Mission",
                                    "type": "text",
                                    "sticky": "start"
                                  },
                                  {
                                    "field": "status",
                                    "header": "Status",
                                    "type": "badge"
                                  },
                                  {
                                    "field": "prioridade",
                                    "header": "Priority",
                                    "type": "badge"
                                  },
                                  {
                                    "field": "local",
                                    "header": "Location",
                                    "type": "text"
                                  },
                                  {
                                    "field": "ameacaNome",
                                    "header": "Threat",
                                    "type": "text"
                                  }
                                ],
                                "behavior": {
                                  "pagination": {
                                    "enabled": true,
                                    "strategy": "server",
                                    "pageSize": 10,
                                    "pageSizeOptions": [
                                      10,
                                      25,
                                      50
                                    ],
                                    "position": "bottom"
                                  },
                                  "sorting": {
                                    "enabled": true,
                                    "strategy": "server",
                                    "defaultSort": {
                                      "column": "id",
                                      "direction": "asc"
                                    }
                                  },
                                  "filtering": {
                                    "enabled": true,
                                    "strategy": "server",
                                    "advancedFilters": {
                                      "enabled": true,
                                      "fields": [
                                        "titulo",
                                        "status",
                                        "prioridade",
                                        "local"
                                      ]
                                    }
                                  },
                                  "selection": {
                                    "enabled": true,
                                    "type": "single",
                                    "mode": "row",
                                    "persistSelection": false
                                  }
                                }
                              }
                            },
                            "outputs": {
                              "rowClick": "emit",
                              "selectionChange": "emit",
                              "toolbarAction": "emit"
                            }
                          }
                        ]
                      },
                      {
                        "id": "summary",
                        "textLabel": "Summary",
                        "icon": "groups",
                        "widgets": [
                          {
                            "id": "praxis-table",
                            "childWidgetKey": "mission-summary-table",
                            "bindingOrder": [
                              "tableId",
                              "resourcePath",
                              "queryContext",
                              "config"
                            ],
                            "inputs": {
                              "tableId": "nested-path-mission-summary-table",
                              "resourcePath": "operations/vw-resumo-missoes",
                              "queryContext": {
                                "filters": {
                                  "missaoId": 1
                                }
                              },
                              "config": {
                                "toolbar": {
                                  "visible": true,
                                  "title": "Selected mission summary"
                                },
                                "columns": [
                                  {
                                    "field": "titulo",
                                    "header": "Mission",
                                    "type": "text",
                                    "sticky": "start"
                                  },
                                  {
                                    "field": "status",
                                    "header": "Status",
                                    "type": "badge"
                                  },
                                  {
                                    "field": "prioridade",
                                    "header": "Priority",
                                    "type": "badge"
                                  },
                                  {
                                    "field": "qtdHerois",
                                    "header": "Heroes",
                                    "type": "number",
                                    "align": "end"
                                  },
                                  {
                                    "field": "qtdEventos",
                                    "header": "Events",
                                    "type": "number",
                                    "align": "end"
                                  }
                                ],
                                "behavior": {
                                  "pagination": {
                                    "enabled": false
                                  }
                                }
                              }
                            },
                            "outputs": {
                              "rowClick": "emit"
                            }
                          }
                        ]
                      },
                      {
                        "id": "team",
                        "textLabel": "Team",
                        "icon": "groups",
                        "widgets": [
                          {
                            "id": "praxis-list",
                            "childWidgetKey": "mission-team-list",
                            "bindingOrder": [
                              "listId",
                              "queryContext",
                              "config"
                            ],
                            "shell": {
                              "title": "Mission Team",
                              "subtitle": "Members of the team allocated to this mission"
                            },
                            "inputs": {
                              "listId": "nested-path-mission-team-list",
                              "queryContext": {
                                "filters": {
                                  "missaoId": 1
                                }
                              },
                              "config": {
                                "dataSource": {
                                  "resourcePath": "operations/missao-participantes"
                                },
                                "layout": {
                                  "variant": "tiles",
                                  "lines": 3,
                                  "density": "comfortable",
                                  "pageSize": 6
                                },
                                "skin": {
                                  "type": "gradient-tile",
                                  "radius": "16px"
                                },
                                "templating": {
                                  "leading": {
                                    "type": "image",
                                    "expr": "${item.funcionarioFotoUrl}",
                                    "imageAlt": "Avatar"
                                  },
                                  "primary": {
                                    "type": "text",
                                    "expr": "${item.funcionarioNome}"
                                  },
                                  "secondary": {
                                    "type": "text",
                                    "expr": "Função: ${item.papel}"
                                  },
                                  "trailing": {
                                    "type": "chip",
                                    "expr": "${item.principal|bool:Líder:Membro}"
                                  },
                                  "chipColorMap": {
                                    "Líder": "accent",
                                    "Membro": "primary"
                                  },
                                  "features": [
                                    {
                                      "icon": "emoji_events",
                                      "expr": "Resultado: ${item.resultado}"
                                    }
                                  ],
                                  "featuresMode": "icons+labels"
                                },
                                "ui": {
                                  "showSearch": false,
                                  "showSort": false,
                                  "showRange": false
                                }
                              }
                            }
                          }
                        ]
                      },
                      {
                        "id": "timeline",
                        "textLabel": "Timeline",
                        "icon": "timeline",
                        "widgets": [
                          {
                            "id": "praxis-rich-content",
                            "childWidgetKey": "mission-timeline",
                            "bindingOrder": [
                              "document",
                              "context",
                              "layout",
                              "rootClassName"
                            ],
                            "inputs": {
                              "layout": "block",
                              "rootClassName": "nested-path-mission-timeline",
                              "context": {
                                "selection": {
                                  "missionId": 1,
                                  "missionTitle": "Batalha de Nova York"
                                }
                              },
                              "document": {
                                "kind": "praxis.rich-content",
                                "version": "1.0.0",
                                "nodes": [
                                  {
                                    "type": "timeline",
                                    "id": "mission-command-timeline",
                                    "title": "Authored mission timeline",
                                    "emptyText": "Select a mission to inspect its authored operational timeline.",
                                    "orientation": "vertical",
                                    "position": "alternate",
                                    "connectorVariant": "dashed",
                                    "connectorColor": "neutral",
                                    "markerVariant": "icon",
                                    "markerColor": "info",
                                    "markerStyle": "filled",
                                    "items": [
                                      {
                                        "id": "mission-event-intel",
                                        "icon": "travel_explore",
                                        "title": "Pacote de inteligência consolidado",
                                        "subtitleExpr": "selection.missionTitle",
                                        "meta": "INTEL",
                                        "opposite": "2025-10-18T02:41:41Z",
                                        "badge": "grounding",
                                        "markerColor": "info"
                                      },
                                      {
                                        "id": "mission-event-contact",
                                        "icon": "radar",
                                        "title": "Contato tático ativo",
                                        "subtitle": "Equipe em campo confirmou o ponto de contato operacional.",
                                        "meta": "CONTATO",
                                        "opposite": "2025-10-18T09:41:42Z",
                                        "badge": "signal",
                                        "markerColor": "primary"
                                      },
                                      {
                                        "id": "mission-event-combat",
                                        "icon": "shield",
                                        "title": "Engajamento inicial",
                                        "subtitle": "Civis evacuados e perímetro sob controle.",
                                        "meta": "COMBATE",
                                        "opposite": "2025-10-18T12:41:42Z",
                                        "badge": "operation",
                                        "markerColor": "warning"
                                      },
                                      {
                                        "id": "mission-event-reinforcement",
                                        "icon": "verified",
                                        "title": "Reforços a caminho",
                                        "subtitle": "SHIELD mobilizado para sustentação da missão.",
                                        "meta": "EXTRA",
                                        "opposite": "2025-10-18T18:41:42Z",
                                        "badge": "support",
                                        "markerColor": "success"
                                      }
                                    ]
                                  }
                                ]
                              }
                            }
                          }
                        ]
                      }
                    ]
                  }
                },
                "outputs": {
                  "selectedIndexChange": "emit"
                }
              }
            }
          ],
          "composition": {
            "version": "1.0.0",
            "links": [
              {
                "id": "nestedPath:missions-table.rowClick->state.selection.missionId",
                "intent": "state-write",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionNestedWorkspace",
                    "port": "rowClick",
                    "direction": "output",
                    "componentType": "praxis-table",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "missions",
                        "index": 0
                      },
                      {
                        "kind": "widget",
                        "key": "missions-table",
                        "componentType": "praxis-table"
                      }
                    ]
                  }
                },
                "to": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.missionId",
                    "layer": "values",
                    "writable": true
                  }
                },
                "condition": {
                  ">": [
                    {
                      "var": "payload.row.id"
                    },
                    0
                  ]
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "nestedPath:pick-mission-id",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.row.id"
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true,
                  "debounceMs": 50
                }
              },
              {
                "id": "nestedPath:missions-table.rowClick->state.selection.missionTitle",
                "intent": "state-write",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionNestedWorkspace",
                    "port": "rowClick",
                    "direction": "output",
                    "componentType": "praxis-table",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "missions",
                        "index": 0
                      },
                      {
                        "kind": "widget",
                        "key": "missions-table",
                        "componentType": "praxis-table"
                      }
                    ]
                  }
                },
                "to": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.missionTitle",
                    "layer": "values",
                    "writable": true
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "nestedPath:pick-mission-title",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.row.titulo"
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true,
                  "debounceMs": 50
                }
              },
              {
                "id": "nestedPath:state.selection.missionId->summary-table.queryContext",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.missionId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionNestedWorkspace",
                    "port": "queryContext",
                    "direction": "input",
                    "componentType": "praxis-table",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "summary",
                        "index": 1
                      },
                      {
                        "kind": "widget",
                        "key": "mission-summary-table",
                        "componentType": "praxis-table"
                      }
                    ]
                  }
                },
                "condition": {
                  ">": [
                    {
                      "var": "source"
                    },
                    0
                  ]
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "object-fragment",
                  "sourceBindings": [
                    {
                      "source": "state",
                      "path": "selection.missionId"
                    }
                  ],
                  "steps": [
                    {
                      "id": "nestedPath:mission-id-to-summary-filter",
                      "kind": "object-template",
                      "phase": "link-propagation",
                      "config": {
                        "template": {
                          "filters": {
                            "missaoId": "${source}"
                          }
                        }
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "nestedPath:state.selection.missionId->team-list.queryContext",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.missionId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionNestedWorkspace",
                    "port": "queryContext",
                    "direction": "input",
                    "componentType": "praxis-list",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "team",
                        "index": 2
                      },
                      {
                        "kind": "widget",
                        "key": "mission-team-list",
                        "componentType": "praxis-list"
                      }
                    ]
                  }
                },
                "condition": {
                  ">": [
                    {
                      "var": "source"
                    },
                    0
                  ]
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "object-fragment",
                  "sourceBindings": [
                    {
                      "source": "state",
                      "path": "selection.missionId"
                    }
                  ],
                  "steps": [
                    {
                      "id": "nestedPath:mission-id-to-team-filter",
                      "kind": "object-template",
                      "phase": "link-propagation",
                      "config": {
                        "template": {
                          "filters": {
                            "missaoId": "${source}"
                          }
                        }
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "nestedPath:state.selection->timeline.context",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionNestedWorkspace",
                    "port": "context",
                    "direction": "input",
                    "componentType": "praxis-rich-content",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "timeline",
                        "index": 3
                      },
                      {
                        "kind": "widget",
                        "key": "mission-timeline",
                        "componentType": "praxis-rich-content"
                      }
                    ]
                  }
                },
                "condition": {
                  ">": [
                    {
                      "var": "source.missionId"
                    },
                    0
                  ]
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "object-fragment",
                  "sourceBindings": [
                    {
                      "source": "state",
                      "path": "selection"
                    }
                  ],
                  "steps": [
                    {
                      "id": "nestedPath:selection-to-rich-timeline-context",
                      "kind": "object-template",
                      "phase": "link-propagation",
                      "config": {
                        "template": {
                          "selection": "${source}"
                        }
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              }
            ]
          }
        }
      }
    },
    {
      "id": "page-builder-authoring-workspace",
      "title": "Page Builder - authoring workspace",
      "summary": "Turns Page Builder into a governed authoring workspace where teams edit layout, bindings and page JSON while the backend contract remains the source of truth.",
      "i18n": {
        "pt": {
          "demonstrates": [
            "Widgets registrados permanecem no mesmo canvas governado do Page Builder",
            "Aplicar configurações atualiza o draft local sem criar uma segunda DSL de página",
            "Salvar persiste o WidgetPageDefinition no escopo de usuário da fronteira canônica de config",
            "Reabrir restaura a versão salva e renova o ETag usado pela próxima gravação",
            "Um If-Match obsoleto aparece como conflito 412 e preserva o draft local",
            "Reiniciar afeta apenas o draft; excluir remove a versão salva com o ETag forte atual"
          ],
          "operationalEvidenceNotes": [
            "O host mantém autoPersist desativado e mede confirmação real do backend pelos outputs de lifecycle do Page Builder.",
            "O payload persistido continua sendo WidgetPageDefinition e a chave dynamic-page preserva identidade estável da rota e da instância.",
            "O ETag fraco do header serve à revalidação de leitura; If-Match usa o etag forte retornado no corpo.",
            "A sequência publicada foi verificada com criação, conflito 412, atualização condicional e limpeza condicional do registro transitório."
          ],
          "title": "Page Builder - workspace de autoria",
          "summary": "Transforma o Page Builder em um workspace de autoria governada para editar layout, bindings e JSON da página mantendo o contrato do backend como fonte de verdade."
        }
      },
      "publicRoute": "/examples/dynamic-page/page-builder-authoring-workspace",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/page-builder-authoring-workspace",
      "category": "page",
      "mode": "authored-customizable",
      "primaryComponent": "praxis-page-builder",
      "resourcePath": "operations/missoes",
      "resourceKey": "operations.missoes",
      "requires": [
        "widget-registry",
        "settings-panel-bridge",
        "page-builder",
        "dynamic-widget-resolution",
        "composition.links",
        "state.values",
        "runtime-preview",
        "widget-page-definition",
        "ui_user_config",
        "etag-concurrency",
        "schemas.filtered",
        "surfaces",
        "actions",
        "capabilities"
      ],
      "tags": [
        "page-builder",
        "authoring",
        "settings-panel",
        "composition",
        "bindings",
        "state",
        "mission",
        "quickstart",
        "runtime-preview",
        "widget-page-definition",
        "governed-persistence",
        "etag"
      ],
      "demonstrates": [
        "Registered widgets are arranged into one governed Page Builder canvas",
        "Mission table rowClick writes state.selection.missionId through composition.links",
        "The selected mission id hydrates team, timeline and team-plan widgets",
        "Chart, table and form widgets share the same quickstart resource contract",
        "Page settings Apply updates the live sandbox draft and reopening the editor preserves the canonical page document",
        "Save page persists the WidgetPageDefinition in the user-scoped canonical config boundary",
        "Reopen loads the saved document and keeps weak read validators separate from the strong write ETag",
        "A stale If-Match is surfaced as a 412 conflict instead of overwriting another session",
        "Restart resets only the draft while Delete saved page removes the governed version conditionally",
        "Inspector keeps the current page JSON and AI handoff plan copyable"
      ],
      "platformFeatures": [
        "page-builder",
        "settings-panel-bridge",
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "surfaces",
        "actions",
        "capabilities",
        "praxis-chart",
        "praxis-table",
        "schema-driven-form",
        "composition.links",
        "state.values",
        "runtime-preview",
        "widget-page-definition"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered",
        "GET /schemas/surfaces?resource=operations.missoes",
        "GET /schemas/actions?resource=operations.missoes",
        "POST /api/operations/missoes/filter",
        "GET /api/operations/missoes/{id}/capabilities",
        "GET /api/operations/missoes/{id}/summary",
        "PATCH /api/operations/missoes/{id}/team-plan",
        "POST /api/operations/missao-participantes/filter",
        "POST /api/operations/missoes/option-sources/mission/options/filter",
        "GET /api/operations/missoes/option-sources/mission/options/by-ids",
        "POST /api/human-resources/funcionarios/option-sources/employee/options/filter",
        "GET /api/human-resources/funcionarios/option-sources/employee/options/by-ids",
        "POST /api/operations/missao-eventos/filter",
        "POST /api/operations/vw-resumo-missoes/stats/group-by"
      ],
      "complexity": "advanced",
      "catalogRole": "authoring-workflow",
      "learningStage": "composition",
      "proofRank": 2,
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "page-builder-primary-component",
          "customize-opens-page-builder-editor",
          "page-settings-apply-updates-local-draft",
          "page-settings-reopen-preserves-local-draft",
          "save-persists-widget-page-definition",
          "reopen-restores-governed-page",
          "stale-etag-surfaces-412-conflict",
          "delete-uses-current-strong-etag",
          "host-owned-persistence-with-auto-persist-disabled",
          "mission-table-rendered",
          "team-and-timeline-query-context-links-present",
          "team-plan-partial-form-declared",
          "generated-widget-page-definition-copyable"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "schemas-catalog",
          "schemas-surfaces-operations-missoes",
          "schemas-actions-operations-missoes",
          "operations-missoes-item-capabilities",
          "vw-resumo-missoes-stats-status",
          "missao-participantes-filter-basic",
          "missao-eventos-filter-basic",
          "ui-put-dynamic-page-config",
          "ui-get-dynamic-page-config",
          "ui-put-dynamic-page-config-if-match",
          "ui-delete-dynamic-page-config-if-match"
        ],
        "pendingHttpIds": [],
        "notes": [
          "This example renders the canonical DynamicPageBuilderComponent from @praxisui/page-builder, including the connection editor toolbar.",
          "The public route keeps Page Builder autoPersist disabled because the host owns the explicit save, reopen, restart and delete lifecycle.",
          "The persisted payload remains WidgetPageDefinition; ApiConfigStorage maps the stable page identity to praxis-dynamic-page and propagates failed writes.",
          "Read revalidation may use a weak gateway ETag, while If-Match always uses the strong validator returned in the config response body.",
          "The published-backend sequence was verified with create, stale 412, conditional update and conditional cleanup; the transient proof record was removed.",
          "The UiCompositionPlan recipe is included as the AI handoff shape before page compilation."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-page-builder.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-page-builder.master-detail.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-page-builder.ui-composition-plan.json",
        "praxis-ui-angular/projects/praxis-page-builder/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/page-builder-authoring-workspace.json",
      "documentation": {
        "story": {
          "pt": "Uma equipe de produto precisa evoluir uma página operacional sem criar uma segunda DSL nem perder o vínculo com recursos, capabilities e componentes registrados. O Page Builder edita visualmente o mesmo documento que o runtime materializa.",
          "en": "A product team needs to evolve an operational page without creating a second DSL or losing its link to resources, capabilities and registered components. Page Builder visually edits the same document materialized by the runtime."
        },
        "outcome": {
          "pt": "Layout, shells, widgets e conexões permanecem inspecionáveis no JSON; aplicar uma alteração visual produz outro WidgetPageDefinition governável, pronto para revisão e persistência pelo host.",
          "en": "Layout, shells, widgets and connections remain inspectable in JSON; applying a visual change produces another governable WidgetPageDefinition ready for host review and persistence."
        },
        "componentRoles": [
          {
            "component": "praxis-page-builder",
            "jsonPath": "authoringPlan -> WidgetPageDefinition",
            "role": {
              "pt": "Edita visualmente layout, shells, widgets e conexões do documento canônico.",
              "en": "Visually edits layout, shells, widgets and connections in the canonical document."
            },
            "rationale": {
              "pt": "Permite autoria revisável sem introduzir uma representação persistida paralela ao runtime.",
              "en": "Enables reviewable authoring without introducing a persisted representation parallel to the runtime."
            }
          },
          {
            "component": "praxis-chart",
            "jsonPath": "page.widgets[missionStatusChart]",
            "role": {
              "pt": "Demonstra que o builder hospeda o editor publicado pelo owner do gráfico.",
              "en": "Demonstrates that the builder hosts the editor published by the chart owner."
            },
            "rationale": {
              "pt": "Page Builder compõe o widget, mas não redefine métricas, fontes ou semântica de analytics.",
              "en": "Page Builder composes the widget but does not redefine metrics, sources or analytics semantics."
            }
          },
          {
            "component": "praxis-table",
            "jsonPath": "page.widgets[missionCanvas|missionTeam|missionTimeline]",
            "role": {
              "pt": "Fornece seleção, coleções relacionadas e endpoints de composição para o canvas.",
              "en": "Provides selection, related collections and composition endpoints for the canvas."
            },
            "rationale": {
              "pt": "Torna o wiring visual verificável sobre ports realmente publicados pelos componentes.",
              "en": "Makes visual wiring verifiable against ports actually published by components."
            }
          },
          {
            "component": "praxis-dynamic-form",
            "jsonPath": "page.widgets[teamPlanForm]",
            "role": {
              "pt": "Materializa o formulário parcial de planejamento da equipe dentro da página authorada.",
              "en": "Materializes the partial team-planning form inside the authored page."
            },
            "rationale": {
              "pt": "Preserva schema e validação do formulário enquanto o builder decide apenas sua posição e conexão.",
              "en": "Preserves form schema and validation while the builder decides only position and connection."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "page.widgets[]",
            "title": {
              "pt": "Paleta materializada",
              "en": "Materialized palette"
            },
            "explanation": {
              "pt": "Cada item registra shell e definition do widget; o builder não achata contratos especializados em uma configuração genérica.",
              "en": "Each item registers widget shell and definition; the builder does not flatten specialized contracts into generic configuration."
            }
          },
          {
            "jsonPath": "page.composition.links",
            "title": {
              "pt": "Wiring auditável",
              "en": "Auditable wiring"
            },
            "explanation": {
              "pt": "Conecta eventos e inputs por endpoints estruturados, incluindo seleção, estado e queryContext.",
              "en": "Connects events and inputs through structured endpoints, including selection, state and queryContext."
            }
          },
          {
            "jsonPath": "page.state.values",
            "title": {
              "pt": "Contexto persistível",
              "en": "Persistable context"
            },
            "explanation": {
              "pt": "Declara o estado inicial usado pelas superfícies relacionadas sem esconder store específico na rota.",
              "en": "Declares initial state used by related surfaces without hiding a route-specific store."
            }
          },
          {
            "jsonPath": "sourceRecipes",
            "title": {
              "pt": "Da intenção ao documento",
              "en": "From intent to document"
            },
            "explanation": {
              "pt": "Mostra o UiCompositionPlan como handoff intermediário e o WidgetPageDefinition como resultado persistível.",
              "en": "Shows UiCompositionPlan as the intermediate handoff and WidgetPageDefinition as the persistable result."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Abra o builder, reposicione um widget e compare o page JSON antes de aplicar para localizar o delta produzido.",
            "en": "Open the builder, reposition a widget and compare page JSON before applying to locate the produced delta."
          },
          {
            "pt": "Edite uma conexão entre seleção e detalhe, verificando endpoints, transform e policy antes de salvar.",
            "en": "Edit a selection-to-detail connection, checking endpoints, transform and policy before saving."
          },
          {
            "pt": "Abra o editor do gráfico e confirme que suas opções vêm do owner de Charts, não de campos duplicados no Page Builder.",
            "en": "Open the chart editor and confirm its options come from the Charts owner rather than duplicated Page Builder fields."
          }
        ],
        "productionNotes": [
          {
            "pt": "O documento salvo continua sendo WidgetPageDefinition; UiCompositionPlan e canvas são superfícies de authoring derivadas.",
            "en": "The saved document remains WidgetPageDefinition; UiCompositionPlan and canvas are derived authoring surfaces."
          },
          {
            "pt": "Persistência, ETag, aprovação e autorização do apply pertencem ao host e à fronteira de configuração governada.",
            "en": "Persistence, ETag, approval and apply authorization belong to the host and governed configuration boundary."
          },
          {
            "pt": "Component editors permanecem propriedade de cada lib; Page Builder apenas resolve e hospeda ComponentDocMeta.configEditor.",
            "en": "Component editors remain owned by each library; Page Builder only resolves and hosts ComponentDocMeta.configEditor."
          }
        ]
      },
      "envelope": {
        "id": "page-builder-authoring-workspace",
        "title": "Page Builder - authoring workspace",
        "summary": "Turns Page Builder into a governed authoring workspace where teams edit layout, bindings and page JSON while the backend contract remains the source of truth.",
        "component": "praxis-dynamic-page",
        "category": "page",
        "primaryComponent": "praxis-page-builder",
        "runtime": {
          "mode": "authored-customizable",
          "minPraxisUiPackage": "@praxisui/page-builder"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/missoes",
          "resourceKey": "operations.missoes"
        },
        "requires": [
          "widget-registry",
          "settings-panel-bridge",
          "page-builder",
          "dynamic-widget-resolution",
          "composition.links",
          "state.values",
          "runtime-preview",
          "widget-page-definition",
          "ui_user_config",
          "etag-concurrency",
          "schemas.filtered",
          "surfaces",
          "actions",
          "capabilities"
        ],
        "tags": [
          "page-builder",
          "authoring",
          "settings-panel",
          "composition",
          "bindings",
          "state",
          "mission",
          "quickstart",
          "runtime-preview",
          "widget-page-definition",
          "governed-persistence",
          "etag"
        ],
        "demonstrates": [
          "Registered widgets are arranged into one governed Page Builder canvas",
          "Mission table rowClick writes state.selection.missionId through composition.links",
          "The selected mission id hydrates team, timeline and team-plan widgets",
          "Chart, table and form widgets share the same quickstart resource contract",
          "Page settings Apply updates the live sandbox draft and reopening the editor preserves the canonical page document",
          "Save page persists the WidgetPageDefinition in the user-scoped canonical config boundary",
          "Reopen loads the saved document and keeps weak read validators separate from the strong write ETag",
          "A stale If-Match is surfaced as a 412 conflict instead of overwriting another session",
          "Restart resets only the draft while Delete saved page removes the governed version conditionally",
          "Inspector keeps the current page JSON and AI handoff plan copyable"
        ],
        "i18n": {
          "pt": {
            "demonstrates": [
              "Widgets registrados permanecem no mesmo canvas governado do Page Builder",
              "Aplicar configurações atualiza o draft local sem criar uma segunda DSL de página",
              "Salvar persiste o WidgetPageDefinition no escopo de usuário da fronteira canônica de config",
              "Reabrir restaura a versão salva e renova o ETag usado pela próxima gravação",
              "Um If-Match obsoleto aparece como conflito 412 e preserva o draft local",
              "Reiniciar afeta apenas o draft; excluir remove a versão salva com o ETag forte atual"
            ],
            "operationalEvidenceNotes": [
              "O host mantém autoPersist desativado e mede confirmação real do backend pelos outputs de lifecycle do Page Builder.",
              "O payload persistido continua sendo WidgetPageDefinition e a chave dynamic-page preserva identidade estável da rota e da instância.",
              "O ETag fraco do header serve à revalidação de leitura; If-Match usa o etag forte retornado no corpo.",
              "A sequência publicada foi verificada com criação, conflito 412, atualização condicional e limpeza condicional do registro transitório."
            ]
          }
        },
        "platformFeatures": [
          "page-builder",
          "settings-panel-bridge",
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "surfaces",
          "actions",
          "capabilities",
          "praxis-chart",
          "praxis-table",
          "schema-driven-form",
          "composition.links",
          "state.values",
          "runtime-preview",
          "widget-page-definition"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered",
          "GET /schemas/surfaces?resource=operations.missoes",
          "GET /schemas/actions?resource=operations.missoes",
          "POST /api/operations/missoes/filter",
          "GET /api/operations/missoes/{id}/capabilities",
          "GET /api/operations/missoes/{id}/summary",
          "PATCH /api/operations/missoes/{id}/team-plan",
          "POST /api/operations/missao-participantes/filter",
          "POST /api/operations/missoes/option-sources/mission/options/filter",
          "GET /api/operations/missoes/option-sources/mission/options/by-ids",
          "POST /api/human-resources/funcionarios/option-sources/employee/options/filter",
          "GET /api/human-resources/funcionarios/option-sources/employee/options/by-ids",
          "POST /api/operations/missao-eventos/filter",
          "POST /api/operations/vw-resumo-missoes/stats/group-by"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "page-builder-primary-component",
            "customize-opens-page-builder-editor",
            "page-settings-apply-updates-local-draft",
            "page-settings-reopen-preserves-local-draft",
            "save-persists-widget-page-definition",
            "reopen-restores-governed-page",
            "stale-etag-surfaces-412-conflict",
            "delete-uses-current-strong-etag",
            "host-owned-persistence-with-auto-persist-disabled",
            "mission-table-rendered",
            "team-and-timeline-query-context-links-present",
            "team-plan-partial-form-declared",
            "generated-widget-page-definition-copyable"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "schemas-catalog",
            "schemas-surfaces-operations-missoes",
            "schemas-actions-operations-missoes",
            "operations-missoes-item-capabilities",
            "vw-resumo-missoes-stats-status",
            "missao-participantes-filter-basic",
            "missao-eventos-filter-basic",
            "ui-put-dynamic-page-config",
            "ui-get-dynamic-page-config",
            "ui-put-dynamic-page-config-if-match",
            "ui-delete-dynamic-page-config-if-match"
          ],
          "pendingHttpIds": [],
          "notes": [
            "This example renders the canonical DynamicPageBuilderComponent from @praxisui/page-builder, including the connection editor toolbar.",
            "The public route keeps Page Builder autoPersist disabled because the host owns the explicit save, reopen, restart and delete lifecycle.",
            "The persisted payload remains WidgetPageDefinition; ApiConfigStorage maps the stable page identity to praxis-dynamic-page and propagates failed writes.",
            "Read revalidation may use a weak gateway ETag, while If-Match always uses the strong validator returned in the config response body.",
            "The published-backend sequence was verified with create, stale 412, conditional update and conditional cleanup; the transient proof record was removed.",
            "The UiCompositionPlan recipe is included as the AI handoff shape before page compilation."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-page-builder.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-page-builder.master-detail.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-page-builder.ui-composition-plan.json",
          "praxis-ui-angular/projects/praxis-page-builder/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 3,
            "gap": "16px"
          },
          "deviceLayouts": {
            "desktop": {
              "layout": {
                "orientation": "columns",
                "columns": 3,
                "gap": "16px"
              },
              "widgetOverrides": {
                "missionWorkspaceBrief": {
                  "order": 10,
                  "span": 3
                },
                "missionCanvas": {
                  "order": 20,
                  "span": 3
                },
                "missionStatusChart": {
                  "order": 30,
                  "span": 1
                },
                "teamPlanForm": {
                  "order": 40,
                  "span": 1
                },
                "missionTeam": {
                  "order": 50,
                  "span": 1
                },
                "missionTimeline": {
                  "order": 60,
                  "span": 3
                }
              }
            },
            "tablet": {
              "layout": {
                "orientation": "columns",
                "columns": 1,
                "gap": "16px"
              },
              "widgetOverrides": {
                "missionWorkspaceBrief": {
                  "order": 10,
                  "span": 1
                },
                "missionCanvas": {
                  "order": 20,
                  "span": 1
                },
                "missionStatusChart": {
                  "order": 30,
                  "span": 1
                },
                "teamPlanForm": {
                  "order": 40,
                  "span": 1
                },
                "missionTeam": {
                  "order": 50,
                  "span": 1
                },
                "missionTimeline": {
                  "order": 60,
                  "span": 1
                }
              }
            },
            "mobile": {
              "layout": {
                "orientation": "columns",
                "columns": 1,
                "gap": "16px"
              },
              "widgetOverrides": {
                "missionWorkspaceBrief": {
                  "order": 10,
                  "span": 1
                },
                "missionCanvas": {
                  "order": 20,
                  "span": 1
                },
                "missionStatusChart": {
                  "order": 30,
                  "span": 1
                },
                "teamPlanForm": {
                  "order": 40,
                  "span": 1
                },
                "missionTeam": {
                  "order": 50,
                  "span": 1
                },
                "missionTimeline": {
                  "order": 60,
                  "span": 1
                }
              }
            }
          },
          "state": {
            "values": {
              "selection": {
                "missionId": 36
              }
            }
          },
          "widgets": [
            {
              "key": "missionWorkspaceBrief",
              "shell": {
                "kind": "dashboard-card",
                "icon": "assignment",
                "title": "Mission workspace brief",
                "subtitle": "Selected mission drives the detail surfaces and planning form"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "dynamic-page-mission-brief",
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "timeline",
                        "title": "Authored runtime path",
                        "position": "alternate",
                        "connectorVariant": "dashed",
                        "markerVariant": "number",
                        "items": [
                          {
                            "icon": "view_quilt",
                            "title": "Choose the mission",
                            "subtitle": "The table emits rowClick and writes state.selection.missionId.",
                            "meta": "operations/missoes",
                            "opposite": "1. Select",
                            "badge": "canvas"
                          },
                          {
                            "icon": "groups",
                            "title": "Plan the team",
                            "subtitle": "The partial form uses the selected id for the team-plan action.",
                            "meta": "team-plan schema",
                            "opposite": "2. Author",
                            "badge": "action"
                          },
                          {
                            "icon": "timeline",
                            "title": "Inspect dependent surfaces",
                            "subtitle": "Team and timeline widgets read the same state as queryContext.",
                            "meta": "missao-participantes + missao-eventos",
                            "opposite": "3. Bind",
                            "badge": "bindings"
                          },
                          {
                            "icon": "policy",
                            "title": "Check governance",
                            "subtitle": "Surfaces, actions and capabilities stay visible from the command widget.",
                            "meta": "/schemas/surfaces + /schemas/actions",
                            "opposite": "4. Govern",
                            "badge": "contract"
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            },
            {
              "key": "missionStatusChart",
              "shell": {
                "kind": "dashboard-card",
                "icon": "bar_chart",
                "title": "Analytics widget",
                "subtitle": "Group-by stats from the operations summary view"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "config"
                ],
                "inputs": {
                  "config": {
                    "id": "page-builder-mission-status-chart",
                    "type": "donut",
                    "title": "Mission status",
                    "subtitle": "Authored chart widget",
                    "sizing": {
                      "mode": "fixed",
                      "height": 260,
                      "minHeight": 220
                    },
                    "dataSource": {
                      "kind": "remote",
                      "resourcePath": "operations/vw-resumo-missoes",
                      "query": {
                        "sourceKind": "praxis.stats",
                        "statsOperation": "group-by",
                        "statsPath": "/api/operations/vw-resumo-missoes/stats/group-by",
                        "statsRequest": {
                          "filter": {},
                          "field": "status",
                          "metric": {
                            "operation": "COUNT",
                            "alias": "missions"
                          },
                          "limit": 8,
                          "orderBy": "KEY_ASC"
                        },
                        "metrics": [
                          {
                            "aggregation": "count",
                            "alias": "missions"
                          }
                        ]
                      }
                    },
                    "axes": {
                      "x": {
                        "field": "status",
                        "type": "category",
                        "label": "Status"
                      },
                      "y": {
                        "field": "missions",
                        "type": "value",
                        "label": "Missions"
                      }
                    },
                    "series": [
                      {
                        "id": "missions",
                        "name": "Missions",
                        "categoryField": "status",
                        "metric": {
                          "field": "missions",
                          "aggregation": "sum"
                        }
                      }
                    ],
                    "interactions": {
                      "pointClick": true,
                      "selection": true
                    },
                    "theme": {
                      "palette": [
                        "#1263b4",
                        "#0f766e",
                        "#f08c00",
                        "#c92a2a",
                        "#7b61ff"
                      ],
                      "legend": {
                        "visible": true,
                        "position": "bottom"
                      },
                      "tooltip": {
                        "enabled": true,
                        "trigger": "item"
                      },
                      "surface": {
                        "mode": "embedded",
                        "background": "transparent",
                        "borderWidth": 0,
                        "borderRadius": 0
                      }
                    }
                  }
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit"
                }
              }
            },
            {
              "key": "teamPlanForm",
              "shell": {
                "kind": "dashboard-card",
                "icon": "groups",
                "title": "Partial form widget",
                "subtitle": "Team-plan surface bound to selected mission state"
              },
              "definition": {
                "id": "praxis-dynamic-form",
                "bindingOrder": [
                  "formId",
                  "config",
                  "resourcePath",
                  "resourceId"
                ],
                "inputs": {
                  "formId": "page-builder-mission-team-plan",
                  "resourcePath": "operations/missoes",
                  "resourceId": 1,
                  "config": {
                    "metadata": {
                      "name": "Mission team planning request",
                      "version": "1.0.0"
                    },
                    "sections": [
                      {
                        "id": "team-plan",
                        "title": "Team plan",
                        "description": "Edit the mission participant collection published by the quickstart team-plan action schema.",
                        "appearance": "outlined",
                        "rows": [
                          {
                            "id": "team-plan-row",
                            "columns": [
                              {
                                "id": "team-plan-main",
                                "span": {
                                  "md": 12,
                                  "lg": 12
                                },
                                "fields": [
                                  "participantes"
                                ]
                              }
                            ]
                          }
                        ]
                      }
                    ],
                    "fieldMetadata": [
                      {
                        "name": "participantes",
                        "label": "Participantes",
                        "controlType": "array",
                        "type": "array",
                        "required": true,
                        "defaultValue": [
                          {
                            "id": 2,
                            "funcionarioId": 2,
                            "funcionarioNome": "Ayla Hayes",
                            "papel": "LIDER",
                            "ordem": 1,
                            "principal": true
                          },
                          {
                            "id": 5,
                            "funcionarioId": 5,
                            "funcionarioNome": "Tomas Hayes",
                            "papel": "TECNICO",
                            "ordem": 2,
                            "principal": false
                          },
                          {
                            "id": 8,
                            "funcionarioId": 8,
                            "funcionarioNome": "Zara Hayes",
                            "papel": "MEDICO",
                            "ordem": 3,
                            "principal": false
                          }
                        ],
                        "array": {
                          "itemType": "object",
                          "mode": "cards",
                          "itemSchemaRef": "#/components/schemas/PlanejarEquipeMissaoParticipanteDTO",
                          "itemIdentityField": "id",
                          "minItems": 1,
                          "maxItems": 12,
                          "addLabel": "Adicionar participante",
                          "emptyState": "Nenhum participante planejado",
                          "itemTitleTemplate": "{{funcionarioNome}} - {{papel}}",
                          "deleteMode": "removeFromPayload",
                          "operations": {
                            "add": true,
                            "edit": true,
                            "remove": true
                          },
                          "collectionValidation": {
                            "uniqueBy": [
                              "funcionarioId"
                            ],
                            "exactlyOne": {
                              "field": "principal",
                              "value": true,
                              "message": "Defina exatamente um participante principal."
                            }
                          },
                          "itemSchema": {
                            "fields": [
                              {
                                "name": "id",
                                "label": "ID",
                                "controlType": "numericTextBox",
                                "readOnly": true,
                                "hidden": true
                              },
                              {
                                "name": "funcionarioId",
                                "label": "Funcionario",
                                "controlType": "asyncSelect",
                                "required": true,
                                "endpoint": "/api/human-resources/funcionarios/options/filter",
                                "displayField": "label",
                                "valueField": "id"
                              },
                              {
                                "name": "funcionarioNome",
                                "label": "Nome",
                                "controlType": "input",
                                "readOnly": true
                              },
                              {
                                "name": "papel",
                                "label": "Papel",
                                "controlType": "select",
                                "required": true,
                                "options": [
                                  {
                                    "label": "Lider",
                                    "value": "LIDER"
                                  },
                                  {
                                    "label": "Tecnico",
                                    "value": "TECNICO"
                                  },
                                  {
                                    "label": "Analista",
                                    "value": "ANALISTA"
                                  },
                                  {
                                    "label": "Piloto",
                                    "value": "PILOTO"
                                  },
                                  {
                                    "label": "Medico",
                                    "value": "MEDICO"
                                  }
                                ]
                              },
                              {
                                "name": "ordem",
                                "label": "Ordem",
                                "controlType": "numericTextBox",
                                "readOnly": true
                              },
                              {
                                "name": "principal",
                                "label": "Principal",
                                "controlType": "toggle"
                              }
                            ]
                          }
                        }
                      }
                    ],
                    "actions": {
                      "submit": {
                        "id": "submit-team-plan",
                        "label": "Submit team plan",
                        "icon": "task_alt",
                        "visible": true,
                        "type": "submit"
                      },
                      "reset": {
                        "id": "reset-team-plan",
                        "label": "Reset",
                        "visible": true,
                        "type": "reset"
                      },
                      "position": "right",
                      "placement": "afterSections",
                      "spacing": "normal"
                    },
                    "submit": {
                      "method": "patch",
                      "url": "/api/operations/missoes/1/team-plan"
                    }
                  }
                }
              }
            },
            {
              "key": "missionCanvas",
              "shell": {
                "kind": "dashboard-card",
                "icon": "view_quilt",
                "title": "Mission list",
                "subtitle": "Select a mission, then inspect its related surfaces and actions"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath"
                ],
                "inputs": {
                  "resourcePath": "operations/missoes",
                  "tableId": "page-builder-missions-canvas",
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Missions",
                      "subtitle": "Authoring source widget",
                      "actionsPosition": "both",
                      "actions": [
                        {
                          "id": "inspect-surfaces",
                          "action": "inspect-surfaces",
                          "label": "Surfaces",
                          "icon": "layers",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 90,
                          "tooltip": "Inspect published resource surfaces",
                          "discovery": {
                            "rel": "surfaces",
                            "scope": "resource",
                            "resourcePath": "operations/missoes",
                            "resourceKey": "operations.missoes"
                          }
                        },
                        {
                          "id": "inspect-actions",
                          "action": "inspect-actions",
                          "label": "Actions",
                          "icon": "bolt",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 100,
                          "tooltip": "Inspect published resource actions and capabilities",
                          "discovery": {
                            "rel": "actions",
                            "scope": "resource",
                            "resourcePath": "operations/missoes",
                            "resourceKey": "operations.missoes"
                          }
                        }
                      ]
                    },
                    "columns": [
                      {
                        "field": "titulo",
                        "header": "Mission",
                        "type": "text",
                        "sticky": "start"
                      },
                      {
                        "field": "status",
                        "header": "Status",
                        "type": "badge",
                        "renderer": {
                          "type": "badge",
                          "badge": {
                            "textField": "status",
                            "icon": "radio_button_checked",
                            "color": "primary",
                            "variant": "soft"
                          }
                        },
                        "conditionalRenderers": [
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "status"
                                },
                                "PLANEJADA"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "status",
                                "icon": "event",
                                "color": "info",
                                "variant": "soft"
                              }
                            }
                          },
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "status"
                                },
                                "EM_ANDAMENTO"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "status",
                                "icon": "play_circle",
                                "color": "success",
                                "variant": "soft"
                              }
                            }
                          },
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "status"
                                },
                                "PAUSADA"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "status",
                                "icon": "pause_circle",
                                "color": "warning",
                                "variant": "soft"
                              }
                            }
                          },
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "status"
                                },
                                "CONCLUIDA"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "status",
                                "icon": "check_circle",
                                "color": "primary",
                                "variant": "soft"
                              }
                            }
                          },
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "status"
                                },
                                "FALHOU"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "status",
                                "icon": "error",
                                "color": "danger",
                                "variant": "soft"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "field": "prioridade",
                        "header": "Priority",
                        "type": "badge",
                        "renderer": {
                          "type": "badge",
                          "badge": {
                            "textField": "prioridade",
                            "icon": "flag",
                            "color": "primary",
                            "variant": "soft"
                          }
                        },
                        "conditionalRenderers": [
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "prioridade"
                                },
                                "BAIXA"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "prioridade",
                                "icon": "south",
                                "color": "primary",
                                "variant": "soft"
                              }
                            }
                          },
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "prioridade"
                                },
                                "MEDIA"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "prioridade",
                                "icon": "remove",
                                "color": "info",
                                "variant": "soft"
                              }
                            }
                          },
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "prioridade"
                                },
                                "ALTA"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "prioridade",
                                "icon": "priority_high",
                                "color": "warning",
                                "variant": "soft"
                              }
                            }
                          },
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "prioridade"
                                },
                                "CRITICA"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "prioridade",
                                "icon": "emergency_home",
                                "color": "danger",
                                "variant": "soft"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "field": "equipeResponsavel",
                        "header": "Ops context",
                        "type": "compose",
                        "renderer": {
                          "type": "compose",
                          "compose": {
                            "layout": {
                              "direction": "row",
                              "wrap": true,
                              "gap": 6,
                              "align": "center"
                            },
                            "items": [
                              {
                                "type": "badge",
                                "badge": {
                                  "textField": "equipeResponsavel",
                                  "icon": "groups",
                                  "color": "info",
                                  "variant": "outlined"
                                }
                              },
                              {
                                "type": "badge",
                                "badge": {
                                  "textField": "local",
                                  "icon": "place",
                                  "color": "primary",
                                  "variant": "soft"
                                }
                              }
                            ]
                          }
                        }
                      }
                    ],
                    "actions": {
                      "row": {
                        "enabled": true,
                        "display": "buttons",
                        "width": "320px",
                        "maxVisibleActions": 2,
                        "behavior": {
                          "maxInline": 2
                        },
                        "position": "end",
                        "header": {
                          "label": "Inspect",
                          "icon": "travel_explore"
                        },
                        "actions": [
                          {
                            "id": "mission-briefing",
                            "action": "inspect-surfaces",
                            "label": "Briefing",
                            "icon": "travel_explore",
                            "tooltip": "Open mission summary, team and timeline surfaces",
                            "discovery": {
                              "rel": "surfaces",
                              "scope": "item",
                              "resourcePath": "operations/missoes",
                              "resourceKey": "operations.missoes"
                            }
                          },
                          {
                            "id": "mission-actions",
                            "action": "inspect-actions",
                            "label": "Capabilities",
                            "icon": "policy",
                            "tooltip": "Open item actions and capability snapshot",
                            "discovery": {
                              "rel": "capabilities",
                              "scope": "item",
                              "resourcePath": "operations/missoes",
                              "resourceKey": "operations.missoes"
                            }
                          }
                        ]
                      }
                    },
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      },
                      "density": "compact"
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "rowAction": "emit",
                  "toolbarAction": "emit"
                }
              }
            },
            {
              "key": "missionTeam",
              "shell": {
                "kind": "dashboard-card",
                "icon": "badge",
                "title": "Team surface",
                "subtitle": "queryContext authored from page state"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath",
                  "queryContext"
                ],
                "inputs": {
                  "resourcePath": "operations/missao-participantes",
                  "tableId": "page-builder-mission-team",
                  "queryContext": {
                    "filters": {
                      "missaoId": 36
                    }
                  },
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Team",
                      "subtitle": "State-bound participant resource"
                    },
                    "columns": [
                      {
                        "field": "funcionarioNome",
                        "header": "Participant",
                        "type": "text",
                        "sticky": "start"
                      },
                      {
                        "field": "papel",
                        "header": "Role",
                        "type": "badge",
                        "renderer": {
                          "type": "badge",
                          "badge": {
                            "textField": "papel",
                            "icon": "badge",
                            "color": "primary",
                            "variant": "soft"
                          }
                        },
                        "conditionalRenderers": [
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "papel"
                                },
                                "LIDER"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "papel",
                                "icon": "workspace_premium",
                                "color": "primary",
                                "variant": "soft"
                              }
                            }
                          },
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "papel"
                                },
                                "COMBATE"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "papel",
                                "icon": "security",
                                "color": "danger",
                                "variant": "soft"
                              }
                            }
                          },
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "papel"
                                },
                                "SUPORTE"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "papel",
                                "icon": "support_agent",
                                "color": "info",
                                "variant": "soft"
                              }
                            }
                          },
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "papel"
                                },
                                "TECNICO"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "papel",
                                "icon": "engineering",
                                "color": "warning",
                                "variant": "soft"
                              }
                            }
                          },
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "papel"
                                },
                                "MEDICO"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "papel",
                                "icon": "medical_services",
                                "color": "success",
                                "variant": "soft"
                              }
                            }
                          }
                        ]
                      },
                      {
                        "field": "resultado",
                        "header": "Outcome",
                        "type": "badge",
                        "renderer": {
                          "type": "badge",
                          "badge": {
                            "textField": "resultado",
                            "icon": "pending",
                            "color": "primary",
                            "variant": "soft"
                          }
                        },
                        "conditionalRenderers": [
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "resultado"
                                },
                                "NA"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "resultado",
                                "icon": "pending",
                                "color": "primary",
                                "variant": "soft"
                              }
                            }
                          },
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "resultado"
                                },
                                "SUCESSO"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "resultado",
                                "icon": "check_circle",
                                "color": "success",
                                "variant": "soft"
                              }
                            }
                          },
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "resultado"
                                },
                                "FALHA"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "resultado",
                                "icon": "error",
                                "color": "danger",
                                "variant": "soft"
                              }
                            }
                          },
                          {
                            "condition": {
                              "===": [
                                {
                                  "var": "resultado"
                                },
                                "PARCIAL"
                              ]
                            },
                            "renderer": {
                              "type": "badge",
                              "badge": {
                                "textField": "resultado",
                                "icon": "rule",
                                "color": "warning",
                                "variant": "soft"
                              }
                            }
                          }
                        ]
                      }
                    ],
                    "behavior": {
                      "density": "compact"
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit"
                }
              }
            },
            {
              "key": "missionTimeline",
              "shell": {
                "kind": "dashboard-card",
                "icon": "timeline",
                "title": "Timeline surface",
                "subtitle": "Second downstream widget fed by the same selected id"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "dynamic-page-mission-timeline",
                  "context": {
                    "selection": {
                      "missionId": 36
                    },
                    "resourcePath": "operations/missao-eventos"
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "timeline",
                        "id": "page-builder-mission-timeline-36",
                        "title": "Vistoria dos Portais Urbanos timeline",
                        "visibleWhen": {
                          "or": [
                            {
                              "==": [
                                {
                                  "var": "selection.missionId"
                                },
                                36
                              ]
                            },
                            {
                              "==": [
                                {
                                  "var": "missionId"
                                },
                                36
                              ]
                            }
                          ]
                        },
                        "position": "right",
                        "connectorVariant": "dashed",
                        "markerVariant": "icon",
                        "markerColor": "info",
                        "items": [
                          {
                            "id": "mission-1-extra",
                            "icon": "shield",
                            "title": "Reforços a caminho (SHIELD)",
                            "subtitle": "Extra operational support attached to the selected mission.",
                            "meta": "18/10/2025",
                            "badge": "Extra",
                            "markerColor": "neutral"
                          },
                          {
                            "id": "mission-1-combat",
                            "icon": "local_fire_department",
                            "title": "Contato tático ativo em Batalha de Nova York",
                            "subtitle": "Combat event recorded for the active operational surface.",
                            "meta": "18/10/2025",
                            "badge": "Combate",
                            "markerColor": "error"
                          },
                          {
                            "id": "mission-1-intel",
                            "icon": "timeline",
                            "title": "Pacote de inteligência consolidado para Batalha de Nova York",
                            "subtitle": "Intel update exposed as a governed timeline node.",
                            "meta": "17/10/2025",
                            "badge": "Intel",
                            "markerColor": "primary"
                          }
                        ]
                      },
                      {
                        "type": "timeline",
                        "id": "page-builder-mission-timeline-35",
                        "title": "Auditoria em Sokovia Reconstruction Council timeline",
                        "visibleWhen": {
                          "or": [
                            {
                              "==": [
                                {
                                  "var": "selection.missionId"
                                },
                                35
                              ]
                            },
                            {
                              "==": [
                                {
                                  "var": "missionId"
                                },
                                35
                              ]
                            }
                          ]
                        },
                        "position": "right",
                        "connectorVariant": "dashed",
                        "markerVariant": "icon",
                        "markerColor": "info",
                        "items": [
                          {
                            "id": "mission-2-pause",
                            "icon": "pause_circle",
                            "title": "Auditoria pausada para revisão de cadeia de custódia",
                            "subtitle": "The selected Sokovia mission exposes compliance events instead of combat telemetry.",
                            "meta": "22/10/2025",
                            "badge": "Governança",
                            "markerColor": "warning"
                          },
                          {
                            "id": "mission-2-evidence",
                            "icon": "policy",
                            "title": "Pacote de evidências entregue ao conselho",
                            "subtitle": "Document review and sign-off remain attached to the selected mission.",
                            "meta": "21/10/2025",
                            "badge": "Auditoria",
                            "markerColor": "info"
                          },
                          {
                            "id": "mission-2-briefing",
                            "icon": "fact_check",
                            "title": "Briefing de reconstrução sincronizado",
                            "subtitle": "Operational notes for Sokovia are rendered by the same timeline component.",
                            "meta": "20/10/2025",
                            "badge": "Briefing",
                            "markerColor": "primary"
                          }
                        ]
                      },
                      {
                        "type": "timeline",
                        "id": "page-builder-mission-timeline-30",
                        "title": "Operação Linha do Tempo Segura timeline",
                        "visibleWhen": {
                          "or": [
                            {
                              "==": [
                                {
                                  "var": "selection.missionId"
                                },
                                30
                              ]
                            },
                            {
                              "==": [
                                {
                                  "var": "missionId"
                                },
                                30
                              ]
                            }
                          ]
                        },
                        "position": "right",
                        "connectorVariant": "dashed",
                        "markerVariant": "icon",
                        "markerColor": "info",
                        "items": [
                          {
                            "id": "mission-3-critical",
                            "icon": "emergency_home",
                            "title": "Anomalia temporal escalada como crítica",
                            "subtitle": "TVA Nexus events are shown only when this mission is selected.",
                            "meta": "24/10/2025",
                            "badge": "Crítica",
                            "markerColor": "error"
                          },
                          {
                            "id": "mission-3-lock",
                            "icon": "lock_clock",
                            "title": "Janela operacional congelada",
                            "subtitle": "The downstream rich-content surface reflects the mission-specific timeline.",
                            "meta": "24/10/2025",
                            "badge": "Controle",
                            "markerColor": "warning"
                          },
                          {
                            "id": "mission-3-intel",
                            "icon": "hub",
                            "title": "Mapa de ramificações aprovado",
                            "subtitle": "Governed intel confirms which dependent views stay in sync.",
                            "meta": "23/10/2025",
                            "badge": "Intel",
                            "markerColor": "primary"
                          }
                        ]
                      },
                      {
                        "type": "timeline",
                        "id": "page-builder-mission-timeline-33",
                        "title": "Comboio Kree-Skrull timeline",
                        "visibleWhen": {
                          "or": [
                            {
                              "==": [
                                {
                                  "var": "selection.missionId"
                                },
                                33
                              ]
                            },
                            {
                              "==": [
                                {
                                  "var": "missionId"
                                },
                                33
                              ]
                            }
                          ]
                        },
                        "position": "right",
                        "connectorVariant": "dashed",
                        "markerVariant": "icon",
                        "markerColor": "info",
                        "items": [
                          {
                            "id": "mission-4-start",
                            "icon": "route",
                            "title": "Comboio iniciou travessia pela zona neutra",
                            "subtitle": "The same selection state now drives a logistics-oriented timeline.",
                            "meta": "19/10/2025",
                            "badge": "Logística",
                            "markerColor": "info"
                          },
                          {
                            "id": "mission-4-contact",
                            "icon": "sensors",
                            "title": "Contato diplomático confirmado",
                            "subtitle": "Kree-Skrull signals replace the New York timeline after row selection.",
                            "meta": "19/10/2025",
                            "badge": "Contato",
                            "markerColor": "success"
                          },
                          {
                            "id": "mission-4-risk",
                            "icon": "warning",
                            "title": "Risco de interceptação reduzido",
                            "subtitle": "Operational risk was downgraded after convoy telemetry stabilized.",
                            "meta": "18/10/2025",
                            "badge": "Risco",
                            "markerColor": "warning"
                          }
                        ]
                      },
                      {
                        "type": "timeline",
                        "id": "page-builder-mission-timeline-32",
                        "title": "Escudo de Atlantis timeline",
                        "visibleWhen": {
                          "or": [
                            {
                              "==": [
                                {
                                  "var": "selection.missionId"
                                },
                                32
                              ]
                            },
                            {
                              "==": [
                                {
                                  "var": "missionId"
                                },
                                32
                              ]
                            }
                          ]
                        },
                        "position": "right",
                        "connectorVariant": "dashed",
                        "markerVariant": "icon",
                        "markerColor": "info",
                        "items": [
                          {
                            "id": "mission-5-shield",
                            "icon": "water",
                            "title": "Escudo marítimo ativado em Atlantis",
                            "subtitle": "The selected Atlantis mission renders ocean-defense chronology.",
                            "meta": "20/10/2025",
                            "badge": "Defesa",
                            "markerColor": "info"
                          },
                          {
                            "id": "mission-5-briefing",
                            "icon": "groups",
                            "title": "Briefing conjunto com guarda costeira",
                            "subtitle": "Dependent surfaces stay scoped to the selected mission.",
                            "meta": "19/10/2025",
                            "badge": "Briefing",
                            "markerColor": "primary"
                          }
                        ]
                      },
                      {
                        "type": "timeline",
                        "id": "page-builder-mission-timeline-31",
                        "title": "Falha de Custódia em Kamino timeline",
                        "visibleWhen": {
                          "or": [
                            {
                              "==": [
                                {
                                  "var": "selection.missionId"
                                },
                                31
                              ]
                            },
                            {
                              "==": [
                                {
                                  "var": "missionId"
                                },
                                31
                              ]
                            }
                          ]
                        },
                        "position": "right",
                        "connectorVariant": "dashed",
                        "markerVariant": "icon",
                        "markerColor": "info",
                        "items": [
                          {
                            "id": "mission-6-failure",
                            "icon": "error",
                            "title": "Quebra de custódia registrada em Kamino",
                            "subtitle": "Failure events replace the active timeline after selecting this mission.",
                            "meta": "22/10/2025",
                            "badge": "Falhou",
                            "markerColor": "error"
                          },
                          {
                            "id": "mission-6-containment",
                            "icon": "inventory_2",
                            "title": "Inventário crítico isolado",
                            "subtitle": "Evidence handling is governed by the same rich-content contract.",
                            "meta": "21/10/2025",
                            "badge": "Custódia",
                            "markerColor": "warning"
                          }
                        ]
                      },
                      {
                        "type": "timeline",
                        "id": "page-builder-mission-timeline-37",
                        "title": "Rescaldo em Ravencroft timeline",
                        "visibleWhen": {
                          "or": [
                            {
                              "==": [
                                {
                                  "var": "selection.missionId"
                                },
                                37
                              ]
                            },
                            {
                              "==": [
                                {
                                  "var": "missionId"
                                },
                                37
                              ]
                            }
                          ]
                        },
                        "position": "right",
                        "connectorVariant": "dashed",
                        "markerVariant": "icon",
                        "markerColor": "info",
                        "items": [
                          {
                            "id": "mission-7-cleanup",
                            "icon": "task_alt",
                            "title": "Rescaldo concluído em Ravencroft",
                            "subtitle": "Completed recovery actions are shown for the selected mission only.",
                            "meta": "16/10/2025",
                            "badge": "Concluída",
                            "markerColor": "success"
                          },
                          {
                            "id": "mission-7-report",
                            "icon": "summarize",
                            "title": "Relatório pós-operação publicado",
                            "subtitle": "The timeline surface reflects the selected mission state.",
                            "meta": "15/10/2025",
                            "badge": "Relatório",
                            "markerColor": "primary"
                          }
                        ]
                      },
                      {
                        "type": "timeline",
                        "id": "page-builder-mission-timeline-34",
                        "title": "Recolhimento de Cristais Terrígenos timeline",
                        "visibleWhen": {
                          "or": [
                            {
                              "==": [
                                {
                                  "var": "selection.missionId"
                                },
                                34
                              ]
                            },
                            {
                              "==": [
                                {
                                  "var": "missionId"
                                },
                                34
                              ]
                            }
                          ]
                        },
                        "position": "right",
                        "connectorVariant": "dashed",
                        "markerVariant": "icon",
                        "markerColor": "info",
                        "items": [
                          {
                            "id": "mission-8-collect",
                            "icon": "diamond",
                            "title": "Cristais Terrígenos recolhidos",
                            "subtitle": "Collection milestones are scoped to the selected mission.",
                            "meta": "14/10/2025",
                            "badge": "Coleta",
                            "markerColor": "success"
                          },
                          {
                            "id": "mission-8-secure",
                            "icon": "lock",
                            "title": "Armazenamento seguro confirmado",
                            "subtitle": "The selected mission drives this downstream knowledge surface.",
                            "meta": "14/10/2025",
                            "badge": "Seguro",
                            "markerColor": "info"
                          }
                        ]
                      },
                      {
                        "type": "timeline",
                        "id": "page-builder-mission-timeline-29",
                        "title": "Ritual de Contenção timeline",
                        "visibleWhen": {
                          "or": [
                            {
                              "==": [
                                {
                                  "var": "selection.missionId"
                                },
                                29
                              ]
                            },
                            {
                              "==": [
                                {
                                  "var": "missionId"
                                },
                                29
                              ]
                            }
                          ]
                        },
                        "position": "right",
                        "connectorVariant": "dashed",
                        "markerVariant": "icon",
                        "markerColor": "info",
                        "items": [
                          {
                            "id": "mission-9-contain",
                            "icon": "emergency_home",
                            "title": "Ritual de contenção preparado",
                            "subtitle": "Critical containment events appear when this mission is selected.",
                            "meta": "23/10/2025",
                            "badge": "Crítica",
                            "markerColor": "error"
                          },
                          {
                            "id": "mission-9-anchor",
                            "icon": "anchor",
                            "title": "Âncoras de proteção verificadas",
                            "subtitle": "Governed timeline nodes keep the demonstration coherent.",
                            "meta": "22/10/2025",
                            "badge": "Proteção",
                            "markerColor": "warning"
                          }
                        ]
                      },
                      {
                        "type": "timeline",
                        "id": "page-builder-mission-timeline-27",
                        "title": "Baluarte Latveriano timeline",
                        "visibleWhen": {
                          "or": [
                            {
                              "==": [
                                {
                                  "var": "selection.missionId"
                                },
                                27
                              ]
                            },
                            {
                              "==": [
                                {
                                  "var": "missionId"
                                },
                                27
                              ]
                            }
                          ]
                        },
                        "position": "right",
                        "connectorVariant": "dashed",
                        "markerVariant": "icon",
                        "markerColor": "info",
                        "items": [
                          {
                            "id": "mission-10-fortify",
                            "icon": "fort",
                            "title": "Baluarte Latveriano fortificado",
                            "subtitle": "Latveria defense updates are tied to the selected mission.",
                            "meta": "18/10/2025",
                            "badge": "Alta",
                            "markerColor": "warning"
                          },
                          {
                            "id": "mission-10-watch",
                            "icon": "visibility",
                            "title": "Monitoramento diplomático ativo",
                            "subtitle": "The same component renders a mission-specific chronology.",
                            "meta": "17/10/2025",
                            "badge": "Monitoramento",
                            "markerColor": "primary"
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ],
          "composition": {
            "version": "1.0.0",
            "links": [
              {
                "id": "page-builder:mission-rowClick->state:selection.missionId",
                "intent": "state-write",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionCanvas",
                    "port": "rowClick",
                    "direction": "output",
                    "componentType": "praxis-table"
                  }
                },
                "to": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.missionId",
                    "layer": "values",
                    "writable": true
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "page-builder:pick-mission-id",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.row.id"
                      }
                    }
                  ]
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Selected mission id"
                }
              },
              {
                "id": "page-builder:state:selection.missionId->team.queryContext",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.missionId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionTeam",
                    "port": "queryContext",
                    "direction": "input",
                    "componentType": "praxis-table"
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "state",
                      "path": "selection.missionId"
                    }
                  ],
                  "steps": [
                    {
                      "id": "page-builder:team-query-context",
                      "kind": "object-template",
                      "phase": "link-propagation",
                      "config": {
                        "template": {
                          "filters": {
                            "missaoId": "${source}"
                          }
                        }
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Filter team by selected mission"
                }
              },
              {
                "id": "page-builder:state:selection.missionId->timeline.context",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.missionId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionTimeline",
                    "port": "context",
                    "direction": "input",
                    "componentType": "praxis-rich-content"
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "state",
                      "path": "selection.missionId"
                    }
                  ],
                  "steps": [
                    {
                      "id": "page-builder:timeline-query-context",
                      "kind": "object-template",
                      "phase": "link-propagation",
                      "config": {
                        "template": {
                          "missionId": "${current}",
                          "selection": {
                            "missionId": "${current}"
                          },
                          "resourcePath": "operations/missao-eventos"
                        }
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Filter timeline by selected mission"
                }
              },
              {
                "id": "page-builder:state:selection.missionId->teamPlan.resourceId",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.missionId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "teamPlanForm",
                    "port": "resourceId",
                    "direction": "input",
                    "componentType": "praxis-dynamic-form"
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "state",
                      "path": "selection.missionId"
                    }
                  ],
                  "steps": [
                    {
                      "id": "page-builder:team-plan-resource-id",
                      "kind": "identity",
                      "phase": "link-propagation"
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Bind team plan form to selected mission"
                }
              }
            ]
          }
        }
      }
    },
    {
      "id": "mission-command-center",
      "title": "Página operacional executável",
      "summary": "Shows an executable enterprise page that combines business context, action discovery, related tables, indicators and quickstart operational evidence.",
      "i18n": {
        "pt": {
          "title": "Página operacional executável",
          "summary": "Mostra uma página enterprise executável com contexto de negócio, discovery de ações, tabelas relacionadas, indicadores e evidência operacional.",
          "demonstrates": [
            "Explore Página operacional executável e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-dynamic-page materializa operations/missoes com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Mostra uma página enterprise executável com contexto de negócio, discovery de ações, tabelas relacionadas, indicadores e evidência operacional.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas filtered e filter."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/mission-command-center",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/mission-command-center",
      "category": "page",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-dynamic-page",
      "resourcePath": "operations/missoes",
      "resourceKey": "operations.missoes",
      "requires": [
        "schemas.filtered",
        "filter",
        "surfaces",
        "actions",
        "capabilities",
        "analytics",
        "charts",
        "composition.links",
        "remote-data"
      ],
      "tags": [
        "mission",
        "command-center",
        "surfaces",
        "actions",
        "analytics",
        "charts",
        "composition",
        "enterprise-proof",
        "semantic-decision",
        "quickstart"
      ],
      "demonstrates": [
        "Prova pública atual de uma página operacional montada pela plataforma",
        "A descrição do negócio orienta campos, superfícies, catálogo de ações e capacidades disponíveis",
        "A página combina múltiplas fontes do backend em um fluxo de trabalho único",
        "A tabela principal expõe ações de workflow executáveis mediadas pelo host Angular",
        "A seleção de missão hidrata uma superfície de detalhe por composition.links, sem tela manual",
        "Resumo, equipe e linha do tempo aparecem juntos sem código de tela específico no host",
        "Widgets de gráfico transformam status, papéis e ritmo de eventos em indicadores operacionais",
        "Botões de inspeção expõem superfícies e ações como eventos de descoberta",
        "Projeções analíticas ficam disponíveis como parte do contrato operacional publicado",
        "O estado da composição filtra equipe e linha do tempo por vínculos declarativos"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "remote-filter",
        "surfaces",
        "actions",
        "capabilities",
        "analytics",
        "praxis-chart",
        "local-analytics-widgets",
        "composition.links",
        "state.values",
        "semantic-grounding",
        "governed-materialization",
        "published-operational-evidence"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered",
        "POST /api/operations/vw-resumo-missoes/filter",
        "POST /api/operations/missoes/filter",
        "GET /api/operations/missoes/capabilities",
        "GET /api/operations/missoes/{id}/summary",
        "GET /api/operations/missoes/{id}/team",
        "GET /api/operations/missoes/{id}/timeline",
        "GET /api/operations/missoes/{id}/capabilities",
        "POST /api/operations/missoes/{id}/actions/start",
        "POST /api/operations/missoes/{id}/actions/pause",
        "POST /api/operations/missoes/{id}/actions/resume",
        "POST /api/operations/missoes/{id}/actions/complete",
        "POST /api/operations/vw-resumo-missoes/stats/group-by",
        "POST /api/operations/vw-resumo-missoes/stats/timeseries",
        "POST /api/operations/missao-participantes/stats/group-by",
        "POST /api/operations/missao-participantes/filter",
        "POST /api/operations/missao-eventos/stats/timeseries",
        "POST /api/operations/missao-eventos/filter",
        "GET /api/operations/vw-resumo-missoes/capabilities",
        "GET /api/operations/missao-participantes/capabilities",
        "GET /api/operations/missao-eventos/capabilities",
        "POST /api/operations/missoes/option-sources/mission/options/filter",
        "GET /api/operations/missoes/option-sources/mission/options/by-ids",
        "POST /api/human-resources/funcionarios/option-sources/employee/options/filter",
        "GET /api/human-resources/funcionarios/option-sources/employee/options/by-ids"
      ],
      "complexity": "advanced",
      "catalogRole": "composition",
      "learningStage": "composition",
      "proofRank": 1,
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "mission-summary-table-rendered",
          "mission-team-table-rendered",
          "mission-timeline-table-rendered",
          "mission-chart-widgets-rendered",
          "resource-discovery-toolbar-actions-rendered",
          "selection-query-context-links-present",
          "selection-detail-surface-linked",
          "workflow-actions-host-mediated",
          "analytics-surfaces-declared"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "schemas-catalog",
          "schemas-surfaces-operations-missoes",
          "schemas-actions-operations-missoes",
          "operations-missoes-item-capabilities",
          "vw-resumo-missoes-filter-basic",
          "vw-resumo-missoes-stats-status",
          "missao-participantes-stats-papel",
          "missao-eventos-stats-ocorrido-em-day"
        ],
        "pendingHttpIds": [],
        "notes": [
          "Use este exemplo como a prova enterprise pública atual para avaliação técnica e de negócio.",
          "Use os ids recomendados como caminho de cópia para agentes hoje.",
          "Superfícies, catálogo de ações e capacidades por item estão confirmados na API quickstart publicada.",
          "Participantes e indicadores de eventos estão confirmados na API quickstart publicada."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.table.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-page-builder.ui-composition-plan.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/mission-command-center.json",
      "documentation": {
        "story": {
          "pt": "Uma central de operações precisa relacionar status, equipe, ritmo de eventos e ações de workflow sem montar um dashboard artesanal para cada missão. A jornada combina contratos analíticos, coleções operacionais e contexto selecionado em uma única página executável.",
          "en": "An operations center needs to relate status, team, event cadence and workflow actions without hand-building a dashboard for every mission. The journey combines analytics contracts, operational collections and selected context in one executable page."
        },
        "outcome": {
          "pt": "O visitante seleciona uma missão, acompanha três indicadores e vê equipe, timeline e ações responderem ao mesmo estado declarado, com evidência operacional publicada pelo Quickstart.",
          "en": "The visitor selects a mission, follows three indicators and sees team, timeline and actions respond to the same declared state, backed by published Quickstart operational evidence."
        },
        "componentRoles": [
          {
            "component": "praxis-dynamic-page",
            "jsonPath": "page",
            "role": {
              "pt": "Orquestra layout responsivo, estado e conexões entre todas as superfícies.",
              "en": "Orchestrates responsive layout, state and connections across every surface."
            },
            "rationale": {
              "pt": "Mantém o cockpit como documento executável, evitando que a rota Angular vire a proprietária da composição.",
              "en": "Keeps the cockpit as an executable document instead of making the Angular route own the composition."
            }
          },
          {
            "component": "praxis-chart",
            "jsonPath": "page.widgets[missionStatusChart|missionTeamRoleChart|missionEventRhythmChart]",
            "role": {
              "pt": "Materializa status, papéis da equipe e ritmo de eventos como indicadores renderer-neutral.",
              "en": "Materializes status, team roles and event cadence as renderer-neutral indicators."
            },
            "rationale": {
              "pt": "Transforma projeções analíticas governadas em leitura visual sem expor opções cruas do engine de gráficos.",
              "en": "Turns governed analytics projections into visual reading without exposing raw chart-engine options."
            }
          },
          {
            "component": "praxis-table",
            "jsonPath": "page.widgets[missionSummary|missionTeam|missionTimeline]",
            "role": {
              "pt": "Apresenta a coleção principal e as evidências relacionadas à missão selecionada.",
              "en": "Presents the primary collection and evidence related to the selected mission."
            },
            "rationale": {
              "pt": "Permite comparar registros e executar ações mantendo resourcePath, paginação e capabilities explícitos.",
              "en": "Supports record comparison and actions while keeping resourcePath, pagination and capabilities explicit."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "page.deviceLayouts",
            "title": {
              "pt": "Cockpit responsivo",
              "en": "Responsive cockpit"
            },
            "explanation": {
              "pt": "Distribui indicadores, resumo, equipe e timeline em três colunas no desktop e uma coluna nos viewports menores.",
              "en": "Distributes indicators, summary, team and timeline across three desktop columns and one column on smaller viewports."
            }
          },
          {
            "jsonPath": "page.widgets[].definition.inputs.config",
            "title": {
              "pt": "Contratos especializados",
              "en": "Specialized contracts"
            },
            "explanation": {
              "pt": "Cada gráfico e tabela preserva seu próprio contrato, fonte de dados e outputs dentro da composição.",
              "en": "Each chart and table preserves its own contract, data source and outputs inside the composition."
            }
          },
          {
            "jsonPath": "page.composition.links",
            "title": {
              "pt": "Estado que conecta a investigação",
              "en": "State connecting the investigation"
            },
            "explanation": {
              "pt": "A seleção da missão escreve um identificador canônico e propaga queryContext para equipe, timeline e detalhes.",
              "en": "Mission selection writes a canonical identifier and propagates queryContext to team, timeline and details."
            }
          },
          {
            "jsonPath": "operationalEvidence.recommendedHttpIds",
            "title": {
              "pt": "Prova operacional",
              "en": "Operational proof"
            },
            "explanation": {
              "pt": "Relaciona a história visual aos exemplos HTTP publicados de schemas, capabilities e stats.",
              "en": "Links the visual story to published HTTP examples for schemas, capabilities and stats."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Altere a ordem dos três gráficos em deviceLayouts.desktop e compare a prioridade da leitura sem mudar seus contratos.",
            "en": "Change the three charts order in deviceLayouts.desktop and compare reading priority without changing their contracts."
          },
          {
            "pt": "Troque o missionId inicial em page.state.values e observe quais superfícies dependentes recebem o novo contexto.",
            "en": "Change the initial missionId in page.state.values and observe which dependent surfaces receive the new context."
          },
          {
            "pt": "Inspecione uma composition.link e remova-a temporariamente para identificar exatamente qual relação ela materializa.",
            "en": "Inspect one composition link and temporarily remove it to identify exactly which relationship it materializes."
          }
        ],
        "productionNotes": [
          {
            "pt": "Métricas elegíveis, ações e capabilities pertencem ao backend; o frontend apenas materializa as projeções autorizadas.",
            "en": "Eligible metrics, actions and capabilities belong to the backend; the frontend only materializes authorized projections."
          },
          {
            "pt": "Ações de workflow continuam mediadas pelo host com autenticação, autorização, auditoria e tratamento de falhas.",
            "en": "Workflow actions remain host-mediated with authentication, authorization, auditing and failure handling."
          },
          {
            "pt": "A referência executável está em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.mission-command-center.json.",
            "en": "The executable reference lives at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.mission-command-center.json."
          }
        ]
      },
      "envelope": {
        "id": "mission-command-center",
        "title": "Página operacional executável",
        "summary": "Shows an executable enterprise page that combines business context, action discovery, related tables, indicators and quickstart operational evidence.",
        "component": "praxis-dynamic-page",
        "category": "page",
        "primaryComponent": "praxis-dynamic-page",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/missoes",
          "resourceKey": "operations.missoes"
        },
        "requires": [
          "schemas.filtered",
          "filter",
          "surfaces",
          "actions",
          "capabilities",
          "analytics",
          "charts",
          "composition.links",
          "remote-data"
        ],
        "tags": [
          "mission",
          "command-center",
          "surfaces",
          "actions",
          "analytics",
          "charts",
          "composition",
          "enterprise-proof",
          "semantic-decision",
          "quickstart"
        ],
        "demonstrates": [
          "Prova pública atual de uma página operacional montada pela plataforma",
          "A descrição do negócio orienta campos, superfícies, catálogo de ações e capacidades disponíveis",
          "A página combina múltiplas fontes do backend em um fluxo de trabalho único",
          "A tabela principal expõe ações de workflow executáveis mediadas pelo host Angular",
          "A seleção de missão hidrata uma superfície de detalhe por composition.links, sem tela manual",
          "Resumo, equipe e linha do tempo aparecem juntos sem código de tela específico no host",
          "Widgets de gráfico transformam status, papéis e ritmo de eventos em indicadores operacionais",
          "Botões de inspeção expõem superfícies e ações como eventos de descoberta",
          "Projeções analíticas ficam disponíveis como parte do contrato operacional publicado",
          "O estado da composição filtra equipe e linha do tempo por vínculos declarativos"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "remote-filter",
          "surfaces",
          "actions",
          "capabilities",
          "analytics",
          "praxis-chart",
          "local-analytics-widgets",
          "composition.links",
          "state.values",
          "semantic-grounding",
          "governed-materialization",
          "published-operational-evidence"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered",
          "POST /api/operations/vw-resumo-missoes/filter",
          "POST /api/operations/missoes/filter",
          "GET /api/operations/missoes/capabilities",
          "GET /api/operations/missoes/{id}/summary",
          "GET /api/operations/missoes/{id}/team",
          "GET /api/operations/missoes/{id}/timeline",
          "GET /api/operations/missoes/{id}/capabilities",
          "POST /api/operations/missoes/{id}/actions/start",
          "POST /api/operations/missoes/{id}/actions/pause",
          "POST /api/operations/missoes/{id}/actions/resume",
          "POST /api/operations/missoes/{id}/actions/complete",
          "POST /api/operations/vw-resumo-missoes/stats/group-by",
          "POST /api/operations/vw-resumo-missoes/stats/timeseries",
          "POST /api/operations/missao-participantes/stats/group-by",
          "POST /api/operations/missao-participantes/filter",
          "POST /api/operations/missao-eventos/stats/timeseries",
          "POST /api/operations/missao-eventos/filter",
          "GET /api/operations/vw-resumo-missoes/capabilities",
          "GET /api/operations/missao-participantes/capabilities",
          "GET /api/operations/missao-eventos/capabilities",
          "POST /api/operations/missoes/option-sources/mission/options/filter",
          "GET /api/operations/missoes/option-sources/mission/options/by-ids",
          "POST /api/human-resources/funcionarios/option-sources/employee/options/filter",
          "GET /api/human-resources/funcionarios/option-sources/employee/options/by-ids"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "mission-summary-table-rendered",
            "mission-team-table-rendered",
            "mission-timeline-table-rendered",
            "mission-chart-widgets-rendered",
            "resource-discovery-toolbar-actions-rendered",
            "selection-query-context-links-present",
            "selection-detail-surface-linked",
            "workflow-actions-host-mediated",
            "analytics-surfaces-declared"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "schemas-catalog",
            "schemas-surfaces-operations-missoes",
            "schemas-actions-operations-missoes",
            "operations-missoes-item-capabilities",
            "vw-resumo-missoes-filter-basic",
            "vw-resumo-missoes-stats-status",
            "missao-participantes-stats-papel",
            "missao-eventos-stats-ocorrido-em-day"
          ],
          "pendingHttpIds": [],
          "notes": [
            "Use este exemplo como a prova enterprise pública atual para avaliação técnica e de negócio.",
            "Use os ids recomendados como caminho de cópia para agentes hoje.",
            "Superfícies, catálogo de ações e capacidades por item estão confirmados na API quickstart publicada.",
            "Participantes e indicadores de eventos estão confirmados na API quickstart publicada."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.mission-command-center.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.table.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-page-builder.ui-composition-plan.json"
        ],
        "page": {
          "themePreset": "executive-command-center",
          "i18n": {
            "fallbackLocale": "en-US",
            "dictionaries": {
              "en-US": {
                "mission.status.shell.title": "Mission status mix",
                "mission.status.shell.subtitle": "Live status distribution from the published quickstart",
                "mission.roles.shell.title": "Team role coverage",
                "mission.roles.shell.subtitle": "Live participant role coverage from the quickstart",
                "mission.rhythm.shell.title": "Event rhythm",
                "mission.rhythm.shell.subtitle": "Live event cadence from the quickstart",
                "mission.portfolio.shell.title": "Mission portfolio",
                "mission.portfolio.shell.subtitle": "Status, threat, heroes and activity at a glance",
                "mission.workflow.shell.title": "Workflow actions",
                "mission.workflow.shell.subtitle": "Available actions for the current mission stage",
                "mission.team.shell.title": "Mission team",
                "mission.team.shell.subtitle": "Participants, roles and outcomes for the selected mission",
                "mission.timeline.shell.title": "Mission timeline",
                "mission.timeline.shell.subtitle": "Operational events ordered by the backend",
                "mission.action.start": "Start",
                "mission.action.pause": "Pause",
                "mission.action.resume": "Resume",
                "mission.action.complete": "Complete"
              },
              "pt-BR": {
                "mission.status.shell.title": "Distribuição de status das missões",
                "mission.status.shell.subtitle": "Distribuição ao vivo publicada pelo quickstart",
                "mission.roles.shell.title": "Cobertura de papéis da equipe",
                "mission.roles.shell.subtitle": "Cobertura ao vivo dos papéis dos participantes",
                "mission.rhythm.shell.title": "Ritmo de eventos",
                "mission.rhythm.shell.subtitle": "Cadência operacional ao vivo publicada pelo quickstart",
                "mission.portfolio.shell.title": "Portfólio de missões",
                "mission.portfolio.shell.subtitle": "Status, ameaça, heróis e atividade em uma única visão",
                "mission.workflow.shell.title": "Ações do fluxo",
                "mission.workflow.shell.subtitle": "Ações disponíveis para a etapa atual da missão",
                "mission.team.shell.title": "Equipe da missão",
                "mission.team.shell.subtitle": "Participantes, papéis e resultados da missão selecionada",
                "mission.timeline.shell.title": "Linha do tempo da missão",
                "mission.timeline.shell.subtitle": "Eventos operacionais ordenados pelo backend",
                "mission.action.start": "Iniciar",
                "mission.action.pause": "Pausar",
                "mission.action.resume": "Retomar",
                "mission.action.complete": "Concluir"
              }
            }
          },
          "layout": {
            "orientation": "columns",
            "columns": 3,
            "gap": "16px"
          },
          "deviceLayouts": {
            "desktop": {
              "layout": {
                "orientation": "columns",
                "columns": 3,
                "gap": "16px"
              },
              "widgetOverrides": {
                "missionStatusChart": {
                  "order": 10,
                  "span": 1
                },
                "missionTeamRoleChart": {
                  "order": 20,
                  "span": 1
                },
                "missionEventRhythmChart": {
                  "order": 30,
                  "span": 1
                },
                "missionSummary": {
                  "order": 40,
                  "span": 3
                },
                "missionWorkflow": {
                  "order": 50,
                  "span": 3
                },
                "missionTeam": {
                  "order": 60,
                  "span": 1
                },
                "missionTimeline": {
                  "order": 70,
                  "span": 2
                }
              }
            },
            "tablet": {
              "layout": {
                "orientation": "columns",
                "columns": 1,
                "gap": "16px"
              }
            },
            "mobile": {
              "layout": {
                "orientation": "columns",
                "columns": 1,
                "gap": "16px"
              }
            }
          },
          "state": {
            "values": {
              "selection": {
                "missionId": 1
              }
            }
          },
          "widgets": [
            {
              "key": "missionStatusChart",
              "shell": {
                "kind": "dashboard-card",
                "icon": "bar_chart",
                "title": {
                  "key": "mission.status.shell.title",
                  "text": "Mission status mix"
                },
                "subtitle": {
                  "key": "mission.status.shell.subtitle",
                  "text": "Live status distribution from the published quickstart"
                }
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "mission-status-mix",
                    "kind": "horizontal-bar",
                    "orientation": "horizontal",
                    "title": "Mission status",
                    "subtitle": "Portfolio distribution",
                    "sizing": {
                      "mode": "fixed",
                      "height": 260,
                      "minHeight": 220
                    },
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/operations/vw-resumo-missoes",
                      "operation": "group-by",
                      "options": {
                        "limit": 10,
                        "orderBy": "key-asc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "status",
                        "label": "Status",
                        "role": "category"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "missions",
                        "label": "Missions",
                        "aggregation": "count"
                      }
                    ],
                    "events": {
                      "pointClick": {
                        "action": "emit"
                      },
                      "selectionChange": {
                        "action": "emit",
                        "mapping": {
                          "status": "status"
                        }
                      },
                      "crossFilter": {
                        "action": "filter-widget",
                        "target": "missionWorkflow",
                        "mapping": {
                          "status": "status"
                        }
                      }
                    },
                    "legend": {
                      "enabled": true
                    },
                    "tooltip": {
                      "enabled": true
                    },
                    "theme": {
                      "palette": [
                        "#1263b4",
                        "#0f766e",
                        "#f08c00",
                        "#c92a2a",
                        "#7b61ff"
                      ],
                      "surface": {
                        "mode": "embedded",
                        "background": "transparent",
                        "borderWidth": 0,
                        "borderRadius": 0
                      }
                    }
                  }
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "crossFilter": "emit"
                }
              }
            },
            {
              "key": "missionTeamRoleChart",
              "shell": {
                "kind": "dashboard-card",
                "icon": "donut_large",
                "title": {
                  "key": "mission.roles.shell.title",
                  "text": "Team role coverage"
                },
                "subtitle": {
                  "key": "mission.roles.shell.subtitle",
                  "text": "Live participant role coverage from the quickstart"
                }
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "mission-team-roles",
                    "kind": "donut",
                    "title": "Role coverage",
                    "subtitle": "Team composition",
                    "sizing": {
                      "mode": "fixed",
                      "height": 260,
                      "minHeight": 220
                    },
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/operations/missao-participantes",
                      "operation": "group-by",
                      "options": {
                        "limit": 8,
                        "orderBy": "key-asc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "papel",
                        "label": "Role",
                        "role": "segment"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "members",
                        "label": "Members",
                        "aggregation": "count"
                      }
                    ],
                    "events": {
                      "pointClick": {
                        "action": "emit"
                      },
                      "selectionChange": {
                        "action": "emit",
                        "mapping": {
                          "papel": "papel"
                        }
                      },
                      "crossFilter": {
                        "action": "filter-widget",
                        "target": "missionTeam",
                        "mapping": {
                          "papel": "papel"
                        }
                      }
                    },
                    "legend": {
                      "enabled": true
                    },
                    "tooltip": {
                      "enabled": true
                    },
                    "theme": {
                      "palette": [
                        "#1263b4",
                        "#0f766e",
                        "#f08c00",
                        "#c92a2a",
                        "#7b61ff"
                      ],
                      "surface": {
                        "mode": "embedded",
                        "background": "transparent",
                        "borderWidth": 0,
                        "borderRadius": 0
                      }
                    }
                  }
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "crossFilter": "emit"
                }
              }
            },
            {
              "key": "missionEventRhythmChart",
              "shell": {
                "kind": "dashboard-card",
                "icon": "show_chart",
                "title": {
                  "key": "mission.rhythm.shell.title",
                  "text": "Event rhythm"
                },
                "subtitle": {
                  "key": "mission.rhythm.shell.subtitle",
                  "text": "Live event cadence from the quickstart"
                }
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "mission-event-rhythm",
                    "kind": "line",
                    "title": "Event rhythm",
                    "subtitle": "Daily operational cadence",
                    "sizing": {
                      "mode": "fixed",
                      "height": 260,
                      "minHeight": 220
                    },
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/operations/missao-eventos",
                      "operation": "timeseries",
                      "options": {
                        "granularity": "day",
                        "limit": 8,
                        "orderBy": "key-asc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "ocorridoEm",
                        "label": "Day",
                        "role": "time",
                        "format": "dd/MM"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "events",
                        "label": "Events",
                        "aggregation": "count"
                      }
                    ],
                    "events": {
                      "pointClick": {
                        "action": "emit"
                      },
                      "selectionChange": {
                        "action": "emit"
                      },
                      "crossFilter": {
                        "action": "emit"
                      }
                    },
                    "legend": {
                      "enabled": true
                    },
                    "tooltip": {
                      "enabled": true
                    },
                    "theme": {
                      "palette": [
                        "#1263b4",
                        "#0f766e",
                        "#f08c00",
                        "#c92a2a",
                        "#7b61ff"
                      ],
                      "surface": {
                        "mode": "embedded",
                        "background": "transparent",
                        "borderWidth": 0,
                        "borderRadius": 0
                      }
                    }
                  }
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "crossFilter": "emit"
                }
              }
            },
            {
              "key": "missionSummary",
              "shell": {
                "kind": "dashboard-card",
                "icon": "radar",
                "title": {
                  "key": "mission.portfolio.shell.title",
                  "text": "Mission portfolio"
                },
                "subtitle": {
                  "key": "mission.portfolio.shell.subtitle",
                  "text": "Status, threat, heroes and activity at a glance"
                }
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath"
                ],
                "inputs": {
                  "resourcePath": "operations/vw-resumo-missoes",
                  "tableId": "operations-vw-resumo-missoes-command-center",
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Mission portfolio",
                      "actions": [
                        {
                          "id": "inspect-surfaces",
                          "action": "inspect-surfaces",
                          "label": "Surfaces",
                          "icon": "layers",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 90,
                          "tooltip": "Inspect published resource surfaces",
                          "discovery": {
                            "rel": "surfaces",
                            "scope": "resource",
                            "resourcePath": "operations/vw-resumo-missoes",
                            "resourceKey": "operations.vw-resumo-missoes"
                          }
                        },
                        {
                          "id": "inspect-actions",
                          "action": "inspect-actions",
                          "label": "Actions",
                          "icon": "bolt",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 100,
                          "tooltip": "Inspect published resource actions and capabilities",
                          "discovery": {
                            "rel": "actions",
                            "scope": "resource",
                            "resourcePath": "operations/vw-resumo-missoes",
                            "resourceKey": "operations.vw-resumo-missoes"
                          }
                        }
                      ]
                    },
                    "columns": [
                      {
                        "field": "titulo",
                        "header": "Mission",
                        "type": "text",
                        "sticky": "start"
                      },
                      {
                        "field": "status",
                        "header": "Status",
                        "type": "badge"
                      },
                      {
                        "field": "prioridade",
                        "header": "Priority",
                        "type": "badge"
                      },
                      {
                        "field": "ameaca",
                        "header": "Threat",
                        "type": "text"
                      },
                      {
                        "field": "qtdHerois",
                        "header": "Heroes",
                        "type": "number"
                      },
                      {
                        "field": "qtdEventos",
                        "header": "Events",
                        "type": "number"
                      },
                      {
                        "field": "ultimaAcao",
                        "header": "Last activity",
                        "type": "date"
                      }
                    ],
                    "actions": {
                      "row": {
                        "enabled": true,
                        "display": "icons",
                        "width": "96px",
                        "maxVisibleActions": 1,
                        "position": "end",
                        "header": {
                          "label": "Details",
                          "icon": "open_in_new"
                        },
                        "actions": [
                          {
                            "id": "open-detail",
                            "action": "open-detail",
                            "label": "Detail",
                            "icon": "visibility",
                            "tooltip": "Review the selected mission details",
                            "color": "primary",
                            "appearance": "tonal",
                            "globalAction": {
                              "actionId": "surface.open",
                              "payload": {
                                "presentation": "drawer",
                                "title": "Mission overview",
                                "subtitle": "Priority, risk, timeline and operational context in one place.",
                                "icon": "fact_check",
                                "size": {
                                  "width": "920px",
                                  "minWidth": "720px",
                                  "maxWidth": "96vw"
                                },
                                "widget": {
                                  "id": "praxis-dynamic-form",
                                  "bindingOrder": [
                                    "resourcePath",
                                    "formId",
                                    "resourceId",
                                    "mode"
                                  ],
                                  "inputs": {
                                    "formId": "operations-missoes-selected-detail",
                                    "resourcePath": "operations/missoes",
                                    "resourceId": "${row.missaoId}",
                                    "mode": "view",
                                    "configPersistenceStrategy": "input-first",
                                    "config": {
                                      "metadata": {
                                        "name": "Mission operational overview",
                                        "version": "1.0.0"
                                      },
                                      "sections": [
                                        {
                                          "id": "mission-overview",
                                          "title": "Informações",
                                          "rows": [
                                            {
                                              "id": "mission-overview-main",
                                              "columns": [
                                                {
                                                  "id": "mission-overview-left",
                                                  "span": {
                                                    "xs": 12,
                                                    "md": 6
                                                  },
                                                  "fields": [
                                                    "titulo",
                                                    "prioridade",
                                                    "local",
                                                    "fimPrev",
                                                    "fimReal"
                                                  ]
                                                },
                                                {
                                                  "id": "mission-overview-right",
                                                  "span": {
                                                    "xs": 12,
                                                    "md": 6
                                                  },
                                                  "fields": [
                                                    "objetivo",
                                                    "status",
                                                    "ameacaNome",
                                                    "inicioPrev",
                                                    "inicioReal"
                                                  ]
                                                }
                                              ]
                                            }
                                          ]
                                        }
                                      ],
                                      "fieldMetadata": [
                                        {
                                          "name": "titulo",
                                          "label": "Título",
                                          "controlType": "input",
                                          "hint": "",
                                          "description": ""
                                        },
                                        {
                                          "name": "objetivo",
                                          "label": "Objetivo",
                                          "controlType": "textarea",
                                          "hint": "",
                                          "description": ""
                                        },
                                        {
                                          "name": "prioridade",
                                          "label": "Prioridade",
                                          "controlType": "input",
                                          "hint": "",
                                          "description": ""
                                        },
                                        {
                                          "name": "status",
                                          "label": "Status",
                                          "controlType": "input",
                                          "hint": "",
                                          "description": ""
                                        },
                                        {
                                          "name": "local",
                                          "label": "Local",
                                          "controlType": "input",
                                          "hint": "",
                                          "description": ""
                                        },
                                        {
                                          "name": "ameacaNome",
                                          "label": "Risco",
                                          "controlType": "input",
                                          "hint": "",
                                          "description": ""
                                        },
                                        {
                                          "name": "inicioPrev",
                                          "label": "Início Previsto",
                                          "controlType": "dateTime",
                                          "hint": "",
                                          "description": ""
                                        },
                                        {
                                          "name": "fimPrev",
                                          "label": "Fim Previsto",
                                          "controlType": "dateTime",
                                          "hint": "",
                                          "description": ""
                                        },
                                        {
                                          "name": "inicioReal",
                                          "label": "Início Real",
                                          "controlType": "dateTime",
                                          "hint": "",
                                          "description": ""
                                        },
                                        {
                                          "name": "fimReal",
                                          "label": "Fim Real",
                                          "controlType": "dateTime",
                                          "hint": "",
                                          "description": ""
                                        }
                                      ]
                                    }
                                  }
                                }
                              }
                            }
                          }
                        ]
                      }
                    },
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      }
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "toolbarAction": "emit"
                }
              }
            },
            {
              "key": "missionWorkflow",
              "shell": {
                "kind": "dashboard-card",
                "icon": "bolt",
                "title": {
                  "key": "mission.workflow.shell.title",
                  "text": "Workflow actions"
                },
                "subtitle": {
                  "key": "mission.workflow.shell.subtitle",
                  "text": "Available actions for the current mission stage"
                }
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath"
                ],
                "inputs": {
                  "resourcePath": "operations/missoes",
                  "tableId": "operations-missoes-workflow-actions",
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Mission workflow",
                      "actions": [
                        {
                          "id": "inspect-surfaces",
                          "action": "inspect-surfaces",
                          "label": "Surfaces",
                          "icon": "layers",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 90,
                          "tooltip": "Inspect published resource surfaces",
                          "discovery": {
                            "rel": "surfaces",
                            "scope": "resource",
                            "resourcePath": "operations/missoes",
                            "resourceKey": "operations.missoes"
                          }
                        },
                        {
                          "id": "inspect-actions",
                          "action": "inspect-actions",
                          "label": "Actions",
                          "icon": "bolt",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 100,
                          "tooltip": "Inspect published resource actions and capabilities",
                          "discovery": {
                            "rel": "actions",
                            "scope": "resource",
                            "resourcePath": "operations/missoes",
                            "resourceKey": "operations.missoes"
                          }
                        }
                      ]
                    },
                    "columns": [
                      {
                        "field": "titulo",
                        "header": "Mission",
                        "type": "text",
                        "sticky": "start"
                      },
                      {
                        "field": "status",
                        "header": "Status",
                        "type": "badge"
                      },
                      {
                        "field": "prioridade",
                        "header": "Priority",
                        "type": "badge"
                      },
                      {
                        "field": "local",
                        "header": "Location",
                        "type": "text"
                      },
                      {
                        "field": "inicioPrevisto",
                        "header": "Start",
                        "type": "date"
                      }
                    ],
                    "actions": {
                      "row": {
                        "enabled": true,
                        "display": "buttons",
                        "width": "360px",
                        "maxVisibleActions": 3,
                        "behavior": {
                          "maxInline": 3
                        },
                        "position": "end",
                        "header": {
                          "label": "Workflow",
                          "icon": "bolt"
                        },
                        "actions": [
                          {
                            "id": "start",
                            "action": "start",
                            "label": {
                              "key": "mission.action.start",
                              "text": "Start"
                            },
                            "icon": "play_arrow",
                            "tooltip": "Start the planned mission",
                            "color": "primary",
                            "appearance": "tonal",
                            "visibleWhen": {
                              "===": [
                                {
                                  "var": "status"
                                },
                                "PLANEJADA"
                              ]
                            },
                            "endpoint": {
                              "method": "POST",
                              "pathTemplate": "/api/operations/missoes/{id}/actions/start",
                              "resourcePath": "operations/missoes",
                              "resourceKey": "operations.missoes"
                            }
                          },
                          {
                            "id": "pause",
                            "action": "pause",
                            "label": {
                              "key": "mission.action.pause",
                              "text": "Pause"
                            },
                            "icon": "pause",
                            "tooltip": "Pause the active mission",
                            "color": "accent",
                            "appearance": "outlined",
                            "visibleWhen": {
                              "===": [
                                {
                                  "var": "status"
                                },
                                "EM_ANDAMENTO"
                              ]
                            },
                            "endpoint": {
                              "method": "POST",
                              "pathTemplate": "/api/operations/missoes/{id}/actions/pause",
                              "resourcePath": "operations/missoes",
                              "resourceKey": "operations.missoes"
                            }
                          },
                          {
                            "id": "resume",
                            "action": "resume",
                            "label": {
                              "key": "mission.action.resume",
                              "text": "Resume"
                            },
                            "icon": "replay",
                            "tooltip": "Resume the paused mission",
                            "color": "primary",
                            "appearance": "tonal",
                            "visibleWhen": {
                              "===": [
                                {
                                  "var": "status"
                                },
                                "PAUSADA"
                              ]
                            },
                            "endpoint": {
                              "method": "POST",
                              "pathTemplate": "/api/operations/missoes/{id}/actions/resume",
                              "resourcePath": "operations/missoes",
                              "resourceKey": "operations.missoes"
                            }
                          },
                          {
                            "id": "complete",
                            "action": "complete",
                            "label": {
                              "key": "mission.action.complete",
                              "text": "Complete"
                            },
                            "icon": "task_alt",
                            "tooltip": "Complete the active mission",
                            "color": "primary",
                            "appearance": "outlined",
                            "visibleWhen": {
                              "===": [
                                {
                                  "var": "status"
                                },
                                "EM_ANDAMENTO"
                              ]
                            },
                            "endpoint": {
                              "method": "POST",
                              "pathTemplate": "/api/operations/missoes/{id}/actions/complete",
                              "resourcePath": "operations/missoes",
                              "resourceKey": "operations.missoes"
                            }
                          }
                        ]
                      }
                    },
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      }
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "rowAction": "emit",
                  "toolbarAction": "emit"
                }
              }
            },
            {
              "key": "missionTeam",
              "shell": {
                "kind": "dashboard-card",
                "icon": "groups",
                "title": {
                  "key": "mission.team.shell.title",
                  "text": "Mission team"
                },
                "subtitle": {
                  "key": "mission.team.shell.subtitle",
                  "text": "Participants, roles and outcomes for the selected mission"
                }
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath",
                  "queryContext"
                ],
                "inputs": {
                  "resourcePath": "operations/missao-participantes",
                  "tableId": "operations-missao-participantes-command-center",
                  "queryContext": {
                    "filters": {
                      "missaoId": 1
                    }
                  },
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Mission team",
                      "actions": [
                        {
                          "id": "inspect-surfaces",
                          "action": "inspect-surfaces",
                          "label": "Surfaces",
                          "icon": "layers",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 90,
                          "tooltip": "Inspect published resource surfaces",
                          "discovery": {
                            "rel": "surfaces",
                            "scope": "resource",
                            "resourcePath": "operations/missao-participantes",
                            "resourceKey": "operations.missao-participantes"
                          }
                        },
                        {
                          "id": "inspect-actions",
                          "action": "inspect-actions",
                          "label": "Actions",
                          "icon": "bolt",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 100,
                          "tooltip": "Inspect published resource actions and capabilities",
                          "discovery": {
                            "rel": "actions",
                            "scope": "resource",
                            "resourcePath": "operations/missao-participantes",
                            "resourceKey": "operations.missao-participantes"
                          }
                        }
                      ]
                    },
                    "columns": [
                      {
                        "field": "missaoTitulo",
                        "header": "Mission",
                        "type": "text"
                      },
                      {
                        "field": "funcionarioNome",
                        "header": "Hero",
                        "type": "text",
                        "sticky": "start"
                      },
                      {
                        "field": "papel",
                        "header": "Role",
                        "type": "badge"
                      },
                      {
                        "field": "resultado",
                        "header": "Outcome",
                        "type": "badge"
                      }
                    ],
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      }
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "toolbarAction": "emit"
                }
              }
            },
            {
              "key": "missionTimeline",
              "shell": {
                "kind": "dashboard-card",
                "icon": "timeline",
                "title": {
                  "key": "mission.timeline.shell.title",
                  "text": "Mission timeline"
                },
                "subtitle": {
                  "key": "mission.timeline.shell.subtitle",
                  "text": "Operational events ordered by the backend"
                }
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath",
                  "queryContext"
                ],
                "inputs": {
                  "resourcePath": "operations/missao-eventos",
                  "tableId": "operations-missao-eventos-command-center",
                  "queryContext": {
                    "filters": {
                      "missaoId": 1
                    }
                  },
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Mission timeline",
                      "actions": [
                        {
                          "id": "inspect-surfaces",
                          "action": "inspect-surfaces",
                          "label": "Surfaces",
                          "icon": "layers",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 90,
                          "tooltip": "Inspect published resource surfaces",
                          "discovery": {
                            "rel": "surfaces",
                            "scope": "resource",
                            "resourcePath": "operations/missao-eventos",
                            "resourceKey": "operations.missao-eventos"
                          }
                        },
                        {
                          "id": "inspect-actions",
                          "action": "inspect-actions",
                          "label": "Actions",
                          "icon": "bolt",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 100,
                          "tooltip": "Inspect published resource actions and capabilities",
                          "discovery": {
                            "rel": "actions",
                            "scope": "resource",
                            "resourcePath": "operations/missao-eventos",
                            "resourceKey": "operations.missao-eventos"
                          }
                        }
                      ]
                    },
                    "columns": [
                      {
                        "field": "missaoTitulo",
                        "header": "Mission",
                        "type": "text"
                      },
                      {
                        "field": "ocorridoEm",
                        "header": "When",
                        "type": "date",
                        "sticky": "start"
                      },
                      {
                        "field": "tipo",
                        "header": "Type",
                        "type": "badge"
                      },
                      {
                        "field": "descricao",
                        "header": "Event",
                        "type": "text"
                      }
                    ],
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      }
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "toolbarAction": "emit"
                }
              }
            }
          ],
          "composition": {
            "version": "1.0.0",
            "links": [
              {
                "id": "missions:status-chart-crossFilter->summary.queryContext.filters.status",
                "intent": "data-projection",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionStatusChart",
                    "port": "crossFilter",
                    "direction": "output",
                    "componentType": "praxis-chart"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionSummary",
                    "port": "queryContext",
                    "direction": "input",
                    "componentType": "praxis-table",
                    "bindingPath": "filters.status"
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "missions:pick-status-filter-for-summary",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.filters.status"
                      }
                    }
                  ]
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Filter mission portfolio from status chart"
                }
              },
              {
                "id": "missions:status-chart-crossFilter->workflow.queryContext.filters.status",
                "intent": "data-projection",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionStatusChart",
                    "port": "crossFilter",
                    "direction": "output",
                    "componentType": "praxis-chart"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionWorkflow",
                    "port": "queryContext",
                    "direction": "input",
                    "componentType": "praxis-table",
                    "bindingPath": "filters.status"
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "missions:pick-status-filter-for-workflow",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.filters.status"
                      }
                    }
                  ]
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Filter workflow table from status chart"
                }
              },
              {
                "id": "missions:role-chart-crossFilter->team.queryContext.filters.papel",
                "intent": "data-projection",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionTeamRoleChart",
                    "port": "crossFilter",
                    "direction": "output",
                    "componentType": "praxis-chart"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionTeam",
                    "port": "queryContext",
                    "direction": "input",
                    "componentType": "praxis-table",
                    "bindingPath": "filters.papel"
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "missions:pick-role-filter-for-team",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.filters.papel"
                      }
                    }
                  ]
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Filter team table from role chart"
                }
              },
              {
                "id": "missions:summary-rowClick->state:selection.missionId",
                "intent": "state-write",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionSummary",
                    "port": "rowClick",
                    "direction": "output",
                    "componentType": "praxis-table"
                  }
                },
                "to": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.missionId",
                    "layer": "values",
                    "writable": true
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "missions:pick-summary-mission-id",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.row.missaoId"
                      }
                    }
                  ]
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Selected mission id from summary"
                }
              },
              {
                "id": "missions:workflow-rowClick->state:selection.missionId",
                "intent": "state-write",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionWorkflow",
                    "port": "rowClick",
                    "direction": "output",
                    "componentType": "praxis-table"
                  }
                },
                "to": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.missionId",
                    "layer": "values",
                    "writable": true
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "missions:pick-workflow-mission-id",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.row.id"
                      }
                    }
                  ]
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Selected mission id from workflow table"
                }
              },
              {
                "id": "missions:state:selection.missionId->team.queryContext",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.missionId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionTeam",
                    "port": "queryContext",
                    "direction": "input",
                    "componentType": "praxis-table"
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "state",
                      "path": "selection.missionId"
                    }
                  ],
                  "steps": [
                    {
                      "id": "missions:team-query-context",
                      "kind": "object-template",
                      "phase": "link-propagation",
                      "config": {
                        "template": {
                          "filters": {
                            "missaoId": "${source}"
                          }
                        }
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Filter team by selected mission"
                }
              },
              {
                "id": "missions:state:selection.missionId->timeline.queryContext",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.missionId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionTimeline",
                    "port": "queryContext",
                    "direction": "input",
                    "componentType": "praxis-table"
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "state",
                      "path": "selection.missionId"
                    }
                  ],
                  "steps": [
                    {
                      "id": "missions:timeline-query-context",
                      "kind": "object-template",
                      "phase": "link-propagation",
                      "config": {
                        "template": {
                          "filters": {
                            "missaoId": "${source}"
                          }
                        }
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Filter timeline by selected mission"
                }
              }
            ]
          }
        }
      }
    },
    {
      "id": "analytics-dashboard-showcase",
      "title": "Analytics Dashboard Showcase",
      "summary": "Evaluates governed remote analytics across gauge, funnel, pyramid, treemap, histogram, ranking, trend, composition, correlation and chart-table-KPI presentation continuity.",
      "i18n": {
        "pt": {
          "title": "Vitrine de dashboard analítico",
          "summary": "Avalia analytics remotos governados com gauge, funil, pirâmide, mapa de árvore, histograma, ranking, tendência, composição, correlação e continuidade entre gráfico, tabela e indicadores.",
          "demonstrates": [
            "Os 14 tipos canônicos demonstrados são materializados com dados remotos: barra, barra horizontal, linha, área, barra empilhada, área empilhada, combo, pizza, rosca, dispersão, funil, pirâmide, mapa de árvore e gauge",
            "Uma projection remota alterna entre gráfico, tabela e indicadores sem perder projectionId nem queryContext",
            "Funnel e pyramid preservam a ordem cumulativa publicada pelo bucket rotulado do Quickstart",
            "Gauge materializa AVG de conversionRate da etapa de recebimento em uma única faixa governada de 0 a 100%",
            "Histograma materializa a distribuição salarial remota em buckets canônicos de R$ 5 mil sem criar um novo tipo de gráfico",
            "Filtros e cross-filter circulam por composition.links declarativos, sem handlers por palavras-chave",
            "O editor aberto pertence ao ComponentDocMeta do renderer selecionado, não a um formulário local da landing",
            "Indicadores materializa um card acessível por bucket da mesma resposta remota usada pela tabela"
          ],
          "operationalEvidenceNotes": [
            "Todos os valores visíveis são consultados nos endpoints stats ou filter do Praxis API Quickstart.",
            "A página armazena contratos e queryContext; respostas remotas não são persistidas no documento."
          ],
          "promptSuggestions": [
            "Compare funnel e pyramid usando o mesmo recurso cumulativo de procurement.",
            "Abra o gauge de conversão, revise a escala canônica e confirme o limite de um bucket remoto.",
            "Troque a projection de procurement entre gráfico, tabela e indicadores e confirme que o filtro de empresa permanece.",
            "Selecione um painel e abra o editor canônico para explorar apenas tipos compatíveis."
          ]
        },
        "en": {
          "title": "Analytics dashboard showcase",
          "summary": "Evaluates governed remote analytics across gauge, funnel, pyramid, treemap, histogram, ranking, trend, composition, correlation and chart-table-KPI continuity."
        }
      },
      "publicRoute": "/examples/dynamic-page/analytics-dashboard-showcase",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/analytics-dashboard-showcase",
      "category": "page",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-analytics-presentation",
      "resourcePath": "procurement/vw-supplier-procurement-funnel",
      "resourceKey": "procurement.vw-supplier-procurement-funnel",
      "requires": [
        "schemas.filtered",
        "analytics",
        "charts",
        "analytic-table",
        "gauge",
        "funnel",
        "pyramid",
        "treemap",
        "histogram",
        "distribution",
        "filter",
        "kpi",
        "composition.links",
        "remote-data",
        "config-editor"
      ],
      "tags": [
        "analytics-dashboard",
        "gauge",
        "funnel",
        "pyramid",
        "treemap",
        "histogram",
        "distribution",
        "chart-table-kpi-selector",
        "remote-stats",
        "cross-filter",
        "enterprise-proof",
        "quickstart"
      ],
      "demonstrates": [
        "All 14 demonstrated canonical chart kinds are materialized with remote data: bar, horizontal bar, line, area, stacked bar, stacked area, combo, pie, donut, scatter, funnel, pyramid, treemap and gauge",
        "One remote projection switches between chart, table and KPI without losing projectionId or queryContext",
        "Funnel and pyramid preserve the cumulative order published by the Quickstart labeled stats bucket",
        "Gauge materializes the receipt-stage AVG conversionRate as one governed remote bucket on a declared 0 to 100% scale",
        "Histogram materializes the remote salary distribution in canonical 5,000-unit buckets without introducing another chart kind",
        "Filters and cross-filter flow through declarative composition links rather than keyword handlers",
        "The selected renderer opens its owner ComponentDocMeta editor instead of a landing-local form",
        "KPI materializes one accessible card per bucket from the same remote response used by the table"
      ],
      "promptSuggestions": [
        "Compare funnel and pyramid using the same cumulative procurement resource.",
        "Open the conversion gauge, review its canonical scale and verify its one-bucket remote limit.",
        "Switch procurement between chart, table and KPI and verify that company query context is preserved.",
        "Select a panel and open its canonical editor to explore only compatible chart kinds."
      ],
      "platformFeatures": [
        "x-ui.analytics",
        "praxis-analytics-presentation",
        "praxis-chart",
        "praxis-table",
        "kpi",
        "praxis-filter",
        "remote-stats",
        "category-slice-charts",
        "scalar-gauge",
        "remote-distribution",
        "composition.links",
        "component-doc-meta-editor",
        "governed-materialization"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered",
        "POST /api/procurement/companies/option-sources/company/options/filter",
        "GET /api/procurement/companies/option-sources/company/options/by-ids",
        "POST /api/procurement/vw-supplier-procurement-funnel/filter",
        "POST /api/procurement/vw-supplier-procurement-funnel/stats/group-by",
        "POST /api/human-resources/vw-analytics-folha-pagamento/stats/group-by",
        "POST /api/human-resources/vw-analytics-folha-pagamento/stats/timeseries",
        "POST /api/human-resources/vw-analytics-folha-pagamento/stats/distribution",
        "POST /api/human-resources/vw-analytics-afastamentos/stats/group-by",
        "POST /api/operations/vw-resumo-missoes/stats/group-by",
        "POST /api/operations/vw-resumo-missoes/filter"
      ],
      "complexity": "advanced",
      "catalogRole": "composition",
      "learningStage": "composition",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "remote-only-data-sources",
          "analytics-presentation-selector-rendered",
          "chart-table-kpi-query-context-preserved",
          "funnel-and-pyramid-rendered",
          "remote-gauge-rendered-and-authorable",
          "remote-histogram-rendered-and-authorable",
          "all-canonical-chart-kinds-rendered",
          "global-filter-composition-link-present",
          "chart-table-cross-filter-present",
          "canonical-config-editor-opens",
          "remote-kpi-buckets-rendered",
          "desktop-tablet-mobile-layouts"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "schemas-catalog",
          "payroll-stats-competencia-month",
          "payroll-stats-profile",
          "vw-resumo-missoes-stats-status"
        ],
        "pendingHttpIds": [
          "supplier-procurement-funnel-filter-basic",
          "supplier-procurement-funnel-stats-stage"
        ],
        "notes": [
          "The procurement dataset is implemented in the Quickstart worktree and becomes recommended evidence when its HTTP corpus entries are published.",
          "All dashboard values come from declared Quickstart filter or stats endpoints; no local result fixture is used.",
          "The receipt conversion gauge uses stageOrdersIn=[6], AVG conversionRate, group-by and source.options.limit=1 against the procurement stats endpoint.",
          "The salary histogram uses distribution/HISTOGRAM with bucketSize=5000 and fieldless COUNT against the payroll stats endpoint.",
          "Chart, analytic table and KPI reuse the supplier-procurement-funnel projection and its governed queryContext."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.analytics-dashboard-showcase.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-charts.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-page-builder.ui-composition-plan.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/analytics-dashboard-showcase.json",
      "documentation": {
        "story": {
          "pt": "Evaluates governed remote analytics across gauge, funnel, pyramid, treemap, histogram, ranking, trend, composition, correlation and chart-table-KPI presentation continuity. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-analytics-presentation materializa do que continua sob responsabilidade da API, de suas capabilities e da mediação do app host.",
          "en": "Evaluates governed remote analytics across gauge, funnel, pyramid, treemap, histogram, ranking, trend, composition, correlation and chart-table-KPI presentation continuity. The recipe follows that task from its initial context to the visible result and separates what praxis-analytics-presentation materializes from what remains owned by the API, its capabilities and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-analytics-presentation deve tornar a promessa de “Analytics Dashboard Showcase” inspecionável: o visitante relaciona x-ui.analytics ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-analytics-presentation must make the “Analytics Dashboard Showcase” promise inspectable: visitors relate x-ui.analytics to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-analytics-presentation",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Materializa uma capacidade registrada dentro do documento Dynamic Page.",
              "en": "Materializes a registered capability inside the Dynamic Page document."
            },
            "rationale": {
              "pt": "Reutiliza o contrato oficial do componente em vez de introduzir uma implementação exclusiva na rota.",
              "en": "Reuses the component official contract instead of introducing a route-specific implementation."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "page.layout",
            "title": {
              "pt": "Estrutura da página",
              "en": "Page structure"
            },
            "explanation": {
              "pt": "Define orientação, colunas e ritmo espacial antes de qualquer widget ser resolvido.",
              "en": "Defines orientation, columns and spatial rhythm before any widget is resolved."
            }
          },
          {
            "jsonPath": "page.widgets[]",
            "title": {
              "pt": "Composição executável",
              "en": "Executable composition"
            },
            "explanation": {
              "pt": "Registra as superfícies do cenário e entrega praxis-analytics-presentation ao resolvedor de widgets.",
              "en": "Registers the scenario surfaces and hands praxis-analytics-presentation to the widget resolver."
            }
          },
          {
            "jsonPath": "page.widgets[].definition.inputs",
            "title": {
              "pt": "Contrato do componente",
              "en": "Component contract"
            },
            "explanation": {
              "pt": "Concentra os dados e opções que explicam por que o runtime assume esta forma, sem esconder configuração no host.",
              "en": "Holds the data and options that explain the runtime shape without hiding configuration in the host."
            }
          },
          {
            "jsonPath": "runtime",
            "title": {
              "pt": "Fronteira operacional",
              "en": "Operational boundary"
            },
            "explanation": {
              "pt": "Os dados e as capacidades continuam pertencendo à API; o documento apenas materializa a experiência publicada.",
              "en": "Data and capabilities remain owned by the API; the document only materializes the published experience."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Altere um input documentado do componente e compare o JSON com o resultado materializado.",
            "en": "Change a documented component input and compare the JSON with the materialized result."
          },
          {
            "pt": "Procure x-ui.analytics no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Analytics Dashboard Showcase”.",
            "en": "Find x-ui.analytics in the primary widget, change only its associated configuration, and compare the effect with the “Analytics Dashboard Showcase” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Os dados e as capacidades continuam pertencendo à API; o documento apenas materializa a experiência publicada.",
            "en": "Data and capabilities remain owned by the API; the document only materializes the published experience."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.analytics-dashboard-showcase.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.analytics-dashboard-showcase.json."
          }
        ]
      },
      "envelope": {
        "id": "analytics-dashboard-showcase",
        "title": "Analytics Dashboard Showcase",
        "summary": "Evaluates governed remote analytics across gauge, funnel, pyramid, treemap, histogram, ranking, trend, composition, correlation and chart-table-KPI presentation continuity.",
        "i18n": {
          "pt": {
            "title": "Vitrine de dashboard analítico",
            "summary": "Avalia analytics remotos governados com gauge, funil, pirâmide, mapa de árvore, histograma, ranking, tendência, composição, correlação e continuidade entre gráfico, tabela e indicadores.",
            "demonstrates": [
              "Os 14 tipos canônicos demonstrados são materializados com dados remotos: barra, barra horizontal, linha, área, barra empilhada, área empilhada, combo, pizza, rosca, dispersão, funil, pirâmide, mapa de árvore e gauge",
              "Uma projection remota alterna entre gráfico, tabela e indicadores sem perder projectionId nem queryContext",
              "Funnel e pyramid preservam a ordem cumulativa publicada pelo bucket rotulado do Quickstart",
              "Gauge materializa AVG de conversionRate da etapa de recebimento em uma única faixa governada de 0 a 100%",
              "Histograma materializa a distribuição salarial remota em buckets canônicos de R$ 5 mil sem criar um novo tipo de gráfico",
              "Filtros e cross-filter circulam por composition.links declarativos, sem handlers por palavras-chave",
              "O editor aberto pertence ao ComponentDocMeta do renderer selecionado, não a um formulário local da landing",
              "Indicadores materializa um card acessível por bucket da mesma resposta remota usada pela tabela"
            ],
            "operationalEvidenceNotes": [
              "Todos os valores visíveis são consultados nos endpoints stats ou filter do Praxis API Quickstart.",
              "A página armazena contratos e queryContext; respostas remotas não são persistidas no documento."
            ],
            "promptSuggestions": [
              "Compare funnel e pyramid usando o mesmo recurso cumulativo de procurement.",
              "Abra o gauge de conversão, revise a escala canônica e confirme o limite de um bucket remoto.",
              "Troque a projection de procurement entre gráfico, tabela e indicadores e confirme que o filtro de empresa permanece.",
              "Selecione um painel e abra o editor canônico para explorar apenas tipos compatíveis."
            ]
          },
          "en": {
            "title": "Analytics dashboard showcase",
            "summary": "Evaluates governed remote analytics across gauge, funnel, pyramid, treemap, histogram, ranking, trend, composition, correlation and chart-table-KPI continuity."
          }
        },
        "component": "praxis-dynamic-page",
        "category": "page",
        "primaryComponent": "praxis-analytics-presentation",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/charts"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "procurement/vw-supplier-procurement-funnel",
          "resourceKey": "procurement.vw-supplier-procurement-funnel"
        },
        "requires": [
          "schemas.filtered",
          "analytics",
          "charts",
          "analytic-table",
          "gauge",
          "funnel",
          "pyramid",
          "treemap",
          "histogram",
          "distribution",
          "filter",
          "kpi",
          "composition.links",
          "remote-data",
          "config-editor"
        ],
        "tags": [
          "analytics-dashboard",
          "gauge",
          "funnel",
          "pyramid",
          "treemap",
          "histogram",
          "distribution",
          "chart-table-kpi-selector",
          "remote-stats",
          "cross-filter",
          "enterprise-proof",
          "quickstart"
        ],
        "demonstrates": [
          "All 14 demonstrated canonical chart kinds are materialized with remote data: bar, horizontal bar, line, area, stacked bar, stacked area, combo, pie, donut, scatter, funnel, pyramid, treemap and gauge",
          "One remote projection switches between chart, table and KPI without losing projectionId or queryContext",
          "Funnel and pyramid preserve the cumulative order published by the Quickstart labeled stats bucket",
          "Gauge materializes the receipt-stage AVG conversionRate as one governed remote bucket on a declared 0 to 100% scale",
          "Histogram materializes the remote salary distribution in canonical 5,000-unit buckets without introducing another chart kind",
          "Filters and cross-filter flow through declarative composition links rather than keyword handlers",
          "The selected renderer opens its owner ComponentDocMeta editor instead of a landing-local form",
          "KPI materializes one accessible card per bucket from the same remote response used by the table"
        ],
        "promptSuggestions": [
          "Compare funnel and pyramid using the same cumulative procurement resource.",
          "Open the conversion gauge, review its canonical scale and verify its one-bucket remote limit.",
          "Switch procurement between chart, table and KPI and verify that company query context is preserved.",
          "Select a panel and open its canonical editor to explore only compatible chart kinds."
        ],
        "platformFeatures": [
          "x-ui.analytics",
          "praxis-analytics-presentation",
          "praxis-chart",
          "praxis-table",
          "kpi",
          "praxis-filter",
          "remote-stats",
          "category-slice-charts",
          "scalar-gauge",
          "remote-distribution",
          "composition.links",
          "component-doc-meta-editor",
          "governed-materialization"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered",
          "POST /api/procurement/companies/option-sources/company/options/filter",
          "GET /api/procurement/companies/option-sources/company/options/by-ids",
          "POST /api/procurement/vw-supplier-procurement-funnel/filter",
          "POST /api/procurement/vw-supplier-procurement-funnel/stats/group-by",
          "POST /api/human-resources/vw-analytics-folha-pagamento/stats/group-by",
          "POST /api/human-resources/vw-analytics-folha-pagamento/stats/timeseries",
          "POST /api/human-resources/vw-analytics-folha-pagamento/stats/distribution",
          "POST /api/human-resources/vw-analytics-afastamentos/stats/group-by",
          "POST /api/operations/vw-resumo-missoes/stats/group-by",
          "POST /api/operations/vw-resumo-missoes/filter"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "remote-only-data-sources",
            "analytics-presentation-selector-rendered",
            "chart-table-kpi-query-context-preserved",
            "funnel-and-pyramid-rendered",
            "remote-gauge-rendered-and-authorable",
            "remote-histogram-rendered-and-authorable",
            "all-canonical-chart-kinds-rendered",
            "global-filter-composition-link-present",
            "chart-table-cross-filter-present",
            "canonical-config-editor-opens",
            "remote-kpi-buckets-rendered",
            "desktop-tablet-mobile-layouts"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "schemas-catalog",
            "payroll-stats-competencia-month",
            "payroll-stats-profile",
            "vw-resumo-missoes-stats-status"
          ],
          "pendingHttpIds": [
            "supplier-procurement-funnel-filter-basic",
            "supplier-procurement-funnel-stats-stage"
          ],
          "notes": [
            "The procurement dataset is implemented in the Quickstart worktree and becomes recommended evidence when its HTTP corpus entries are published.",
            "All dashboard values come from declared Quickstart filter or stats endpoints; no local result fixture is used.",
            "The receipt conversion gauge uses stageOrdersIn=[6], AVG conversionRate, group-by and source.options.limit=1 against the procurement stats endpoint.",
            "The salary histogram uses distribution/HISTOGRAM with bucketSize=5000 and fieldless COUNT against the payroll stats endpoint.",
            "Chart, analytic table and KPI reuse the supplier-procurement-funnel projection and its governed queryContext."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.analytics-dashboard-showcase.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-charts.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-page-builder.ui-composition-plan.json"
        ],
        "page": {
          "themePreset": "executive-command-center",
          "layout": {
            "orientation": "columns",
            "columns": 4,
            "gap": "16px"
          },
          "deviceLayouts": {
            "desktop": {
              "layout": {
                "orientation": "columns",
                "columns": 4,
                "gap": "16px"
              },
              "widgetOverrides": {
                "procurementFilter": {
                  "order": 10,
                  "span": 4
                },
                "procurementPresentation": {
                  "order": 20,
                  "span": 2
                },
                "procurementFunnel": {
                  "order": 30,
                  "span": 1
                },
                "procurementPyramid": {
                  "order": 40,
                  "span": 1
                },
                "procurementGauge": {
                  "order": 45,
                  "span": 2
                },
                "missionStatusChart": {
                  "order": 50,
                  "span": 2
                },
                "missionStatusTable": {
                  "order": 60,
                  "span": 2
                },
                "payrollTrend": {
                  "order": 70,
                  "span": 2
                },
                "payrollStackedArea": {
                  "order": 80,
                  "span": 2
                },
                "payrollProfile": {
                  "order": 90,
                  "span": 1
                },
                "payrollProfileTreemap": {
                  "order": 95,
                  "span": 1
                },
                "payrollCombo": {
                  "order": 100,
                  "span": 2
                },
                "payrollSalaryHistogram": {
                  "order": 105,
                  "span": 2
                },
                "absenceCorrelation": {
                  "order": 110,
                  "span": 1
                }
              }
            },
            "tablet": {
              "layout": {
                "orientation": "columns",
                "columns": 2,
                "gap": "14px"
              }
            },
            "mobile": {
              "layout": {
                "orientation": "columns",
                "columns": 1,
                "gap": "12px"
              }
            }
          },
          "state": {
            "values": {
              "analytics": {
                "procurementQueryContext": {
                  "filters": {}
                },
                "missionQueryContext": {
                  "filters": {}
                }
              }
            }
          },
          "widgets": [
            {
              "key": "procurementFilter",
              "shell": {
                "kind": "dashboard-card",
                "icon": "filter_alt",
                "title": "Filtros governados",
                "subtitle": "O DTO remoto preserva a empresa selecionada em todas as apresentações do funil"
              },
              "definition": {
                "id": "praxis-filter",
                "bindingOrder": [
                  "resourcePath",
                  "filterId",
                  "formId",
                  "alwaysVisibleFields",
                  "selectedFieldIds",
                  "disablePersistence",
                  "showFilterSettings",
                  "showAdvancedButton",
                  "showAddButton",
                  "showSearchButton"
                ],
                "inputs": {
                  "resourcePath": "procurement/vw-supplier-procurement-funnel",
                  "filterId": "analytics-dashboard-procurement-filter",
                  "formId": "analytics-dashboard-procurement-filter-form",
                  "componentInstanceId": "analytics-dashboard-procurement-filter",
                  "alwaysVisibleFields": [
                    "companyId"
                  ],
                  "selectedFieldIds": [
                    "companyId"
                  ],
                  "disablePersistence": true,
                  "showFilterSettings": false,
                  "showAdvancedButton": false,
                  "showAddButton": false,
                  "showSearchButton": false
                },
                "outputs": {
                  "change": "emit",
                  "clear": "emit"
                }
              }
            },
            {
              "key": "procurementPresentation",
              "shell": {
                "kind": "dashboard-card",
                "icon": "view_quilt",
                "title": "Uma projection, três apresentações",
                "subtitle": "Gráfico, tabela e indicadores executam o mesmo contrato e preservam o mesmo queryContext"
              },
              "definition": {
                "id": "praxis-analytics-presentation",
                "bindingOrder": [
                  "analytics",
                  "projectionId",
                  "availableFamilies",
                  "preferredFamily",
                  "queryContext",
                  "title",
                  "subtitle",
                  "enableCustomization"
                ],
                "inputs": {
                  "analytics": {
                    "projections": [
                      {
                        "id": "supplier-procurement-funnel",
                        "intent": "composition",
                        "source": {
                          "kind": "praxis.stats",
                          "resource": "/api/procurement/vw-supplier-procurement-funnel",
                          "operation": "group-by"
                        },
                        "bindings": {
                          "primaryDimension": {
                            "field": "stage",
                            "role": "category",
                            "label": "Etapa"
                          },
                          "primaryMetrics": [
                            {
                              "field": "volume",
                              "aggregation": "sum",
                              "label": "Fornecedores"
                            }
                          ]
                        },
                        "defaults": {
                          "sort": [
                            {
                              "field": "stage",
                              "direction": "asc"
                            }
                          ],
                          "limit": 6
                        },
                        "presentationHints": {
                          "preferredFamilies": [
                            "chart",
                            "analytic-table",
                            "kpi"
                          ]
                        },
                        "interactions": {
                          "pointSelection": true
                        }
                      }
                    ]
                  },
                  "projectionId": "supplier-procurement-funnel",
                  "availableFamilies": [
                    "chart",
                    "analytic-table",
                    "kpi"
                  ],
                  "preferredFamily": "chart",
                  "queryContext": {
                    "filters": {}
                  },
                  "title": "Funil de fornecedores",
                  "subtitle": "Etapas cumulativas derivadas de fatos operacionais persistidos",
                  "enableCustomization": true
                },
                "outputs": {
                  "presentationChange": "emit",
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "crossFilter": "emit",
                  "loadStateChange": "emit"
                }
              }
            },
            {
              "key": "procurementFunnel",
              "shell": {
                "kind": "dashboard-card",
                "icon": "filter_alt",
                "title": "Funnel",
                "subtitle": "Ordem canônica 1→6 por bucket rotulado do stats"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument",
                  "queryContext",
                  "enableCustomization"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "supplier-procurement-funnel-chart",
                    "kind": "funnel",
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/procurement/vw-supplier-procurement-funnel",
                      "operation": "group-by",
                      "options": {
                        "limit": 6,
                        "orderBy": "key-asc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "stage",
                        "label": "Etapa",
                        "role": "category"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "volume",
                        "label": "Fornecedores",
                        "aggregation": "sum"
                      }
                    ],
                    "motion": {
                      "enabled": true,
                      "preset": "standard"
                    },
                    "legend": {
                      "enabled": true
                    },
                    "tooltip": {
                      "enabled": true
                    }
                  },
                  "queryContext": {
                    "filters": {}
                  },
                  "enableCustomization": true
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "loadStateChange": "emit"
                }
              }
            },
            {
              "key": "procurementPyramid",
              "shell": {
                "kind": "dashboard-card",
                "icon": "change_history",
                "title": "Pyramid",
                "subtitle": "A mesma série remota com ordem visual invertida pelo renderer"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument",
                  "queryContext",
                  "enableCustomization"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "supplier-procurement-pyramid-chart",
                    "kind": "pyramid",
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/procurement/vw-supplier-procurement-funnel",
                      "operation": "group-by",
                      "options": {
                        "limit": 6,
                        "orderBy": "key-asc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "stage",
                        "label": "Etapa",
                        "role": "category"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "volume",
                        "label": "Fornecedores",
                        "aggregation": "sum"
                      }
                    ],
                    "legend": {
                      "enabled": true
                    },
                    "tooltip": {
                      "enabled": true
                    }
                  },
                  "queryContext": {
                    "filters": {}
                  },
                  "enableCustomization": true
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "loadStateChange": "emit"
                }
              }
            },
            {
              "key": "procurementGauge",
              "shell": {
                "kind": "dashboard-card",
                "icon": "speed",
                "title": "Conversão no recebimento",
                "subtitle": "AVG conversionRate da etapa 6 em uma única faixa governada de 0 a 100%"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument",
                  "queryContext",
                  "enableCustomization"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "supplier-procurement-receipt-conversion-gauge",
                    "kind": "gauge",
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/procurement/vw-supplier-procurement-funnel",
                      "operation": "group-by",
                      "options": {
                        "limit": 1,
                        "orderBy": "key-asc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "stage",
                        "label": "Etapa",
                        "role": "category"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "conversionRate",
                        "label": "Conversão",
                        "aggregation": "avg",
                        "format": "percent"
                      }
                    ],
                    "filters": [
                      {
                        "field": "stageOrdersIn",
                        "operator": "in",
                        "values": [
                          6
                        ]
                      }
                    ],
                    "gauge": {
                      "scale": {
                        "min": 0,
                        "max": 1
                      }
                    },
                    "motion": {
                      "enabled": true,
                      "preset": "expressive"
                    },
                    "legend": {
                      "enabled": false
                    },
                    "labels": {
                      "enabled": true,
                      "format": "percent"
                    },
                    "tooltip": {
                      "enabled": true
                    }
                  },
                  "queryContext": {
                    "filters": {}
                  },
                  "enableCustomization": true
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "loadStateChange": "emit"
                }
              }
            },
            {
              "key": "missionStatusChart",
              "shell": {
                "kind": "dashboard-card",
                "icon": "bar_chart",
                "title": "Status das missões",
                "subtitle": "Selecione uma barra para filtrar; selecione-a novamente para limpar"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument",
                  "queryContext",
                  "enableCustomization"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "analytics-dashboard-mission-status",
                    "kind": "horizontal-bar",
                    "orientation": "horizontal",
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/operations/vw-resumo-missoes",
                      "operation": "group-by",
                      "options": {
                        "limit": 10,
                        "orderBy": "key-asc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "status",
                        "label": "Status",
                        "role": "category"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "missions",
                        "label": "Missões",
                        "aggregation": "count"
                      }
                    ],
                    "motion": {
                      "enabled": true,
                      "preset": "subtle"
                    },
                    "events": {
                      "pointClick": {
                        "action": "emit"
                      },
                      "selectionChange": {
                        "action": "emit",
                        "mapping": {
                          "key": "status"
                        }
                      },
                      "crossFilter": {
                        "action": "filter-widget",
                        "target": "missionStatusTable",
                        "mapping": {
                          "key": "status"
                        }
                      }
                    },
                    "legend": {
                      "enabled": false
                    },
                    "tooltip": {
                      "enabled": true
                    }
                  },
                  "queryContext": {
                    "filters": {}
                  },
                  "enableCustomization": true
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "crossFilter": "emit",
                  "loadStateChange": "emit"
                }
              }
            },
            {
              "key": "missionStatusTable",
              "shell": {
                "kind": "dashboard-card",
                "icon": "table_rows",
                "title": "Portfólio filtrável",
                "subtitle": "A tabela remota recebe o filtro emitido pelo chart"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath",
                  "queryContext"
                ],
                "inputs": {
                  "resourcePath": "operations/vw-resumo-missoes",
                  "tableId": "analytics-dashboard-mission-status-table",
                  "queryContext": {
                    "filters": {}
                  },
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Missões",
                      "subtitle": "Resultado operacional remoto"
                    },
                    "columns": [
                      {
                        "field": "titulo",
                        "header": "Missão",
                        "type": "text",
                        "sticky": "start"
                      },
                      {
                        "field": "status",
                        "header": "Status",
                        "type": "badge"
                      },
                      {
                        "field": "prioridade",
                        "header": "Prioridade",
                        "type": "badge"
                      },
                      {
                        "field": "ameaca",
                        "header": "Ameaça",
                        "type": "text"
                      },
                      {
                        "field": "qtdEventos",
                        "header": "Eventos",
                        "type": "number"
                      }
                    ],
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      }
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "selectionChange": "emit",
                  "loadingStateChange": "emit"
                }
              }
            },
            {
              "key": "missionStatusVerticalBar",
              "shell": {
                "kind": "dashboard-card",
                "icon": "bar_chart",
                "title": "Status em barras verticais",
                "subtitle": "A mesma distribuição remota em apresentação vertical"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument",
                  "enableCustomization"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "analytics-dashboard-mission-status-vertical",
                    "kind": "bar",
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/operations/vw-resumo-missoes",
                      "operation": "group-by",
                      "options": {
                        "limit": 10,
                        "orderBy": "key-asc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "status",
                        "label": "Status",
                        "role": "category"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "missions",
                        "label": "Missões",
                        "aggregation": "count"
                      }
                    ],
                    "legend": {
                      "enabled": false
                    },
                    "tooltip": {
                      "enabled": true
                    }
                  },
                  "enableCustomization": true
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "loadStateChange": "emit"
                }
              }
            },
            {
              "key": "payrollTrend",
              "shell": {
                "kind": "dashboard-card",
                "icon": "show_chart",
                "title": "Tendência mensal",
                "subtitle": "Linha remota de salário líquido por competência"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument",
                  "enableCustomization"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "analytics-dashboard-payroll-trend",
                    "kind": "line",
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/human-resources/vw-analytics-folha-pagamento",
                      "operation": "timeseries",
                      "options": {
                        "granularity": "month",
                        "orderBy": "key-asc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "competencia",
                        "label": "Competência",
                        "role": "time"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "salarioLiquido",
                        "label": "Salário líquido",
                        "aggregation": "sum"
                      }
                    ],
                    "legend": {
                      "enabled": true
                    },
                    "tooltip": {
                      "enabled": true
                    }
                  },
                  "enableCustomization": true
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "loadStateChange": "emit"
                }
              }
            },
            {
              "key": "payrollAreaTrend",
              "shell": {
                "kind": "dashboard-card",
                "icon": "area_chart",
                "title": "Massa líquida em área",
                "subtitle": "A tendência mensal remota com preenchimento de área"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument",
                  "enableCustomization"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "analytics-dashboard-payroll-area-trend",
                    "kind": "area",
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/human-resources/vw-analytics-folha-pagamento",
                      "operation": "timeseries",
                      "options": {
                        "granularity": "month",
                        "orderBy": "key-asc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "competencia",
                        "label": "Competência",
                        "role": "time"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "salarioLiquido",
                        "label": "Salário líquido",
                        "aggregation": "sum"
                      }
                    ],
                    "legend": {
                      "enabled": true
                    },
                    "tooltip": {
                      "enabled": true
                    }
                  },
                  "enableCustomization": true
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "loadStateChange": "emit"
                }
              }
            },
            {
              "key": "payrollStackedArea",
              "shell": {
                "kind": "dashboard-card",
                "icon": "area_chart",
                "title": "Composição da folha",
                "subtitle": "Área empilhada com séries legítimas do mesmo endpoint"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument",
                  "enableCustomization"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "analytics-dashboard-payroll-stacked-area",
                    "kind": "stacked-area",
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/human-resources/vw-analytics-folha-pagamento",
                      "operation": "timeseries",
                      "options": {
                        "granularity": "month",
                        "orderBy": "key-asc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "competencia",
                        "label": "Competência",
                        "role": "time"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "salarioBruto",
                        "label": "Massa bruta",
                        "aggregation": "sum"
                      },
                      {
                        "field": "totalDescontos",
                        "label": "Descontos",
                        "aggregation": "sum"
                      }
                    ],
                    "legend": {
                      "enabled": true
                    },
                    "tooltip": {
                      "enabled": true
                    }
                  },
                  "enableCustomization": true
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "loadStateChange": "emit"
                }
              }
            },
            {
              "key": "payrollStackedBar",
              "shell": {
                "kind": "dashboard-card",
                "icon": "stacked_bar_chart",
                "title": "Composição em barras empilhadas",
                "subtitle": "As mesmas séries remotas em comparação mensal discreta"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument",
                  "enableCustomization"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "analytics-dashboard-payroll-stacked-bar",
                    "kind": "stacked-bar",
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/human-resources/vw-analytics-folha-pagamento",
                      "operation": "timeseries",
                      "options": {
                        "granularity": "month",
                        "orderBy": "key-asc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "competencia",
                        "label": "Competência",
                        "role": "time"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "salarioBruto",
                        "label": "Massa bruta",
                        "aggregation": "sum"
                      },
                      {
                        "field": "totalDescontos",
                        "label": "Descontos",
                        "aggregation": "sum"
                      }
                    ],
                    "legend": {
                      "enabled": true
                    },
                    "tooltip": {
                      "enabled": true
                    }
                  },
                  "enableCustomization": true
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "loadStateChange": "emit"
                }
              }
            },
            {
              "key": "payrollProfile",
              "shell": {
                "kind": "dashboard-card",
                "icon": "donut_large",
                "title": "Perfis da folha",
                "subtitle": "Rosca remota por perfil calculado"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument",
                  "enableCustomization"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "analytics-dashboard-payroll-profile",
                    "kind": "donut",
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/human-resources/vw-analytics-folha-pagamento",
                      "operation": "group-by",
                      "options": {
                        "limit": 8,
                        "orderBy": "value-desc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "payrollProfile",
                        "label": "Perfil",
                        "role": "category"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "count",
                        "label": "Registros",
                        "aggregation": "count"
                      }
                    ],
                    "legend": {
                      "enabled": true
                    },
                    "tooltip": {
                      "enabled": true
                    }
                  },
                  "enableCustomization": true
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "loadStateChange": "emit"
                }
              }
            },
            {
              "key": "payrollProfilePie",
              "shell": {
                "kind": "dashboard-card",
                "icon": "pie_chart",
                "title": "Perfis em pizza",
                "subtitle": "A mesma composição remota em setores preenchidos"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument",
                  "enableCustomization"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "analytics-dashboard-payroll-profile-pie",
                    "kind": "pie",
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/human-resources/vw-analytics-folha-pagamento",
                      "operation": "group-by",
                      "options": {
                        "limit": 8,
                        "orderBy": "value-desc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "payrollProfile",
                        "label": "Perfil",
                        "role": "category"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "count",
                        "label": "Registros",
                        "aggregation": "count"
                      }
                    ],
                    "legend": {
                      "enabled": true
                    },
                    "tooltip": {
                      "enabled": true
                    }
                  },
                  "enableCustomization": true
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "loadStateChange": "emit"
                }
              }
            },
            {
              "key": "payrollProfileTreemap",
              "shell": {
                "kind": "dashboard-card",
                "icon": "account_tree",
                "title": "Perfis em mapa de árvore",
                "subtitle": "Composição remota proporcional com a mesma dimensão governada"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument",
                  "enableCustomization"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "analytics-dashboard-payroll-profile-treemap",
                    "kind": "treemap",
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/human-resources/vw-analytics-folha-pagamento",
                      "operation": "group-by",
                      "options": {
                        "limit": 8,
                        "orderBy": "value-desc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "payrollProfile",
                        "label": "Perfil",
                        "role": "category"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "count",
                        "label": "Registros",
                        "aggregation": "count"
                      }
                    ],
                    "labels": {
                      "enabled": true
                    },
                    "legend": {
                      "enabled": false
                    },
                    "tooltip": {
                      "enabled": true
                    }
                  },
                  "enableCustomization": true
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "loadStateChange": "emit"
                }
              }
            },
            {
              "key": "payrollCombo",
              "shell": {
                "kind": "dashboard-card",
                "icon": "multiline_chart",
                "title": "Bruto × descontos",
                "subtitle": "Combo remoto com descontos no eixo secundário"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument",
                  "enableCustomization"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "analytics-dashboard-payroll-combo",
                    "kind": "combo",
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/human-resources/vw-analytics-folha-pagamento",
                      "operation": "timeseries",
                      "options": {
                        "granularity": "month",
                        "orderBy": "key-asc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "competencia",
                        "label": "Competência",
                        "role": "time"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "salarioBruto",
                        "label": "Massa bruta",
                        "aggregation": "sum",
                        "seriesKind": "bar",
                        "axis": "primary"
                      },
                      {
                        "field": "totalDescontos",
                        "label": "Descontos",
                        "aggregation": "sum",
                        "seriesKind": "line",
                        "axis": "secondary"
                      }
                    ],
                    "legend": {
                      "enabled": true
                    },
                    "tooltip": {
                      "enabled": true
                    }
                  },
                  "enableCustomization": true
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "loadStateChange": "emit"
                }
              }
            },
            {
              "key": "payrollSalaryHistogram",
              "shell": {
                "kind": "dashboard-card",
                "icon": "bar_chart",
                "title": "Distribuição salarial",
                "subtitle": "Histograma remoto por faixas de R$ 5 mil materializadas pelo stats"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument",
                  "enableCustomization"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "analytics-dashboard-payroll-salary-histogram",
                    "kind": "bar",
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/human-resources/vw-analytics-folha-pagamento",
                      "operation": "distribution",
                      "options": {
                        "mode": "histogram",
                        "bucketSize": 5000,
                        "orderBy": "key-asc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "salarioLiquido",
                        "label": "Faixa salarial",
                        "role": "category"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "count",
                        "label": "Registros",
                        "aggregation": "count"
                      }
                    ],
                    "legend": {
                      "enabled": false
                    },
                    "tooltip": {
                      "enabled": true
                    }
                  },
                  "enableCustomization": true
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "loadStateChange": "emit"
                }
              }
            },
            {
              "key": "absenceCorrelation",
              "shell": {
                "kind": "dashboard-card",
                "icon": "scatter_plot",
                "title": "Pessoas × dias afastados",
                "subtitle": "Dispersão remota por departamento"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "chartDocument",
                  "enableCustomization"
                ],
                "inputs": {
                  "chartDocument": {
                    "version": "0.1.0",
                    "chartId": "analytics-dashboard-absence-correlation",
                    "kind": "scatter",
                    "source": {
                      "kind": "praxis.stats",
                      "resource": "/api/human-resources/vw-analytics-afastamentos",
                      "operation": "group-by",
                      "options": {
                        "limit": 20,
                        "orderBy": "value-desc"
                      }
                    },
                    "dimensions": [
                      {
                        "field": "departamento",
                        "label": "Departamento",
                        "role": "category"
                      }
                    ],
                    "metrics": [
                      {
                        "field": "funcionarioId",
                        "label": "Colaboradores",
                        "aggregation": "distinct-count"
                      },
                      {
                        "field": "diasAfastado",
                        "label": "Dias afastados",
                        "aggregation": "sum"
                      }
                    ],
                    "events": {
                      "pointClick": {
                        "action": "emit"
                      },
                      "selectionChange": {
                        "action": "emit"
                      }
                    },
                    "legend": {
                      "enabled": false
                    },
                    "tooltip": {
                      "enabled": true
                    }
                  },
                  "enableCustomization": true
                },
                "outputs": {
                  "pointClick": "emit",
                  "selectionChange": "emit",
                  "loadStateChange": "emit"
                }
              }
            }
          ],
          "composition": {
            "version": "1.0.0",
            "links": [
              {
                "id": "analytics:procurement-filter-change->presentation.queryContext",
                "intent": "event-propagation",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "procurementFilter",
                    "port": "change",
                    "direction": "output",
                    "componentType": "praxis-filter"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "procurementPresentation",
                    "port": "queryContext",
                    "direction": "input",
                    "componentType": "praxis-analytics-presentation"
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "object-fragment",
                  "sourceBindings": [
                    {
                      "source": "payload"
                    }
                  ],
                  "steps": [
                    {
                      "id": "analytics:procurement-filter-dto-to-query-context",
                      "kind": "object-template",
                      "phase": "link-propagation",
                      "config": {
                        "template": {
                          "filters": "${source}",
                          "meta": {
                            "source": "praxis-filter-change"
                          }
                        }
                      }
                    }
                  ]
                },
                "policy": {
                  "debounceMs": 80,
                  "missingValuePolicy": "use-default",
                  "distinct": true,
                  "errorPolicy": "diagnostic"
                }
              },
              {
                "id": "analytics:procurement-filter-change->funnel.queryContext",
                "intent": "event-propagation",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "procurementFilter",
                    "port": "change",
                    "direction": "output",
                    "componentType": "praxis-filter"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "procurementFunnel",
                    "port": "queryContext",
                    "direction": "input",
                    "componentType": "praxis-chart"
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "object-fragment",
                  "sourceBindings": [
                    {
                      "source": "payload"
                    }
                  ],
                  "steps": [
                    {
                      "id": "analytics:procurement-filter-dto-to-funnel-query-context",
                      "kind": "object-template",
                      "phase": "link-propagation",
                      "config": {
                        "template": {
                          "filters": "${source}",
                          "meta": {
                            "source": "praxis-filter-change"
                          }
                        }
                      }
                    }
                  ]
                },
                "policy": {
                  "debounceMs": 80,
                  "missingValuePolicy": "use-default",
                  "distinct": true,
                  "errorPolicy": "diagnostic"
                }
              },
              {
                "id": "analytics:procurement-filter-change->pyramid.queryContext",
                "intent": "event-propagation",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "procurementFilter",
                    "port": "change",
                    "direction": "output",
                    "componentType": "praxis-filter"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "procurementPyramid",
                    "port": "queryContext",
                    "direction": "input",
                    "componentType": "praxis-chart"
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "object-fragment",
                  "sourceBindings": [
                    {
                      "source": "payload"
                    }
                  ],
                  "steps": [
                    {
                      "id": "analytics:procurement-filter-dto-to-pyramid-query-context",
                      "kind": "object-template",
                      "phase": "link-propagation",
                      "config": {
                        "template": {
                          "filters": "${source}",
                          "meta": {
                            "source": "praxis-filter-change"
                          }
                        }
                      }
                    }
                  ]
                },
                "policy": {
                  "debounceMs": 80,
                  "missingValuePolicy": "use-default",
                  "distinct": true,
                  "errorPolicy": "diagnostic"
                }
              },
              {
                "id": "analytics:procurement-filter-change->gauge.queryContext",
                "intent": "event-propagation",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "procurementFilter",
                    "port": "change",
                    "direction": "output",
                    "componentType": "praxis-filter"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "procurementGauge",
                    "port": "queryContext",
                    "direction": "input",
                    "componentType": "praxis-chart"
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "object-fragment",
                  "sourceBindings": [
                    {
                      "source": "payload"
                    }
                  ],
                  "steps": [
                    {
                      "id": "analytics:procurement-filter-dto-to-gauge-query-context",
                      "kind": "object-template",
                      "phase": "link-propagation",
                      "config": {
                        "template": {
                          "filters": "${source}",
                          "meta": {
                            "source": "praxis-filter-change"
                          }
                        }
                      }
                    }
                  ]
                },
                "policy": {
                  "debounceMs": 80,
                  "missingValuePolicy": "use-default",
                  "distinct": true,
                  "errorPolicy": "diagnostic"
                }
              },
              {
                "id": "analytics:mission-status-crossFilter->table.queryContext.filters",
                "intent": "data-projection",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionStatusChart",
                    "port": "crossFilter",
                    "direction": "output",
                    "componentType": "praxis-chart"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionStatusTable",
                    "port": "queryContext",
                    "direction": "input",
                    "componentType": "praxis-table",
                    "bindingPath": "filters"
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "analytics:pick-mission-status",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.filters"
                      }
                    }
                  ]
                },
                "policy": {
                  "debounceMs": 0,
                  "missingValuePolicy": "skip",
                  "distinct": true,
                  "errorPolicy": "diagnostic"
                }
              }
            ]
          }
        }
      }
    },
    {
      "id": "inline-filter-editorial-lab",
      "title": "Inline Filter - editorial lab",
      "summary": "Authors inline filter fields with the metadata editor and compares async selects, ranges and toggles before they become table controls.",
      "i18n": {
        "pt": {
          "title": "Inline Filter - laboratório editorial",
          "summary": "Autora filtros inline com o metadata editor e compara selects assíncronos, ranges e toggles antes de virarem controles da tabela.",
          "demonstrates": [
            "Explore Inline Filter - laboratório editorial e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-metadata-editor materializa dynamic-fields/inline-filter-editorial com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Autora filtros inline com o metadata editor e compara selects assíncronos, ranges e toggles antes de virarem controles da tabela.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, praxis-tabs.nested-widgets, metadata-editor.inline-filter-editorial.",
            "Verifique a conexão com as evidências canônicas inline-filter-controls.util.ts e inline-filter-control-properties.map.ts."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/inline-filter-editorial-lab",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/inline-filter-editorial-lab",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-metadata-editor",
      "resourcePath": "dynamic-fields/inline-filter-editorial",
      "resourceKey": "dynamic-fields.inline-filter-editorial",
      "requires": [
        "praxis-metadata-editor.controlType",
        "inline-filter-control-types",
        "inlineAsyncSelect.editorial",
        "inlineDateRange.editorial",
        "inlineCurrencyRange.editorial",
        "inlineToggle.editorial"
      ],
      "tags": [
        "metadata-editor",
        "inline-filter",
        "dynamic-fields",
        "authoring",
        "table-filters",
        "ai-recipe"
      ],
      "demonstrates": [
        "Package-owned inline filter control types resolved by the metadata editor",
        "Async select filter metadata for remote option endpoints",
        "Date range and currency range metadata for table filter DTOs",
        "Boolean action-style filter metadata for inline toggle controls",
        "A copyable authoring workspace agents can reuse before generating table filters"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "praxis-tabs.nested-widgets",
        "metadata-editor.inline-filter-editorial",
        "inline-filter-control-types",
        "inlineAsyncSelect",
        "inlineDateRange",
        "inlineCurrencyRange",
        "inlineToggle"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts",
        "praxis-ui-angular/projects/praxis-metadata-editor/src/lib/config/inline-filter-control-properties.map.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.inline-filter-editorial-lab.json"
      ],
      "complexity": "advanced",
      "catalogRole": "authoring-workflow",
      "learningStage": "governance",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-tabs-rendered",
          "praxis-metadata-editor-rendered",
          "inline-filter-control-seeds-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because it demonstrates authoring metadata, not filter execution.",
          "The runtime execution companion is Funcionarios - inline filter lab, which consumes these same control families inside praxis-table advancedFilters."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.inline-filter-editorial-lab.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.inline-filter-lab.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-field-metadata-editor.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/inline-filter-editorial-lab.json",
      "documentation": {
        "story": {
          "pt": "Autora filtros inline com o metadata editor e compara selects assíncronos, ranges e toggles antes de virarem controles da tabela. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-metadata-editor materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Authors inline filter fields with the metadata editor and compares async selects, ranges and toggles before they become table controls. The recipe follows that task from its initial context to the visible result and separates what praxis-metadata-editor materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-metadata-editor deve tornar a promessa de “Inline Filter - laboratório editorial” inspecionável: o visitante relaciona praxis-tabs.nested-widgets ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-metadata-editor must make the “Inline Filter - editorial lab” promise inspectable: visitors relate praxis-tabs.nested-widgets to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-metadata-editor",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Expõe metadata de apresentação e comportamento em uma superfície de autoria controlada.",
              "en": "Exposes presentation and behavior metadata through a controlled authoring surface."
            },
            "rationale": {
              "pt": "Permite revisar decisões editoriais sem editar objetos técnicos extensos nem duplicar o contrato do campo.",
              "en": "Allows editorial decisions to be reviewed without editing large technical objects or duplicating the field contract."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "page.layout",
            "title": {
              "pt": "Estrutura da página",
              "en": "Page structure"
            },
            "explanation": {
              "pt": "Define orientação, colunas e ritmo espacial antes de qualquer widget ser resolvido.",
              "en": "Defines orientation, columns and spatial rhythm before any widget is resolved."
            }
          },
          {
            "jsonPath": "page.widgets[]",
            "title": {
              "pt": "Composição executável",
              "en": "Executable composition"
            },
            "explanation": {
              "pt": "Registra as superfícies do cenário e entrega praxis-metadata-editor ao resolvedor de widgets.",
              "en": "Registers the scenario surfaces and hands praxis-metadata-editor to the widget resolver."
            }
          },
          {
            "jsonPath": "page.widgets[].definition.inputs",
            "title": {
              "pt": "Contrato do componente",
              "en": "Component contract"
            },
            "explanation": {
              "pt": "Concentra os dados e opções que explicam por que o runtime assume esta forma, sem esconder configuração no host.",
              "en": "Holds the data and options that explain the runtime shape without hiding configuration in the host."
            }
          },
          {
            "jsonPath": "runtime",
            "title": {
              "pt": "Fronteira operacional",
              "en": "Operational boundary"
            },
            "explanation": {
              "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
              "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Altere uma escolha editorial, aplique-a e confirme o round-trip ao reabrir o editor.",
            "en": "Change an editorial choice, apply it and confirm the round trip by reopening the editor."
          },
          {
            "pt": "Procure praxis-tabs.nested-widgets no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Inline Filter - laboratório editorial”.",
            "en": "Find praxis-tabs.nested-widgets in the primary widget, change only its associated configuration, and compare the effect with the “Inline Filter - editorial lab” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.inline-filter-editorial-lab.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.inline-filter-editorial-lab.json."
          }
        ]
      },
      "envelope": {
        "id": "inline-filter-editorial-lab",
        "title": "Inline Filter - editorial lab",
        "summary": "Authors inline filter fields with the metadata editor and compares async selects, ranges and toggles before they become table controls.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-metadata-editor",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/metadata-editor"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "dynamic-fields/inline-filter-editorial",
          "resourceKey": "dynamic-fields.inline-filter-editorial"
        },
        "requires": [
          "praxis-metadata-editor.controlType",
          "inline-filter-control-types",
          "inlineAsyncSelect.editorial",
          "inlineDateRange.editorial",
          "inlineCurrencyRange.editorial",
          "inlineToggle.editorial"
        ],
        "tags": [
          "metadata-editor",
          "inline-filter",
          "dynamic-fields",
          "authoring",
          "table-filters",
          "ai-recipe"
        ],
        "demonstrates": [
          "Package-owned inline filter control types resolved by the metadata editor",
          "Async select filter metadata for remote option endpoints",
          "Date range and currency range metadata for table filter DTOs",
          "Boolean action-style filter metadata for inline toggle controls",
          "A copyable authoring workspace agents can reuse before generating table filters"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "praxis-tabs.nested-widgets",
          "metadata-editor.inline-filter-editorial",
          "inline-filter-control-types",
          "inlineAsyncSelect",
          "inlineDateRange",
          "inlineCurrencyRange",
          "inlineToggle"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-core/src/lib/utils/inline-filter-controls.util.ts",
          "praxis-ui-angular/projects/praxis-metadata-editor/src/lib/config/inline-filter-control-properties.map.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.inline-filter-editorial-lab.json"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-tabs-rendered",
            "praxis-metadata-editor-rendered",
            "inline-filter-control-seeds-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because it demonstrates authoring metadata, not filter execution.",
            "The runtime execution companion is Funcionarios - inline filter lab, which consumes these same control families inside praxis-table advancedFilters."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.inline-filter-editorial-lab.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.inline-filter-lab.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-field-metadata-editor.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "inlineFilterEditorialTabs",
              "shell": {
                "kind": "dashboard-card",
                "icon": "tune",
                "title": "Inline filter editorial lab",
                "subtitle": "Author filter field metadata before composing table advancedFilters"
              },
              "definition": {
                "id": "praxis-tabs",
                "bindingOrder": [
                  "tabsId",
                  "config"
                ],
                "inputs": {
                  "tabsId": "inline-filter-editorial-lab",
                  "componentInstanceId": "dynamic-page-showcase",
                  "config": {
                    "appearance": {
                      "density": "comfortable",
                      "color": "primary",
                      "stretchTabs": false,
                      "alignTabs": "start",
                      "dynamicHeight": true,
                      "fitInkBarToContent": true
                    },
                    "tabs": [
                      {
                        "id": "async-select",
                        "textLabel": "Async select",
                        "icon": "manage_search",
                        "widgets": [
                          {
                            "id": "praxis-metadata-editor",
                            "bindingOrder": [
                              "controlType",
                              "seed"
                            ],
                            "inputs": {
                              "controlType": "inlineAsyncSelect",
                              "seed": {
                                "name": "cargoId",
                                "label": "Cargo",
                                "controlType": "inlineAsyncSelect",
                                "placeholder": "Buscar cargo",
                                "helpText": "Remote option filter for the funcionarios table toolbar.",
                                "resourcePath": "human-resources/cargos",
                                "endpoint": "/api/human-resources/cargos/options/filter",
                                "displayField": "label",
                                "valueField": "id",
                                "optionLabelKey": "label",
                                "optionValueKey": "id",
                                "minSearchLength": 2,
                                "validationDebounce": 250,
                                "inlineAutoSize": {
                                  "minWidth": 220,
                                  "maxWidth": 320
                                },
                                "clearButton": {
                                  "enabled": true,
                                  "showOnlyWhenFilled": true
                                }
                              }
                            },
                            "outputs": {
                              "applied": "emit",
                              "cancel": "emit"
                            }
                          }
                        ]
                      },
                      {
                        "id": "date-range",
                        "textLabel": "Date range",
                        "icon": "date_range",
                        "widgets": [
                          {
                            "id": "praxis-metadata-editor",
                            "bindingOrder": [
                              "controlType",
                              "seed"
                            ],
                            "inputs": {
                              "controlType": "inlineDateRange",
                              "seed": {
                                "name": "dataAdmissaoRange",
                                "label": "Admissao",
                                "controlType": "inlineDateRange",
                                "startLabel": "Inicio",
                                "endLabel": "Fim",
                                "placeholder": "Periodo de admissao",
                                "helpText": "Date interval filter mapped to the published funcionarios filter DTO.",
                                "minDate": "2020-01-01",
                                "maxDate": "2026-12-31",
                                "inlinePanelTitle": "Periodo de admissao",
                                "inlineAutoSize": {
                                  "minWidth": 260,
                                  "maxWidth": 380
                                },
                                "clearButton": {
                                  "enabled": true
                                }
                              }
                            },
                            "outputs": {
                              "applied": "emit",
                              "cancel": "emit"
                            }
                          }
                        ]
                      },
                      {
                        "id": "currency-range",
                        "textLabel": "Currency range",
                        "icon": "payments",
                        "widgets": [
                          {
                            "id": "praxis-metadata-editor",
                            "bindingOrder": [
                              "controlType",
                              "seed"
                            ],
                            "inputs": {
                              "controlType": "inlineCurrencyRange",
                              "seed": {
                                "name": "salarioBetween",
                                "label": "Salario",
                                "controlType": "inlineCurrencyRange",
                                "startLabel": "Minimo",
                                "endLabel": "Maximo",
                                "placeholder": "Faixa salarial",
                                "helpText": "Currency range filter with locale and bounds for payroll analysis.",
                                "currency": "BRL",
                                "currencyCode": "BRL",
                                "locale": "pt-BR",
                                "min": 0,
                                "max": 50000,
                                "step": 500,
                                "decimalPlaces": 2,
                                "inlineAutoSize": {
                                  "minWidth": 280,
                                  "maxWidth": 420
                                }
                              }
                            },
                            "outputs": {
                              "applied": "emit",
                              "cancel": "emit"
                            }
                          }
                        ]
                      },
                      {
                        "id": "toggle",
                        "textLabel": "Toggle",
                        "icon": "toggle_on",
                        "widgets": [
                          {
                            "id": "praxis-metadata-editor",
                            "bindingOrder": [
                              "controlType",
                              "seed"
                            ],
                            "inputs": {
                              "controlType": "inlineToggle",
                              "seed": {
                                "name": "ativo",
                                "label": "Ativos",
                                "controlType": "inlineToggle",
                                "defaultValue": true,
                                "helpText": "Boolean filter that can be rendered as an action-style toolbar affordance.",
                                "inlineLabelVisible": true,
                                "trueLabel": "Ativos",
                                "falseLabel": "Inativos",
                                "indeterminateLabel": "Todos",
                                "clearButton": {
                                  "enabled": true
                                },
                                "inlineAutoSize": {
                                  "minWidth": 128,
                                  "maxWidth": 180
                                }
                              }
                            },
                            "outputs": {
                              "applied": "emit",
                              "cancel": "emit"
                            }
                          }
                        ]
                      }
                    ]
                  }
                },
                "outputs": {
                  "selectedIndexChange": "emit",
                  "widgetEvent": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "surfaces-actions-showcase",
      "title": "Surfaces and actions showcase",
      "summary": "Makes backend surfaces, actions and capabilities visible as runtime affordances, turning API semantics into navigable experience.",
      "i18n": {
        "pt": {
          "title": "Surfaces e actions - showcase",
          "summary": "Torna surfaces, actions e capabilities do backend visíveis como experiência navegável de runtime.",
          "demonstrates": [
            "Explore Surfaces e actions - showcase e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-dynamic-page materializa operations/missoes com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Torna surfaces, actions e capabilities do backend visíveis como experiência navegável de runtime.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, host-api-wiring, schemas.filtered.",
            "Verifique a conexão com as evidências canônicas filtered e surfaces?resource=operations.missoes."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/surfaces-actions-showcase",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/surfaces-actions-showcase",
      "category": "feature",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-dynamic-page",
      "resourcePath": "operations/missoes",
      "resourceKey": "operations.missoes",
      "requires": [
        "schemas.filtered",
        "surfaces",
        "actions",
        "capabilities",
        "toolbar.actions",
        "row.actions",
        "composition.links",
        "remote-data"
      ],
      "tags": [
        "surfaces",
        "actions",
        "capabilities",
        "mission",
        "discovery",
        "modal",
        "quickstart",
        "ai-recipe"
      ],
      "demonstrates": [
        "Surface and action discovery buttons are ordinary table affordances, not hardcoded navigation",
        "Toolbar actions expose resource-level /schemas/surfaces and /schemas/actions evidence",
        "Row actions carry the selected mission id so the host can inspect item capabilities",
        "Related team and timeline surfaces stay attached to the same selected mission state",
        "The floating Inspector remains available for copy/paste while runtime modals explain the contract"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "schemas.filtered",
        "surfaces",
        "actions",
        "capabilities",
        "toolbar.actions",
        "row.actions",
        "composition.links",
        "state.values"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered",
        "GET /schemas/surfaces?resource=operations.missoes",
        "GET /schemas/actions?resource=operations.missoes",
        "POST /api/operations/missoes/filter",
        "GET /api/operations/missoes/capabilities",
        "GET /api/operations/missoes/{id}/summary",
        "GET /api/operations/missoes/{id}/team",
        "GET /api/operations/missoes/{id}/timeline",
        "GET /api/operations/missoes/{id}/capabilities",
        "POST /api/operations/missao-participantes/filter",
        "POST /api/operations/missao-eventos/filter",
        "GET /api/operations/missao-participantes/capabilities",
        "GET /api/operations/missao-eventos/capabilities",
        "POST /api/operations/missoes/option-sources/mission/options/filter",
        "GET /api/operations/missoes/option-sources/mission/options/by-ids",
        "POST /api/human-resources/funcionarios/option-sources/employee/options/filter",
        "GET /api/human-resources/funcionarios/option-sources/employee/options/by-ids"
      ],
      "complexity": "advanced",
      "catalogRole": "capability-lab",
      "learningStage": "governance",
      "proofRank": 3,
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "resource-discovery-toolbar-actions-rendered",
          "row-discovery-actions-rendered",
          "runtime-preview-modal-opened",
          "selected-mission-state-drives-related-surfaces"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "schemas-catalog",
          "schemas-surfaces-operations-missoes",
          "schemas-actions-operations-missoes",
          "operations-missoes-item-capabilities",
          "vw-resumo-missoes-filter-basic",
          "missao-participantes-stats-papel",
          "missao-eventos-stats-ocorrido-em-day"
        ],
        "pendingHttpIds": [],
        "notes": [
          "The playground host calls the published surfaces, actions and item capabilities endpoints when a discovery action is emitted.",
          "Keep the action metadata in the JSON so agents can preserve the resourcePath/resourceKey handoff."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.surfaces-actions-showcase.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.actions-workspace.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.mission-command-center.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/surfaces-actions-showcase.json",
      "documentation": {
        "story": {
          "pt": "Uma pessoa operadora precisa descobrir o que pode consultar e executar sobre uma missão sem depender de botões codificados previamente na rota. O exemplo projeta schemas, surfaces, actions e capabilities do backend como affordances navegáveis.",
          "en": "An operator needs to discover what can be inspected and executed for a mission without relying on buttons hard-coded into the route. The example projects backend schemas, surfaces, actions and capabilities as navigable affordances."
        },
        "outcome": {
          "pt": "A seleção de uma missão direciona detalhes relacionados e ações de descoberta; o host continua mediando autorização e execução enquanto o documento preserva identidade, contexto e intenção.",
          "en": "Selecting a mission drives related details and discovery actions; the host keeps mediating authorization and execution while the document preserves identity, context and intent."
        },
        "componentRoles": [
          {
            "component": "praxis-dynamic-page",
            "jsonPath": "page.state + page.composition.links",
            "role": {
              "pt": "Mantém a missão selecionada e distribui seu contexto pelas superfícies relacionadas.",
              "en": "Keeps the selected mission and distributes its context across related surfaces."
            },
            "rationale": {
              "pt": "Transforma discovery em fluxo de página declarativo, sem listeners específicos na rota.",
              "en": "Turns discovery into a declarative page flow without route-specific listeners."
            }
          },
          {
            "component": "praxis-chart",
            "jsonPath": "page.widgets[discoveryMap]",
            "role": {
              "pt": "Resume os pontos de contato do contrato como um mapa visual introdutório.",
              "en": "Summarizes contract touchpoints as an introductory visual map."
            },
            "rationale": {
              "pt": "Ajuda o visitante a relacionar schemas, surfaces, actions e capabilities antes de operar as tabelas.",
              "en": "Helps visitors relate schemas, surfaces, actions and capabilities before operating the tables."
            }
          },
          {
            "component": "praxis-table",
            "jsonPath": "page.widgets[missionSurface|missionTeamSurface|missionTimelineSurface]",
            "role": {
              "pt": "Expõe ações de toolbar e linha e apresenta os recursos relacionados à seleção.",
              "en": "Exposes toolbar and row actions and presents resources related to the selection."
            },
            "rationale": {
              "pt": "Mostra affordances descobertas no lugar em que a pessoa já está comparando e selecionando registros.",
              "en": "Shows discovered affordances where the person is already comparing and selecting records."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "page.widgets[discoveryMap].definition.inputs.config",
            "title": {
              "pt": "Mapa do contrato",
              "en": "Contract map"
            },
            "explanation": {
              "pt": "Usa um gráfico local apenas para explicar quais superfícies canônicas participam do cenário.",
              "en": "Uses a local chart only to explain which canonical surfaces participate in the scenario."
            }
          },
          {
            "jsonPath": "page.widgets[missionSurface].definition.inputs.config.actions",
            "title": {
              "pt": "Affordances declaradas",
              "en": "Declared affordances"
            },
            "explanation": {
              "pt": "Ações de recurso e item carregam identidade e intenção; a execução permanece mediada pelo host.",
              "en": "Resource and item actions carry identity and intent while execution remains host-mediated."
            }
          },
          {
            "jsonPath": "page.composition.links",
            "title": {
              "pt": "Seleção compartilhada",
              "en": "Shared selection"
            },
            "explanation": {
              "pt": "Propaga o missionId selecionado para equipe e timeline por conexões explícitas.",
              "en": "Propagates the selected missionId to team and timeline through explicit connections."
            }
          },
          {
            "jsonPath": "operationalEvidence.recommendedHttpIds",
            "title": {
              "pt": "Grounding verificável",
              "en": "Verifiable grounding"
            },
            "explanation": {
              "pt": "Aponta para exemplos HTTP que comprovam catálogo, actions, surfaces e capabilities usados pela experiência.",
              "en": "Points to HTTP examples proving the catalog, actions, surfaces and capabilities used by the experience."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Selecione outra missão e acompanhe quais superfícies recebem o novo identificador pelo grafo de composição.",
            "en": "Select another mission and follow which surfaces receive the new identifier through the composition graph."
          },
          {
            "pt": "Compare uma toolbar action e uma row action para identificar diferenças de resourceKey, payload e escopo.",
            "en": "Compare a toolbar action and a row action to identify differences in resourceKey, payload and scope."
          },
          {
            "pt": "Remova temporariamente uma capability do JSON local e observe como a affordance deve falhar fechada.",
            "en": "Temporarily remove a capability from local JSON and observe how the affordance should fail closed."
          }
        ],
        "productionNotes": [
          {
            "pt": "Rótulos e presença visual nunca substituem autorização; o backend confirma capabilities no contexto real do usuário.",
            "en": "Labels and visual presence never replace authorization; the backend confirms capabilities in the real user context."
          },
          {
            "pt": "O host traduz action events em navegação, dialog ou HTTP e deve manter auditoria e tratamento de falhas.",
            "en": "The host translates action events into navigation, dialogs or HTTP and must preserve auditing and failure handling."
          },
          {
            "pt": "A referência executável está em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.surfaces-actions-showcase.json.",
            "en": "The executable reference lives at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.surfaces-actions-showcase.json."
          }
        ]
      },
      "envelope": {
        "id": "surfaces-actions-showcase",
        "title": "Surfaces and actions showcase",
        "summary": "Makes backend surfaces, actions and capabilities visible as runtime affordances, turning API semantics into navigable experience.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-dynamic-page",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/missoes",
          "resourceKey": "operations.missoes"
        },
        "requires": [
          "schemas.filtered",
          "surfaces",
          "actions",
          "capabilities",
          "toolbar.actions",
          "row.actions",
          "composition.links",
          "remote-data"
        ],
        "tags": [
          "surfaces",
          "actions",
          "capabilities",
          "mission",
          "discovery",
          "modal",
          "quickstart",
          "ai-recipe"
        ],
        "demonstrates": [
          "Surface and action discovery buttons are ordinary table affordances, not hardcoded navigation",
          "Toolbar actions expose resource-level /schemas/surfaces and /schemas/actions evidence",
          "Row actions carry the selected mission id so the host can inspect item capabilities",
          "Related team and timeline surfaces stay attached to the same selected mission state",
          "The floating Inspector remains available for copy/paste while runtime modals explain the contract"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "schemas.filtered",
          "surfaces",
          "actions",
          "capabilities",
          "toolbar.actions",
          "row.actions",
          "composition.links",
          "state.values"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered",
          "GET /schemas/surfaces?resource=operations.missoes",
          "GET /schemas/actions?resource=operations.missoes",
          "POST /api/operations/missoes/filter",
          "GET /api/operations/missoes/capabilities",
          "GET /api/operations/missoes/{id}/summary",
          "GET /api/operations/missoes/{id}/team",
          "GET /api/operations/missoes/{id}/timeline",
          "GET /api/operations/missoes/{id}/capabilities",
          "POST /api/operations/missao-participantes/filter",
          "POST /api/operations/missao-eventos/filter",
          "GET /api/operations/missao-participantes/capabilities",
          "GET /api/operations/missao-eventos/capabilities",
          "POST /api/operations/missoes/option-sources/mission/options/filter",
          "GET /api/operations/missoes/option-sources/mission/options/by-ids",
          "POST /api/human-resources/funcionarios/option-sources/employee/options/filter",
          "GET /api/human-resources/funcionarios/option-sources/employee/options/by-ids"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "resource-discovery-toolbar-actions-rendered",
            "row-discovery-actions-rendered",
            "runtime-preview-modal-opened",
            "selected-mission-state-drives-related-surfaces"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "schemas-catalog",
            "schemas-surfaces-operations-missoes",
            "schemas-actions-operations-missoes",
            "operations-missoes-item-capabilities",
            "vw-resumo-missoes-filter-basic",
            "missao-participantes-stats-papel",
            "missao-eventos-stats-ocorrido-em-day"
          ],
          "pendingHttpIds": [],
          "notes": [
            "The playground host calls the published surfaces, actions and item capabilities endpoints when a discovery action is emitted.",
            "Keep the action metadata in the JSON so agents can preserve the resourcePath/resourceKey handoff."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.surfaces-actions-showcase.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.actions-workspace.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.mission-command-center.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 3,
            "gap": "16px"
          },
          "deviceLayouts": {
            "desktop": {
              "layout": {
                "orientation": "columns",
                "columns": 3,
                "gap": "16px"
              },
              "widgetOverrides": {
                "discoveryMap": {
                  "order": 10,
                  "span": 1
                },
                "missionSurface": {
                  "order": 20,
                  "span": 2
                },
                "missionTeamSurface": {
                  "order": 30,
                  "span": 1
                },
                "missionTimelineSurface": {
                  "order": 40,
                  "span": 2
                }
              }
            },
            "tablet": {
              "layout": {
                "orientation": "columns",
                "columns": 1,
                "gap": "16px"
              }
            },
            "mobile": {
              "layout": {
                "orientation": "columns",
                "columns": 1,
                "gap": "16px"
              }
            }
          },
          "state": {
            "values": {
              "selection": {
                "missionId": 1
              }
            }
          },
          "widgets": [
            {
              "key": "discoveryMap",
              "shell": {
                "kind": "dashboard-card",
                "icon": "account_tree",
                "title": "Discovery map",
                "subtitle": "How the runtime moves from metadata to governed actions"
              },
              "definition": {
                "id": "praxis-chart",
                "bindingOrder": [
                  "config"
                ],
                "inputs": {
                  "config": {
                    "id": "surfaces-actions-discovery-map",
                    "type": "donut",
                    "title": "Contract touchpoints",
                    "subtitle": "Metadata surfaces used by this page",
                    "sizing": {
                      "mode": "fixed",
                      "height": 260,
                      "minHeight": 220
                    },
                    "dataSource": {
                      "kind": "local",
                      "items": [
                        {
                          "touchpoint": "schemas.filtered",
                          "count": 1
                        },
                        {
                          "touchpoint": "surfaces",
                          "count": 3
                        },
                        {
                          "touchpoint": "actions",
                          "count": 4
                        },
                        {
                          "touchpoint": "capabilities",
                          "count": 2
                        },
                        {
                          "touchpoint": "related resources",
                          "count": 2
                        }
                      ]
                    },
                    "axes": {
                      "x": {
                        "field": "touchpoint",
                        "type": "category",
                        "label": "Touchpoint"
                      },
                      "y": {
                        "field": "count",
                        "type": "value",
                        "label": "Uses"
                      }
                    },
                    "series": [
                      {
                        "id": "touchpoints",
                        "name": "Touchpoints",
                        "categoryField": "touchpoint",
                        "metric": {
                          "field": "count",
                          "aggregation": "sum"
                        }
                      }
                    ],
                    "interactions": {
                      "pointClick": true,
                      "selection": true
                    },
                    "theme": {
                      "palette": [
                        "#1263b4",
                        "#0f766e",
                        "#f08c00",
                        "#c92a2a",
                        "#7b61ff"
                      ],
                      "legend": {
                        "visible": true,
                        "position": "bottom"
                      },
                      "tooltip": {
                        "enabled": true,
                        "trigger": "item"
                      },
                      "surface": {
                        "mode": "embedded",
                        "background": "transparent",
                        "borderWidth": 0,
                        "borderRadius": 0
                      }
                    }
                  }
                },
                "outputs": {
                  "pointClick": "emit"
                }
              }
            },
            {
              "key": "missionSurface",
              "shell": {
                "kind": "dashboard-card",
                "icon": "layers",
                "title": "Mission surface",
                "subtitle": "Select a mission, then inspect resource or item capabilities"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath"
                ],
                "inputs": {
                  "resourcePath": "operations/missoes",
                  "tableId": "operations-missoes-surfaces-actions-showcase",
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Missions",
                      "subtitle": "Resource-level discovery actions",
                      "actionsPosition": "both",
                      "actions": [
                        {
                          "id": "inspect-surfaces",
                          "action": "inspect-surfaces",
                          "label": "Surfaces",
                          "icon": "layers",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 90,
                          "tooltip": "Inspect published resource surfaces",
                          "discovery": {
                            "rel": "surfaces",
                            "scope": "resource",
                            "resourcePath": "operations/missoes",
                            "resourceKey": "operations.missoes"
                          }
                        },
                        {
                          "id": "inspect-actions",
                          "action": "inspect-actions",
                          "label": "Actions",
                          "icon": "bolt",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 100,
                          "tooltip": "Inspect published resource actions and capabilities",
                          "discovery": {
                            "rel": "actions",
                            "scope": "resource",
                            "resourcePath": "operations/missoes",
                            "resourceKey": "operations.missoes"
                          }
                        }
                      ]
                    },
                    "columns": [
                      {
                        "field": "titulo",
                        "header": "Mission",
                        "type": "text",
                        "sticky": "start"
                      },
                      {
                        "field": "status",
                        "header": "Status",
                        "type": "badge"
                      },
                      {
                        "field": "prioridade",
                        "header": "Priority",
                        "type": "badge"
                      },
                      {
                        "field": "missionContext",
                        "header": "Ops context",
                        "type": "custom",
                        "sortable": false,
                        "filterable": false,
                        "width": "280px",
                        "renderer": {
                          "type": "compose",
                          "layout": "inline",
                          "gap": "6px",
                          "items": [
                            {
                              "type": "badge",
                              "field": "equipeResponsavel",
                              "icon": "groups",
                              "variant": "outlined",
                              "color": "info"
                            },
                            {
                              "type": "badge",
                              "field": "local",
                              "icon": "place",
                              "variant": "soft",
                              "color": "primary"
                            }
                          ]
                        }
                      },
                      {
                        "field": "inicioPrevisto",
                        "header": "Start",
                        "type": "date"
                      }
                    ],
                    "actions": {
                      "row": {
                        "enabled": true,
                        "display": "buttons",
                        "position": "end",
                        "sticky": "end",
                        "width": "320px",
                        "maxVisibleActions": 2,
                        "discovery": {
                          "enabled": false
                        },
                        "header": {
                          "label": "Inspect",
                          "icon": "travel_explore",
                          "tooltip": "Open surfaces, actions and capabilities for this mission"
                        },
                        "behavior": {
                          "maxInline": 2
                        },
                        "actions": [
                          {
                            "id": "mission-briefing",
                            "label": "Summary",
                            "icon": "travel_explore",
                            "action": "inspect-surfaces",
                            "tooltip": "Open mission summary, team and timeline surfaces",
                            "discovery": {
                              "rel": "surfaces",
                              "scope": "item",
                              "resourcePath": "operations/missoes",
                              "resourceKey": "operations.missoes"
                            }
                          },
                          {
                            "id": "mission-actions",
                            "label": "Actions",
                            "icon": "policy",
                            "action": "inspect-actions",
                            "tooltip": "Open item actions and capability snapshot",
                            "discovery": {
                              "rel": "capabilities",
                              "scope": "item",
                              "resourcePath": "operations/missoes",
                              "resourceKey": "operations.missoes"
                            }
                          }
                        ]
                      }
                    },
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      }
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "rowAction": "emit",
                  "toolbarAction": "emit"
                }
              }
            },
            {
              "key": "missionTeamSurface",
              "shell": {
                "kind": "dashboard-card",
                "icon": "groups",
                "title": "Team surface",
                "subtitle": "Related resource filtered by selected mission state"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath",
                  "queryContext"
                ],
                "inputs": {
                  "resourcePath": "operations/missao-participantes",
                  "tableId": "operations-missao-participantes-surfaces-showcase",
                  "queryContext": {
                    "filters": {
                      "missaoId": 1
                    }
                  },
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Team",
                      "subtitle": "Participant surface with its own discovery contract",
                      "actions": [
                        {
                          "id": "inspect-surfaces",
                          "action": "inspect-surfaces",
                          "label": "Surfaces",
                          "icon": "layers",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 90,
                          "tooltip": "Inspect published resource surfaces",
                          "discovery": {
                            "rel": "surfaces",
                            "scope": "resource",
                            "resourcePath": "operations/missao-participantes",
                            "resourceKey": "operations.missao-participantes"
                          }
                        },
                        {
                          "id": "inspect-actions",
                          "action": "inspect-actions",
                          "label": "Actions",
                          "icon": "bolt",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 100,
                          "tooltip": "Inspect published resource actions and capabilities",
                          "discovery": {
                            "rel": "actions",
                            "scope": "resource",
                            "resourcePath": "operations/missao-participantes",
                            "resourceKey": "operations.missao-participantes"
                          }
                        }
                      ]
                    },
                    "columns": [
                      {
                        "field": "funcionarioNome",
                        "header": "Hero",
                        "type": "text",
                        "sticky": "start"
                      },
                      {
                        "field": "papel",
                        "header": "Role",
                        "type": "badge"
                      },
                      {
                        "field": "resultado",
                        "header": "Outcome",
                        "type": "badge"
                      }
                    ],
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      }
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "toolbarAction": "emit"
                }
              }
            },
            {
              "key": "missionTimelineSurface",
              "shell": {
                "kind": "dashboard-card",
                "icon": "timeline",
                "title": "Timeline surface",
                "subtitle": "Event stream that follows the selected mission"
              },
              "definition": {
                "id": "praxis-table",
                "bindingOrder": [
                  "config",
                  "resourcePath",
                  "queryContext"
                ],
                "inputs": {
                  "resourcePath": "operations/missao-eventos",
                  "tableId": "operations-missao-eventos-surfaces-showcase",
                  "queryContext": {
                    "filters": {
                      "missaoId": 1
                    }
                  },
                  "config": {
                    "toolbar": {
                      "visible": true,
                      "title": "Timeline",
                      "subtitle": "Operational events as a related surface",
                      "actions": [
                        {
                          "id": "inspect-surfaces",
                          "action": "inspect-surfaces",
                          "label": "Surfaces",
                          "icon": "layers",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 90,
                          "tooltip": "Inspect published resource surfaces",
                          "discovery": {
                            "rel": "surfaces",
                            "scope": "resource",
                            "resourcePath": "operations/missao-eventos",
                            "resourceKey": "operations.missao-eventos"
                          }
                        },
                        {
                          "id": "inspect-actions",
                          "action": "inspect-actions",
                          "label": "Actions",
                          "icon": "bolt",
                          "type": "button",
                          "appearance": "outlined",
                          "position": "end",
                          "order": 100,
                          "tooltip": "Inspect published resource actions and capabilities",
                          "discovery": {
                            "rel": "actions",
                            "scope": "resource",
                            "resourcePath": "operations/missao-eventos",
                            "resourceKey": "operations.missao-eventos"
                          }
                        }
                      ]
                    },
                    "columns": [
                      {
                        "field": "ocorridoEm",
                        "header": "When",
                        "type": "date",
                        "sticky": "start"
                      },
                      {
                        "field": "tipo",
                        "header": "Type",
                        "type": "badge"
                      },
                      {
                        "field": "descricao",
                        "header": "Event",
                        "type": "text"
                      }
                    ],
                    "behavior": {
                      "selection": {
                        "enabled": true,
                        "type": "single"
                      }
                    }
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "toolbarAction": "emit"
                }
              }
            }
          ],
          "composition": {
            "version": "1.0.0",
            "links": [
              {
                "id": "surfaces:mission-rowClick->state:selection.missionId",
                "intent": "state-write",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionSurface",
                    "port": "rowClick",
                    "direction": "output",
                    "componentType": "praxis-table"
                  }
                },
                "to": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.missionId",
                    "layer": "values",
                    "writable": true
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "surfaces:pick-mission-id",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.row.id"
                      }
                    }
                  ]
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Selected mission id"
                }
              },
              {
                "id": "surfaces:state:selection.missionId->team.queryContext",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.missionId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionTeamSurface",
                    "port": "queryContext",
                    "direction": "input",
                    "componentType": "praxis-table"
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "state",
                      "path": "selection.missionId"
                    }
                  ],
                  "steps": [
                    {
                      "id": "surfaces:team-query-context",
                      "kind": "object-template",
                      "phase": "link-propagation",
                      "config": {
                        "template": {
                          "filters": {
                            "missaoId": "${source}"
                          }
                        }
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Filter team by selected mission"
                }
              },
              {
                "id": "surfaces:state:selection.missionId->timeline.queryContext",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.missionId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "missionTimelineSurface",
                    "port": "queryContext",
                    "direction": "input",
                    "componentType": "praxis-table"
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "state",
                      "path": "selection.missionId"
                    }
                  ],
                  "steps": [
                    {
                      "id": "surfaces:timeline-query-context",
                      "kind": "object-template",
                      "phase": "link-propagation",
                      "config": {
                        "template": {
                          "filters": {
                            "missaoId": "${source}"
                          }
                        }
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                },
                "metadata": {
                  "source": "native-composition-link",
                  "label": "Filter timeline by selected mission"
                }
              }
            ]
          }
        }
      }
    },
    {
      "id": "dialog-surface-lab",
      "title": "Dialog - surface lab",
      "summary": "Shows actions opening Dialog surfaces with charts, remote lists and operational notes, so transient flows stay governed instead of becoming hidden modal code.",
      "i18n": {
        "pt": {
          "title": "Dialog - laboratório de superfícies",
          "summary": "Abra cada ação para comparar como o mesmo contrato governado surface.open materializa um gráfico, uma lista remota e uma nota operacional dentro do Dialog.",
          "demonstrates": [
            "Explore Dialog - laboratório de superfícies e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-dialog materializa operations/missoes com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Abra cada ação para comparar como o mesmo contrato governado surface.open materializa um gráfico, uma lista remota e uma nota operacional dentro do Dialog.",
            "Confirme no resultado capacidades da plataforma como praxis-dialog.global-actions, GLOBAL_SURFACE_SERVICE, surface.open.",
            "Verifique a conexão com as evidências canônicas filter e group-by."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/dialog-surface-lab",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/dialog-surface-lab",
      "category": "feature",
      "mode": "authored-customizable",
      "primaryComponent": "praxis-dialog",
      "resourcePath": "operations/missoes",
      "resourceKey": "operations.missoes",
      "requires": [
        "praxis-dialog.global-actions",
        "surface.open",
        "GLOBAL_SURFACE_SERVICE",
        "praxis-list.actions",
        "praxis-filter",
        "praxis-chart",
        "widget:rich-text-block"
      ],
      "tags": [
        "dialog",
        "surface-open",
        "actions",
        "charts",
        "modal",
        "composition",
        "ai-recipe"
      ],
      "demonstrates": [
        "List item actions executing structured surface.open global actions through the host GlobalActionService",
        "Dialog-hosted surfaces rendered by PraxisSurfaceHostComponent instead of ad hoc overlays",
        "A chart surface opened as a modal from metadata-driven action payload",
        "A remote list surface opened with dataSource.resourcePath inside the dialog body",
        "A rich text surface opened from the same action contract for operational guidance"
      ],
      "platformFeatures": [
        "praxis-dialog.global-actions",
        "GLOBAL_SURFACE_SERVICE",
        "surface.open",
        "PraxisSurfaceHostComponent",
        "dynamic-widget-resolution",
        "praxis-list.globalAction.payload",
        "praxis-chart.local-data",
        "praxis-list.remote-data",
        "widget:rich-text-block"
      ],
      "backendSurfaces": [
        "POST /api/operations/missao-participantes/filter",
        "POST /api/operations/vw-resumo-missoes/stats/group-by",
        "GET /schemas/filtered"
      ],
      "complexity": "advanced",
      "catalogRole": "capability-lab",
      "learningStage": "governance",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-list-rendered",
          "surface-open-action-click",
          "dialog-surface-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example depends on the host registering providePraxisDialogGlobalActions and providePraxisSurfaceGlobalActions.",
          "Actions carry copyable surface.open payloads, so agents can swap the modal widget without changing Angular templates."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
        "praxis-ui-angular/projects/praxis-dialog/docs/host-dialog-integration.md",
        "praxis-ui-angular/projects/praxis-dialog/src/lib/providers/surface-global-actions.provider.ts"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/dialog-surface-lab.json",
      "documentation": {
        "story": {
          "pt": "Abra cada ação para comparar como o mesmo contrato governado surface.open materializa um gráfico, uma lista remota e uma nota operacional dentro do Dialog. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-dialog materializa do que continua sob responsabilidade da API, de suas capabilities e da mediação do app host.",
          "en": "Shows actions opening Dialog surfaces with charts, remote lists and operational notes, so transient flows stay governed instead of becoming hidden modal code. The recipe follows that task from its initial context to the visible result and separates what praxis-dialog materializes from what remains owned by the API, its capabilities and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-dialog deve tornar a promessa de “Dialog - laboratório de superfícies” inspecionável: o visitante relaciona praxis-dialog.global-actions ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-dialog must make the “Dialog - surface lab” promise inspectable: visitors relate praxis-dialog.global-actions to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-dialog",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Materializa superfícies contextuais em uma sobreposição governada pelo host.",
              "en": "Materializes contextual surfaces in a host-governed overlay."
            },
            "rationale": {
              "pt": "Mantém o usuário no contexto atual enquanto uma ação abre conteúdo ou trabalho complementar.",
              "en": "Keeps the user in the current context while an action opens complementary content or work."
            }
          },
          {
            "component": "praxis-filter",
            "jsonPath": "page.widgets[].definition.inputs",
            "role": {
              "pt": "Materializa uma capacidade registrada dentro do documento Dynamic Page.",
              "en": "Materializes a registered capability inside the Dynamic Page document."
            },
            "rationale": {
              "pt": "Reutiliza o contrato oficial do componente em vez de introduzir uma implementação exclusiva na rota.",
              "en": "Reuses the component official contract instead of introducing a route-specific implementation."
            }
          },
          {
            "component": "praxis-chart",
            "jsonPath": "page.widgets[].definition.inputs",
            "role": {
              "pt": "Materializa uma capacidade registrada dentro do documento Dynamic Page.",
              "en": "Materializes a registered capability inside the Dynamic Page document."
            },
            "rationale": {
              "pt": "Reutiliza o contrato oficial do componente em vez de introduzir uma implementação exclusiva na rota.",
              "en": "Reuses the component official contract instead of introducing a route-specific implementation."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "page.layout",
            "title": {
              "pt": "Estrutura da página",
              "en": "Page structure"
            },
            "explanation": {
              "pt": "Define orientação, colunas e ritmo espacial antes de qualquer widget ser resolvido.",
              "en": "Defines orientation, columns and spatial rhythm before any widget is resolved."
            }
          },
          {
            "jsonPath": "page.widgets[]",
            "title": {
              "pt": "Composição executável",
              "en": "Executable composition"
            },
            "explanation": {
              "pt": "Registra as superfícies do cenário e entrega praxis-dialog ao resolvedor de widgets.",
              "en": "Registers the scenario surfaces and hands praxis-dialog to the widget resolver."
            }
          },
          {
            "jsonPath": "page.widgets[].definition.inputs",
            "title": {
              "pt": "Contrato do componente",
              "en": "Component contract"
            },
            "explanation": {
              "pt": "Concentra os dados e opções que explicam por que o runtime assume esta forma, sem esconder configuração no host.",
              "en": "Holds the data and options that explain the runtime shape without hiding configuration in the host."
            }
          },
          {
            "jsonPath": "runtime",
            "title": {
              "pt": "Fronteira operacional",
              "en": "Operational boundary"
            },
            "explanation": {
              "pt": "Os dados e as capacidades continuam pertencendo à API; o documento apenas materializa a experiência publicada.",
              "en": "Data and capabilities remain owned by the API; the document only materializes the published experience."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Troque a superfície aberta por uma ação e compare como o mesmo Dialog hospeda contratos diferentes.",
            "en": "Change the surface opened by an action and compare how the same Dialog hosts different contracts."
          },
          {
            "pt": "Procure praxis-dialog.global-actions no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Dialog - laboratório de superfícies”.",
            "en": "Find praxis-dialog.global-actions in the primary widget, change only its associated configuration, and compare the effect with the “Dialog - surface lab” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Os dados e as capacidades continuam pertencendo à API; o documento apenas materializa a experiência publicada.",
            "en": "Data and capabilities remain owned by the API; the document only materializes the published experience."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json."
          }
        ]
      },
      "envelope": {
        "id": "dialog-surface-lab",
        "title": "Dialog - surface lab",
        "summary": "Shows actions opening Dialog surfaces with charts, remote lists and operational notes, so transient flows stay governed instead of becoming hidden modal code.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-dialog",
        "runtime": {
          "mode": "authored-customizable",
          "minPraxisUiPackage": "@praxisui/dialog"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/missoes",
          "resourceKey": "operations.missoes"
        },
        "requires": [
          "praxis-dialog.global-actions",
          "surface.open",
          "GLOBAL_SURFACE_SERVICE",
          "praxis-list.actions",
          "praxis-filter",
          "praxis-chart",
          "widget:rich-text-block"
        ],
        "tags": [
          "dialog",
          "surface-open",
          "actions",
          "charts",
          "modal",
          "composition",
          "ai-recipe"
        ],
        "demonstrates": [
          "List item actions executing structured surface.open global actions through the host GlobalActionService",
          "Dialog-hosted surfaces rendered by PraxisSurfaceHostComponent instead of ad hoc overlays",
          "A chart surface opened as a modal from metadata-driven action payload",
          "A remote list surface opened with dataSource.resourcePath inside the dialog body",
          "A rich text surface opened from the same action contract for operational guidance"
        ],
        "platformFeatures": [
          "praxis-dialog.global-actions",
          "GLOBAL_SURFACE_SERVICE",
          "surface.open",
          "PraxisSurfaceHostComponent",
          "dynamic-widget-resolution",
          "praxis-list.globalAction.payload",
          "praxis-chart.local-data",
          "praxis-list.remote-data",
          "widget:rich-text-block"
        ],
        "backendSurfaces": [
          "POST /api/operations/missao-participantes/filter",
          "POST /api/operations/vw-resumo-missoes/stats/group-by",
          "GET /schemas/filtered"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-list-rendered",
            "surface-open-action-click",
            "dialog-surface-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example depends on the host registering providePraxisDialogGlobalActions and providePraxisSurfaceGlobalActions.",
            "Actions carry copyable surface.open payloads, so agents can swap the modal widget without changing Angular templates."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.dialog-surface-lab.json",
          "praxis-ui-angular/projects/praxis-dialog/docs/host-dialog-integration.md",
          "praxis-ui-angular/projects/praxis-dialog/src/lib/providers/surface-global-actions.provider.ts"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "dialogSurfaceLaunchers",
              "shell": {
                "kind": "dashboard-card",
                "icon": "open_in_new",
                "title": "Dialog surface launcher",
                "subtitle": "Actions open modal surfaces with widgets resolved at runtime"
              },
              "definition": {
                "id": "praxis-list",
                "bindingOrder": [
                  "listId",
                  "config"
                ],
                "inputs": {
                  "listId": "dialog-surface-launchers",
                  "componentInstanceId": "dynamic-page-showcase",
                  "config": {
                    "id": "dialog-surface-launchers-config",
                    "dataSource": {
                      "data": [
                        {
                          "id": "mission-analytics",
                          "icon": "bar_chart",
                          "title": "Mission analytics modal",
                          "subtitle": "Open a local chart surface without changing the page layout",
                          "surfaceKind": "Chart",
                          "priority": "High",
                          "surfacePayload": {
                            "presentation": "modal",
                            "title": "Mission analytics",
                            "icon": "bar_chart",
                            "subtitle": "Chart widget rendered inside Praxis Dialog",
                            "size": {
                              "width": "780px",
                              "maxWidth": "92vw",
                              "height": "620px",
                              "maxHeight": "86vh"
                            },
                            "widget": {
                              "id": "praxis-chart",
                              "bindingOrder": [
                                "config"
                              ],
                              "inputs": {
                                "config": {
                                  "id": "dialog-mission-status-chart",
                                  "type": "donut",
                                  "title": "Mission status mix",
                                  "subtitle": "Local chart payload opened by surface.open",
                                  "sizing": {
                                    "height": 360,
                                    "minHeight": 320
                                  },
                                  "dataSource": {
                                    "kind": "local",
                                    "items": [
                                      {
                                        "status": "EM_ANDAMENTO",
                                        "missions": 11
                                      },
                                      {
                                        "status": "PLANEJADA",
                                        "missions": 7
                                      },
                                      {
                                        "status": "CONCLUIDA",
                                        "missions": 18
                                      },
                                      {
                                        "status": "SUSPENSA",
                                        "missions": 3
                                      }
                                    ]
                                  },
                                  "axes": {
                                    "x": {
                                      "field": "status",
                                      "type": "category",
                                      "label": "Status"
                                    },
                                    "y": {
                                      "field": "missions",
                                      "type": "value",
                                      "label": "Missions"
                                    }
                                  },
                                  "series": [
                                    {
                                      "id": "missions",
                                      "name": "Missions",
                                      "categoryField": "status",
                                      "metric": {
                                        "field": "missions",
                                        "aggregation": "sum"
                                      }
                                    }
                                  ],
                                  "theme": {
                                    "palette": [
                                      "#0f766e",
                                      "#2563eb",
                                      "#16a34a",
                                      "#dc2626"
                                    ],
                                    "legend": {
                                      "visible": true,
                                      "position": "bottom"
                                    },
                                    "tooltip": {
                                      "enabled": true,
                                      "trigger": "item"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        {
                          "id": "mission-participants",
                          "icon": "groups",
                          "title": "Participant roster modal",
                          "subtitle": "Open a remote List surface backed by the quickstart filter endpoint",
                          "surfaceKind": "Remote list",
                          "priority": "Medium",
                          "surfacePayload": {
                            "presentation": "modal",
                            "title": "Mission participant roster",
                            "icon": "groups",
                            "subtitle": "Governed inline filters and a remote List rendered inside Praxis Dialog",
                            "size": {
                              "width": "1040px",
                              "maxWidth": "96vw",
                              "height": "760px",
                              "maxHeight": "90vh"
                            },
                            "widget": {
                              "id": "praxis-dynamic-page",
                              "bindingOrder": [
                                "page",
                                "autoPersist",
                                "strictValidation",
                                "enableCustomization"
                              ],
                              "inputs": {
                                "page": {
                                  "layout": {
                                    "orientation": "columns",
                                    "columns": 1,
                                    "gap": "8px"
                                  },
                                  "widgets": [
                                    {
                                      "key": "missionParticipantFilter",
                                      "shell": {
                                        "kind": "none"
                                      },
                                      "definition": {
                                        "id": "praxis-filter",
                                        "bindingOrder": [
                                          "resourcePath",
                                          "filterId",
                                          "formId",
                                          "alwaysVisibleFields",
                                          "selectedFieldIds",
                                          "disablePersistence",
                                          "placeBooleansInActions",
                                          "showFilterSettings",
                                          "showAdvancedButton",
                                          "showAddButton",
                                          "showSearchButton"
                                        ],
                                        "inputs": {
                                          "resourcePath": "operations/missao-participantes",
                                          "filterId": "dialog-mission-participants-filter",
                                          "formId": "dialog-mission-participants-filter-form",
                                          "componentInstanceId": "dialog-mission-participants-filter",
                                          "alwaysVisibleFields": [
                                            "papel",
                                            "resultado",
                                            "principal"
                                          ],
                                          "selectedFieldIds": [
                                            "papel",
                                            "resultado",
                                            "principal"
                                          ],
                                          "disablePersistence": true,
                                          "placeBooleansInActions": true,
                                          "showFilterSettings": false,
                                          "showAdvancedButton": false,
                                          "showAddButton": true,
                                          "showSearchButton": false,
                                          "i18n": {
                                            "filtersAdd": "Add filter",
                                            "clear": "Clear filters",
                                            "apply": "Search"
                                          }
                                        },
                                        "outputs": {
                                          "change": "emit",
                                          "clear": "emit"
                                        }
                                      }
                                    },
                                    {
                                      "key": "missionParticipantList",
                                      "shell": {
                                        "kind": "none"
                                      },
                                      "definition": {
                                        "id": "praxis-list",
                                        "bindingOrder": [
                                          "listId",
                                          "queryContext",
                                          "config"
                                        ],
                                        "inputs": {
                                          "listId": "dialog-mission-participants-list",
                                          "componentInstanceId": "dialog-mission-participants-list",
                                          "queryContext": {
                                            "filters": {},
                                            "page": {
                                              "index": 0,
                                              "size": 6
                                            }
                                          },
                                          "config": {
                                            "id": "dialog-mission-participants-list-config",
                                            "dataSource": {
                                              "resourcePath": "operations/missao-participantes",
                                              "sort": [
                                                "ordem,asc"
                                              ]
                                            },
                                            "layout": {
                                              "variant": "list",
                                              "density": "compact",
                                              "lines": 3,
                                              "dividers": "between",
                                              "pageSize": 6,
                                              "rowLayout": {
                                                "type": "grid",
                                                "columns": [
                                                  {
                                                    "slot": "leading",
                                                    "width": "44px",
                                                    "align": "center"
                                                  },
                                                  {
                                                    "slot": "primary",
                                                    "width": "minmax(160px, 1fr)"
                                                  },
                                                  {
                                                    "slot": "secondary",
                                                    "width": "minmax(180px, 1.1fr)"
                                                  },
                                                  {
                                                    "slot": "meta",
                                                    "width": "120px",
                                                    "align": "start"
                                                  },
                                                  {
                                                    "slot": "trailing",
                                                    "width": "110px",
                                                    "align": "end"
                                                  }
                                                ],
                                                "gap": "12px",
                                                "align": "center"
                                              }
                                            },
                                            "selection": {
                                              "mode": "single",
                                              "compareBy": "funcionarioId",
                                              "return": "id"
                                            },
                                            "templating": {
                                              "leading": {
                                                "type": "icon",
                                                "expr": "groups"
                                              },
                                              "primary": {
                                                "type": "text",
                                                "expr": "${item.funcionarioNome}"
                                              },
                                              "secondary": {
                                                "type": "text",
                                                "expr": "${item.missaoTitulo}"
                                              },
                                              "meta": {
                                                "type": "chip",
                                                "expr": "${item.papel}",
                                                "variant": "outlined"
                                              },
                                              "trailing": {
                                                "type": "chip",
                                                "expr": "${item.resultado}",
                                                "variant": "filled"
                                              }
                                            },
                                            "ui": {
                                              "showSearch": false,
                                              "showSort": true,
                                              "sortOptions": [
                                                {
                                                  "label": "Operational order",
                                                  "value": "ordem,asc"
                                                },
                                                {
                                                  "label": "ID",
                                                  "value": "id,asc"
                                                },
                                                {
                                                  "label": "Role",
                                                  "value": "papel,asc"
                                                }
                                              ],
                                              "showRange": true
                                            }
                                          }
                                        }
                                      }
                                    }
                                  ],
                                  "composition": {
                                    "version": "1.0.0",
                                    "links": [
                                      {
                                        "id": "dialog:participant-filter-change->participant-list.queryContext",
                                        "intent": "event-propagation",
                                        "from": {
                                          "kind": "component-port",
                                          "ref": {
                                            "widget": "missionParticipantFilter",
                                            "port": "change",
                                            "direction": "output",
                                            "componentType": "praxis-filter"
                                          }
                                        },
                                        "to": {
                                          "kind": "component-port",
                                          "ref": {
                                            "widget": "missionParticipantList",
                                            "port": "queryContext",
                                            "direction": "input",
                                            "componentType": "praxis-list"
                                          }
                                        },
                                        "transform": {
                                          "version": "2.0",
                                          "phase": "link-propagation",
                                          "mode": "object-fragment",
                                          "sourceBindings": [
                                            {
                                              "source": "payload"
                                            }
                                          ],
                                          "steps": [
                                            {
                                              "id": "participant-filter-dto-to-list-query-context",
                                              "kind": "object-template",
                                              "phase": "link-propagation",
                                              "config": {
                                                "template": {
                                                  "filters": "${source}",
                                                  "page": {
                                                    "index": 0,
                                                    "size": 6
                                                  },
                                                  "meta": {
                                                    "source": "praxis-filter-change",
                                                    "resourcePath": "operations/missao-participantes"
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        },
                                        "policy": {
                                          "debounceMs": 80,
                                          "missingValuePolicy": "use-default",
                                          "distinct": true,
                                          "errorPolicy": "diagnostic"
                                        },
                                        "metadata": {
                                          "label": "Synchronize participant filters with the roster",
                                          "description": "The debounced governed filter DTO updates the List queryContext and returns pagination to the first page.",
                                          "tags": [
                                            "dialog",
                                            "filter",
                                            "list",
                                            "queryContext"
                                          ]
                                        }
                                      },
                                      {
                                        "id": "dialog:participant-filter-clear->participant-list.queryContext",
                                        "intent": "event-propagation",
                                        "from": {
                                          "kind": "component-port",
                                          "ref": {
                                            "widget": "missionParticipantFilter",
                                            "port": "clear",
                                            "direction": "output",
                                            "componentType": "praxis-filter"
                                          }
                                        },
                                        "to": {
                                          "kind": "component-port",
                                          "ref": {
                                            "widget": "missionParticipantList",
                                            "port": "queryContext",
                                            "direction": "input",
                                            "componentType": "praxis-list"
                                          }
                                        },
                                        "transform": {
                                          "version": "2.0",
                                          "phase": "link-propagation",
                                          "mode": "object-fragment",
                                          "sourceBindings": [
                                            {
                                              "source": "constant",
                                              "value": {}
                                            }
                                          ],
                                          "steps": [
                                            {
                                              "id": "clear-participant-list-query-context",
                                              "kind": "object-template",
                                              "phase": "link-propagation",
                                              "config": {
                                                "template": {
                                                  "filters": {},
                                                  "page": {
                                                    "index": 0,
                                                    "size": 6
                                                  },
                                                  "meta": {
                                                    "source": "praxis-filter-clear",
                                                    "resourcePath": "operations/missao-participantes"
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        },
                                        "policy": {
                                          "debounceMs": 0,
                                          "missingValuePolicy": "use-default",
                                          "distinct": true,
                                          "errorPolicy": "diagnostic"
                                        },
                                        "metadata": {
                                          "label": "Clear participant filters from the roster",
                                          "description": "Clearing the Filter restores the unfiltered first page without a host handler.",
                                          "tags": [
                                            "dialog",
                                            "filter",
                                            "list",
                                            "clear"
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                },
                                "autoPersist": false,
                                "strictValidation": true,
                                "enableCustomization": false
                              }
                            }
                          }
                        },
                        {
                          "id": "policy-note",
                          "icon": "policy",
                          "title": "Operational guidance modal",
                          "subtitle": "Open a rich text surface with policy and agent instructions",
                          "surfaceKind": "Rich text",
                          "priority": "Medium",
                          "surfacePayload": {
                            "presentation": "modal",
                            "title": "Operational guidance",
                            "icon": "policy",
                            "subtitle": "Rich Text Block rendered inside Praxis Dialog",
                            "size": {
                              "width": "720px",
                              "maxWidth": "90vw"
                            },
                            "widget": {
                              "id": "widget:rich-text-block",
                              "inputs": {
                                "title": "Surface action guidance",
                                "content": "Use surface.open when an action should reveal a governed runtime surface without forcing the base page to reserve permanent layout space. The payload remains pure JSON and the host owns the dialog provider.",
                                "variant": "emphasis"
                              }
                            }
                          }
                        }
                      ],
                      "sort": [
                        "priority,asc"
                      ]
                    },
                    "layout": {
                      "variant": "cards",
                      "density": "comfortable",
                      "lines": 3,
                      "dividers": "none",
                      "pageSize": 6
                    },
                    "skin": {
                      "type": "outline",
                      "radius": "8px",
                      "border": "1px solid rgba(37, 99, 235, 0.28)"
                    },
                    "selection": {
                      "mode": "single",
                      "compareBy": "id",
                      "return": "id"
                    },
                    "templating": {
                      "leading": {
                        "type": "icon",
                        "expr": "${item.icon}"
                      },
                      "primary": {
                        "type": "text",
                        "expr": "${item.title}"
                      },
                      "secondary": {
                        "type": "text",
                        "expr": "${item.subtitle}"
                      },
                      "trailing": {
                        "type": "chip",
                        "expr": "${item.surfaceKind}",
                        "variant": "outlined"
                      },
                      "features": [
                        {
                          "type": "chip",
                          "expr": "${item.priority}",
                          "variant": "filled"
                        },
                        {
                          "type": "chip",
                          "expr": "surface.open",
                          "variant": "outlined"
                        }
                      ],
                      "featuresMode": "labels-only"
                    },
                    "actions": [
                      {
                        "id": "open-mission-analytics-dialog",
                        "icon": "open_in_new",
                        "label": "Open chart",
                        "kind": "button",
                        "buttonVariant": "stroked",
                        "showIf": {
                          "==": [
                            {
                              "var": "row.id"
                            },
                            "mission-analytics"
                          ]
                        },
                        "globalAction": {
                          "actionId": "surface.open",
                          "payload": {
                            "presentation": "modal",
                            "title": "Mission analytics",
                            "icon": "bar_chart",
                            "subtitle": "Chart widget rendered inside Praxis Dialog",
                            "size": {
                              "width": "780px",
                              "maxWidth": "92vw",
                              "height": "620px",
                              "maxHeight": "86vh"
                            },
                            "widget": {
                              "id": "praxis-chart",
                              "bindingOrder": [
                                "config"
                              ],
                              "inputs": {
                                "config": {
                                  "id": "dialog-mission-status-chart",
                                  "type": "donut",
                                  "title": "Mission status mix",
                                  "subtitle": "Local chart payload opened by surface.open",
                                  "sizing": {
                                    "height": 360,
                                    "minHeight": 320
                                  },
                                  "dataSource": {
                                    "kind": "local",
                                    "items": [
                                      {
                                        "status": "EM_ANDAMENTO",
                                        "missions": 11
                                      },
                                      {
                                        "status": "PLANEJADA",
                                        "missions": 7
                                      },
                                      {
                                        "status": "CONCLUIDA",
                                        "missions": 18
                                      },
                                      {
                                        "status": "SUSPENSA",
                                        "missions": 3
                                      }
                                    ]
                                  },
                                  "axes": {
                                    "x": {
                                      "field": "status",
                                      "type": "category",
                                      "label": "Status"
                                    },
                                    "y": {
                                      "field": "missions",
                                      "type": "value",
                                      "label": "Missions"
                                    }
                                  },
                                  "series": [
                                    {
                                      "id": "missions",
                                      "name": "Missions",
                                      "categoryField": "status",
                                      "metric": {
                                        "field": "missions",
                                        "aggregation": "sum"
                                      }
                                    }
                                  ],
                                  "theme": {
                                    "palette": [
                                      "#0f766e",
                                      "#2563eb",
                                      "#16a34a",
                                      "#dc2626"
                                    ],
                                    "legend": {
                                      "visible": true,
                                      "position": "bottom"
                                    },
                                    "tooltip": {
                                      "enabled": true,
                                      "trigger": "item"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "emitLocal": false,
                        "showLoading": true,
                        "placement": "trailing"
                      },
                      {
                        "id": "open-participant-roster-dialog",
                        "icon": "open_in_new",
                        "label": "Open roster",
                        "kind": "button",
                        "buttonVariant": "stroked",
                        "showIf": {
                          "==": [
                            {
                              "var": "row.id"
                            },
                            "mission-participants"
                          ]
                        },
                        "globalAction": {
                          "actionId": "surface.open",
                          "payload": {
                            "presentation": "modal",
                            "title": "Mission participant roster",
                            "icon": "groups",
                            "subtitle": "Governed inline filters and a remote List rendered inside Praxis Dialog",
                            "size": {
                              "width": "1040px",
                              "maxWidth": "96vw",
                              "height": "760px",
                              "maxHeight": "90vh"
                            },
                            "widget": {
                              "id": "praxis-dynamic-page",
                              "bindingOrder": [
                                "page",
                                "autoPersist",
                                "strictValidation",
                                "enableCustomization"
                              ],
                              "inputs": {
                                "page": {
                                  "layout": {
                                    "orientation": "columns",
                                    "columns": 1,
                                    "gap": "8px"
                                  },
                                  "widgets": [
                                    {
                                      "key": "missionParticipantFilter",
                                      "shell": {
                                        "kind": "none"
                                      },
                                      "definition": {
                                        "id": "praxis-filter",
                                        "bindingOrder": [
                                          "resourcePath",
                                          "filterId",
                                          "formId",
                                          "alwaysVisibleFields",
                                          "selectedFieldIds",
                                          "disablePersistence",
                                          "placeBooleansInActions",
                                          "showFilterSettings",
                                          "showAdvancedButton",
                                          "showAddButton",
                                          "showSearchButton"
                                        ],
                                        "inputs": {
                                          "resourcePath": "operations/missao-participantes",
                                          "filterId": "dialog-mission-participants-filter",
                                          "formId": "dialog-mission-participants-filter-form",
                                          "componentInstanceId": "dialog-mission-participants-filter",
                                          "alwaysVisibleFields": [
                                            "papel",
                                            "resultado",
                                            "principal"
                                          ],
                                          "selectedFieldIds": [
                                            "papel",
                                            "resultado",
                                            "principal"
                                          ],
                                          "disablePersistence": true,
                                          "placeBooleansInActions": true,
                                          "showFilterSettings": false,
                                          "showAdvancedButton": false,
                                          "showAddButton": true,
                                          "showSearchButton": false,
                                          "i18n": {
                                            "filtersAdd": "Add filter",
                                            "clear": "Clear filters",
                                            "apply": "Search"
                                          }
                                        },
                                        "outputs": {
                                          "change": "emit",
                                          "clear": "emit"
                                        }
                                      }
                                    },
                                    {
                                      "key": "missionParticipantList",
                                      "shell": {
                                        "kind": "none"
                                      },
                                      "definition": {
                                        "id": "praxis-list",
                                        "bindingOrder": [
                                          "listId",
                                          "queryContext",
                                          "config"
                                        ],
                                        "inputs": {
                                          "listId": "dialog-mission-participants-list",
                                          "componentInstanceId": "dialog-mission-participants-list",
                                          "queryContext": {
                                            "filters": {},
                                            "page": {
                                              "index": 0,
                                              "size": 6
                                            }
                                          },
                                          "config": {
                                            "id": "dialog-mission-participants-list-config",
                                            "dataSource": {
                                              "resourcePath": "operations/missao-participantes",
                                              "sort": [
                                                "ordem,asc"
                                              ]
                                            },
                                            "layout": {
                                              "variant": "list",
                                              "density": "compact",
                                              "lines": 3,
                                              "dividers": "between",
                                              "pageSize": 6,
                                              "rowLayout": {
                                                "type": "grid",
                                                "columns": [
                                                  {
                                                    "slot": "leading",
                                                    "width": "44px",
                                                    "align": "center"
                                                  },
                                                  {
                                                    "slot": "primary",
                                                    "width": "minmax(160px, 1fr)"
                                                  },
                                                  {
                                                    "slot": "secondary",
                                                    "width": "minmax(180px, 1.1fr)"
                                                  },
                                                  {
                                                    "slot": "meta",
                                                    "width": "120px",
                                                    "align": "start"
                                                  },
                                                  {
                                                    "slot": "trailing",
                                                    "width": "110px",
                                                    "align": "end"
                                                  }
                                                ],
                                                "gap": "12px",
                                                "align": "center"
                                              }
                                            },
                                            "selection": {
                                              "mode": "single",
                                              "compareBy": "funcionarioId",
                                              "return": "id"
                                            },
                                            "templating": {
                                              "leading": {
                                                "type": "icon",
                                                "expr": "groups"
                                              },
                                              "primary": {
                                                "type": "text",
                                                "expr": "${item.funcionarioNome}"
                                              },
                                              "secondary": {
                                                "type": "text",
                                                "expr": "${item.missaoTitulo}"
                                              },
                                              "meta": {
                                                "type": "chip",
                                                "expr": "${item.papel}",
                                                "variant": "outlined"
                                              },
                                              "trailing": {
                                                "type": "chip",
                                                "expr": "${item.resultado}",
                                                "variant": "filled"
                                              }
                                            },
                                            "ui": {
                                              "showSearch": false,
                                              "showSort": true,
                                              "sortOptions": [
                                                {
                                                  "label": "Operational order",
                                                  "value": "ordem,asc"
                                                },
                                                {
                                                  "label": "ID",
                                                  "value": "id,asc"
                                                },
                                                {
                                                  "label": "Role",
                                                  "value": "papel,asc"
                                                }
                                              ],
                                              "showRange": true
                                            }
                                          }
                                        }
                                      }
                                    }
                                  ],
                                  "composition": {
                                    "version": "1.0.0",
                                    "links": [
                                      {
                                        "id": "dialog:participant-filter-change->participant-list.queryContext",
                                        "intent": "event-propagation",
                                        "from": {
                                          "kind": "component-port",
                                          "ref": {
                                            "widget": "missionParticipantFilter",
                                            "port": "change",
                                            "direction": "output",
                                            "componentType": "praxis-filter"
                                          }
                                        },
                                        "to": {
                                          "kind": "component-port",
                                          "ref": {
                                            "widget": "missionParticipantList",
                                            "port": "queryContext",
                                            "direction": "input",
                                            "componentType": "praxis-list"
                                          }
                                        },
                                        "transform": {
                                          "version": "2.0",
                                          "phase": "link-propagation",
                                          "mode": "object-fragment",
                                          "sourceBindings": [
                                            {
                                              "source": "payload"
                                            }
                                          ],
                                          "steps": [
                                            {
                                              "id": "participant-filter-dto-to-list-query-context",
                                              "kind": "object-template",
                                              "phase": "link-propagation",
                                              "config": {
                                                "template": {
                                                  "filters": "${source}",
                                                  "page": {
                                                    "index": 0,
                                                    "size": 6
                                                  },
                                                  "meta": {
                                                    "source": "praxis-filter-change",
                                                    "resourcePath": "operations/missao-participantes"
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        },
                                        "policy": {
                                          "debounceMs": 80,
                                          "missingValuePolicy": "use-default",
                                          "distinct": true,
                                          "errorPolicy": "diagnostic"
                                        },
                                        "metadata": {
                                          "label": "Synchronize participant filters with the roster",
                                          "description": "The debounced governed filter DTO updates the List queryContext and returns pagination to the first page.",
                                          "tags": [
                                            "dialog",
                                            "filter",
                                            "list",
                                            "queryContext"
                                          ]
                                        }
                                      },
                                      {
                                        "id": "dialog:participant-filter-clear->participant-list.queryContext",
                                        "intent": "event-propagation",
                                        "from": {
                                          "kind": "component-port",
                                          "ref": {
                                            "widget": "missionParticipantFilter",
                                            "port": "clear",
                                            "direction": "output",
                                            "componentType": "praxis-filter"
                                          }
                                        },
                                        "to": {
                                          "kind": "component-port",
                                          "ref": {
                                            "widget": "missionParticipantList",
                                            "port": "queryContext",
                                            "direction": "input",
                                            "componentType": "praxis-list"
                                          }
                                        },
                                        "transform": {
                                          "version": "2.0",
                                          "phase": "link-propagation",
                                          "mode": "object-fragment",
                                          "sourceBindings": [
                                            {
                                              "source": "constant",
                                              "value": {}
                                            }
                                          ],
                                          "steps": [
                                            {
                                              "id": "clear-participant-list-query-context",
                                              "kind": "object-template",
                                              "phase": "link-propagation",
                                              "config": {
                                                "template": {
                                                  "filters": {},
                                                  "page": {
                                                    "index": 0,
                                                    "size": 6
                                                  },
                                                  "meta": {
                                                    "source": "praxis-filter-clear",
                                                    "resourcePath": "operations/missao-participantes"
                                                  }
                                                }
                                              }
                                            }
                                          ]
                                        },
                                        "policy": {
                                          "debounceMs": 0,
                                          "missingValuePolicy": "use-default",
                                          "distinct": true,
                                          "errorPolicy": "diagnostic"
                                        },
                                        "metadata": {
                                          "label": "Clear participant filters from the roster",
                                          "description": "Clearing the Filter restores the unfiltered first page without a host handler.",
                                          "tags": [
                                            "dialog",
                                            "filter",
                                            "list",
                                            "clear"
                                          ]
                                        }
                                      }
                                    ]
                                  }
                                },
                                "autoPersist": false,
                                "strictValidation": true,
                                "enableCustomization": false
                              }
                            }
                          }
                        },
                        "emitLocal": false,
                        "showLoading": true,
                        "placement": "trailing"
                      },
                      {
                        "id": "open-operational-guidance-dialog",
                        "icon": "open_in_new",
                        "label": "Open note",
                        "kind": "button",
                        "buttonVariant": "stroked",
                        "showIf": {
                          "==": [
                            {
                              "var": "row.id"
                            },
                            "policy-note"
                          ]
                        },
                        "globalAction": {
                          "actionId": "surface.open",
                          "payload": {
                            "presentation": "modal",
                            "title": "Operational guidance",
                            "icon": "policy",
                            "subtitle": "Rich Text Block rendered inside Praxis Dialog",
                            "size": {
                              "width": "720px",
                              "maxWidth": "90vw"
                            },
                            "widget": {
                              "id": "widget:rich-text-block",
                              "inputs": {
                                "title": "Surface action guidance",
                                "content": "Use surface.open when an action should reveal a governed runtime surface without forcing the base page to reserve permanent layout space. The payload remains pure JSON and the host owns the dialog provider.",
                                "variant": "emphasis"
                              }
                            }
                          }
                        },
                        "emitLocal": false,
                        "showLoading": true,
                        "placement": "trailing"
                      }
                    ],
                    "ui": {
                      "showSearch": false,
                      "showSort": false,
                      "showRange": false
                    },
                    "a11y": {
                      "ariaLabel": "Dialog surface launcher list"
                    }
                  }
                },
                "outputs": {
                  "itemClick": "emit",
                  "selectionChange": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "field-editorial-metadata-editor",
      "title": "Field Editorial - metadata editor",
      "summary": "Renders the metadata editor for a field contract, making control-specific editorial rules visible to authors and agents.",
      "i18n": {
        "pt": {
          "title": "Field Editorial - editor de metadata",
          "summary": "Renderiza o editor de metadata de campo para tornar regras editoriais específicas visíveis a autores e agentes.",
          "demonstrates": [
            "Explore Field Editorial - editor de metadata e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-metadata-editor materializa dynamic-fields/editorial com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Renderiza o editor de metadata de campo para tornar regras editoriais específicas visíveis a autores e agentes.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, metadata-editor.controlType, metadata-editor.seed.",
            "Verifique a conexão com as evidências canônicas praxis-metadata-editor.metadata.ts e field-metadata-editor.component.ts."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/field-editorial-metadata-editor",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/field-editorial-metadata-editor",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-metadata-editor",
      "resourcePath": "dynamic-fields/editorial",
      "resourceKey": "dynamic-fields.editorial",
      "requires": [
        "praxis-metadata-editor.controlType",
        "fieldMetadata.seed",
        "metadata-editor.applied",
        "dynamic-fields.editorial-metadata"
      ],
      "tags": [
        "metadata-editor",
        "field-editorial",
        "dynamic-fields",
        "authoring",
        "ai-recipe"
      ],
      "demonstrates": [
        "Direct rendering of the package-owned Field Metadata Editor",
        "Seeded currency field metadata with validation, masks and submit hints",
        "Control-specific editor properties generated from the canonical Dynamic Fields registry",
        "applied output that returns a field metadata patch to the host"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "metadata-editor.controlType",
        "metadata-editor.seed",
        "metadata-editor.applied",
        "dynamic-fields.editorial-metadata",
        "field-metadata-ai-capabilities"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-metadata-editor/src/lib/praxis-metadata-editor.metadata.ts",
        "praxis-ui-angular/projects/praxis-metadata-editor/src/lib/components/field-metadata-editor/field-metadata-editor.component.ts",
        "praxis-ui-angular/projects/praxis-core/src/lib/metadata/field-control-type.constants.ts"
      ],
      "complexity": "intermediate",
      "catalogRole": "authoring-workflow",
      "learningStage": "governance",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-metadata-editor-rendered",
          "seeded-field-metadata-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because it demonstrates authoring metadata, not persisted business data.",
          "The seed mirrors the FieldDefinition shape consumed by Dynamic Form and Dynamic Fields."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-field-metadata-editor.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-form.fields.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/field-editorial-metadata-editor.json",
      "documentation": {
        "story": {
          "pt": "Renderiza o editor de metadata de campo para tornar regras editoriais específicas visíveis a autores e agentes. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-metadata-editor materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Renders the metadata editor for a field contract, making control-specific editorial rules visible to authors and agents. The recipe follows that task from its initial context to the visible result and separates what praxis-metadata-editor materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-metadata-editor deve tornar a promessa de “Field Editorial - editor de metadata” inspecionável: o visitante relaciona metadata-editor.controlType ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-metadata-editor must make the “Field Editorial - metadata editor” promise inspectable: visitors relate metadata-editor.controlType to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-metadata-editor",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Expõe metadata de apresentação e comportamento em uma superfície de autoria controlada.",
              "en": "Exposes presentation and behavior metadata through a controlled authoring surface."
            },
            "rationale": {
              "pt": "Permite revisar decisões editoriais sem editar objetos técnicos extensos nem duplicar o contrato do campo.",
              "en": "Allows editorial decisions to be reviewed without editing large technical objects or duplicating the field contract."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "page.layout",
            "title": {
              "pt": "Estrutura da página",
              "en": "Page structure"
            },
            "explanation": {
              "pt": "Define orientação, colunas e ritmo espacial antes de qualquer widget ser resolvido.",
              "en": "Defines orientation, columns and spatial rhythm before any widget is resolved."
            }
          },
          {
            "jsonPath": "page.widgets[]",
            "title": {
              "pt": "Composição executável",
              "en": "Executable composition"
            },
            "explanation": {
              "pt": "Registra as superfícies do cenário e entrega praxis-metadata-editor ao resolvedor de widgets.",
              "en": "Registers the scenario surfaces and hands praxis-metadata-editor to the widget resolver."
            }
          },
          {
            "jsonPath": "page.widgets[].definition.inputs",
            "title": {
              "pt": "Contrato do componente",
              "en": "Component contract"
            },
            "explanation": {
              "pt": "Concentra os dados e opções que explicam por que o runtime assume esta forma, sem esconder configuração no host.",
              "en": "Holds the data and options that explain the runtime shape without hiding configuration in the host."
            }
          },
          {
            "jsonPath": "runtime",
            "title": {
              "pt": "Fronteira operacional",
              "en": "Operational boundary"
            },
            "explanation": {
              "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
              "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Altere uma escolha editorial, aplique-a e confirme o round-trip ao reabrir o editor.",
            "en": "Change an editorial choice, apply it and confirm the round trip by reopening the editor."
          },
          {
            "pt": "Procure metadata-editor.controlType no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Field Editorial - editor de metadata”.",
            "en": "Find metadata-editor.controlType in the primary widget, change only its associated configuration, and compare the effect with the “Field Editorial - metadata editor” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-field-metadata-editor.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-field-metadata-editor.json."
          }
        ]
      },
      "envelope": {
        "id": "field-editorial-metadata-editor",
        "title": "Field Editorial - metadata editor",
        "summary": "Renders the metadata editor for a field contract, making control-specific editorial rules visible to authors and agents.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-metadata-editor",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/metadata-editor"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "dynamic-fields/editorial",
          "resourceKey": "dynamic-fields.editorial"
        },
        "requires": [
          "praxis-metadata-editor.controlType",
          "fieldMetadata.seed",
          "metadata-editor.applied",
          "dynamic-fields.editorial-metadata"
        ],
        "tags": [
          "metadata-editor",
          "field-editorial",
          "dynamic-fields",
          "authoring",
          "ai-recipe"
        ],
        "demonstrates": [
          "Direct rendering of the package-owned Field Metadata Editor",
          "Seeded currency field metadata with validation, masks and submit hints",
          "Control-specific editor properties generated from the canonical Dynamic Fields registry",
          "applied output that returns a field metadata patch to the host"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "metadata-editor.controlType",
          "metadata-editor.seed",
          "metadata-editor.applied",
          "dynamic-fields.editorial-metadata",
          "field-metadata-ai-capabilities"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-metadata-editor/src/lib/praxis-metadata-editor.metadata.ts",
          "praxis-ui-angular/projects/praxis-metadata-editor/src/lib/components/field-metadata-editor/field-metadata-editor.component.ts",
          "praxis-ui-angular/projects/praxis-core/src/lib/metadata/field-control-type.constants.ts"
        ],
        "complexity": "intermediate",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-metadata-editor-rendered",
            "seeded-field-metadata-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because it demonstrates authoring metadata, not persisted business data.",
            "The seed mirrors the FieldDefinition shape consumed by Dynamic Form and Dynamic Fields."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-field-metadata-editor.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-form.fields.json"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "fieldEditorialMetadataEditor",
              "shell": {
                "kind": "dashboard-card",
                "icon": "edit_note",
                "title": "Field metadata editor",
                "subtitle": "Control-specific editorial contract for currency fields"
              },
              "definition": {
                "id": "praxis-metadata-editor",
                "bindingOrder": [
                  "controlType",
                  "seed"
                ],
                "inputs": {
                  "controlType": "currency",
                  "seed": {
                    "name": "salaryTarget",
                    "label": "Salary target",
                    "controlType": "currency",
                    "placeholder": "R$ 0,00",
                    "helpText": "Used by payroll simulations and mission assignment rules.",
                    "currencyCode": "BRL",
                    "locale": "pt-BR",
                    "min": 0,
                    "max": 50000,
                    "validators": {
                      "required": true,
                      "min": 0,
                      "max": 50000
                    },
                    "source": "local",
                    "transient": true,
                    "submitPolicy": "omit"
                  }
                },
                "outputs": {
                  "applied": "emit",
                  "cancel": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "editorial-governance-briefing",
      "title": "Editorial shell - governed rollout briefing",
      "summary": "Frames a regulated rollout with executive evidence, authenticated reviewer context, an explicit policy boundary and normalized institutional links.",
      "i18n": {
        "pt": {
          "title": "Editorial - briefing de governança",
          "summary": "Apresenta uma decisão regulada com evidências executivas, contexto autenticado da pessoa revisora, limite jurídico explícito e links institucionais normalizados.",
          "demonstrates": [
            "Explore Editorial - briefing de governança e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como widget:hero-banner materializa governance/decision-package com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Apresenta uma decisão regulada com evidências executivas, contexto autenticado da pessoa revisora, limite jurídico explícito e links institucionais normalizados.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, widget:hero-banner.visual-summary, form:user-context-summary.context-projection.",
            "Verifique a conexão com as evidências canônicas Authenticated host identity and scope e Backend authorization, policy evaluation and audit boundary."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/editorial-governance-briefing",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/editorial-governance-briefing",
      "category": "composition",
      "mode": "local-only",
      "primaryComponent": "widget:hero-banner",
      "resourcePath": "governance/decision-package",
      "resourceKey": "governance.decision-package",
      "requires": [
        "widget:hero-banner",
        "form:user-context-summary",
        "widget:legal-notice",
        "widget:footer-links",
        "editorial-content-policy",
        "widgetEvent"
      ],
      "tags": [
        "editorial",
        "governance",
        "hero",
        "user-context",
        "legal-notice",
        "footer",
        "decision-briefing",
        "ai-recipe"
      ],
      "demonstrates": [
        "Hero Banner frames the decision outcome, readiness evidence and status before operational detail",
        "User Context Summary projects authenticated host context without copying identity into formData or authorization rules",
        "Legal Notice explains the policy boundary without pretending that editorial content grants permission",
        "Footer Links normalizes trusted navigation through the shared editorial content policy",
        "Dynamic Page composes all four registered widgets without route-specific Angular markup"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "widget:hero-banner.visual-summary",
        "form:user-context-summary.context-projection",
        "form:user-context-summary.actionTriggered",
        "widget:legal-notice.safe-content",
        "widget:footer-links.normalized-links",
        "dynamic-page.widgetEvent"
      ],
      "backendSurfaces": [
        "Authenticated host identity and scope",
        "Backend authorization, policy evaluation and audit boundary",
        "praxis-ui-angular/projects/praxis-core/src/lib/widgets"
      ],
      "complexity": "basic",
      "catalogRole": "composition",
      "learningStage": "enterprise",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "hero-summary-visible",
          "authenticated-context-visible",
          "legal-boundary-visible",
          "normalized-footer-links-visible"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "The recipe is local-only because its purpose is to prove editorial composition, context projection and content policy deterministically.",
          "The displayed reviewer context represents data supplied by an authenticated host; it is not authorization evidence.",
          "All business effects, capability checks, consent records and audit remain host- and backend-owned."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.editorial-governance-briefing.json",
        "praxis-ui-angular/projects/praxis-core/src/lib/widgets/praxis-hero-banner.metadata.ts",
        "praxis-ui-angular/projects/praxis-core/src/lib/widgets/praxis-user-context-summary.metadata.ts",
        "praxis-ui-angular/projects/praxis-core/src/lib/widgets/praxis-legal-notice.metadata.ts",
        "praxis-ui-angular/projects/praxis-core/src/lib/widgets/praxis-footer-links.metadata.ts"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/editorial-governance-briefing.json",
      "documentation": {
        "story": {
          "pt": "Um conselho de lançamento precisa avaliar uma entrada em mercado regulado. Antes de qualquer recomendação, a página deve explicar o pacote de decisão, mostrar quem está revisando e em qual escopo, destacar a fronteira da autoridade e apontar para evidências institucionais confiáveis.",
          "en": "A release council must assess entry into a regulated market. Before any recommendation, the page must explain the decision package, show who is reviewing and under which scope, state the authority boundary and point to trusted institutional evidence."
        },
        "outcome": {
          "pt": "Quatro widgets editoriais registrados formam um briefing portátil e responsivo. A narrativa orienta a pessoa revisora sem transformar texto, identidade exibida ou links em regras de autorização ou execução de negócio.",
          "en": "Four registered editorial widgets form a portable, responsive briefing. The narrative guides the reviewer without turning copy, displayed identity or links into authorization or business execution rules."
        },
        "componentRoles": [
          {
            "component": "widget:hero-banner",
            "jsonPath": "page.widgets[launchBriefingHero]",
            "role": {
              "pt": "Enquadra a decisão, o estágio da revisão e as evidências executivas antes do detalhe.",
              "en": "Frames the decision, review stage and executive evidence before the detail."
            },
            "rationale": {
              "pt": "Comunica prioridade e resultado esperado sem transformar a abertura em markup exclusivo da rota.",
              "en": "Communicates priority and expected outcome without turning the opening into route-specific markup."
            }
          },
          {
            "component": "form:user-context-summary",
            "jsonPath": "page.widgets[reviewerContext]",
            "role": {
              "pt": "Projeta identidade, papel, organização e escopo fornecidos pelo host autenticado.",
              "en": "Projects identity, role, organization and scope supplied by the authenticated host."
            },
            "rationale": {
              "pt": "Torna o contexto visível sem copiá-lo para formData nem usá-lo como prova de autorização.",
              "en": "Makes context visible without copying it into formData or using it as authorization evidence."
            }
          },
          {
            "component": "widget:legal-notice",
            "jsonPath": "page.widgets[decisionPolicyNotice]",
            "role": {
              "pt": "Declara os limites entre orientação editorial, autorização e persistência da decisão.",
              "en": "States the boundaries between editorial guidance, authorization and decision persistence."
            },
            "rationale": {
              "pt": "Evita que copy explicativa pareça conceder permissão ou substituir uma policy executável.",
              "en": "Prevents explanatory copy from appearing to grant permission or replace an executable policy."
            }
          },
          {
            "component": "widget:footer-links",
            "jsonPath": "page.widgets[institutionalEvidenceLinks]",
            "role": {
              "pt": "Fecha o briefing com navegação institucional normalizada pela policy editorial.",
              "en": "Closes the briefing with institutional navigation normalized by editorial policy."
            },
            "rationale": {
              "pt": "Centraliza links confiáveis sem roteamento por labels, aliases ou comandos textuais.",
              "en": "Centralizes trusted links without label-, alias- or text-command routing."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "page.layout",
            "title": {
              "pt": "Narrativa em uma coluna",
              "en": "Single-column narrative"
            },
            "explanation": {
              "pt": "A ordem dos widgets é a ordem de leitura: decisão, contexto, limite e referências.",
              "en": "Widget order is reading order: decision, context, boundary and references."
            }
          },
          {
            "jsonPath": "page.widgets[launchBriefingHero].definition.inputs.visualSummary",
            "title": {
              "pt": "Evidência executiva",
              "en": "Executive evidence"
            },
            "explanation": {
              "pt": "Status, métricas e eventos resumem o pacote sem introduzir um dashboard paralelo.",
              "en": "Status, metrics and events summarize the package without introducing a parallel dashboard."
            }
          },
          {
            "jsonPath": "page.widgets[reviewerContext].definition.inputs.context",
            "title": {
              "pt": "Contexto autenticado projetado",
              "en": "Projected authenticated context"
            },
            "explanation": {
              "pt": "fields[].valuePath resolve valores do host; fallback mantém legibilidade quando um dado opcional falta.",
              "en": "fields[].valuePath resolves host values; fallback preserves readability when optional data is absent."
            }
          },
          {
            "jsonPath": "page.widgets[reviewerContext].definition.outputs.actionTriggered",
            "title": {
              "pt": "Ação mediada pelo host",
              "en": "Host-mediated action"
            },
            "explanation": {
              "pt": "O CTA emite actionId estável, mas não troca sessão, tenant ou escopo por conta própria.",
              "en": "The CTA emits a stable actionId but does not switch session, tenant or scope by itself."
            }
          },
          {
            "jsonPath": "page.widgets[decisionPolicyNotice].definition.inputs",
            "title": {
              "pt": "Limite jurídico explícito",
              "en": "Explicit legal boundary"
            },
            "explanation": {
              "pt": "severity controla a ênfase; content continua informativo e links passam pela normalização editorial.",
              "en": "severity controls emphasis; content remains informational and links pass through editorial normalization."
            }
          },
          {
            "jsonPath": "page.widgets[institutionalEvidenceLinks].definition.inputs.links",
            "title": {
              "pt": "Referências institucionais",
              "en": "Institutional references"
            },
            "explanation": {
              "pt": "Links são dados ordenados, não comandos; a policy rejeita destinos não aceitos.",
              "en": "Links are ordered data, not commands; policy rejects disallowed destinations."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Altere visualSummary.statusTone e uma métrica para comparar como a hierarquia comunica risco.",
            "en": "Change visualSummary.statusTone and one metric to compare how hierarchy communicates risk."
          },
          {
            "pt": "Remova scope.market e confirme que o fallback mantém o briefing compreensível sem inventar autorização.",
            "en": "Remove scope.market and confirm the fallback keeps the briefing understandable without inventing authorization."
          },
          {
            "pt": "Troque Legal Notice de warning para muted e avalie se a ênfase corresponde ao risco.",
            "en": "Change Legal Notice from warning to muted and assess whether emphasis matches risk."
          },
          {
            "pt": "Alterne Footer Links para layout stacked e valide o ritmo em mobile sem alterar destinos.",
            "en": "Switch Footer Links to stacked layout and validate mobile rhythm without changing destinations."
          }
        ],
        "productionNotes": [
          {
            "pt": "O contexto real deve vir da sessão autenticada; valores da receita são demonstração e nunca fundamentam autorização.",
            "en": "Real context must come from the authenticated session; recipe values are demonstration and never support authorization."
          },
          {
            "pt": "Legal Notice não substitui capabilities, decisão canônica, consentimento, auditoria ou enforcement do backend.",
            "en": "Legal Notice does not replace capabilities, canonical decisions, consent, auditing or backend enforcement."
          },
          {
            "pt": "Links continuam sujeitos à editorial-content-policy; não contorne a normalização com handlers derivados de labels.",
            "en": "Links remain subject to editorial-content-policy; do not bypass normalization with label-derived handlers."
          },
          {
            "pt": "instanceId, analyticsId e actionId devem permanecer estáveis para correlação de telemetria e eventos.",
            "en": "instanceId, analyticsId and actionId must remain stable for telemetry and event correlation."
          }
        ]
      },
      "envelope": {
        "id": "editorial-governance-briefing",
        "title": "Editorial shell - governed rollout briefing",
        "summary": "Frames a regulated rollout with executive evidence, authenticated reviewer context, an explicit policy boundary and normalized institutional links.",
        "component": "praxis-dynamic-page",
        "category": "composition",
        "primaryComponent": "widget:hero-banner",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "governance/decision-package",
          "resourceKey": "governance.decision-package"
        },
        "requires": [
          "widget:hero-banner",
          "form:user-context-summary",
          "widget:legal-notice",
          "widget:footer-links",
          "editorial-content-policy",
          "widgetEvent"
        ],
        "tags": [
          "editorial",
          "governance",
          "hero",
          "user-context",
          "legal-notice",
          "footer",
          "decision-briefing",
          "ai-recipe"
        ],
        "demonstrates": [
          "Hero Banner frames the decision outcome, readiness evidence and status before operational detail",
          "User Context Summary projects authenticated host context without copying identity into formData or authorization rules",
          "Legal Notice explains the policy boundary without pretending that editorial content grants permission",
          "Footer Links normalizes trusted navigation through the shared editorial content policy",
          "Dynamic Page composes all four registered widgets without route-specific Angular markup"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "widget:hero-banner.visual-summary",
          "form:user-context-summary.context-projection",
          "form:user-context-summary.actionTriggered",
          "widget:legal-notice.safe-content",
          "widget:footer-links.normalized-links",
          "dynamic-page.widgetEvent"
        ],
        "backendSurfaces": [
          "Authenticated host identity and scope",
          "Backend authorization, policy evaluation and audit boundary",
          "praxis-ui-angular/projects/praxis-core/src/lib/widgets"
        ],
        "complexity": "basic",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "hero-summary-visible",
            "authenticated-context-visible",
            "legal-boundary-visible",
            "normalized-footer-links-visible"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "The recipe is local-only because its purpose is to prove editorial composition, context projection and content policy deterministically.",
            "The displayed reviewer context represents data supplied by an authenticated host; it is not authorization evidence.",
            "All business effects, capability checks, consent records and audit remain host- and backend-owned."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.editorial-governance-briefing.json",
          "praxis-ui-angular/projects/praxis-core/src/lib/widgets/praxis-hero-banner.metadata.ts",
          "praxis-ui-angular/projects/praxis-core/src/lib/widgets/praxis-user-context-summary.metadata.ts",
          "praxis-ui-angular/projects/praxis-core/src/lib/widgets/praxis-legal-notice.metadata.ts",
          "praxis-ui-angular/projects/praxis-core/src/lib/widgets/praxis-footer-links.metadata.ts"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "launchBriefingHero",
              "definition": {
                "id": "widget:hero-banner",
                "inputs": {
                  "instanceId": "regulated-rollout-hero",
                  "analyticsId": "dynamic-page.editorial-governance.hero",
                  "ariaLabel": "Regulated market rollout briefing",
                  "brandText": "Praxis Decision Operations",
                  "badges": [
                    {
                      "label": "Human approval required",
                      "tone": "warning"
                    },
                    {
                      "label": "Evidence complete",
                      "tone": "highlight"
                    }
                  ],
                  "subtitle": "Release council briefing",
                  "title": "Regulated market rollout",
                  "titleAccent": "ready for governed review",
                  "description": "One portable document frames the decision, identifies the active review scope and keeps policy evidence visible before any host-mediated approval.",
                  "metaItems": [
                    {
                      "label": "Decision package",
                      "value": "DP-2026-091"
                    },
                    {
                      "label": "Review window",
                      "value": "26–30 Aug 2026"
                    },
                    {
                      "label": "Owner",
                      "value": "Enterprise Risk Office"
                    }
                  ],
                  "visualSummary": {
                    "eyebrow": "Readiness evidence",
                    "title": "Release posture",
                    "status": "Reviewable",
                    "statusTone": "success",
                    "items": [
                      {
                        "label": "Controls mapped",
                        "value": "18 / 18",
                        "tone": "success"
                      },
                      {
                        "label": "Open exceptions",
                        "value": "2",
                        "tone": "warning"
                      },
                      {
                        "label": "Markets",
                        "value": "3",
                        "tone": "info"
                      }
                    ],
                    "events": [
                      {
                        "label": "Security attestation",
                        "value": "Received",
                        "tone": "success"
                      },
                      {
                        "label": "Legal review",
                        "value": "Pending council",
                        "tone": "warning"
                      }
                    ]
                  },
                  "variant": "institutional",
                  "appearance": "card"
                }
              }
            },
            {
              "key": "reviewerContext",
              "definition": {
                "id": "form:user-context-summary",
                "inputs": {
                  "instanceId": "regulated-rollout-reviewer-context",
                  "analyticsId": "dynamic-page.editorial-governance.context",
                  "ariaLabel": "Active review context",
                  "title": "You are reviewing as",
                  "subtitle": "This context is supplied by the authenticated host and remains outside the decision payload.",
                  "appearance": "card",
                  "source": "context",
                  "context": {
                    "identity": {
                      "displayName": "Marina Costa",
                      "role": "Release council member"
                    },
                    "scope": {
                      "organization": "Praxis Europe",
                      "market": "EU regulated operations"
                    }
                  },
                  "fields": [
                    {
                      "label": "Reviewer",
                      "valuePath": "identity.displayName",
                      "fallback": "Authenticated reviewer"
                    },
                    {
                      "label": "Role",
                      "valuePath": "identity.role",
                      "fallback": "Role unavailable"
                    },
                    {
                      "label": "Organization",
                      "valuePath": "scope.organization",
                      "fallback": "Organization unavailable"
                    },
                    {
                      "label": "Decision scope",
                      "valuePath": "scope.market",
                      "fallback": "Scope unavailable"
                    }
                  ],
                  "actionId": "request-context-change",
                  "actionLabel": "Review another scope"
                },
                "outputs": {
                  "actionTriggered": "emit"
                }
              }
            },
            {
              "key": "decisionPolicyNotice",
              "definition": {
                "id": "widget:legal-notice",
                "inputs": {
                  "instanceId": "regulated-rollout-policy-notice",
                  "analyticsId": "dynamic-page.editorial-governance.policy",
                  "ariaLabel": "Decision policy notice",
                  "title": "Decision authority remains outside this briefing",
                  "subtitle": "Read before recording a recommendation",
                  "contentFormat": "plain",
                  "content": "This page explains the current evidence package. It does not grant market access, replace capability checks or persist approval. The authenticated host and backend remain responsible for authorization, policy evaluation, audit and the final command.",
                  "severity": "warning",
                  "appearance": "card",
                  "links": [
                    {
                      "label": "Review governance model",
                      "href": "/docs"
                    },
                    {
                      "label": "Inspect public examples",
                      "href": "/examples"
                    }
                  ]
                }
              }
            },
            {
              "key": "institutionalEvidenceLinks",
              "definition": {
                "id": "widget:footer-links",
                "inputs": {
                  "instanceId": "regulated-rollout-footer",
                  "analyticsId": "dynamic-page.editorial-governance.footer",
                  "ariaLabel": "Institutional evidence links",
                  "brandText": "Praxis Decision Operations",
                  "secondaryText": "Portable editorial context. Governed decisions remain host- and backend-owned.",
                  "layout": "inline",
                  "appearance": "surface",
                  "links": [
                    {
                      "label": "Documentation",
                      "href": "/docs"
                    },
                    {
                      "label": "Dynamic Page examples",
                      "href": "/examples/dynamic-page"
                    },
                    {
                      "label": "Platform overview",
                      "href": "/"
                    }
                  ]
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "expansion-governed-case-dossier",
      "title": "Expansion - governed case dossier",
      "summary": "Organizes decision context, evidence and rationale as stable, lazy panels while preserving host ownership of authorization, policy evaluation and business effects.",
      "i18n": {
        "pt": {
          "title": "Expansion - dossiê governado de caso",
          "summary": "Organiza contexto de decisão, evidências e justificativa em painéis estáveis e lazy, preservando no host a autorização, a avaliação de políticas e os efeitos de negócio.",
          "demonstrates": [
            "Explore Expansion - dossiê governado de caso e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-expansion materializa operations/case-review com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Organiza contexto de decisão, evidências e justificativa em painéis estáveis e lazy, preservando no host a autorização, a avaliação de políticas e os efeitos de negócio.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, praxis-expansion.config, praxis-expansion.stable-panel-identity.",
            "Verifique a conexão com as evidências canônicas Host authorization and decision command boundary e README.md."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/expansion-governed-case-dossier",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/expansion-governed-case-dossier",
      "category": "composition",
      "mode": "local-only",
      "primaryComponent": "praxis-expansion",
      "resourcePath": "operations/case-review",
      "resourceKey": "operations.case-review",
      "requires": [
        "praxis-expansion.config",
        "expansionId",
        "panels.id",
        "panels.content",
        "panels.widgets",
        "panels.actionButtons",
        "widgetEvent"
      ],
      "tags": [
        "expansion",
        "accordion",
        "lazy-content",
        "nested-widgets",
        "governance",
        "case-review",
        "ai-recipe"
      ],
      "demonstrates": [
        "Stable expansionId and panel ids anchor persistence, authoring and panel-aware event paths",
        "Metadata fields in the initial panel make the essential decision context visible by default",
        "Nested Praxis List and Rich Text Block widgets materialize lazily when their panels open",
        "Panel action buttons emit local intent while authorization and business effects remain host-owned",
        "Expansion events and nested widget events remain observable through the Dynamic Page boundary"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "praxis-expansion.config",
        "praxis-expansion.stable-panel-identity",
        "praxis-expansion.lazy-content",
        "praxis-expansion.nested-widgets",
        "praxis-expansion.panel-actions",
        "praxis-expansion.widgetEvent",
        "praxis-list.local-evidence-register",
        "widget:rich-text-block"
      ],
      "backendSurfaces": [
        "Host authorization and decision command boundary",
        "praxis-ui-angular/projects/praxis-expansion/README.md",
        "praxis-ui-angular/projects/praxis-expansion/src/lib/praxis-expansion.ts",
        "praxis-ui-angular/projects/praxis-expansion/src/lib/praxis-expansion.metadata.ts"
      ],
      "complexity": "intermediate",
      "catalogRole": "composition",
      "learningStage": "enterprise",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-expansion-rendered",
          "initial-panel-expanded",
          "nested-list-lazy-rendered",
          "panel-actions-visible"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "The recipe is intentionally local-only so disclosure behavior and nested materialization remain deterministic.",
          "Stable panel ids are part of the runtime contract and must not be replaced by translated titles or array indexes.",
          "Action identifiers express local intent only; a production host must authorize and execute every business effect."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.expansion-governed-case-dossier.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-expansion.json",
        "praxis-ui-angular/projects/praxis-expansion/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/expansion-governed-case-dossier.json",
      "documentation": {
        "story": {
          "pt": "Uma analista de risco precisa revisar um caso denso sem perder a identidade, o responsável e a prioridade que orientam a decisão. Evidências e justificativa precisam permanecer próximas, mas só devem consumir atenção e runtime quando forem solicitadas.",
          "en": "A risk analyst must review a dense case without losing the identity, owner and priority guiding the decision. Evidence and rationale must stay nearby while consuming attention and runtime only when requested."
        },
        "outcome": {
          "pt": "O primeiro painel mantém o contexto essencial aberto; os demais materializam lista e orientação sob demanda. IDs estáveis e eventos enriquecidos preservam rastreabilidade sem transformar o acordeão em dono da aprovação.",
          "en": "The first panel keeps essential context open while the others materialize a list and guidance on demand. Stable ids and enriched events preserve traceability without making the accordion own approval."
        },
        "componentRoles": [
          {
            "component": "praxis-expansion",
            "jsonPath": "page.widgets[governedCaseDossier].definition.inputs.config",
            "role": {
              "pt": "Coordena painéis, identidade, disclosure progressivo e materialização lazy.",
              "en": "Coordinates panels, identity, progressive disclosure and lazy materialization."
            },
            "rationale": {
              "pt": "Mantém partes relacionadas da mesma revisão próximas sem renderizar nem destacar todo o detalhe de uma vez.",
              "en": "Keeps related parts of one review close without rendering or emphasizing every detail at once."
            }
          },
          {
            "component": "praxis-list",
            "jsonPath": "config.panels[evidence-register].widgets[]",
            "role": {
              "pt": "Apresenta o registro de evidências quando a pessoa abre o painel correspondente.",
              "en": "Presents the evidence register when the reviewer opens its panel."
            },
            "rationale": {
              "pt": "Preserva seleção e template de coleção no componente proprietário, em vez de achatar evidências no contrato do Expansion.",
              "en": "Keeps collection selection and templating in the owning component instead of flattening evidence into the Expansion contract."
            }
          },
          {
            "component": "widget:rich-text-block",
            "jsonPath": "config.panels[decision-rationale].widgets[]",
            "role": {
              "pt": "Explica a fronteira entre coordenação visual e decisão de negócio.",
              "en": "Explains the boundary between visual coordination and business decision."
            },
            "rationale": {
              "pt": "Mantém orientação editorial portável e separada da configuração estrutural dos painéis.",
              "en": "Keeps editorial guidance portable and separate from structural panel configuration."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.expansionId",
            "title": {
              "pt": "Identidade persistente",
              "en": "Persistent identity"
            },
            "explanation": {
              "pt": "Define o escopo estável usado por persistência, diagnóstico e autoria; componentInstanceId diferencia repetições na mesma rota.",
              "en": "Defines the stable scope used by persistence, diagnostics and authoring; componentInstanceId disambiguates repetitions on one route."
            }
          },
          {
            "jsonPath": "definition.inputs.config.accordion",
            "title": {
              "pt": "Política de disclosure",
              "en": "Disclosure policy"
            },
            "explanation": {
              "pt": "Declara multiabertura, posição do toggle e identidade do grupo sem codificar comportamento no template host.",
              "en": "Declares multi-open behavior, toggle position and group identity without coding behavior in the host template."
            }
          },
          {
            "jsonPath": "definition.inputs.config.panels[].id",
            "title": {
              "pt": "Âncoras semânticas",
              "en": "Semantic anchors"
            },
            "explanation": {
              "pt": "IDs estáveis sustentam DOM, eventos, caminhos de widgets aninhados e futuras edições; títulos traduzidos não assumem essa função.",
              "en": "Stable ids support DOM, events, nested widget paths and future edits; translated titles do not take that role."
            }
          },
          {
            "jsonPath": "definition.inputs.config.panels[].content",
            "title": {
              "pt": "Campos do contexto essencial",
              "en": "Essential context fields"
            },
            "explanation": {
              "pt": "Campos metadata-driven ficam no painel inicial para tornar identidade, responsável e prioridade imediatamente legíveis.",
              "en": "Metadata-driven fields stay in the initial panel so identity, owner and priority are immediately readable."
            }
          },
          {
            "jsonPath": "definition.inputs.config.panels[].widgets",
            "title": {
              "pt": "Composição lazy",
              "en": "Lazy composition"
            },
            "explanation": {
              "pt": "List e Rich Text Block continuam com contratos próprios e só são instanciados quando o respectivo painel abre.",
              "en": "List and Rich Text Block keep their own contracts and instantiate only when their panel opens."
            }
          },
          {
            "jsonPath": "definition.outputs.widgetEvent",
            "title": {
              "pt": "Proveniência dos eventos",
              "en": "Event provenance"
            },
            "explanation": {
              "pt": "Eventos dos widgets filhos atravessam o container com caminho enriquecido por expansionId e panelId.",
              "en": "Nested widget events cross the container with a path enriched by expansionId and panelId."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Abra o painel de evidências e confirme que a lista só aparece depois da expansão; feche-o e compare a densidade da página.",
            "en": "Open the evidence panel and confirm the list appears only after expansion; close it and compare page density."
          },
          {
            "pt": "Troque accordion.multi para false e teste como a política de foco altera a revisão sem mudar nenhum widget interno.",
            "en": "Set accordion.multi to false and test how focus policy changes the review without changing any nested widget."
          },
          {
            "pt": "Mude qual painel começa com expanded: true e avalie se o novo estado inicial ainda apresenta o contexto mais importante.",
            "en": "Change which panel starts with expanded: true and assess whether the new initial state still presents the most important context."
          }
        ],
        "productionNotes": [
          {
            "pt": "expansionId e panels[].id devem ser estáveis; não derive identidade de título, tradução ou índice quando houver persistência e autoria.",
            "en": "expansionId and panels[].id must remain stable; do not derive identity from title, translation or index when persistence and authoring exist."
          },
          {
            "pt": "actionButtons emitem intenção local. Autorização, regras, efeitos, auditoria e persistência da decisão pertencem ao host e ao backend.",
            "en": "actionButtons emit local intent. Authorization, rules, effects, auditing and decision persistence belong to the host and backend."
          },
          {
            "pt": "Widgets aninhados dependem do registry e dos providers do host; conteúdo lazy reduz custo inicial, mas não elimina responsabilidades de integração.",
            "en": "Nested widgets depend on the host registry and providers; lazy content reduces initial cost but does not remove integration responsibilities."
          }
        ]
      },
      "envelope": {
        "id": "expansion-governed-case-dossier",
        "title": "Expansion - governed case dossier",
        "summary": "Organizes decision context, evidence and rationale as stable, lazy panels while preserving host ownership of authorization, policy evaluation and business effects.",
        "component": "praxis-dynamic-page",
        "category": "composition",
        "primaryComponent": "praxis-expansion",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/expansion"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/case-review",
          "resourceKey": "operations.case-review"
        },
        "requires": [
          "praxis-expansion.config",
          "expansionId",
          "panels.id",
          "panels.content",
          "panels.widgets",
          "panels.actionButtons",
          "widgetEvent"
        ],
        "tags": [
          "expansion",
          "accordion",
          "lazy-content",
          "nested-widgets",
          "governance",
          "case-review",
          "ai-recipe"
        ],
        "demonstrates": [
          "Stable expansionId and panel ids anchor persistence, authoring and panel-aware event paths",
          "Metadata fields in the initial panel make the essential decision context visible by default",
          "Nested Praxis List and Rich Text Block widgets materialize lazily when their panels open",
          "Panel action buttons emit local intent while authorization and business effects remain host-owned",
          "Expansion events and nested widget events remain observable through the Dynamic Page boundary"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "praxis-expansion.config",
          "praxis-expansion.stable-panel-identity",
          "praxis-expansion.lazy-content",
          "praxis-expansion.nested-widgets",
          "praxis-expansion.panel-actions",
          "praxis-expansion.widgetEvent",
          "praxis-list.local-evidence-register",
          "widget:rich-text-block"
        ],
        "backendSurfaces": [
          "Host authorization and decision command boundary",
          "praxis-ui-angular/projects/praxis-expansion/README.md",
          "praxis-ui-angular/projects/praxis-expansion/src/lib/praxis-expansion.ts",
          "praxis-ui-angular/projects/praxis-expansion/src/lib/praxis-expansion.metadata.ts"
        ],
        "complexity": "intermediate",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-expansion-rendered",
            "initial-panel-expanded",
            "nested-list-lazy-rendered",
            "panel-actions-visible"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "The recipe is intentionally local-only so disclosure behavior and nested materialization remain deterministic.",
            "Stable panel ids are part of the runtime contract and must not be replaced by translated titles or array indexes.",
            "Action identifiers express local intent only; a production host must authorize and execute every business effect."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.expansion-governed-case-dossier.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-expansion.json",
          "praxis-ui-angular/projects/praxis-expansion/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "governedCaseDossier",
              "shell": {
                "kind": "dashboard-card",
                "icon": "fact_check",
                "title": "Governed case dossier",
                "subtitle": "Progressive context, lazy evidence and panel-aware actions"
              },
              "definition": {
                "id": "praxis-expansion",
                "bindingOrder": [
                  "expansionId",
                  "componentInstanceId",
                  "config",
                  "context"
                ],
                "inputs": {
                  "expansionId": "governed-case-dossier",
                  "componentInstanceId": "dynamic-page-showcase",
                  "enableCustomization": false,
                  "strictValidation": true,
                  "context": {
                    "caseId": "CASE-2026-0842",
                    "resourceKey": "operations.case-review",
                    "reviewStage": "human-approval"
                  },
                  "config": {
                    "appearance": {
                      "density": "comfortable",
                      "container": {
                        "panelGap": "12px"
                      },
                      "header": {
                        "titleWeight": "700",
                        "descriptionWeight": "500"
                      }
                    },
                    "accordion": {
                      "id": "case-review-sections",
                      "multi": true,
                      "displayMode": "default",
                      "togglePosition": "after",
                      "hideToggle": false
                    },
                    "panels": [
                      {
                        "id": "case-context",
                        "title": "Decision context",
                        "description": "Identity, ownership and review priority",
                        "icon": "assignment",
                        "expanded": true,
                        "content": [
                          {
                            "name": "caseReference",
                            "label": "Case reference",
                            "controlType": "input",
                            "defaultValue": "CASE-2026-0842",
                            "prefixIcon": "tag",
                            "hint": "Stable domain identity remains owned by the host."
                          },
                          {
                            "name": "reviewOwner",
                            "label": "Review owner",
                            "controlType": "input",
                            "defaultValue": "Enterprise Risk Office",
                            "prefixIcon": "group"
                          },
                          {
                            "name": "priority",
                            "label": "Priority",
                            "controlType": "select",
                            "defaultValue": "high",
                            "options": [
                              {
                                "text": "Standard",
                                "value": "standard"
                              },
                              {
                                "text": "High",
                                "value": "high"
                              },
                              {
                                "text": "Critical",
                                "value": "critical"
                              }
                            ]
                          }
                        ],
                        "actionButtons": [
                          {
                            "label": "Acknowledge context",
                            "icon": "visibility",
                            "action": "acknowledge-case-context"
                          }
                        ]
                      },
                      {
                        "id": "evidence-register",
                        "title": "Evidence register",
                        "description": "Materialized only when the reviewer requests detail",
                        "icon": "inventory_2",
                        "widgets": [
                          {
                            "id": "praxis-list",
                            "inputs": {
                              "listId": "case-evidence-register",
                              "config": {
                                "dataSource": {
                                  "data": [
                                    {
                                      "id": 1,
                                      "title": "Identity verification",
                                      "owner": "People Operations",
                                      "status": "Verified",
                                      "risk": "Low"
                                    },
                                    {
                                      "id": 2,
                                      "title": "Access review",
                                      "owner": "Security",
                                      "status": "Pending",
                                      "risk": "High"
                                    },
                                    {
                                      "id": 3,
                                      "title": "Manager attestation",
                                      "owner": "Business Unit",
                                      "status": "Received",
                                      "risk": "Medium"
                                    }
                                  ]
                                },
                                "selection": {
                                  "mode": "single",
                                  "compareBy": "id",
                                  "return": "id"
                                },
                                "templating": {
                                  "leading": {
                                    "type": "icon",
                                    "expr": "description"
                                  },
                                  "primary": {
                                    "type": "text",
                                    "expr": "${item.title}"
                                  },
                                  "secondary": {
                                    "type": "text",
                                    "expr": "${item.owner}"
                                  },
                                  "meta": {
                                    "type": "chip",
                                    "expr": "${item.risk}",
                                    "variant": "outlined"
                                  },
                                  "trailing": {
                                    "type": "chip",
                                    "expr": "${item.status}",
                                    "variant": "filled"
                                  }
                                }
                              }
                            },
                            "outputs": {
                              "itemClick": "emit",
                              "selectionChange": "emit"
                            }
                          }
                        ],
                        "actionButtons": [
                          {
                            "label": "Request evidence",
                            "icon": "add_task",
                            "action": "request-case-evidence"
                          }
                        ]
                      },
                      {
                        "id": "decision-rationale",
                        "title": "Decision rationale",
                        "description": "Governance boundary and host-owned outcome",
                        "icon": "gavel",
                        "widgets": [
                          {
                            "id": "widget:rich-text-block",
                            "inputs": {
                              "title": "The panel coordinates context; it does not decide",
                              "content": "Praxis Expansion preserves progressive disclosure, stable identity and event provenance. Authorization, policy evaluation and durable approval remain explicit responsibilities of the host and backend.",
                              "variant": "emphasis"
                            }
                          }
                        ],
                        "actionButtons": [
                          {
                            "label": "Submit for approval",
                            "icon": "send",
                            "action": "submit-case-for-approval"
                          }
                        ]
                      }
                    ]
                  }
                },
                "outputs": {
                  "opened": "emit",
                  "closed": "emit",
                  "expandedChange": "emit",
                  "afterExpand": "emit",
                  "afterCollapse": "emit",
                  "widgetEvent": "emit"
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "approval-audit-workbench",
      "title": "Approval - audit workbench",
      "summary": "Models audit signals, compliance context and remediation actions as a governed rich-content workbench.",
      "i18n": {
        "pt": {
          "title": "Aprovação - bancada de auditoria",
          "summary": "Modela sinais de auditoria, contexto de compliance e ações de correção em uma superfície governada.",
          "demonstrates": [
            "Explore Aprovação - bancada de auditoria e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/approval-audit-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Modela sinais de auditoria, contexto de compliance e ações de correção em uma superfície governada.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.approval-audit-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/approval-audit-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/approval-audit-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/approval-audit-workbench",
      "resourceKey": "operations.approval-audit-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "approval",
        "audit",
        "compliance",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Approval compliance metrics authored as statGroup instead of host dashboard cards",
        "Selected audit case authored as lookupCard instead of host-authored evidence wrappers",
        "Compliance owner context authored as relatedRecord instead of custom relationship markup",
        "Portable audit evidence organized in tabs within the same RichContentDocument",
        "Governed audit actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-audit-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "approval-decision-workbenches",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "approval-audit-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the approval audit workbench demonstrates a portable rich-content contract, not a backend audit endpoint.",
          "The same approval audit surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-audit-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/approval-audit-workbench.json",
      "documentation": {
        "story": {
          "pt": "Modela sinais de auditoria, contexto de compliance e ações de correção em uma superfície governada. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Models audit signals, compliance context and remediation actions as a governed rich-content workbench. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Aprovação - bancada de auditoria” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Approval - audit workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Aprovação - bancada de auditoria”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Approval - audit workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-audit-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-audit-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "approval-audit-workbench",
        "title": "Approval - audit workbench",
        "summary": "Models audit signals, compliance context and remediation actions as a governed rich-content workbench.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/approval-audit-workbench",
          "resourceKey": "operations.approval-audit-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "approval",
          "audit",
          "compliance",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Approval compliance metrics authored as statGroup instead of host dashboard cards",
          "Selected audit case authored as lookupCard instead of host-authored evidence wrappers",
          "Compliance owner context authored as relatedRecord instead of custom relationship markup",
          "Portable audit evidence organized in tabs within the same RichContentDocument",
          "Governed audit actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-audit-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "approval-audit-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the approval audit workbench demonstrates a portable rich-content contract, not a backend audit endpoint.",
            "The same approval audit surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-audit-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "approvalAuditWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "policy",
                "title": "Approval audit workbench",
                "subtitle": "Portable rich-content surface for governed approval audit flows"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "approval-audit-workbench",
                  "context": {
                    "audit": {
                      "caseId": "AUD-771",
                      "title": "Expense delegation exception",
                      "status": "Packet under review",
                      "exceptions": "4",
                      "sla": "6h",
                      "severity": "Critical",
                      "controlFamily": "Delegation of authority",
                      "submitter": "Livia Costa"
                    },
                    "owner": {
                      "name": "Priya Nunes",
                      "department": "Internal controls"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "warning",
                        "icon": "policy",
                        "titleExpr": "${audit.title}",
                        "message": "Use a portable approval audit surface when the host must expose governed compliance and remediation actions without inventing approval-specific templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Audit signals",
                        "subtitle": "Canonical KPI block for approval audit surfaces",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Exceptions",
                            "valueExpr": "${audit.exceptions}",
                            "captionExpr": "${audit.caseId}",
                            "icon": "gpp_maybe"
                          },
                          {
                            "label": "SLA",
                            "valueExpr": "${audit.sla}",
                            "captionExpr": "${audit.status}",
                            "icon": "schedule"
                          },
                          {
                            "label": "Severity",
                            "valueExpr": "${audit.severity}",
                            "captionExpr": "${audit.controlFamily}",
                            "icon": "priority_high"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected audit case",
                        "status": "resolved",
                        "subtitleExpr": "${audit.caseId}",
                        "metaExpr": "${audit.title}",
                        "ctaLabel": "Open case",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "approval.audit.case.open",
                          "payloadExpr": "${audit}"
                        },
                        "fields": [
                          {
                            "label": "Control family",
                            "valueExpr": "${audit.controlFamily}"
                          },
                          {
                            "label": "Severity",
                            "valueExpr": "${audit.severity}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open evidence packet",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.audit.packet.open",
                              "payloadExpr": "${audit}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Audit views",
                        "subtitle": "Portable editorial tabs for evidence and policy context.",
                        "appearance": "underline",
                        "defaultTabId": "evidence",
                        "items": [
                          {
                            "id": "evidence",
                            "label": "Evidence",
                            "icon": "inventory_2",
                            "content": [
                              {
                                "type": "text",
                                "text": "Tabs keep audit evidence, policy notes and remediation criteria inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "policy",
                            "label": "Policy",
                            "icon": "policy",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Submitter",
                                    "valueExpr": "${audit.submitter}"
                                  },
                                  {
                                    "label": "Control family",
                                    "valueExpr": "${audit.controlFamily}"
                                  },
                                  {
                                    "label": "Remediation rule",
                                    "value": "Lock the packet and route to compliance whenever the policy owner is unresolved."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Compliance owner",
                        "subtitleExpr": "${owner.name}",
                        "relationLabel": "Audit lead",
                        "metaExpr": "${owner.department}",
                        "ctaLabel": "Open owner",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "approval.audit.owner.open",
                          "payloadExpr": "${owner}"
                        },
                        "fields": [
                          {
                            "label": "Control area",
                            "value": "Finance / delegation",
                            "hint": "Resolved from the current audit assignment context."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Assign reviewer",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.audit.owner.assignReviewer",
                              "payloadExpr": "${audit}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Audit actions",
                        "subtitle": "Governed audit and remediation outcomes",
                        "message": "Use semantic audit actions instead of host-authored compliance button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Lock packet",
                            "icon": "lock",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "approval.audit.packet.lock",
                              "payloadExpr": "${audit}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request remediation",
                            "icon": "assignment_late",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.audit.remediation.request",
                              "payloadExpr": "${audit}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Escalate compliance review",
                        "subtitleExpr": "${audit.caseId}",
                        "message": "Use actionCard when the approval host needs a governed audit escalation flow.",
                        "metaExpr": "${audit.status}",
                        "ctaLabel": "Escalate audit",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "approval.audit.escalate",
                          "payloadExpr": "${audit}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open evidence packet",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.audit.packet.open",
                              "payloadExpr": "${audit}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "approval-decision-workbench",
      "title": "Approval - decision workbench",
      "summary": "Models an approval decision workspace with portable blocks, KPIs and governed actions without a dedicated approval template.",
      "i18n": {
        "pt": {
          "title": "Aprovação - bancada de decisão",
          "summary": "Modela decisão de aprovação com blocos portáveis, KPIs e ações governadas sem template dedicado.",
          "demonstrates": [
            "Explore Aprovação - bancada de decisão e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/approval-decision-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Modela decisão de aprovação com blocos portáveis, KPIs e ações governadas sem template dedicado.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.tabs.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.approval-decision-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/approval-decision-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/approval-decision-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/approval-decision-workbench",
      "resourceKey": "operations.approval-decision-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "approval",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Approval KPIs authored as statGroup instead of host KPI cards",
        "Assigned approver context authored as relatedRecord instead of lookup wrapper markup",
        "Decision actions clustered in ctaGroup and actionCard with host-mediated execution",
        "Portable approval rationale organized in tabs within the same RichContentDocument"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-decision-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "approval-decision-workbenches",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "approval-decision-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the approval workbench demonstrates a portable rich-content contract, not a backend approval endpoint.",
          "The same approval surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-decision-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/approval-decision-workbench.json",
      "documentation": {
        "story": {
          "pt": "Modela decisão de aprovação com blocos portáveis, KPIs e ações governadas sem template dedicado. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Models an approval decision workspace with portable blocks, KPIs and governed actions without a dedicated approval template. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Aprovação - bancada de decisão” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Approval - decision workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Aprovação - bancada de decisão”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Approval - decision workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-decision-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-decision-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "approval-decision-workbench",
        "title": "Approval - decision workbench",
        "summary": "Models an approval decision workspace with portable blocks, KPIs and governed actions without a dedicated approval template.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/approval-decision-workbench",
          "resourceKey": "operations.approval-decision-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "approval",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Approval KPIs authored as statGroup instead of host KPI cards",
          "Assigned approver context authored as relatedRecord instead of lookup wrapper markup",
          "Decision actions clustered in ctaGroup and actionCard with host-mediated execution",
          "Portable approval rationale organized in tabs within the same RichContentDocument"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-decision-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "approval-decision-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the approval workbench demonstrates a portable rich-content contract, not a backend approval endpoint.",
            "The same approval surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-decision-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "approvalDecisionWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "approval",
                "title": "Approval decision workbench",
                "subtitle": "Portable rich-content surface for governed approval flows"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "approval-decision-workbench",
                  "context": {
                    "approval": {
                      "requestId": "APR-2048",
                      "title": "Payroll reconciliation package",
                      "status": "Needs review",
                      "amount": "$182.5k",
                      "sla": "18h",
                      "lane": "Finance / P0",
                      "risk": "High",
                      "submitter": "Ayla Hayes"
                    },
                    "approver": {
                      "name": "Mira Drax",
                      "department": "Finance Governance"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "warning",
                        "icon": "gavel",
                        "titleExpr": "${approval.title}",
                        "message": "Use a portable approval surface when the host must expose governed decision actions without inventing approval-specific templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Approval signals",
                        "subtitle": "Canonical KPI block for the decision workbench",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Amount",
                            "valueExpr": "${approval.amount}",
                            "captionExpr": "${approval.requestId}",
                            "icon": "payments"
                          },
                          {
                            "label": "SLA",
                            "valueExpr": "${approval.sla}",
                            "captionExpr": "${approval.status}",
                            "icon": "schedule"
                          },
                          {
                            "label": "Risk",
                            "valueExpr": "${approval.risk}",
                            "captionExpr": "${approval.lane}",
                            "icon": "priority_high"
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Approval views",
                        "subtitle": "Portable editorial tabs for approval context and rationale.",
                        "appearance": "underline",
                        "defaultTabId": "summary",
                        "items": [
                          {
                            "id": "summary",
                            "label": "Summary",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Tabs keep approval rationale and operational notes inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "rationale",
                            "label": "Rationale",
                            "icon": "rule",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Submitter",
                                    "valueExpr": "${approval.submitter}"
                                  },
                                  {
                                    "label": "Approval lane",
                                    "valueExpr": "${approval.lane}"
                                  },
                                  {
                                    "label": "Portability rule",
                                    "value": "Keep domain semantics in the rich-content document; keep execution in the host."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Assigned approver",
                        "subtitleExpr": "${approver.name}",
                        "relationLabel": "Current owner",
                        "metaExpr": "${approver.department}",
                        "ctaLabel": "Open approver",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "approval.owner.open",
                          "payloadExpr": "${approver}"
                        },
                        "fields": [
                          {
                            "label": "Approval lane",
                            "valueExpr": "${approval.lane}",
                            "hint": "Resolved from the current approval assignment context."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Reassign",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.owner.reassign",
                              "payloadExpr": "${approval}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Decision",
                        "subtitle": "Governed approval outcomes",
                        "message": "Use semantic decision actions instead of host-authored approval button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Approve",
                            "icon": "check_circle",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "approval.decision.approve",
                              "payloadExpr": "${approval}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request changes",
                            "icon": "edit_note",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.decision.requestChanges",
                              "payloadExpr": "${approval}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Inspect approval package",
                        "subtitleExpr": "${approval.requestId}",
                        "message": "Use actionCard when the approval host needs a governed deep-inspection flow.",
                        "metaExpr": "${approval.status}",
                        "ctaLabel": "Inspect package",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "approval.package.inspect",
                          "payloadExpr": "${approval}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Escalate",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.package.escalate",
                              "payloadExpr": "${approval}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "approval-delegation-exception-workbench",
      "title": "Approval - delegation exception workbench",
      "summary": "Models delegation exceptions and substitute coverage with governed actions, avoiding a one-off exception handling page.",
      "i18n": {
        "pt": {
          "title": "Aprovação - exceção de delegação",
          "summary": "Modela exceções de delegação e cobertura de substitutos sem criar uma página única para esse caso.",
          "demonstrates": [
            "Explore Aprovação - exceção de delegação e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/approval-delegation-exception-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Modela exceções de delegação e cobertura de substitutos sem criar uma página única para esse caso.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.approval-delegation-exception-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/approval-delegation-exception-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/approval-delegation-exception-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/approval-delegation-exception-workbench",
      "resourceKey": "operations.approval-delegation-exception-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "approval",
        "delegation",
        "exception",
        "substitute-approver",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Approval delegation metrics authored as statGroup instead of host dashboard cards",
        "Selected exception authored as lookupCard instead of host-authored exception wrappers",
        "Substitute approver context authored as relatedRecord instead of custom delegate markup",
        "Portable policy and audit context organized in tabs within the same RichContentDocument",
        "Governed delegation actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-delegation-exception-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "approval-decision-workbenches",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "approval-delegation-exception-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the approval delegation exception workbench demonstrates a portable rich-content contract, not a backend delegation endpoint.",
          "The same approval delegation exception surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-delegation-exception-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/approval-delegation-exception-workbench.json",
      "documentation": {
        "story": {
          "pt": "Modela exceções de delegação e cobertura de substitutos sem criar uma página única para esse caso. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Models delegation exceptions and substitute coverage with governed actions, avoiding a one-off exception handling page. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Aprovação - exceção de delegação” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Approval - delegation exception workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Aprovação - exceção de delegação”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Approval - delegation exception workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-delegation-exception-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-delegation-exception-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "approval-delegation-exception-workbench",
        "title": "Approval - delegation exception workbench",
        "summary": "Models delegation exceptions and substitute coverage with governed actions, avoiding a one-off exception handling page.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/approval-delegation-exception-workbench",
          "resourceKey": "operations.approval-delegation-exception-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "approval",
          "delegation",
          "exception",
          "substitute-approver",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Approval delegation metrics authored as statGroup instead of host dashboard cards",
          "Selected exception authored as lookupCard instead of host-authored exception wrappers",
          "Substitute approver context authored as relatedRecord instead of custom delegate markup",
          "Portable policy and audit context organized in tabs within the same RichContentDocument",
          "Governed delegation actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-delegation-exception-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "approval-delegation-exception-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the approval delegation exception workbench demonstrates a portable rich-content contract, not a backend delegation endpoint.",
            "The same approval delegation exception surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-delegation-exception-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "approvalDelegationExceptionWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "rule",
                "title": "Approval delegation exception workbench",
                "subtitle": "Portable rich-content surface for substitute approval coverage"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "approval-delegation-exception-workbench",
                  "context": {
                    "exception": {
                      "id": "EXC-418",
                      "title": "Unavailable approver coverage",
                      "state": "Delegate nomination pending",
                      "blockedApprovals": "7",
                      "coverageGaps": "3",
                      "agingRisk": "High",
                      "lane": "Procurement approval / substitute required",
                      "threshold": "48h",
                      "requester": "Amanda Rocha"
                    },
                    "delegate": {
                      "name": "Marina Lopes",
                      "department": "Procurement governance",
                      "scope": "Procurement contracts up to BRL 250k"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "warning",
                        "icon": "rule",
                        "titleExpr": "${exception.title}",
                        "message": "Use a portable approval delegation exception surface when the host must expose substitute coverage and governed approval continuity actions without inventing approval-specific templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Delegation signals",
                        "subtitle": "Canonical KPI block for approval exception coverage surfaces",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Blocked approvals",
                            "valueExpr": "${exception.blockedApprovals}",
                            "captionExpr": "${exception.state}",
                            "icon": "block"
                          },
                          {
                            "label": "Coverage gaps",
                            "valueExpr": "${exception.coverageGaps}",
                            "caption": "Policy exceptions",
                            "icon": "rule"
                          },
                          {
                            "label": "Aging risk",
                            "valueExpr": "${exception.agingRisk}",
                            "captionExpr": "${exception.threshold}",
                            "icon": "priority_high"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected exception",
                        "status": "resolved",
                        "subtitleExpr": "${exception.id}",
                        "metaExpr": "${exception.title}",
                        "ctaLabel": "Open exception",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "approval.delegation.exception.open",
                          "payloadExpr": "${exception}"
                        },
                        "fields": [
                          {
                            "label": "Policy lane",
                            "valueExpr": "${exception.lane}"
                          },
                          {
                            "label": "Exception state",
                            "valueExpr": "${exception.state}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open exception packet",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.delegation.packet.open",
                              "payloadExpr": "${exception}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Exception views",
                        "subtitle": "Portable editorial tabs for delegation rationale, policy and audit context.",
                        "appearance": "underline",
                        "defaultTabId": "coverage",
                        "items": [
                          {
                            "id": "coverage",
                            "label": "Coverage",
                            "icon": "groups",
                            "content": [
                              {
                                "type": "text",
                                "text": "Keep substitute coverage rationale, approver availability and delegation notes inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "policy",
                            "label": "Policy",
                            "icon": "policy",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Requester",
                                    "valueExpr": "${exception.requester}"
                                  },
                                  {
                                    "label": "Delegation rule",
                                    "value": "Require a qualified substitute when the primary approver is unavailable and the request age crosses the policy threshold."
                                  },
                                  {
                                    "label": "Audit source",
                                    "value": "Delegation matrix, approval event history and exception justification."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Proposed delegate",
                        "relationLabel": "Substitute approver",
                        "subtitleExpr": "${delegate.name}",
                        "metaExpr": "${delegate.department}",
                        "ctaLabel": "Open delegate",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "approval.delegation.delegate.open",
                          "payloadExpr": "${delegate}"
                        },
                        "fields": [
                          {
                            "label": "Delegation scope",
                            "valueExpr": "${delegate.scope}",
                            "hint": "Resolved from the approval delegation matrix."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Review delegate fit",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.delegation.delegate.reviewFit",
                              "payloadExpr": "${delegate}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Delegation actions",
                        "subtitle": "Governed approval exception outcomes",
                        "message": "Use semantic delegation actions instead of host-authored exception button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Approve delegation",
                            "icon": "task_alt",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "approval.delegation.approve",
                              "payloadExpr": "${exception}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request alternate delegate",
                            "icon": "sync",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.delegation.requestAlternate",
                              "payloadExpr": "${exception}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Escalate delegation exception",
                        "subtitleExpr": "${exception.id}",
                        "message": "Use actionCard when the approval host needs a governed escalation for unresolved delegation coverage gaps.",
                        "metaExpr": "${exception.state}",
                        "ctaLabel": "Escalate exception",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "approval.delegation.exception.escalate",
                          "payloadExpr": "${exception}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open exception packet",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.delegation.packet.open",
                              "payloadExpr": "${exception}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "approval-review-workbench",
      "title": "Approval - review workbench",
      "summary": "Models approval queue review with selected context and escalation actions as rich-content configuration rather than a custom review screen.",
      "i18n": {
        "pt": {
          "title": "Aprovação - bancada de revisão",
          "summary": "Modela revisão de fila de aprovação com contexto selecionado e ações de escalonamento por configuração.",
          "demonstrates": [
            "Explore Aprovação - bancada de revisão e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/approval-review-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Modela revisão de fila de aprovação com contexto selecionado e ações de escalonamento por configuração.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.approval-review-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/approval-review-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/approval-review-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/approval-review-workbench",
      "resourceKey": "operations.approval-review-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "approval",
        "review",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Approval review queue metrics authored as statGroup instead of host dashboard cards",
        "Selected approval request authored as lookupCard instead of host-authored review wrappers",
        "Escalation owner context authored as relatedRecord instead of custom relationship markup",
        "Portable review evidence organized in tabs within the same RichContentDocument",
        "Governed review actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-review-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "approval-decision-workbenches",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "approval-review-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the approval review workbench demonstrates a portable rich-content contract, not a backend review endpoint.",
          "The same approval review surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-review-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/approval-review-workbench.json",
      "documentation": {
        "story": {
          "pt": "Modela revisão de fila de aprovação com contexto selecionado e ações de escalonamento por configuração. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Models approval queue review with selected context and escalation actions as rich-content configuration rather than a custom review screen. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Aprovação - bancada de revisão” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Approval - review workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Aprovação - bancada de revisão”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Approval - review workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-review-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-review-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "approval-review-workbench",
        "title": "Approval - review workbench",
        "summary": "Models approval queue review with selected context and escalation actions as rich-content configuration rather than a custom review screen.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/approval-review-workbench",
          "resourceKey": "operations.approval-review-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "approval",
          "review",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Approval review queue metrics authored as statGroup instead of host dashboard cards",
          "Selected approval request authored as lookupCard instead of host-authored review wrappers",
          "Escalation owner context authored as relatedRecord instead of custom relationship markup",
          "Portable review evidence organized in tabs within the same RichContentDocument",
          "Governed review actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-review-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "approval-review-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the approval review workbench demonstrates a portable rich-content contract, not a backend review endpoint.",
            "The same approval review surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-review-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "approvalReviewWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "fact_check",
                "title": "Approval review workbench",
                "subtitle": "Portable rich-content surface for governed approval review flows"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "approval-review-workbench",
                  "context": {
                    "review": {
                      "requestId": "APR-4096",
                      "title": "Vendor onboarding policy exception",
                      "status": "Escalation candidate",
                      "pending": "12",
                      "escalations": "3",
                      "risk": "High",
                      "portfolio": "Vendor operations",
                      "reviewWindow": "4h",
                      "submitter": "Noemi Vega"
                    },
                    "owner": {
                      "name": "Noah Hart",
                      "department": "Operations governance"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "warning",
                        "icon": "fact_check",
                        "titleExpr": "${review.title}",
                        "message": "Use a portable approval review surface when the host must expose governed queue review and escalation actions without inventing approval-specific templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Review signals",
                        "subtitle": "Canonical KPI block for approval review surfaces",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Pending",
                            "valueExpr": "${review.pending}",
                            "captionExpr": "${review.requestId}",
                            "icon": "pending_actions"
                          },
                          {
                            "label": "Escalations",
                            "valueExpr": "${review.escalations}",
                            "captionExpr": "${review.status}",
                            "icon": "warning"
                          },
                          {
                            "label": "Review window",
                            "valueExpr": "${review.reviewWindow}",
                            "captionExpr": "${review.risk}",
                            "icon": "schedule"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected request",
                        "status": "resolved",
                        "subtitleExpr": "${review.requestId}",
                        "metaExpr": "${review.title}",
                        "ctaLabel": "Open request",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "approval.review.open",
                          "payloadExpr": "${review}"
                        },
                        "fields": [
                          {
                            "label": "Portfolio",
                            "valueExpr": "${review.portfolio}"
                          },
                          {
                            "label": "Risk",
                            "valueExpr": "${review.risk}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.review.dossier.open",
                              "payloadExpr": "${review}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Review views",
                        "subtitle": "Portable editorial tabs for approval review context.",
                        "appearance": "underline",
                        "defaultTabId": "summary",
                        "items": [
                          {
                            "id": "summary",
                            "label": "Summary",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Tabs keep approval review rationale, evidence notes and escalation criteria inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "evidence",
                            "label": "Evidence",
                            "icon": "inventory_2",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Submitter",
                                    "valueExpr": "${review.submitter}"
                                  },
                                  {
                                    "label": "Portfolio",
                                    "valueExpr": "${review.portfolio}"
                                  },
                                  {
                                    "label": "Escalation rule",
                                    "value": "Escalate requests above the policy threshold or unresolved compliance exceptions."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Escalation owner",
                        "subtitleExpr": "${owner.name}",
                        "relationLabel": "Review lead",
                        "metaExpr": "${owner.department}",
                        "ctaLabel": "Open owner",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "approval.review.owner.open",
                          "payloadExpr": "${owner}"
                        },
                        "fields": [
                          {
                            "label": "Coverage",
                            "value": "Vendor onboarding / P1",
                            "hint": "Resolved from the current review assignment context."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Reassign",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.review.owner.reassign",
                              "payloadExpr": "${review}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Review actions",
                        "subtitle": "Governed approval review outcomes",
                        "message": "Use semantic review actions instead of host-authored approval queue button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Approve review",
                            "icon": "check_circle",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "approval.review.approve",
                              "payloadExpr": "${review}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request evidence",
                            "icon": "fact_check",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.review.requestEvidence",
                              "payloadExpr": "${review}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Escalate approval case",
                        "subtitleExpr": "${review.requestId}",
                        "message": "Use actionCard when the approval host needs a governed escalation flow.",
                        "metaExpr": "${review.status}",
                        "ctaLabel": "Escalate case",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "approval.review.escalate",
                          "payloadExpr": "${review}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.review.dossier.open",
                              "payloadExpr": "${review}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "approval-sla-triage-workbench",
      "title": "Approval - SLA triage workbench",
      "summary": "Models SLA breach triage with queue signals and governed decisions while keeping the experience portable across hosts.",
      "i18n": {
        "pt": {
          "title": "Aprovação - triagem de SLA",
          "summary": "Modela triagem de SLA com sinais de fila e decisões governadas em uma experiência portável.",
          "demonstrates": [
            "Explore Aprovação - triagem de SLA e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/approval-sla-triage-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Modela triagem de SLA com sinais de fila e decisões governadas em uma experiência portável.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.approval-sla-triage-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/approval-sla-triage-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/approval-sla-triage-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/approval-sla-triage-workbench",
      "resourceKey": "operations.approval-sla-triage-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "approval",
        "sla",
        "triage",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Approval SLA metrics authored as statGroup instead of host dashboard cards",
        "Selected queue case authored as lookupCard instead of host-authored queue wrappers",
        "Queue owner context authored as relatedRecord instead of custom relationship markup",
        "Portable SLA policy context organized in tabs within the same RichContentDocument",
        "Governed triage actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-sla-triage-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "approval-decision-workbenches",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "approval-sla-triage-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the approval SLA triage workbench demonstrates a portable rich-content contract, not a backend SLA endpoint.",
          "The same approval SLA triage surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-sla-triage-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/approval-sla-triage-workbench.json",
      "documentation": {
        "story": {
          "pt": "Modela triagem de SLA com sinais de fila e decisões governadas em uma experiência portável. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Models SLA breach triage with queue signals and governed decisions while keeping the experience portable across hosts. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Aprovação - triagem de SLA” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Approval - SLA triage workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Aprovação - triagem de SLA”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Approval - SLA triage workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-sla-triage-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-sla-triage-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "approval-sla-triage-workbench",
        "title": "Approval - SLA triage workbench",
        "summary": "Models SLA breach triage with queue signals and governed decisions while keeping the experience portable across hosts.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/approval-sla-triage-workbench",
          "resourceKey": "operations.approval-sla-triage-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "approval",
          "sla",
          "triage",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Approval SLA metrics authored as statGroup instead of host dashboard cards",
          "Selected queue case authored as lookupCard instead of host-authored queue wrappers",
          "Queue owner context authored as relatedRecord instead of custom relationship markup",
          "Portable SLA policy context organized in tabs within the same RichContentDocument",
          "Governed triage actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-sla-triage-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "approval-sla-triage-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the approval SLA triage workbench demonstrates a portable rich-content contract, not a backend SLA endpoint.",
            "The same approval SLA triage surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.approval-sla-triage-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "approvalSlaTriageWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "timer",
                "title": "Approval SLA triage workbench",
                "subtitle": "Portable rich-content surface for governed approval queue triage"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "approval-sla-triage-workbench",
                  "context": {
                    "triage": {
                      "caseId": "SLA-221",
                      "title": "Procurement contract escalation",
                      "status": "Breach in progress",
                      "breaches": "5",
                      "p1Queue": "11",
                      "medianAge": "9h",
                      "priority": "P1",
                      "queue": "Procurement approvals",
                      "submitter": "Amanda Rocha"
                    },
                    "owner": {
                      "name": "Helena Costa",
                      "department": "Approval operations"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "warning",
                        "icon": "timer",
                        "titleExpr": "${triage.title}",
                        "message": "Use a portable approval SLA triage surface when the host must expose governed breach intervention and queue triage actions without inventing approval-specific templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Triage signals",
                        "subtitle": "Canonical KPI block for approval SLA triage surfaces",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Breaches",
                            "valueExpr": "${triage.breaches}",
                            "captionExpr": "${triage.status}",
                            "icon": "timer_off"
                          },
                          {
                            "label": "P1 queue",
                            "valueExpr": "${triage.p1Queue}",
                            "captionExpr": "${triage.queue}",
                            "icon": "priority_high"
                          },
                          {
                            "label": "Median age",
                            "valueExpr": "${triage.medianAge}",
                            "captionExpr": "${triage.priority}",
                            "icon": "schedule"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected queue case",
                        "status": "resolved",
                        "subtitleExpr": "${triage.caseId}",
                        "metaExpr": "${triage.title}",
                        "ctaLabel": "Open case",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "approval.sla.case.open",
                          "payloadExpr": "${triage}"
                        },
                        "fields": [
                          {
                            "label": "Queue",
                            "valueExpr": "${triage.queue}"
                          },
                          {
                            "label": "Priority",
                            "valueExpr": "${triage.priority}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open queue packet",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.sla.packet.open",
                              "payloadExpr": "${triage}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Triage views",
                        "subtitle": "Portable editorial tabs for queue summary and SLA policy context.",
                        "appearance": "underline",
                        "defaultTabId": "summary",
                        "items": [
                          {
                            "id": "summary",
                            "label": "Summary",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Keep queue rationale, breach context and reassignment notes inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "policy",
                            "label": "Policy",
                            "icon": "policy",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Submitter",
                                    "valueExpr": "${triage.submitter}"
                                  },
                                  {
                                    "label": "Triage rule",
                                    "value": "Escalate any P1 request above the SLA threshold or any queue with missing owner coverage."
                                  },
                                  {
                                    "label": "Evidence source",
                                    "value": "SLA board snapshot, owner rota and approval event history."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Queue owner",
                        "subtitleExpr": "${owner.name}",
                        "relationLabel": "Triage lead",
                        "metaExpr": "${owner.department}",
                        "ctaLabel": "Open owner",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "approval.sla.owner.open",
                          "payloadExpr": "${owner}"
                        },
                        "fields": [
                          {
                            "label": "Coverage",
                            "value": "Procurement / P1 / EMEA",
                            "hint": "Resolved from the queue triage assignment."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Rebalance queue",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.sla.queue.rebalance",
                              "payloadExpr": "${triage}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Triage actions",
                        "subtitle": "Governed SLA triage outcomes",
                        "message": "Use semantic triage actions instead of host-authored SLA queue button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Start triage",
                            "icon": "task_alt",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "approval.sla.triage.start",
                              "payloadExpr": "${triage}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request owner update",
                            "icon": "sync",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.sla.owner.requestUpdate",
                              "payloadExpr": "${triage}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Escalate SLA breach",
                        "subtitleExpr": "${triage.caseId}",
                        "message": "Use actionCard when the approval host needs a governed escalation flow for unresolved SLA breaches.",
                        "metaExpr": "${triage.status}",
                        "ctaLabel": "Escalate breach",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "approval.sla.escalate",
                          "payloadExpr": "${triage}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open queue packet",
                            "variant": "stroked",
                            "action": {
                              "actionId": "approval.sla.packet.open",
                              "payloadExpr": "${triage}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "employee-compensation-review-workbench",
      "title": "Human Resources - compensation review workbench",
      "summary": "Presents compensation signals, reward context and decision actions in a runtime workspace that can vary without changing application code.",
      "i18n": {
        "pt": {
          "title": "Recursos Humanos - revisão de remuneração",
          "summary": "Apresenta sinais de remuneração, contexto de recompensa e ações de decisão que variam sem alterar código.",
          "demonstrates": [
            "Explore Recursos Humanos - revisão de remuneração e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/employee-compensation-review-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Apresenta sinais de remuneração, contexto de recompensa e ações de decisão que variam sem alterar código.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.employee-compensation-review-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/employee-compensation-review-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/employee-compensation-review-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/employee-compensation-review-workbench",
      "resourceKey": "operations.employee-compensation-review-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "human-resources",
        "compensation-review",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Compensation review signals authored as statGroup instead of host summary cards",
        "Selected employee context authored as lookupCard instead of host-authored compensation wrappers",
        "Reward partner context authored as relatedRecord instead of custom relationship markup",
        "Portable compensation and budget rationale organized in tabs within the same RichContentDocument",
        "Governed compensation actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-compensation-review-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "employee-decision-workbenches",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "employee-compensation-review-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the compensation review workbench demonstrates a portable rich-content contract, not a backend HR compensation endpoint.",
          "The same compensation review surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-compensation-review-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/employee-compensation-review-workbench.json",
      "documentation": {
        "story": {
          "pt": "Apresenta sinais de remuneração, contexto de recompensa e ações de decisão que variam sem alterar código. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Presents compensation signals, reward context and decision actions in a runtime workspace that can vary without changing application code. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Recursos Humanos - revisão de remuneração” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Human Resources - compensation review workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Recursos Humanos - revisão de remuneração”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Human Resources - compensation review workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-compensation-review-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-compensation-review-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "employee-compensation-review-workbench",
        "title": "Human Resources - compensation review workbench",
        "summary": "Presents compensation signals, reward context and decision actions in a runtime workspace that can vary without changing application code.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/employee-compensation-review-workbench",
          "resourceKey": "operations.employee-compensation-review-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "human-resources",
          "compensation-review",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Compensation review signals authored as statGroup instead of host summary cards",
          "Selected employee context authored as lookupCard instead of host-authored compensation wrappers",
          "Reward partner context authored as relatedRecord instead of custom relationship markup",
          "Portable compensation and budget rationale organized in tabs within the same RichContentDocument",
          "Governed compensation actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-compensation-review-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "employee-compensation-review-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the compensation review workbench demonstrates a portable rich-content contract, not a backend HR compensation endpoint.",
            "The same compensation review surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-compensation-review-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "employeeCompensationReviewWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "payments",
                "title": "Compensation review workbench",
                "subtitle": "Portable rich-content surface for governed HR compensation operations"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "employee-compensation-review-workbench",
                  "context": {
                    "employee": {
                      "id": "EMP-440",
                      "name": "Daniela Freitas",
                      "role": "Staff Product Manager",
                      "department": "Platform strategy",
                      "cycle": "Q2",
                      "budget": "18%",
                      "proposedIncrease": "8%",
                      "compaRatio": "0.97",
                      "marketSignal": "Midpoint to +5%",
                      "reviewWindow": "2d"
                    },
                    "partner": {
                      "name": "Nadia Costa",
                      "department": "Rewards and mobility",
                      "budgetLane": "Reward council / compensation"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "info",
                        "icon": "payments",
                        "titleExpr": "${employee.name}",
                        "message": "Use a portable HR compensation review surface when the host must expose budget signals, market context and governed reward actions without inventing people-ops templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Compensation signals",
                        "subtitle": "Canonical KPI block for compensation review workbenches",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Cycle",
                            "valueExpr": "${employee.cycle}",
                            "captionExpr": "${employee.department}",
                            "icon": "event"
                          },
                          {
                            "label": "Budget",
                            "valueExpr": "${employee.budget}",
                            "captionExpr": "${employee.reviewWindow}",
                            "icon": "payments"
                          },
                          {
                            "label": "Increase",
                            "valueExpr": "${employee.proposedIncrease}",
                            "captionExpr": "${employee.marketSignal}",
                            "icon": "trending_up"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected employee",
                        "status": "resolved",
                        "subtitleExpr": "${employee.name}",
                        "metaExpr": "${employee.role}",
                        "ctaLabel": "Open employee",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.comp.employee.open",
                          "payloadExpr": "${employee}"
                        },
                        "fields": [
                          {
                            "label": "Proposed increase",
                            "valueExpr": "${employee.proposedIncrease}"
                          },
                          {
                            "label": "Compa-ratio",
                            "valueExpr": "${employee.compaRatio}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.comp.dossier.open",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Compensation views",
                        "subtitle": "Portable editorial tabs for compensation summary and budget context.",
                        "appearance": "underline",
                        "defaultTabId": "summary",
                        "items": [
                          {
                            "id": "summary",
                            "label": "Summary",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Tabs keep reward notes, market context and proposal rationale inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "budget",
                            "label": "Budget",
                            "icon": "account_balance_wallet",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Budget rule",
                                    "value": "Escalate any compensation proposal above the approved budget lane or any exception requiring leadership approval."
                                  },
                                  {
                                    "label": "Evidence source",
                                    "valueExpr": "${employee.reviewWindow}"
                                  },
                                  {
                                    "label": "Portability rule",
                                    "value": "Keep compensation semantics in the rich-content document; keep execution in the host."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Reward partner",
                        "subtitleExpr": "${partner.name}",
                        "relationLabel": "Partner",
                        "metaExpr": "${partner.department}",
                        "ctaLabel": "Open partner",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.comp.partner.open",
                          "payloadExpr": "${partner}"
                        },
                        "fields": [
                          {
                            "label": "Budget lane",
                            "valueExpr": "${partner.budgetLane}",
                            "hint": "Resolved from the current compensation review assignment."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Schedule comp review",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.comp.partner.scheduleReview",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Compensation actions",
                        "subtitle": "Governed HR compensation outcomes",
                        "message": "Use semantic compensation actions instead of host-authored proposal button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Confirm comp proposal",
                            "icon": "task_alt",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "hr.comp.confirm",
                              "payloadExpr": "${employee}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request budget follow-up",
                            "icon": "flag",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.comp.budget.followUp",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Escalate compensation case",
                        "subtitleExpr": "${employee.id}",
                        "message": "Use actionCard when the HR host needs a governed reward escalation or compensation exception flow.",
                        "metaExpr": "${employee.role}",
                        "ctaLabel": "Escalate compensation",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.comp.escalate",
                          "payloadExpr": "${employee}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.comp.dossier.open",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "employee-insight-workbench",
      "title": "Human Resources - employee insight workbench",
      "summary": "Packages employee KPIs, reporting context and people-ops follow-up into a portable workspace over governed content blocks.",
      "i18n": {
        "pt": {
          "title": "Recursos Humanos - insight de funcionário",
          "summary": "Empacota KPIs de funcionário, contexto gerencial e follow-up de People Ops em uma superfície portável.",
          "demonstrates": [
            "Explore Recursos Humanos - insight de funcionário e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/employee-insight-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Empacota KPIs de funcionário, contexto gerencial e follow-up de People Ops em uma superfície portável.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.employee-insight-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/employee-insight-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/employee-insight-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/employee-insight-workbench",
      "resourceKey": "operations.employee-insight-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "human-resources",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Employee KPIs authored as statGroup instead of host summary cards",
        "Selected employee context authored as lookupCard instead of host-authored dossier wrappers",
        "Reporting manager context authored as relatedRecord instead of custom relationship markup",
        "Portable people-ops rationale organized in tabs within the same RichContentDocument",
        "Governed HR follow-up actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-insight-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "employee-decision-workbenches",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "employee-insight-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the employee insight workbench demonstrates a portable rich-content contract, not a backend HR endpoint.",
          "The same employee surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-insight-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/employee-insight-workbench.json",
      "documentation": {
        "story": {
          "pt": "Empacota KPIs de funcionário, contexto gerencial e follow-up de People Ops em uma superfície portável. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Packages employee KPIs, reporting context and people-ops follow-up into a portable workspace over governed content blocks. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Recursos Humanos - insight de funcionário” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Human Resources - employee insight workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Recursos Humanos - insight de funcionário”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Human Resources - employee insight workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-insight-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-insight-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "employee-insight-workbench",
        "title": "Human Resources - employee insight workbench",
        "summary": "Packages employee KPIs, reporting context and people-ops follow-up into a portable workspace over governed content blocks.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/employee-insight-workbench",
          "resourceKey": "operations.employee-insight-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "human-resources",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Employee KPIs authored as statGroup instead of host summary cards",
          "Selected employee context authored as lookupCard instead of host-authored dossier wrappers",
          "Reporting manager context authored as relatedRecord instead of custom relationship markup",
          "Portable people-ops rationale organized in tabs within the same RichContentDocument",
          "Governed HR follow-up actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-insight-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "employee-insight-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the employee insight workbench demonstrates a portable rich-content contract, not a backend HR endpoint.",
            "The same employee surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-insight-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "employeeInsightWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "badge",
                "title": "Employee insight workbench",
                "subtitle": "Portable rich-content surface for people operations follow-up"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "employee-insight-workbench",
                  "context": {
                    "employee": {
                      "id": "EMP-2048",
                      "name": "Carla Mendes",
                      "role": "Senior HRBP",
                      "department": "People Operations",
                      "tenure": "4.2y",
                      "performance": "Exceeds",
                      "engagement": "82",
                      "nextMilestone": "Promotion calibration",
                      "reviewWindow": "6d"
                    },
                    "manager": {
                      "name": "Ana Silva",
                      "department": "People leadership"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "info",
                        "icon": "groups",
                        "titleExpr": "${employee.name}",
                        "message": "Use a portable HR surface when the host must expose employee insights and governed follow-up actions without inventing people-ops templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Workforce signals",
                        "subtitle": "Canonical KPI block for employee insight surfaces",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Tenure",
                            "valueExpr": "${employee.tenure}",
                            "captionExpr": "${employee.department}",
                            "icon": "schedule"
                          },
                          {
                            "label": "Performance",
                            "valueExpr": "${employee.performance}",
                            "captionExpr": "${employee.nextMilestone}",
                            "icon": "military_tech"
                          },
                          {
                            "label": "Engagement",
                            "valueExpr": "${employee.engagement}",
                            "caption": "Pulse score",
                            "icon": "favorite"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected employee",
                        "status": "resolved",
                        "subtitleExpr": "${employee.name}",
                        "metaExpr": "${employee.role}",
                        "ctaLabel": "Open employee",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "employee.lookup.open",
                          "payloadExpr": "${employee}"
                        },
                        "fields": [
                          {
                            "label": "Department",
                            "valueExpr": "${employee.department}"
                          },
                          {
                            "label": "Next milestone",
                            "valueExpr": "${employee.nextMilestone}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "employee.dossier.open",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Employee views",
                        "subtitle": "Portable editorial tabs for people operations context.",
                        "appearance": "underline",
                        "defaultTabId": "overview",
                        "items": [
                          {
                            "id": "overview",
                            "label": "Overview",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Tabs keep coaching notes, org context and review readiness inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "review",
                            "label": "Review",
                            "icon": "assignment",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Review window",
                                    "valueExpr": "${employee.reviewWindow}"
                                  },
                                  {
                                    "label": "Next milestone",
                                    "valueExpr": "${employee.nextMilestone}"
                                  },
                                  {
                                    "label": "Portability rule",
                                    "value": "Keep domain semantics in the rich-content document; keep execution in the host."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Reporting manager",
                        "subtitleExpr": "${manager.name}",
                        "relationLabel": "Manager",
                        "metaExpr": "${manager.department}",
                        "ctaLabel": "Open manager",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "employee.manager.open",
                          "payloadExpr": "${manager}"
                        },
                        "fields": [
                          {
                            "label": "Team",
                            "valueExpr": "${employee.department}",
                            "hint": "Resolved from the reporting chain."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Plan 1:1",
                            "variant": "stroked",
                            "action": {
                              "actionId": "employee.manager.planOneOnOne",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Guided actions",
                        "subtitle": "Governed HR follow-up actions",
                        "message": "Use semantic action clusters instead of host-authored employee button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Start review",
                            "icon": "fact_check",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "employee.review.start",
                              "payloadExpr": "${employee}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Plan promotion",
                            "icon": "trending_up",
                            "variant": "stroked",
                            "action": {
                              "actionId": "employee.promotion.plan",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Open employee dossier",
                        "subtitleExpr": "${employee.id}",
                        "message": "Use actionCard when the HR host needs a governed dossier or case-review flow.",
                        "metaExpr": "${employee.role}",
                        "ctaLabel": "Open dossier",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "employee.dossier.open",
                          "payloadExpr": "${employee}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Start retention plan",
                            "variant": "stroked",
                            "action": {
                              "actionId": "employee.retention.start",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "employee-internal-mobility-workbench",
      "title": "Human Resources - internal mobility workbench",
      "summary": "Presents mobility signals, target-role context and transition actions without creating a separate mobility application page.",
      "i18n": {
        "pt": {
          "title": "Recursos Humanos - mobilidade interna",
          "summary": "Apresenta mobilidade interna, contexto de vaga-alvo e ações de transição sem criar outra página de aplicação.",
          "demonstrates": [
            "Explore Recursos Humanos - mobilidade interna e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/employee-internal-mobility-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Apresenta mobilidade interna, contexto de vaga-alvo e ações de transição sem criar outra página de aplicação.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.employee-internal-mobility-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/employee-internal-mobility-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/employee-internal-mobility-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/employee-internal-mobility-workbench",
      "resourceKey": "operations.employee-internal-mobility-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "human-resources",
        "internal-mobility",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Mobility signals authored as statGroup instead of host summary cards",
        "Selected employee context authored as lookupCard instead of host-authored mobility wrappers",
        "Target role context authored as relatedRecord instead of custom opportunity markup",
        "Portable mobility and fit rationale organized in tabs within the same RichContentDocument",
        "Governed mobility actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-internal-mobility-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "employee-decision-workbenches",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "employee-internal-mobility-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the internal mobility workbench demonstrates a portable rich-content contract, not a backend HR mobility endpoint.",
          "The same mobility surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-internal-mobility-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/employee-internal-mobility-workbench.json",
      "documentation": {
        "story": {
          "pt": "Apresenta mobilidade interna, contexto de vaga-alvo e ações de transição sem criar outra página de aplicação. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Presents mobility signals, target-role context and transition actions without creating a separate mobility application page. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Recursos Humanos - mobilidade interna” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Human Resources - internal mobility workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Recursos Humanos - mobilidade interna”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Human Resources - internal mobility workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-internal-mobility-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-internal-mobility-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "employee-internal-mobility-workbench",
        "title": "Human Resources - internal mobility workbench",
        "summary": "Presents mobility signals, target-role context and transition actions without creating a separate mobility application page.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/employee-internal-mobility-workbench",
          "resourceKey": "operations.employee-internal-mobility-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "human-resources",
          "internal-mobility",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Mobility signals authored as statGroup instead of host summary cards",
          "Selected employee context authored as lookupCard instead of host-authored mobility wrappers",
          "Target role context authored as relatedRecord instead of custom opportunity markup",
          "Portable mobility and fit rationale organized in tabs within the same RichContentDocument",
          "Governed mobility actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-internal-mobility-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "employee-internal-mobility-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the internal mobility workbench demonstrates a portable rich-content contract, not a backend HR mobility endpoint.",
            "The same mobility surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-internal-mobility-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "employeeInternalMobilityWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "swap_horiz",
                "title": "Internal mobility workbench",
                "subtitle": "Portable rich-content surface for governed HR mobility operations"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "employee-internal-mobility-workbench",
                  "context": {
                    "mobility": {
                      "employeeId": "EMP-903",
                      "employeeName": "Rafael Nunes",
                      "currentRole": "Senior Product Analyst",
                      "currentArea": "Digital experience",
                      "manager": "Lucas Almeida",
                      "readiness": "87",
                      "openRoles": "2",
                      "window": "Q3"
                    },
                    "targetRole": {
                      "name": "Staff Product Manager",
                      "department": "Digital experience",
                      "lane": "Product leadership"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "info",
                        "icon": "swap_horiz",
                        "titleExpr": "${mobility.employeeName}",
                        "message": "Use a portable HR internal mobility surface when the host must expose readiness signals, target role context and governed transition actions without inventing people-ops templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Mobility signals",
                        "subtitle": "Canonical KPI block for internal mobility workbenches",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Readiness",
                            "valueExpr": "${mobility.readiness}",
                            "caption": "Mobility score",
                            "icon": "monitoring"
                          },
                          {
                            "label": "Open roles",
                            "valueExpr": "${mobility.openRoles}",
                            "caption": "Matched opportunities",
                            "icon": "workspaces"
                          },
                          {
                            "label": "Window",
                            "valueExpr": "${mobility.window}",
                            "caption": "Target move",
                            "icon": "calendar_month"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected employee",
                        "status": "resolved",
                        "subtitleExpr": "${mobility.employeeName}",
                        "metaExpr": "${mobility.currentArea}",
                        "ctaLabel": "Open employee",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.mobility.employee.open",
                          "payloadExpr": "${mobility}"
                        },
                        "fields": [
                          {
                            "label": "Current role",
                            "valueExpr": "${mobility.currentRole}"
                          },
                          {
                            "label": "Manager",
                            "valueExpr": "${mobility.manager}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.mobility.dossier.open",
                              "payloadExpr": "${mobility}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Mobility views",
                        "subtitle": "Portable editorial tabs for fit, readiness and governance context.",
                        "appearance": "underline",
                        "defaultTabId": "summary",
                        "items": [
                          {
                            "id": "summary",
                            "label": "Summary",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Keep readiness rationale, target role notes and move risks inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "fit",
                            "label": "Fit",
                            "icon": "checklist",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Fit rule",
                                    "value": "Escalate any mobility move that changes compensation band or leaves critical coverage gaps unresolved."
                                  },
                                  {
                                    "label": "Evidence source",
                                    "value": "Career matrix, calibration notes and manager alignment summary."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Target role",
                        "relationLabel": "Role opportunity",
                        "subtitleExpr": "${targetRole.name}",
                        "metaExpr": "${targetRole.department}",
                        "ctaLabel": "Open role",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.mobility.role.open",
                          "payloadExpr": "${targetRole}"
                        },
                        "fields": [
                          {
                            "label": "Mobility lane",
                            "valueExpr": "${targetRole.lane}",
                            "hint": "Resolved from the current mobility assignment."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Schedule panel review",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.mobility.panel.schedule",
                              "payloadExpr": "${mobility}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Mobility actions",
                        "subtitle": "Governed HR mobility outcomes",
                        "message": "Use semantic mobility actions instead of host-authored transition button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Start mobility review",
                            "icon": "task_alt",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "hr.mobility.review.start",
                              "payloadExpr": "${mobility}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request manager alignment",
                            "icon": "forum",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.mobility.manager.requestAlignment",
                              "payloadExpr": "${mobility}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Escalate mobility risk",
                        "subtitleExpr": "${mobility.employeeId}",
                        "message": "Use actionCard when the HR host needs a governed escalation for unresolved mobility blockers or retention risks.",
                        "metaExpr": "${mobility.currentRole}",
                        "ctaLabel": "Escalate mobility risk",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.mobility.escalate",
                          "payloadExpr": "${mobility}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.mobility.dossier.open",
                              "payloadExpr": "${mobility}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "employee-leave-absence-workbench",
      "title": "Human Resources - leave and absence workbench",
      "summary": "Presents leave signals, coverage context and absence actions as governed runtime content.",
      "i18n": {
        "pt": {
          "title": "Recursos Humanos - afastamentos",
          "summary": "Apresenta afastamentos, cobertura e ações de ausência como conteúdo governado em runtime.",
          "demonstrates": [
            "Explore Recursos Humanos - afastamentos e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/employee-leave-absence-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Apresenta afastamentos, cobertura e ações de ausência como conteúdo governado em runtime.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.employee-leave-absence-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/employee-leave-absence-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/employee-leave-absence-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/employee-leave-absence-workbench",
      "resourceKey": "operations.employee-leave-absence-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "human-resources",
        "leave-tracking",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Leave signals authored as statGroup instead of host summary cards",
        "Selected employee context authored as lookupCard instead of host-authored leave wrappers",
        "Coverage partner context authored as relatedRecord instead of custom relationship markup",
        "Portable leave and compliance rationale organized in tabs within the same RichContentDocument",
        "Governed leave actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-leave-absence-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "employee-decision-workbenches",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "employee-leave-absence-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the leave and absence workbench demonstrates a portable rich-content contract, not a backend HR leave endpoint.",
          "The same leave surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-leave-absence-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/employee-leave-absence-workbench.json",
      "documentation": {
        "story": {
          "pt": "Apresenta afastamentos, cobertura e ações de ausência como conteúdo governado em runtime. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Presents leave signals, coverage context and absence actions as governed runtime content. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Recursos Humanos - afastamentos” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Human Resources - leave and absence workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Recursos Humanos - afastamentos”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Human Resources - leave and absence workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-leave-absence-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-leave-absence-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "employee-leave-absence-workbench",
        "title": "Human Resources - leave and absence workbench",
        "summary": "Presents leave signals, coverage context and absence actions as governed runtime content.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/employee-leave-absence-workbench",
          "resourceKey": "operations.employee-leave-absence-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "human-resources",
          "leave-tracking",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Leave signals authored as statGroup instead of host summary cards",
          "Selected employee context authored as lookupCard instead of host-authored leave wrappers",
          "Coverage partner context authored as relatedRecord instead of custom relationship markup",
          "Portable leave and compliance rationale organized in tabs within the same RichContentDocument",
          "Governed leave actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-leave-absence-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "employee-leave-absence-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the leave and absence workbench demonstrates a portable rich-content contract, not a backend HR leave endpoint.",
            "The same leave surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-leave-absence-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "employeeLeaveAbsenceWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "event_available",
                "title": "Leave and absence workbench",
                "subtitle": "Portable rich-content surface for governed HR leave operations"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "employee-leave-absence-workbench",
                  "context": {
                    "leave": {
                      "employeeId": "EMP-708",
                      "employeeName": "Marina Reis",
                      "role": "Senior Product Analyst",
                      "leaveType": "Parental leave",
                      "window": "12d",
                      "coverage": "1",
                      "returnDate": "2026-06-08",
                      "coverageOwner": "Carla Mendes"
                    },
                    "partner": {
                      "name": "Mariana Torres",
                      "department": "People operations",
                      "lane": "Leave compliance / backfill coordination"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "info",
                        "icon": "event_available",
                        "titleExpr": "${leave.employeeName}",
                        "message": "Use a portable HR leave and absence surface when the host must expose leave signals, coverage context and governed absence actions without inventing people-ops templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Leave signals",
                        "subtitle": "Canonical KPI block for leave and absence workbenches",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Window",
                            "valueExpr": "${leave.window}",
                            "captionExpr": "${leave.leaveType}",
                            "icon": "calendar_month"
                          },
                          {
                            "label": "Coverage",
                            "valueExpr": "${leave.coverage}",
                            "caption": "Open handoffs",
                            "icon": "groups"
                          },
                          {
                            "label": "Return",
                            "valueExpr": "${leave.returnDate}",
                            "caption": "Expected return",
                            "icon": "event_available"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected employee",
                        "status": "resolved",
                        "subtitleExpr": "${leave.employeeName}",
                        "metaExpr": "${leave.role}",
                        "ctaLabel": "Open employee",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.leave.employee.open",
                          "payloadExpr": "${leave}"
                        },
                        "fields": [
                          {
                            "label": "Leave type",
                            "valueExpr": "${leave.leaveType}"
                          },
                          {
                            "label": "Coverage owner",
                            "valueExpr": "${leave.coverageOwner}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.leave.dossier.open",
                              "payloadExpr": "${leave}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Leave views",
                        "subtitle": "Portable editorial tabs for leave summary and compliance context.",
                        "appearance": "underline",
                        "defaultTabId": "summary",
                        "items": [
                          {
                            "id": "summary",
                            "label": "Summary",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Keep leave rationale, coverage notes and return planning inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "compliance",
                            "label": "Compliance",
                            "icon": "policy",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Policy rule",
                                    "value": "Escalate any leave extension or missing coverage handoff before payroll and access deadlines."
                                  },
                                  {
                                    "label": "Evidence source",
                                    "value": "Leave policy snapshot, manager notes and return-to-work checklist."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Coverage partner",
                        "relationLabel": "HR partner",
                        "subtitleExpr": "${partner.name}",
                        "metaExpr": "${partner.department}",
                        "ctaLabel": "Open partner",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.leave.partner.open",
                          "payloadExpr": "${partner}"
                        },
                        "fields": [
                          {
                            "label": "Coverage lane",
                            "valueExpr": "${partner.lane}",
                            "hint": "Resolved from the current leave assignment."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Schedule return sync",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.leave.return.scheduleSync",
                              "payloadExpr": "${leave}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Leave actions",
                        "subtitle": "Governed HR leave outcomes",
                        "message": "Use semantic leave actions instead of host-authored absence button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Confirm leave plan",
                            "icon": "task_alt",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "hr.leave.confirm",
                              "payloadExpr": "${leave}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request coverage update",
                            "icon": "sync",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.leave.coverage.requestUpdate",
                              "payloadExpr": "${leave}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Escalate leave risk",
                        "subtitleExpr": "${leave.employeeId}",
                        "message": "Use actionCard when the HR host needs a governed escalation for unresolved leave blockers or return planning risks.",
                        "metaExpr": "${leave.leaveType}",
                        "ctaLabel": "Escalate leave risk",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.leave.escalate",
                          "payloadExpr": "${leave}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.leave.dossier.open",
                              "payloadExpr": "${leave}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "employee-offboarding-workbench",
      "title": "Human Resources - offboarding workbench",
      "summary": "Presents exit signals, transition ownership and departure actions as a governed offboarding workspace.",
      "i18n": {
        "pt": {
          "title": "Recursos Humanos - desligamento",
          "summary": "Apresenta sinais de desligamento, transição de responsabilidade e ações de saída em um workspace governado.",
          "demonstrates": [
            "Explore Recursos Humanos - desligamento e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/employee-offboarding-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Apresenta sinais de desligamento, transição de responsabilidade e ações de saída em um workspace governado.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.employee-offboarding-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/employee-offboarding-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/employee-offboarding-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/employee-offboarding-workbench",
      "resourceKey": "operations.employee-offboarding-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "human-resources",
        "offboarding",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Offboarding signals authored as statGroup instead of host summary cards",
        "Selected employee context authored as lookupCard instead of host-authored departure wrappers",
        "Transition-owner context authored as relatedRecord instead of custom relationship markup",
        "Portable offboarding and compliance rationale organized in tabs within the same RichContentDocument",
        "Governed departure actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-offboarding-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "employee-decision-workbenches",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "employee-offboarding-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the offboarding workbench demonstrates a portable rich-content contract, not a backend HR departure endpoint.",
          "The same offboarding surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-offboarding-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/employee-offboarding-workbench.json",
      "documentation": {
        "story": {
          "pt": "Apresenta sinais de desligamento, transição de responsabilidade e ações de saída em um workspace governado. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Presents exit signals, transition ownership and departure actions as a governed offboarding workspace. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Recursos Humanos - desligamento” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Human Resources - offboarding workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Recursos Humanos - desligamento”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Human Resources - offboarding workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-offboarding-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-offboarding-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "employee-offboarding-workbench",
        "title": "Human Resources - offboarding workbench",
        "summary": "Presents exit signals, transition ownership and departure actions as a governed offboarding workspace.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/employee-offboarding-workbench",
          "resourceKey": "operations.employee-offboarding-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "human-resources",
          "offboarding",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Offboarding signals authored as statGroup instead of host summary cards",
          "Selected employee context authored as lookupCard instead of host-authored departure wrappers",
          "Transition-owner context authored as relatedRecord instead of custom relationship markup",
          "Portable offboarding and compliance rationale organized in tabs within the same RichContentDocument",
          "Governed departure actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-offboarding-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "employee-offboarding-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the offboarding workbench demonstrates a portable rich-content contract, not a backend HR departure endpoint.",
            "The same offboarding surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-offboarding-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "employeeOffboardingWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "exit_to_app",
                "title": "Offboarding workbench",
                "subtitle": "Portable rich-content surface for governed HR departure operations"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "employee-offboarding-workbench",
                  "context": {
                    "employee": {
                      "id": "EMP-640",
                      "name": "Diego Nunes",
                      "role": "Staff Product Designer",
                      "department": "Product design",
                      "lastDay": "2026-05-12",
                      "noticeWindow": "14d",
                      "reason": "Voluntary departure",
                      "coverage": "3",
                      "risk": "Moderate"
                    },
                    "owner": {
                      "name": "Marina Costa",
                      "department": "People operations",
                      "lane": "Exit compliance / access revocation"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "info",
                        "icon": "exit_to_app",
                        "titleExpr": "${employee.name}",
                        "message": "Use a portable HR offboarding surface when the host must expose exit signals, transition ownership and governed departure actions without inventing people-ops templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Exit signals",
                        "subtitle": "Canonical KPI block for offboarding workbenches",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Notice",
                            "valueExpr": "${employee.noticeWindow}",
                            "captionExpr": "${employee.lastDay}",
                            "icon": "event_busy"
                          },
                          {
                            "label": "Coverage",
                            "valueExpr": "${employee.coverage}",
                            "caption": "Open handoffs",
                            "icon": "handover"
                          },
                          {
                            "label": "Risk",
                            "valueExpr": "${employee.risk}",
                            "captionExpr": "${employee.reason}",
                            "icon": "warning"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected employee",
                        "status": "resolved",
                        "subtitleExpr": "${employee.name}",
                        "metaExpr": "${employee.role}",
                        "ctaLabel": "Open employee",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.offboarding.employee.open",
                          "payloadExpr": "${employee}"
                        },
                        "fields": [
                          {
                            "label": "Last day",
                            "valueExpr": "${employee.lastDay}"
                          },
                          {
                            "label": "Reason",
                            "valueExpr": "${employee.reason}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.offboarding.dossier.open",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Offboarding views",
                        "subtitle": "Portable editorial tabs for transition summary and compliance context.",
                        "appearance": "underline",
                        "defaultTabId": "summary",
                        "items": [
                          {
                            "id": "summary",
                            "label": "Summary",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Keep departure rationale, handoff progress and exit readiness inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "compliance",
                            "label": "Compliance",
                            "icon": "policy",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Asset rule",
                                    "value": "Escalate any missing asset return or access closure before the final payroll checkpoint."
                                  },
                                  {
                                    "label": "Knowledge transfer",
                                    "value": "Document ownership transitions and successor coverage inside the same governed surface."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Transition owner",
                        "subtitleExpr": "${owner.name}",
                        "relationLabel": "HR partner",
                        "metaExpr": "${owner.department}",
                        "ctaLabel": "Open owner",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.offboarding.owner.open",
                          "payloadExpr": "${owner}"
                        },
                        "fields": [
                          {
                            "label": "Checklist lane",
                            "valueExpr": "${owner.lane}",
                            "hint": "Resolved from the current offboarding assignment."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Plan exit interview",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.offboarding.exitInterview.plan",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Offboarding actions",
                        "subtitle": "Governed HR departure outcomes",
                        "message": "Use semantic offboarding actions instead of host-authored departure button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Confirm offboarding plan",
                            "icon": "task_alt",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "hr.offboarding.confirm",
                              "payloadExpr": "${employee}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request handoff update",
                            "icon": "sync",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.offboarding.handoff.requestUpdate",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Escalate departure risk",
                        "subtitleExpr": "${employee.id}",
                        "message": "Use actionCard when the HR host needs a governed escalation for unresolved exit blockers or access closure risks.",
                        "metaExpr": "${employee.role}",
                        "ctaLabel": "Escalate risk",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.offboarding.escalate",
                          "payloadExpr": "${employee}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.offboarding.dossier.open",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "employee-performance-review-workbench",
      "title": "Human Resources - performance review workbench",
      "summary": "Presents performance review signals, calibration context and review actions as governed runtime content instead of a static HR template.",
      "i18n": {
        "pt": {
          "title": "Recursos Humanos - revisão de performance",
          "summary": "Apresenta sinais de performance, calibração e ações de revisão como conteúdo governado em runtime.",
          "demonstrates": [
            "Explore Recursos Humanos - revisão de performance e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/employee-performance-review-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Apresenta sinais de performance, calibração e ações de revisão como conteúdo governado em runtime.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.employee-performance-review-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/employee-performance-review-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/employee-performance-review-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/employee-performance-review-workbench",
      "resourceKey": "operations.employee-performance-review-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "human-resources",
        "performance-review",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Performance review signals authored as statGroup instead of host summary cards",
        "Selected employee context authored as lookupCard instead of host-authored review wrappers",
        "Review manager context authored as relatedRecord instead of custom relationship markup",
        "Portable review and calibration rationale organized in tabs within the same RichContentDocument",
        "Governed HR review actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-performance-review-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "employee-decision-workbenches",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "employee-performance-review-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the performance review workbench demonstrates a portable rich-content contract, not a backend HR review endpoint.",
          "The same performance review surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-performance-review-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/employee-performance-review-workbench.json",
      "documentation": {
        "story": {
          "pt": "Apresenta sinais de performance, calibração e ações de revisão como conteúdo governado em runtime. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Presents performance review signals, calibration context and review actions as governed runtime content instead of a static HR template. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Recursos Humanos - revisão de performance” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Human Resources - performance review workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Recursos Humanos - revisão de performance”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Human Resources - performance review workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-performance-review-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-performance-review-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "employee-performance-review-workbench",
        "title": "Human Resources - performance review workbench",
        "summary": "Presents performance review signals, calibration context and review actions as governed runtime content instead of a static HR template.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/employee-performance-review-workbench",
          "resourceKey": "operations.employee-performance-review-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "human-resources",
          "performance-review",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Performance review signals authored as statGroup instead of host summary cards",
          "Selected employee context authored as lookupCard instead of host-authored review wrappers",
          "Review manager context authored as relatedRecord instead of custom relationship markup",
          "Portable review and calibration rationale organized in tabs within the same RichContentDocument",
          "Governed HR review actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-performance-review-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "employee-performance-review-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the performance review workbench demonstrates a portable rich-content contract, not a backend HR review endpoint.",
            "The same performance review surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-performance-review-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "employeePerformanceReviewWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "military_tech",
                "title": "Performance review workbench",
                "subtitle": "Portable rich-content surface for governed HR review operations"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "employee-performance-review-workbench",
                  "context": {
                    "employee": {
                      "id": "EMP-320",
                      "name": "Rafaela Nunes",
                      "role": "Senior Product Designer",
                      "department": "Experience Design",
                      "cycle": "Q2",
                      "calibration": "2",
                      "rating": "Exceeds",
                      "promotionReadiness": "Stretch role ready",
                      "reviewWindow": "3d"
                    },
                    "manager": {
                      "name": "Marcos Lima",
                      "department": "Design leadership",
                      "reviewLane": "Design council"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "info",
                        "icon": "military_tech",
                        "titleExpr": "${employee.name}",
                        "message": "Use a portable HR performance review surface when the host must expose review signals, calibration context and governed actions without inventing people-ops templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Review signals",
                        "subtitle": "Canonical KPI block for performance review workbenches",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Cycle",
                            "valueExpr": "${employee.cycle}",
                            "captionExpr": "${employee.department}",
                            "icon": "event"
                          },
                          {
                            "label": "Calibration",
                            "valueExpr": "${employee.calibration}",
                            "captionExpr": "${employee.reviewWindow}",
                            "icon": "balance"
                          },
                          {
                            "label": "Rating",
                            "valueExpr": "${employee.rating}",
                            "captionExpr": "${employee.promotionReadiness}",
                            "icon": "emoji_events"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected employee",
                        "status": "resolved",
                        "subtitleExpr": "${employee.name}",
                        "metaExpr": "${employee.role}",
                        "ctaLabel": "Open employee",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.review.employee.open",
                          "payloadExpr": "${employee}"
                        },
                        "fields": [
                          {
                            "label": "Current rating",
                            "valueExpr": "${employee.rating}"
                          },
                          {
                            "label": "Promotion readiness",
                            "valueExpr": "${employee.promotionReadiness}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.review.dossier.open",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Review views",
                        "subtitle": "Portable editorial tabs for review and calibration context.",
                        "appearance": "underline",
                        "defaultTabId": "summary",
                        "items": [
                          {
                            "id": "summary",
                            "label": "Summary",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Tabs keep review notes, promotion context and calibration rationale inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "calibration",
                            "label": "Calibration",
                            "icon": "tune",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Calibration rule",
                                    "value": "Escalate any rating change that requires council approval."
                                  },
                                  {
                                    "label": "Evidence source",
                                    "valueExpr": "${employee.reviewWindow}"
                                  },
                                  {
                                    "label": "Portability rule",
                                    "value": "Keep review semantics in the rich-content document; keep execution in the host."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Review manager",
                        "subtitleExpr": "${manager.name}",
                        "relationLabel": "Manager",
                        "metaExpr": "${manager.department}",
                        "ctaLabel": "Open manager",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.review.manager.open",
                          "payloadExpr": "${manager}"
                        },
                        "fields": [
                          {
                            "label": "Review lane",
                            "valueExpr": "${manager.reviewLane}",
                            "hint": "Resolved from the current review assignment."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Schedule calibration",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.review.manager.scheduleCalibration",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Review actions",
                        "subtitle": "Governed HR review outcomes",
                        "message": "Use semantic review actions instead of host-authored performance review button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Confirm review",
                            "icon": "task_alt",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "hr.review.confirm",
                              "payloadExpr": "${employee}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request calibration follow-up",
                            "icon": "flag",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.review.calibration.followUp",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Escalate review case",
                        "subtitleExpr": "${employee.id}",
                        "message": "Use actionCard when the HR host needs a governed escalation or calibration flow.",
                        "metaExpr": "${employee.role}",
                        "ctaLabel": "Escalate review",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.review.escalate",
                          "payloadExpr": "${employee}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.review.dossier.open",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "employee-promotion-review-workbench",
      "title": "Human Resources - promotion review workbench",
      "summary": "Presents promotion evidence, sponsor context and decision actions as a governed people-ops surface.",
      "i18n": {
        "pt": {
          "title": "Recursos Humanos - revisão de promoção",
          "summary": "Apresenta evidências de promoção, contexto de sponsor e ações de decisão como superfície governada.",
          "demonstrates": [
            "Explore Recursos Humanos - revisão de promoção e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/employee-promotion-review-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Apresenta evidências de promoção, contexto de sponsor e ações de decisão como superfície governada.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.employee-promotion-review-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/employee-promotion-review-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/employee-promotion-review-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/employee-promotion-review-workbench",
      "resourceKey": "operations.employee-promotion-review-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "human-resources",
        "promotion-review",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Promotion review signals authored as statGroup instead of host summary cards",
        "Selected employee context authored as lookupCard instead of host-authored promotion wrappers",
        "Promotion sponsor context authored as relatedRecord instead of custom relationship markup",
        "Portable promotion and sponsor rationale organized in tabs within the same RichContentDocument",
        "Governed promotion actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-promotion-review-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "employee-decision-workbenches",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "employee-promotion-review-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the promotion review workbench demonstrates a portable rich-content contract, not a backend HR promotion endpoint.",
          "The same promotion review surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-promotion-review-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/employee-promotion-review-workbench.json",
      "documentation": {
        "story": {
          "pt": "Apresenta evidências de promoção, contexto de sponsor e ações de decisão como superfície governada. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Presents promotion evidence, sponsor context and decision actions as a governed people-ops surface. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Recursos Humanos - revisão de promoção” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Human Resources - promotion review workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Recursos Humanos - revisão de promoção”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Human Resources - promotion review workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-promotion-review-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-promotion-review-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "employee-promotion-review-workbench",
        "title": "Human Resources - promotion review workbench",
        "summary": "Presents promotion evidence, sponsor context and decision actions as a governed people-ops surface.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/employee-promotion-review-workbench",
          "resourceKey": "operations.employee-promotion-review-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "human-resources",
          "promotion-review",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Promotion review signals authored as statGroup instead of host summary cards",
          "Selected employee context authored as lookupCard instead of host-authored promotion wrappers",
          "Promotion sponsor context authored as relatedRecord instead of custom relationship markup",
          "Portable promotion and sponsor rationale organized in tabs within the same RichContentDocument",
          "Governed promotion actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-promotion-review-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "employee-promotion-review-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the promotion review workbench demonstrates a portable rich-content contract, not a backend HR promotion endpoint.",
            "The same promotion review surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-promotion-review-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "employeePromotionReviewWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "north_star",
                "title": "Promotion review workbench",
                "subtitle": "Portable rich-content surface for governed HR promotion operations"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "employee-promotion-review-workbench",
                  "context": {
                    "employee": {
                      "id": "EMP-512",
                      "name": "Larissa Azevedo",
                      "role": "Senior Platform Engineer",
                      "department": "Platform engineering",
                      "cycle": "Q2",
                      "readiness": "Ready now",
                      "targetRole": "Staff Platform Engineer",
                      "impactSignal": "Cross-team platform leadership",
                      "reviewWindow": "5d"
                    },
                    "sponsor": {
                      "name": "Helena Souza",
                      "department": "Leadership sponsor",
                      "promotionLane": "Leadership council / role leveling"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "info",
                        "icon": "north_star",
                        "titleExpr": "${employee.name}",
                        "message": "Use a portable HR promotion review surface when the host must expose readiness signals, sponsor context and governed promotion actions without inventing people-ops templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Promotion signals",
                        "subtitle": "Canonical KPI block for promotion review workbenches",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Cycle",
                            "valueExpr": "${employee.cycle}",
                            "captionExpr": "${employee.department}",
                            "icon": "event"
                          },
                          {
                            "label": "Readiness",
                            "valueExpr": "${employee.readiness}",
                            "captionExpr": "${employee.reviewWindow}",
                            "icon": "trending_up"
                          },
                          {
                            "label": "Target role",
                            "valueExpr": "${employee.targetRole}",
                            "captionExpr": "${employee.impactSignal}",
                            "icon": "north"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected employee",
                        "status": "resolved",
                        "subtitleExpr": "${employee.name}",
                        "metaExpr": "${employee.role}",
                        "ctaLabel": "Open employee",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.promotion.employee.open",
                          "payloadExpr": "${employee}"
                        },
                        "fields": [
                          {
                            "label": "Target role",
                            "valueExpr": "${employee.targetRole}"
                          },
                          {
                            "label": "Impact signal",
                            "valueExpr": "${employee.impactSignal}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.promotion.dossier.open",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Promotion views",
                        "subtitle": "Portable editorial tabs for promotion summary and sponsor context.",
                        "appearance": "underline",
                        "defaultTabId": "summary",
                        "items": [
                          {
                            "id": "summary",
                            "label": "Summary",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Tabs keep promotion notes, readiness signals and sponsor rationale inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "sponsor",
                            "label": "Sponsor",
                            "icon": "groups",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Promotion rule",
                                    "value": "Escalate any readiness change that requires panel approval or role leveling exception."
                                  },
                                  {
                                    "label": "Evidence source",
                                    "valueExpr": "${employee.reviewWindow}"
                                  },
                                  {
                                    "label": "Portability rule",
                                    "value": "Keep promotion semantics in the rich-content document; keep execution in the host."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Promotion sponsor",
                        "subtitleExpr": "${sponsor.name}",
                        "relationLabel": "Sponsor",
                        "metaExpr": "${sponsor.department}",
                        "ctaLabel": "Open sponsor",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.promotion.sponsor.open",
                          "payloadExpr": "${sponsor}"
                        },
                        "fields": [
                          {
                            "label": "Promotion lane",
                            "valueExpr": "${sponsor.promotionLane}",
                            "hint": "Resolved from the current promotion review assignment."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Schedule sponsor review",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.promotion.sponsor.scheduleReview",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Promotion actions",
                        "subtitle": "Governed HR promotion outcomes",
                        "message": "Use semantic promotion actions instead of host-authored readiness button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Confirm promotion plan",
                            "icon": "task_alt",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "hr.promotion.confirm",
                              "payloadExpr": "${employee}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request sponsor follow-up",
                            "icon": "flag",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.promotion.sponsor.followUp",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Escalate promotion case",
                        "subtitleExpr": "${employee.id}",
                        "message": "Use actionCard when the HR host needs a governed promotion escalation or leveling exception flow.",
                        "metaExpr": "${employee.role}",
                        "ctaLabel": "Escalate promotion",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.promotion.escalate",
                          "payloadExpr": "${employee}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.promotion.dossier.open",
                              "payloadExpr": "${employee}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "employee-succession-planning-workbench",
      "title": "Human Resources - succession planning workbench",
      "summary": "Presents succession signals, sponsor context and planning actions as a portable HR decision surface.",
      "i18n": {
        "pt": {
          "title": "Recursos Humanos - sucessão",
          "summary": "Apresenta sinais de sucessão, contexto de sponsor e ações de planejamento como superfície portátil.",
          "demonstrates": [
            "Explore Recursos Humanos - sucessão e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/employee-succession-planning-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Apresenta sinais de sucessão, contexto de sponsor e ações de planejamento como superfície portátil.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.employee-succession-planning-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/employee-succession-planning-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/employee-succession-planning-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/employee-succession-planning-workbench",
      "resourceKey": "operations.employee-succession-planning-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "human-resources",
        "succession-planning",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Succession signals authored as statGroup instead of host summary cards",
        "Target-role context authored as lookupCard instead of host-authored succession wrappers",
        "Succession sponsor context authored as relatedRecord instead of custom relationship markup",
        "Portable succession and pipeline rationale organized in tabs within the same RichContentDocument",
        "Governed succession actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-succession-planning-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "employee-decision-workbenches",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "employee-succession-planning-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the succession planning workbench demonstrates a portable rich-content contract, not a backend HR succession endpoint.",
          "The same succession planning surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-succession-planning-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/employee-succession-planning-workbench.json",
      "documentation": {
        "story": {
          "pt": "Apresenta sinais de sucessão, contexto de sponsor e ações de planejamento como superfície portátil. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Presents succession signals, sponsor context and planning actions as a portable HR decision surface. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Recursos Humanos - sucessão” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Human Resources - succession planning workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Recursos Humanos - sucessão”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Human Resources - succession planning workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-succession-planning-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-succession-planning-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "employee-succession-planning-workbench",
        "title": "Human Resources - succession planning workbench",
        "summary": "Presents succession signals, sponsor context and planning actions as a portable HR decision surface.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/employee-succession-planning-workbench",
          "resourceKey": "operations.employee-succession-planning-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "human-resources",
          "succession-planning",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Succession signals authored as statGroup instead of host summary cards",
          "Target-role context authored as lookupCard instead of host-authored succession wrappers",
          "Succession sponsor context authored as relatedRecord instead of custom relationship markup",
          "Portable succession and pipeline rationale organized in tabs within the same RichContentDocument",
          "Governed succession actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-succession-planning-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "employee-succession-planning-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the succession planning workbench demonstrates a portable rich-content contract, not a backend HR succession endpoint.",
            "The same succession planning surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-succession-planning-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "employeeSuccessionPlanningWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "account_tree",
                "title": "Succession planning workbench",
                "subtitle": "Portable rich-content surface for governed HR succession planning"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "employee-succession-planning-workbench",
                  "context": {
                    "plan": {
                      "role": "Principal Platform Lead",
                      "incumbent": "Patricia Almeida",
                      "bench": "2",
                      "risk": "Moderate",
                      "window": "90d",
                      "readiness": "Ready in < 6 months"
                    },
                    "sponsor": {
                      "name": "Helena Souza",
                      "department": "Leadership sponsor",
                      "lane": "Leadership council / critical roles"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "info",
                        "icon": "account_tree",
                        "titleExpr": "${plan.role}",
                        "message": "Use a portable HR succession planning surface when the host must expose readiness signals, sponsor context and governed succession actions without inventing people-ops templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Succession signals",
                        "subtitle": "Canonical KPI block for succession planning workbenches",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Bench",
                            "valueExpr": "${plan.bench}",
                            "caption": "Ready successors",
                            "icon": "groups"
                          },
                          {
                            "label": "Risk",
                            "valueExpr": "${plan.risk}",
                            "caption": "Coverage continuity",
                            "icon": "warning"
                          },
                          {
                            "label": "Window",
                            "valueExpr": "${plan.window}",
                            "caption": "Planning horizon",
                            "icon": "schedule"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Target role",
                        "status": "resolved",
                        "subtitleExpr": "${plan.role}",
                        "meta": "Succession planning",
                        "ctaLabel": "Open successor plan",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.succession.plan.open",
                          "payloadExpr": "${plan}"
                        },
                        "fields": [
                          {
                            "label": "Current incumbent",
                            "valueExpr": "${plan.incumbent}"
                          },
                          {
                            "label": "Readiness",
                            "valueExpr": "${plan.readiness}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.succession.dossier.open",
                              "payloadExpr": "${plan}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Succession views",
                        "subtitle": "Portable editorial tabs for readiness summary and pipeline context.",
                        "appearance": "underline",
                        "defaultTabId": "summary",
                        "items": [
                          {
                            "id": "summary",
                            "label": "Summary",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Keep succession rationale, readiness notes and pipeline context inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "pipeline",
                            "label": "Pipeline",
                            "icon": "account_tree",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Planning rule",
                                    "value": "Escalate any succession gap with no ready-now successor or no sponsor alignment in the current cycle."
                                  },
                                  {
                                    "label": "Evidence source",
                                    "value": "Performance history, promotion outlook and sponsor alignment notes."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Succession sponsor",
                        "relationLabel": "Sponsor",
                        "subtitleExpr": "${sponsor.name}",
                        "metaExpr": "${sponsor.department}",
                        "ctaLabel": "Open sponsor",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.succession.sponsor.open",
                          "payloadExpr": "${sponsor}"
                        },
                        "fields": [
                          {
                            "label": "Planning lane",
                            "valueExpr": "${sponsor.lane}",
                            "hint": "Resolved from the current succession planning assignment."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Schedule sponsor sync",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.succession.sponsor.scheduleSync",
                              "payloadExpr": "${plan}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Succession actions",
                        "subtitle": "Governed HR succession outcomes",
                        "message": "Use semantic succession actions instead of host-authored planning button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Confirm succession plan",
                            "icon": "task_alt",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "hr.succession.confirm",
                              "payloadExpr": "${plan}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request readiness follow-up",
                            "icon": "sync",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.succession.readiness.followUp",
                              "payloadExpr": "${plan}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Escalate succession gap",
                        "subtitleExpr": "${plan.role}",
                        "message": "Use actionCard when the HR host needs a governed escalation for unresolved succession gaps or sponsor exceptions.",
                        "metaExpr": "${plan.readiness}",
                        "ctaLabel": "Escalate gap",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "hr.succession.escalate",
                          "payloadExpr": "${plan}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "hr.succession.dossier.open",
                              "payloadExpr": "${plan}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "onboarding-day-30-coaching-workbench",
      "title": "Onboarding - day-30 coaching workbench",
      "summary": "Presents day-30 coaching signals, manager context and development actions as a governed onboarding surface.",
      "i18n": {
        "pt": {
          "title": "Onboarding - coaching do dia 30",
          "summary": "Apresenta sinais de coaching do dia 30, contexto do gestor e ações de desenvolvimento como superfície governada.",
          "demonstrates": [
            "Explore Onboarding - coaching do dia 30 e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/onboarding-day-30-coaching-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Apresenta sinais de coaching do dia 30, contexto do gestor e ações de desenvolvimento como superfície governada.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.onboarding-day-30-coaching-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/onboarding-day-30-coaching-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/onboarding-day-30-coaching-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/onboarding-day-30-coaching-workbench",
      "resourceKey": "operations.onboarding-day-30-coaching-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "onboarding",
        "day-30",
        "coaching",
        "manager-follow-up",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Day-30 coaching metrics authored as statGroup instead of host-authored manager coaching cards",
        "Selected hire context authored as lookupCard instead of host-authored coaching wrappers",
        "Coaching owner context authored as relatedRecord instead of custom manager markup",
        "Portable coaching goals and blockers organized in tabs within the same RichContentDocument",
        "Governed coaching actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-day-30-coaching-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "onboarding-journeys",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "onboarding-day-30-coaching-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the onboarding day-30 coaching workbench demonstrates a portable rich-content contract, not a backend coaching endpoint.",
          "The same onboarding coaching surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-day-30-coaching-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/onboarding-day-30-coaching-workbench.json",
      "documentation": {
        "story": {
          "pt": "Apresenta sinais de coaching do dia 30, contexto do gestor e ações de desenvolvimento como superfície governada. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Presents day-30 coaching signals, manager context and development actions as a governed onboarding surface. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Onboarding - coaching do dia 30” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Onboarding - day-30 coaching workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Onboarding - coaching do dia 30”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Onboarding - day-30 coaching workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-day-30-coaching-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-day-30-coaching-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "onboarding-day-30-coaching-workbench",
        "title": "Onboarding - day-30 coaching workbench",
        "summary": "Presents day-30 coaching signals, manager context and development actions as a governed onboarding surface.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/onboarding-day-30-coaching-workbench",
          "resourceKey": "operations.onboarding-day-30-coaching-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "onboarding",
          "day-30",
          "coaching",
          "manager-follow-up",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Day-30 coaching metrics authored as statGroup instead of host-authored manager coaching cards",
          "Selected hire context authored as lookupCard instead of host-authored coaching wrappers",
          "Coaching owner context authored as relatedRecord instead of custom manager markup",
          "Portable coaching goals and blockers organized in tabs within the same RichContentDocument",
          "Governed coaching actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-day-30-coaching-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "onboarding-day-30-coaching-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the onboarding day-30 coaching workbench demonstrates a portable rich-content contract, not a backend coaching endpoint.",
            "The same onboarding coaching surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-day-30-coaching-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "onboardingDay30CoachingWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "psychology",
                "title": "Onboarding day-30 coaching workbench",
                "subtitle": "Portable rich-content surface for governed coaching"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "onboarding-day-30-coaching-workbench",
                  "context": {
                    "hire": {
                      "id": "ONB-830",
                      "name": "Tiago Almeida",
                      "role": "Customer Success Engineer",
                      "department": "Customer platform",
                      "focus": "Role clarity and first-month delivery plan",
                      "confidence": "8.1",
                      "openGoals": "4",
                      "risk": "Medium",
                      "pulse": "Needs stakeholder alignment"
                    },
                    "manager": {
                      "name": "Helena Souza",
                      "department": "Engineering leadership",
                      "lane": "First-month development plan"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "info",
                        "icon": "psychology",
                        "titleExpr": "${hire.name}",
                        "message": "Use a portable onboarding day-30 coaching surface when the host must expose governed coaching and manager development actions without inventing onboarding-specific templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Day-30 coaching signals",
                        "subtitle": "Canonical KPI block for onboarding coaching surfaces",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Confidence",
                            "valueExpr": "${hire.confidence}",
                            "captionExpr": "${hire.id}",
                            "icon": "psychology"
                          },
                          {
                            "label": "Open goals",
                            "valueExpr": "${hire.openGoals}",
                            "caption": "Needs manager review",
                            "icon": "flag"
                          },
                          {
                            "label": "Coaching risk",
                            "valueExpr": "${hire.risk}",
                            "captionExpr": "${hire.pulse}",
                            "icon": "report"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected hire",
                        "status": "resolved",
                        "subtitleExpr": "${hire.name}",
                        "metaExpr": "${hire.role}",
                        "ctaLabel": "Open hire",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "onboarding.day30.hire.open",
                          "payloadExpr": "${hire}"
                        },
                        "fields": [
                          {
                            "label": "Department",
                            "valueExpr": "${hire.department}"
                          },
                          {
                            "label": "Coaching focus",
                            "valueExpr": "${hire.focus}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.day30.dossier.open",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Coaching views",
                        "subtitle": "Portable editorial tabs for goals, blockers and next steps.",
                        "appearance": "underline",
                        "defaultTabId": "goals",
                        "items": [
                          {
                            "id": "goals",
                            "label": "Goals",
                            "icon": "flag",
                            "content": [
                              {
                                "type": "text",
                                "text": "Keep day-30 goals, first-month outcomes and coaching notes inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "blockers",
                            "label": "Blockers",
                            "icon": "warning",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Coaching blocker",
                                    "value": "Stakeholder map and role expectations need a manager-led reset."
                                  },
                                  {
                                    "label": "Coaching rule",
                                    "value": "Escalate when day-30 confidence drops below target or when two coaching goals remain unowned after manager review."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Coaching owner",
                        "subtitleExpr": "${manager.name}",
                        "relationLabel": "Manager",
                        "metaExpr": "${manager.department}",
                        "ctaLabel": "Open manager",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "onboarding.day30.manager.open",
                          "payloadExpr": "${manager}"
                        },
                        "fields": [
                          {
                            "label": "Coaching lane",
                            "valueExpr": "${manager.lane}",
                            "hint": "Resolved from the day-30 coaching assignment context."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Schedule coaching sync",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.day30.manager.scheduleSync",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Coaching actions",
                        "subtitle": "Governed day-30 coaching outcomes",
                        "message": "Use semantic coaching actions instead of host-authored onboarding manager button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Confirm coaching plan",
                            "icon": "check_circle",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "onboarding.day30.coaching.confirm",
                              "payloadExpr": "${hire}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request goal update",
                            "icon": "flag",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.day30.goals.requestUpdate",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Escalate coaching risk",
                        "subtitleExpr": "${hire.id}",
                        "message": "Use actionCard when the onboarding host needs a governed escalation flow for unresolved first-month coaching risks.",
                        "metaExpr": "${hire.pulse}",
                        "ctaLabel": "Escalate coaching risk",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "onboarding.day30.coaching.escalate",
                          "payloadExpr": "${hire}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.day30.dossier.open",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "onboarding-equipment-access-recovery-workbench",
      "title": "Onboarding - equipment and access recovery workbench",
      "summary": "Presents equipment and access recovery signals with owner context and remediation actions in one governed workspace.",
      "i18n": {
        "pt": {
          "title": "Onboarding - recuperação de acessos",
          "summary": "Apresenta recuperação de equipamento e acesso com dono, contexto e ações de remediação em um workspace governado.",
          "demonstrates": [
            "Explore Onboarding - recuperação de acessos e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/onboarding-equipment-access-recovery-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Apresenta recuperação de equipamento e acesso com dono, contexto e ações de remediação em um workspace governado.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.onboarding-equipment-access-recovery-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/onboarding-equipment-access-recovery-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/onboarding-equipment-access-recovery-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/onboarding-equipment-access-recovery-workbench",
      "resourceKey": "operations.onboarding-equipment-access-recovery-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "onboarding",
        "recovery",
        "access",
        "equipment",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Recovery metrics authored as statGroup instead of host-authored access summary cards",
        "Selected hire context authored as lookupCard instead of host-authored recovery wrappers",
        "Access owner context authored as relatedRecord instead of custom relationship markup",
        "Portable recovery notes and blockers organized in tabs within the same RichContentDocument",
        "Governed recovery actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-equipment-access-recovery-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "onboarding-journeys",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "onboarding-recovery-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the onboarding equipment and access recovery workbench demonstrates a portable rich-content contract, not a backend recovery endpoint.",
          "The same onboarding recovery surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-equipment-access-recovery-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/onboarding-equipment-access-recovery-workbench.json",
      "documentation": {
        "story": {
          "pt": "Apresenta recuperação de equipamento e acesso com dono, contexto e ações de remediação em um workspace governado. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Presents equipment and access recovery signals with owner context and remediation actions in one governed workspace. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Onboarding - recuperação de acessos” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Onboarding - equipment and access recovery workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Onboarding - recuperação de acessos”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Onboarding - equipment and access recovery workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-equipment-access-recovery-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-equipment-access-recovery-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "onboarding-equipment-access-recovery-workbench",
        "title": "Onboarding - equipment and access recovery workbench",
        "summary": "Presents equipment and access recovery signals with owner context and remediation actions in one governed workspace.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/onboarding-equipment-access-recovery-workbench",
          "resourceKey": "operations.onboarding-equipment-access-recovery-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "onboarding",
          "recovery",
          "access",
          "equipment",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Recovery metrics authored as statGroup instead of host-authored access summary cards",
          "Selected hire context authored as lookupCard instead of host-authored recovery wrappers",
          "Access owner context authored as relatedRecord instead of custom relationship markup",
          "Portable recovery notes and blockers organized in tabs within the same RichContentDocument",
          "Governed recovery actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-equipment-access-recovery-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "onboarding-recovery-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the onboarding equipment and access recovery workbench demonstrates a portable rich-content contract, not a backend recovery endpoint.",
            "The same onboarding recovery surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-equipment-access-recovery-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "onboardingEquipmentAccessRecoveryWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "vpn_key",
                "title": "Onboarding equipment and access recovery workbench",
                "subtitle": "Portable rich-content surface for governed access recovery"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "onboarding-equipment-access-recovery-workbench",
                  "context": {
                    "hire": {
                      "id": "ONB-741",
                      "name": "Rafaela Dias",
                      "role": "Platform Engineer",
                      "department": "Developer experience",
                      "blocker": "VPN and SSO provisioning",
                      "openBlockers": "3",
                      "criticalApps": "2",
                      "recoverySla": "6h",
                      "deviceState": "Laptop delivered / account pending"
                    },
                    "owner": {
                      "name": "Marcos Lima",
                      "department": "IT operations",
                      "lane": "Identity and device setup"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "warning",
                        "icon": "vpn_key",
                        "titleExpr": "${hire.name}",
                        "message": "Use a portable onboarding equipment and access recovery surface when the host must expose governed access recovery and device remediation actions without inventing onboarding-specific templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Recovery signals",
                        "subtitle": "Canonical KPI block for onboarding recovery surfaces",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Open blockers",
                            "valueExpr": "${hire.openBlockers}",
                            "captionExpr": "${hire.id}",
                            "icon": "warning"
                          },
                          {
                            "label": "Critical apps",
                            "valueExpr": "${hire.criticalApps}",
                            "caption": "Still missing",
                            "icon": "apps"
                          },
                          {
                            "label": "Recovery SLA",
                            "valueExpr": "${hire.recoverySla}",
                            "captionExpr": "${hire.blocker}",
                            "icon": "schedule"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected hire",
                        "status": "resolved",
                        "subtitleExpr": "${hire.name}",
                        "metaExpr": "${hire.role}",
                        "ctaLabel": "Open hire",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "onboarding.recovery.hire.open",
                          "payloadExpr": "${hire}"
                        },
                        "fields": [
                          {
                            "label": "Department",
                            "valueExpr": "${hire.department}"
                          },
                          {
                            "label": "Device state",
                            "valueExpr": "${hire.deviceState}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.recovery.dossier.open",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Recovery views",
                        "subtitle": "Portable editorial tabs for recovery status and blocker details.",
                        "appearance": "underline",
                        "defaultTabId": "status",
                        "items": [
                          {
                            "id": "status",
                            "label": "Status",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Keep access status, recovery notes and remediation evidence inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "blockers",
                            "label": "Blockers",
                            "icon": "warning",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Missing access",
                                    "value": "SSO, analytics workspace and VPN group mapping."
                                  },
                                  {
                                    "label": "Recovery rule",
                                    "value": "Escalate any access or device blocker still unresolved after the first business day or any blocker affecting payroll, identity or secure access."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Access owner",
                        "subtitleExpr": "${owner.name}",
                        "relationLabel": "Ops owner",
                        "metaExpr": "${owner.department}",
                        "ctaLabel": "Open owner",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "onboarding.recovery.owner.open",
                          "payloadExpr": "${owner}"
                        },
                        "fields": [
                          {
                            "label": "Recovery lane",
                            "valueExpr": "${owner.lane}",
                            "hint": "Resolved from the recovery assignment context."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Schedule recovery sync",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.recovery.owner.scheduleSync",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Recovery actions",
                        "subtitle": "Governed onboarding recovery outcomes",
                        "message": "Use semantic recovery actions instead of host-authored onboarding access button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Confirm recovery plan",
                            "icon": "check_circle",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "onboarding.recovery.confirm",
                              "payloadExpr": "${hire}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request access reset",
                            "icon": "restart_alt",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.recovery.access.reset",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Escalate recovery risk",
                        "subtitleExpr": "${hire.id}",
                        "message": "Use actionCard when the onboarding host needs a governed escalation flow for unresolved access or equipment blockers.",
                        "metaExpr": "${hire.blocker}",
                        "ctaLabel": "Escalate recovery risk",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "onboarding.recovery.escalate",
                          "payloadExpr": "${hire}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.recovery.dossier.open",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "onboarding-journey-workbench",
      "title": "Onboarding - journey workbench",
      "summary": "Presents onboarding KPIs, buddy context and next-step actions as a governed journey surface.",
      "i18n": {
        "pt": {
          "title": "Onboarding - jornada",
          "summary": "Apresenta KPIs de onboarding, contexto do buddy e próximos passos em uma jornada governada.",
          "demonstrates": [
            "Explore Onboarding - jornada e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/onboarding-journey-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Apresenta KPIs de onboarding, contexto do buddy e próximos passos em uma jornada governada.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.onboarding-journey-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/onboarding-journey-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/onboarding-journey-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/onboarding-journey-workbench",
      "resourceKey": "operations.onboarding-journey-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "onboarding",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Onboarding KPIs authored as statGroup instead of host progress cards",
        "Selected hire context authored as lookupCard instead of host-authored journey wrappers",
        "Assigned buddy context authored as relatedRecord instead of custom relationship markup",
        "Portable onboarding rationale organized in tabs within the same RichContentDocument",
        "Governed onboarding actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-journey-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "onboarding-journeys",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "onboarding-journey-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the onboarding workbench demonstrates a portable rich-content contract, not a backend onboarding endpoint.",
          "The same onboarding surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-journey-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/onboarding-journey-workbench.json",
      "documentation": {
        "story": {
          "pt": "Apresenta KPIs de onboarding, contexto do buddy e próximos passos em uma jornada governada. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Presents onboarding KPIs, buddy context and next-step actions as a governed journey surface. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Onboarding - jornada” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Onboarding - journey workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Onboarding - jornada”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Onboarding - journey workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-journey-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-journey-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "onboarding-journey-workbench",
        "title": "Onboarding - journey workbench",
        "summary": "Presents onboarding KPIs, buddy context and next-step actions as a governed journey surface.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/onboarding-journey-workbench",
          "resourceKey": "operations.onboarding-journey-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "onboarding",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Onboarding KPIs authored as statGroup instead of host progress cards",
          "Selected hire context authored as lookupCard instead of host-authored journey wrappers",
          "Assigned buddy context authored as relatedRecord instead of custom relationship markup",
          "Portable onboarding rationale organized in tabs within the same RichContentDocument",
          "Governed onboarding actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-journey-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "onboarding-journey-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the onboarding workbench demonstrates a portable rich-content contract, not a backend onboarding endpoint.",
            "The same onboarding surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-journey-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "onboardingJourneyWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "person_add",
                "title": "Onboarding journey workbench",
                "subtitle": "Portable rich-content surface for governed onboarding flows"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "onboarding-journey-workbench",
                  "context": {
                    "hire": {
                      "id": "ONB-301",
                      "name": "Leonardo Ramos",
                      "role": "Platform Engineer",
                      "department": "Platform Engineering",
                      "day": "D+3",
                      "pendingTasks": "5",
                      "equipment": "Awaiting delivery",
                      "welcomeTrack": "Platform foundation",
                      "reviewWindow": "Friday"
                    },
                    "buddy": {
                      "name": "Marina Costa",
                      "department": "Engineering enablement"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "info",
                        "icon": "person_add",
                        "titleExpr": "${hire.name}",
                        "message": "Use a portable onboarding surface when the host must expose governed journey actions without inventing onboarding-specific templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Onboarding signals",
                        "subtitle": "Canonical KPI block for onboarding journey surfaces",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Day",
                            "valueExpr": "${hire.day}",
                            "captionExpr": "${hire.department}",
                            "icon": "event"
                          },
                          {
                            "label": "Tasks left",
                            "valueExpr": "${hire.pendingTasks}",
                            "captionExpr": "${hire.welcomeTrack}",
                            "icon": "task_alt"
                          },
                          {
                            "label": "Equipment",
                            "valueExpr": "${hire.equipment}",
                            "caption": "Provisioning status",
                            "icon": "laptop_mac"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected hire",
                        "status": "resolved",
                        "subtitleExpr": "${hire.name}",
                        "metaExpr": "${hire.role}",
                        "ctaLabel": "Open hire",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "onboarding.hire.open",
                          "payloadExpr": "${hire}"
                        },
                        "fields": [
                          {
                            "label": "Department",
                            "valueExpr": "${hire.department}"
                          },
                          {
                            "label": "Welcome track",
                            "valueExpr": "${hire.welcomeTrack}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.dossier.open",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Journey views",
                        "subtitle": "Portable editorial tabs for onboarding context.",
                        "appearance": "underline",
                        "defaultTabId": "overview",
                        "items": [
                          {
                            "id": "overview",
                            "label": "Overview",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Tabs keep journey notes, provisioning context and first-week readiness inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "readiness",
                            "label": "Readiness",
                            "icon": "assignment_turned_in",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Review window",
                                    "valueExpr": "${hire.reviewWindow}"
                                  },
                                  {
                                    "label": "Equipment",
                                    "valueExpr": "${hire.equipment}"
                                  },
                                  {
                                    "label": "Portability rule",
                                    "value": "Keep journey semantics in the rich-content document; keep execution in the host."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Assigned buddy",
                        "subtitleExpr": "${buddy.name}",
                        "relationLabel": "Buddy",
                        "metaExpr": "${buddy.department}",
                        "ctaLabel": "Open buddy",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "onboarding.buddy.open",
                          "payloadExpr": "${buddy}"
                        },
                        "fields": [
                          {
                            "label": "Welcome track",
                            "valueExpr": "${hire.welcomeTrack}",
                            "hint": "Resolved from the current onboarding plan."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Schedule intro",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.buddy.scheduleIntro",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Journey actions",
                        "subtitle": "Governed onboarding follow-up actions",
                        "message": "Use semantic action clusters instead of host-authored onboarding button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Start checklist",
                            "icon": "checklist",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "onboarding.checklist.start",
                              "payloadExpr": "${hire}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request equipment",
                            "icon": "inventory_2",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.equipment.request",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Open onboarding dossier",
                        "subtitleExpr": "${hire.id}",
                        "message": "Use actionCard when the onboarding host needs a governed dossier or coordinator workflow.",
                        "metaExpr": "${hire.role}",
                        "ctaLabel": "Open dossier",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "onboarding.dossier.open",
                          "payloadExpr": "${hire}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Escalate blocker",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.blocker.escalate",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "onboarding-manager-follow-up-workbench",
      "title": "Onboarding - manager follow-up workbench",
      "summary": "Presents manager follow-up signals, coaching context and onboarding actions as governed runtime content.",
      "i18n": {
        "pt": {
          "title": "Onboarding - follow-up do gestor",
          "summary": "Apresenta sinais de follow-up do gestor, contexto de coaching e ações governadas de onboarding.",
          "demonstrates": [
            "Explore Onboarding - follow-up do gestor e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/onboarding-manager-follow-up-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Apresenta sinais de follow-up do gestor, contexto de coaching e ações governadas de onboarding.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.onboarding-manager-follow-up-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/onboarding-manager-follow-up-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/onboarding-manager-follow-up-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/onboarding-manager-follow-up-workbench",
      "resourceKey": "operations.onboarding-manager-follow-up-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "onboarding",
        "manager-follow-up",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "Manager follow-up metrics authored as statGroup instead of host manager summary cards",
        "Selected hire context authored as lookupCard instead of host-authored follow-up wrappers",
        "Assigned manager context authored as relatedRecord instead of custom relationship markup",
        "Portable follow-up notes and blockers organized in tabs within the same RichContentDocument",
        "Governed follow-up actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-manager-follow-up-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "onboarding-journeys",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "onboarding-follow-up-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the onboarding manager follow-up workbench demonstrates a portable rich-content contract, not a backend follow-up endpoint.",
          "The same onboarding follow-up surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-manager-follow-up-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/onboarding-manager-follow-up-workbench.json",
      "documentation": {
        "story": {
          "pt": "Apresenta sinais de follow-up do gestor, contexto de coaching e ações governadas de onboarding. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Presents manager follow-up signals, coaching context and onboarding actions as governed runtime content. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Onboarding - follow-up do gestor” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Onboarding - manager follow-up workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Onboarding - follow-up do gestor”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Onboarding - manager follow-up workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-manager-follow-up-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-manager-follow-up-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "onboarding-manager-follow-up-workbench",
        "title": "Onboarding - manager follow-up workbench",
        "summary": "Presents manager follow-up signals, coaching context and onboarding actions as governed runtime content.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/onboarding-manager-follow-up-workbench",
          "resourceKey": "operations.onboarding-manager-follow-up-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "onboarding",
          "manager-follow-up",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "Manager follow-up metrics authored as statGroup instead of host manager summary cards",
          "Selected hire context authored as lookupCard instead of host-authored follow-up wrappers",
          "Assigned manager context authored as relatedRecord instead of custom relationship markup",
          "Portable follow-up notes and blockers organized in tabs within the same RichContentDocument",
          "Governed follow-up actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-manager-follow-up-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "onboarding-follow-up-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the onboarding manager follow-up workbench demonstrates a portable rich-content contract, not a backend follow-up endpoint.",
            "The same onboarding follow-up surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-manager-follow-up-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "onboardingManagerFollowUpWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "supervisor_account",
                "title": "Onboarding manager follow-up workbench",
                "subtitle": "Portable rich-content surface for governed manager follow-up"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "onboarding-manager-follow-up-workbench",
                  "context": {
                    "hire": {
                      "id": "ONB-680",
                      "name": "Bianca Torres",
                      "role": "Product Analyst",
                      "department": "Platform strategy",
                      "focus": "First 30-day goals",
                      "checkIns": "3",
                      "openBlockers": "2",
                      "sentiment": "7.8",
                      "pulse": "Needs role clarity"
                    },
                    "manager": {
                      "name": "Helena Souza",
                      "department": "Engineering leadership",
                      "lane": "30-day coaching plan"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "info",
                        "icon": "supervisor_account",
                        "titleExpr": "${hire.name}",
                        "message": "Use a portable onboarding manager follow-up surface when the host must expose governed coaching and manager follow-up actions without inventing onboarding-specific templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Follow-up signals",
                        "subtitle": "Canonical KPI block for onboarding manager follow-up surfaces",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Check-ins",
                            "valueExpr": "${hire.checkIns}",
                            "captionExpr": "${hire.id}",
                            "icon": "event_note"
                          },
                          {
                            "label": "Open blockers",
                            "valueExpr": "${hire.openBlockers}",
                            "caption": "Needs manager action",
                            "icon": "warning"
                          },
                          {
                            "label": "Sentiment",
                            "valueExpr": "${hire.sentiment}",
                            "captionExpr": "${hire.pulse}",
                            "icon": "sentiment_satisfied"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected hire",
                        "status": "resolved",
                        "subtitleExpr": "${hire.name}",
                        "metaExpr": "${hire.role}",
                        "ctaLabel": "Open hire",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "onboarding.followup.hire.open",
                          "payloadExpr": "${hire}"
                        },
                        "fields": [
                          {
                            "label": "Department",
                            "valueExpr": "${hire.department}"
                          },
                          {
                            "label": "Current focus",
                            "valueExpr": "${hire.focus}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.followup.dossier.open",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Follow-up views",
                        "subtitle": "Portable editorial tabs for manager notes and blockers.",
                        "appearance": "underline",
                        "defaultTabId": "summary",
                        "items": [
                          {
                            "id": "summary",
                            "label": "Summary",
                            "icon": "dashboard",
                            "content": [
                              {
                                "type": "text",
                                "text": "Keep manager follow-up notes, pulse observations and enablement actions inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "blockers",
                            "label": "Blockers",
                            "icon": "warning",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Open blocker",
                                    "value": "Role expectations and stakeholder map still need clarification."
                                  },
                                  {
                                    "label": "Follow-up rule",
                                    "value": "Escalate any blocker still unresolved after the second manager follow-up or any sentiment drop below 7."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Assigned manager",
                        "subtitleExpr": "${manager.name}",
                        "relationLabel": "Manager",
                        "metaExpr": "${manager.department}",
                        "ctaLabel": "Open manager",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "onboarding.followup.manager.open",
                          "payloadExpr": "${manager}"
                        },
                        "fields": [
                          {
                            "label": "Follow-up lane",
                            "valueExpr": "${manager.lane}",
                            "hint": "Resolved from the follow-up assignment context."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Schedule manager sync",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.followup.manager.scheduleSync",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Follow-up actions",
                        "subtitle": "Governed onboarding follow-up outcomes",
                        "message": "Use semantic follow-up actions instead of host-authored onboarding manager button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Confirm follow-up plan",
                            "icon": "check_circle",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "onboarding.followup.confirm",
                              "payloadExpr": "${hire}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request coaching update",
                            "icon": "forum",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.followup.coaching.requestUpdate",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Escalate onboarding risk",
                        "subtitleExpr": "${hire.id}",
                        "message": "Use actionCard when the onboarding host needs a governed escalation flow for unresolved manager follow-up risks.",
                        "metaExpr": "${hire.pulse}",
                        "ctaLabel": "Escalate follow-up risk",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "onboarding.followup.escalate",
                          "payloadExpr": "${hire}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.followup.dossier.open",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "onboarding-readiness-workbench",
      "title": "Onboarding - readiness workbench",
      "summary": "Presents first-week readiness, manager context and blocker actions as a portable onboarding workspace.",
      "i18n": {
        "pt": {
          "title": "Onboarding - prontidão inicial",
          "summary": "Apresenta prontidão da primeira semana, contexto do gestor e ações sobre bloqueios em uma superfície portável.",
          "demonstrates": [
            "Explore Onboarding - prontidão inicial e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-rich-content materializa operations/onboarding-readiness-workbench com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Apresenta prontidão da primeira semana, contexto do gestor e ações sobre bloqueios em uma superfície portável.",
            "Confirme no resultado capacidades da plataforma como praxis-rich-content.document, rich-content.statGroup, rich-content.lookupCard.",
            "Verifique a conexão com as evidências canônicas praxis-rich-content.metadata.ts e praxis-dynamic-page.onboarding-readiness-workbench.json."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/onboarding-readiness-workbench",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/onboarding-readiness-workbench",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-rich-content",
      "resourcePath": "operations/onboarding-readiness-workbench",
      "resourceKey": "operations.onboarding-readiness-workbench",
      "requires": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "actionButton"
      ],
      "tags": [
        "onboarding",
        "readiness",
        "rich-content",
        "workbench",
        "governed-actions",
        "ai-recipe"
      ],
      "demonstrates": [
        "First-week readiness metrics authored as statGroup instead of host progress cards",
        "Selected hire context authored as lookupCard instead of host-authored readiness wrappers",
        "Assigned manager context authored as relatedRecord instead of custom relationship markup",
        "Portable blockers and readiness notes organized in tabs within the same RichContentDocument",
        "Governed readiness actions clustered in ctaGroup and actionCard with host-mediated execution"
      ],
      "platformFeatures": [
        "praxis-rich-content.document",
        "rich-content.statGroup",
        "rich-content.lookupCard",
        "rich-content.tabs",
        "rich-content.relatedRecord",
        "rich-content.ctaGroup",
        "rich-content.actionCard",
        "hostCapabilities.runtime-only"
      ],
      "backendSurfaces": [
        "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-readiness-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "onboarding-journeys",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-rich-content-rendered",
          "onboarding-readiness-actions-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because the onboarding readiness workbench demonstrates a portable rich-content contract, not a backend readiness endpoint.",
          "The same onboarding readiness surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-readiness-workbench.json",
        "praxis-ui-angular/projects/praxis-rich-content/README.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/onboarding-readiness-workbench.json",
      "documentation": {
        "story": {
          "pt": "Apresenta prontidão da primeira semana, contexto do gestor e ações sobre bloqueios em uma superfície portável. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-rich-content materializa do que continua sob responsabilidade da configuração local e da mediação do app host.",
          "en": "Presents first-week readiness, manager context and blocker actions as a portable onboarding workspace. The recipe follows that task from its initial context to the visible result and separates what praxis-rich-content materializes from what remains owned by local configuration and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-rich-content deve tornar a promessa de “Onboarding - prontidão inicial” inspecionável: o visitante relaciona praxis-rich-content.document ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-rich-content must make the “Onboarding - readiness workbench” promise inspectable: visitors relate praxis-rich-content.document to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-rich-content",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Organiza conteúdo editorial estruturado, contexto e chamadas para ação.",
              "en": "Organizes structured editorial content, context and calls to action."
            },
            "rationale": {
              "pt": "Separa narrativa e orientação do código do host, preservando uma superfície portável e governável.",
              "en": "Separates narrative and guidance from host code while preserving a portable, governable surface."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.document.blocks",
            "title": {
              "pt": "Sequência editorial",
              "en": "Editorial sequence"
            },
            "explanation": {
              "pt": "Ordena contexto, métricas, detalhes e ações como uma narrativa operacional executável.",
              "en": "Orders context, metrics, details and actions as an executable operational narrative."
            }
          },
          {
            "jsonPath": "definition.inputs.context",
            "title": {
              "pt": "Contexto resolvido",
              "en": "Resolved context"
            },
            "explanation": {
              "pt": "Fornece valores usados pelas expressões sem incorporá-los de forma rígida ao documento editorial.",
              "en": "Provides values used by expressions without hard-coding them into the editorial document."
            }
          },
          {
            "jsonPath": "definition.inputs.document.blocks[].action",
            "title": {
              "pt": "Ações semânticas",
              "en": "Semantic actions"
            },
            "explanation": {
              "pt": "Declara a intenção da ação; autorização e execução continuam mediadas pelo host.",
              "en": "Declares action intent while authorization and execution remain host-mediated."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Reordene um bloco editorial ou altere sua ênfase e acompanhe a recomposição sem rebuild.",
            "en": "Reorder an editorial block or change its emphasis and watch the composition update without a rebuild."
          },
          {
            "pt": "Procure praxis-rich-content.document no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Onboarding - prontidão inicial”.",
            "en": "Find praxis-rich-content.document in the primary widget, change only its associated configuration, and compare the effect with the “Onboarding - readiness workbench” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Este cenário usa dados locais para que a composição possa ser explorada sem credenciais nem mutações reais.",
            "en": "This scenario uses local data so the composition can be explored without credentials or real mutations."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-readiness-workbench.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-readiness-workbench.json."
          }
        ]
      },
      "envelope": {
        "id": "onboarding-readiness-workbench",
        "title": "Onboarding - readiness workbench",
        "summary": "Presents first-week readiness, manager context and blocker actions as a portable onboarding workspace.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-rich-content",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/rich-content"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "operations/onboarding-readiness-workbench",
          "resourceKey": "operations.onboarding-readiness-workbench"
        },
        "requires": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "actionButton"
        ],
        "tags": [
          "onboarding",
          "readiness",
          "rich-content",
          "workbench",
          "governed-actions",
          "ai-recipe"
        ],
        "demonstrates": [
          "First-week readiness metrics authored as statGroup instead of host progress cards",
          "Selected hire context authored as lookupCard instead of host-authored readiness wrappers",
          "Assigned manager context authored as relatedRecord instead of custom relationship markup",
          "Portable blockers and readiness notes organized in tabs within the same RichContentDocument",
          "Governed readiness actions clustered in ctaGroup and actionCard with host-mediated execution"
        ],
        "platformFeatures": [
          "praxis-rich-content.document",
          "rich-content.statGroup",
          "rich-content.lookupCard",
          "rich-content.tabs",
          "rich-content.relatedRecord",
          "rich-content.ctaGroup",
          "rich-content.actionCard",
          "hostCapabilities.runtime-only"
        ],
        "backendSurfaces": [
          "praxis-ui-angular/projects/praxis-rich-content/src/lib/praxis-rich-content.metadata.ts",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-readiness-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-rich-content-rendered",
            "onboarding-readiness-actions-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because the onboarding readiness workbench demonstrates a portable rich-content contract, not a backend readiness endpoint.",
            "The same onboarding readiness surface can be hosted by dynamic pages, dialogs, tabs or page-builder workspaces without reauthoring the semantic document."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.onboarding-readiness-workbench.json",
          "praxis-ui-angular/projects/praxis-rich-content/README.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "onboardingReadinessWorkbench",
              "shell": {
                "kind": "dashboard-card",
                "icon": "checklist",
                "title": "Onboarding readiness workbench",
                "subtitle": "Portable rich-content surface for governed first-week readiness"
              },
              "definition": {
                "id": "praxis-rich-content",
                "bindingOrder": [
                  "document",
                  "context",
                  "layout",
                  "rootClassName"
                ],
                "inputs": {
                  "layout": "block",
                  "rootClassName": "onboarding-readiness-workbench",
                  "context": {
                    "hire": {
                      "id": "ONB-512",
                      "name": "Bianca Torres",
                      "role": "Product Analyst",
                      "department": "Platform strategy",
                      "startDate": "Monday",
                      "readiness": "82%",
                      "pendingEquipment": "2",
                      "blocker": "Badge access and laptop delivery",
                      "weekPlan": "Platform immersion"
                    },
                    "manager": {
                      "name": "Helena Souza",
                      "department": "Engineering leadership"
                    }
                  },
                  "document": {
                    "kind": "praxis.rich-content",
                    "version": "1.0.0",
                    "nodes": [
                      {
                        "type": "callout",
                        "tone": "info",
                        "icon": "checklist",
                        "titleExpr": "${hire.name}",
                        "message": "Use a portable onboarding readiness surface when the host must expose governed first-week actions without inventing onboarding-specific templates."
                      },
                      {
                        "type": "statGroup",
                        "title": "Readiness signals",
                        "subtitle": "Canonical KPI block for onboarding readiness surfaces",
                        "layout": "grid",
                        "items": [
                          {
                            "label": "Checklist",
                            "valueExpr": "${hire.readiness}",
                            "captionExpr": "${hire.id}",
                            "icon": "checklist"
                          },
                          {
                            "label": "Equipment",
                            "valueExpr": "${hire.pendingEquipment}",
                            "caption": "Pending deliveries",
                            "icon": "laptop_mac"
                          },
                          {
                            "label": "Start date",
                            "valueExpr": "${hire.startDate}",
                            "captionExpr": "${hire.department}",
                            "icon": "event"
                          }
                        ]
                      },
                      {
                        "type": "lookupCard",
                        "title": "Selected hire",
                        "status": "resolved",
                        "subtitleExpr": "${hire.name}",
                        "metaExpr": "${hire.role}",
                        "ctaLabel": "Open hire",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "onboarding.readiness.hire.open",
                          "payloadExpr": "${hire}"
                        },
                        "fields": [
                          {
                            "label": "Department",
                            "valueExpr": "${hire.department}"
                          },
                          {
                            "label": "Start date",
                            "valueExpr": "${hire.startDate}"
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.readiness.dossier.open",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "tabs",
                        "title": "Readiness views",
                        "subtitle": "Portable editorial tabs for readiness and blockers.",
                        "appearance": "underline",
                        "defaultTabId": "readiness",
                        "items": [
                          {
                            "id": "readiness",
                            "label": "Readiness",
                            "icon": "task_alt",
                            "content": [
                              {
                                "type": "text",
                                "text": "Tabs keep first-week readiness notes, blockers and operational evidence inside the same RichContentDocument."
                              }
                            ]
                          },
                          {
                            "id": "blockers",
                            "label": "Blockers",
                            "icon": "warning",
                            "content": [
                              {
                                "type": "keyValueList",
                                "layout": "stacked",
                                "items": [
                                  {
                                    "label": "Pending item",
                                    "valueExpr": "${hire.blocker}"
                                  },
                                  {
                                    "label": "Readiness rule",
                                    "value": "Escalate any blocker that still exists by day two or blocks manager onboarding milestones."
                                  }
                                ]
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "type": "relatedRecord",
                        "title": "Assigned manager",
                        "subtitleExpr": "${manager.name}",
                        "relationLabel": "Manager",
                        "metaExpr": "${manager.department}",
                        "ctaLabel": "Open manager",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "onboarding.readiness.manager.open",
                          "payloadExpr": "${manager}"
                        },
                        "fields": [
                          {
                            "label": "Week one plan",
                            "valueExpr": "${hire.weekPlan}",
                            "hint": "Resolved from the readiness assignment context."
                          }
                        ],
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Schedule check-in",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.readiness.manager.scheduleCheckIn",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "ctaGroup",
                        "title": "Readiness actions",
                        "subtitle": "Governed onboarding readiness outcomes",
                        "message": "Use semantic readiness actions instead of host-authored onboarding button bars.",
                        "layout": "split",
                        "actions": [
                          {
                            "type": "actionButton",
                            "label": "Confirm readiness",
                            "icon": "check_circle",
                            "variant": "raised",
                            "color": "primary",
                            "action": {
                              "actionId": "onboarding.readiness.confirm",
                              "payloadExpr": "${hire}"
                            }
                          },
                          {
                            "type": "actionButton",
                            "label": "Request equipment follow-up",
                            "icon": "inventory",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.readiness.equipment.followUp",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      },
                      {
                        "type": "actionCard",
                        "title": "Escalate onboarding blocker",
                        "subtitleExpr": "${hire.id}",
                        "message": "Use actionCard when the onboarding host needs a governed blocker escalation flow.",
                        "metaExpr": "${hire.blocker}",
                        "ctaLabel": "Escalate blocker",
                        "variant": "raised",
                        "color": "primary",
                        "action": {
                          "actionId": "onboarding.readiness.blocker.escalate",
                          "payloadExpr": "${hire}"
                        },
                        "secondaryActions": [
                          {
                            "type": "actionButton",
                            "label": "Open dossier",
                            "variant": "stroked",
                            "action": {
                              "actionId": "onboarding.readiness.dossier.open",
                              "payloadExpr": "${hire}"
                            }
                          }
                        ]
                      }
                    ]
                  }
                }
              }
            }
          ]
        }
      }
    },
    {
      "id": "employee-operations-casework",
      "title": "Central de operações de pessoas",
      "summary": "Reúne carteira de funcionários, atualizações de vínculo e um dossiê completo com folha, carreira, dependentes, missões e equipamentos.",
      "i18n": {
        "pt": {
          "title": "Central de operações de pessoas",
          "summary": "Reúne carteira de funcionários, atualizações de vínculo e um dossiê completo com folha, carreira, dependentes, missões e equipamentos.",
          "demonstrates": [
            "Tabela corporativa com avatar, status, chips, badges, valores, filtros rápidos e avançados, atalhos salvos, exportação e ações por linha",
            "Cadastro, consulta e edição em gavetas laterais, sem interromper o contexto da carteira",
            "Inativação e reativação com motivo, vigência, validação e disponibilidade definida pelo backend",
            "Uma seleção atualiza o dossiê e sete conjuntos de dados relacionados sem lógica de negócio duplicada na aplicação",
            "O inspetor compara o plano semântico de autoria com o JSON executável já expandido pelo compilador",
            "Cinco abas carregadas sob demanda preservam o contexto e mantêm a jornada responsiva",
            "Folha, competências, carreira, dependentes, endereço, missões e equipamentos conectados à mesma pessoa selecionada"
          ],
          "promptSuggestions": [
            "Como o contrato JSON conecta a pessoa selecionada ao dossiê em abas?",
            "Quais regras o backend aplica ao inativar ou reativar um vínculo?",
            "Como os formulários preservam o contexto sem duplicar regras na interface?",
            "Qual é a diferença entre o plano de autoria e o JSON executável da página?"
          ]
        },
        "en": {
          "title": "People operations workspace",
          "summary": "Brings together the employee portfolio, employment updates, and a complete dossier covering payroll, career, dependents, missions, and equipment."
        }
      },
      "publicRoute": "/examples/dynamic-page/employee-operations-casework",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/employee-operations-casework",
      "category": "page",
      "mode": "remote-metadata-driven",
      "primaryComponent": "praxis-crud",
      "resourcePath": "human-resources/funcionarios",
      "resourceKey": "human-resources.funcionarios",
      "requires": [
        "schemas.filtered",
        "filter",
        "surfaces",
        "actions",
        "capabilities",
        "resource.identity",
        "surface.relatedResource",
        "praxis-related-resource-outlet",
        "composition.links",
        "component-port.nestedPath",
        "remote-data"
      ],
      "tags": [
        "human-resources",
        "enterprise",
        "casework",
        "crud",
        "drawer",
        "workflow-actions",
        "master-detail",
        "tabs",
        "related-resource",
        "quickstart"
      ],
      "demonstrates": [
        "Rich employee table with avatar, status, chips, badges, currency, quick and advanced filters and row actions",
        "Saved filter shortcuts, visible-column export and density/column controls governed by the table contract",
        "Create, view and edit forms opened in drawers from canonical CRUD surface discovery",
        "Deactivate and reactivate forms materialized from backend workflow action request schemas",
        "Stable idempotency keys per action form attempt, allowing safe replay after network timeouts",
        "One employee selection driving a dossier form and seven related collections through composition.links",
        "A public inspector comparing the semantic authoring plan with the compiler-expanded executable JSON",
        "Five lazy tabs preserving context while controlling initial cost on a dense corporate journey",
        "Payroll, skills, career, dependents, address, missions and equipment custody resolved from surface.relatedResource",
        "Backend availability remaining authoritative even when JSON Logic hides irrelevant row affordances"
      ],
      "promptSuggestions": [
        "Show how the JSON connects table selection to the nested dossier tabs",
        "Where does the backend govern deactivate and reactivate forms?",
        "Compare CRUD drawers with workflow action forms"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "host-api-wiring",
        "remote-filter",
        "schema-driven-form",
        "crud.drawer",
        "workflow-action.discovery",
        "workflow-action.idempotency",
        "resource-action-open-adapter",
        "table.rich-renderers",
        "table.quick-filters",
        "table.advanced-filters",
        "table.saved-filter-shortcuts",
        "table.export",
        "table.columns-visibility",
        "table.density-toggle",
        "tabs.lazy-nested-widgets",
        "surface.relatedResource",
        "resource.identity",
        "praxis-related-resource-outlet",
        "composition.links",
        "authoring.ui-composition-plan",
        "component-port.nestedPath",
        "state.values"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered",
        "GET /schemas/surfaces?resource=human-resources.funcionarios",
        "GET /schemas/actions?resource=human-resources.funcionarios",
        "POST /api/human-resources/funcionarios/filter",
        "GET /api/human-resources/funcionarios/{id}",
        "GET /api/human-resources/funcionarios/{id}/surfaces",
        "GET /api/human-resources/funcionarios/{id}/actions",
        "GET /api/human-resources/funcionarios/{id}/capabilities",
        "POST /api/human-resources/funcionarios/{id}/actions/deactivate",
        "POST /api/human-resources/funcionarios/{id}/actions/reactivate",
        "GET /api/human-resources/funcionarios/{id}/payroll-history",
        "GET /api/human-resources/funcionarios/{id}/skills",
        "GET /api/human-resources/funcionarios/{id}/career-history",
        "GET /api/human-resources/funcionarios/{id}/dependents",
        "GET /api/human-resources/funcionarios/{id}/address",
        "GET /api/human-resources/funcionarios/{id}/mission-participations",
        "GET /api/human-resources/funcionarios/{id}/equipment-custody"
      ],
      "complexity": "advanced",
      "catalogRole": "composition",
      "learningStage": "enterprise",
      "variantFamilyId": "employee-workspace-compositions",
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-crud-rendered",
          "rich-columns-rendered",
          "advanced-filter-modal-opens",
          "praxis-tabs-rendered",
          "nested-selection-propagates",
          "inspector-base-contract-visible"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [
          "schemas-surfaces-human-resources-funcionarios",
          "funcionarios-filter-basic",
          "funcionarios-get-by-id",
          "missao-participantes-stats-papel",
          "equipamento-alocacoes-filter-status-danificado",
          "employee-state-snapshot-actions",
          "employee-equipment-custody-surface",
          "employee-payroll-history-related-resource"
        ],
        "pendingHttpIds": [],
        "notes": [
          "Reference API: https://praxis-api-quickstart.onrender.com",
          "The published Quickstart resolves deactivate/reactivate availability from persisted employee state; the read-only action snapshot is confirmed for employee 194.",
          "The published equipment-custody relatedResource surface is confirmed for employee 194; an empty collection remains a valid governed custody state.",
          "The published payroll-history relatedResource surface is confirmed for employee 194 and returns governed nominal payroll rows.",
          "Recommended example: the public Quickstart evidence and the declared browser checks were verified together on 2026-08-02.",
          "The JSON tab remains the complete governing contract; the host only provides runtime services and drawer/surface bridges.",
          "Salary and employee identity are sensitive; production hosts must enforce backend authorization, field access, masking and audit."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.ui-composition-plan.artifact.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.page.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-related-resource-outlet.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-crud.json"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/employee-operations-casework.json",
      "documentation": {
        "story": {
          "pt": "Reúne carteira de funcionários, atualizações de vínculo e um dossiê completo com folha, carreira, dependentes, missões e equipamentos. A receita acompanha essa tarefa do contexto inicial ao resultado visível e separa o que praxis-crud materializa do que continua sob responsabilidade da API, de suas capabilities e da mediação do app host.",
          "en": "Reúne carteira de funcionários, atualizações de vínculo e um dossiê completo com folha, carreira, dependentes, missões e equipamentos. The recipe follows that task from its initial context to the visible result and separates what praxis-crud materializes from what remains owned by the API, its capabilities and host-app mediation."
        },
        "outcome": {
          "pt": "No runtime, praxis-crud deve tornar a promessa de “Central de operações de pessoas” inspecionável: o visitante relaciona remote-filter ao trecho correspondente do JSON, observa o efeito na interface e entende o limite operacional antes de levar a composição para produção.",
          "en": "At runtime, praxis-crud must make the “Central de operações de pessoas” promise inspectable: visitors relate remote-filter to its JSON section, observe the effect in the interface, and understand the operational boundary before taking the composition to production."
        },
        "componentRoles": [
          {
            "component": "praxis-crud",
            "jsonPath": "page.widgets[].definition",
            "role": {
              "pt": "Coordena consulta, criação, edição e exclusão sobre um recurso.",
              "en": "Coordinates browse, create, edit and delete operations for a resource."
            },
            "rationale": {
              "pt": "Reúne operações governadas em uma superfície consistente sem duplicar shells de manutenção.",
              "en": "Brings governed operations into one consistent surface without duplicating maintenance shells."
            }
          },
          {
            "component": "praxis-related-resource-outlet",
            "jsonPath": "page.widgets[].definition.inputs",
            "role": {
              "pt": "Materializa uma capacidade registrada dentro do documento Dynamic Page.",
              "en": "Materializes a registered capability inside the Dynamic Page document."
            },
            "rationale": {
              "pt": "Reutiliza o contrato oficial do componente em vez de introduzir uma implementação exclusiva na rota.",
              "en": "Reuses the component official contract instead of introducing a route-specific implementation."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.config.resource",
            "title": {
              "pt": "Identidade do recurso",
              "en": "Resource identity"
            },
            "explanation": {
              "pt": "Mantém consulta e mutações ligadas ao mesmo recurso e às suas capacidades publicadas.",
              "en": "Keeps browse and mutations tied to the same resource and its published capabilities."
            }
          },
          {
            "jsonPath": "definition.inputs.config.openModes",
            "title": {
              "pt": "Modos de abertura",
              "en": "Open modes"
            },
            "explanation": {
              "pt": "Define onde criação, detalhe e edição aparecem sem codificar shells diferentes para cada ação.",
              "en": "Defines where create, detail and edit appear without coding different shells for every action."
            }
          },
          {
            "jsonPath": "definition.inputs.config.actions",
            "title": {
              "pt": "Operações disponíveis",
              "en": "Available operations"
            },
            "explanation": {
              "pt": "Projeta somente ações compatíveis com o contrato e com a mediação do host.",
              "en": "Projects only actions compatible with the contract and host mediation."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Desabilite uma operação ou altere seu modo de abertura e observe a adaptação da superfície.",
            "en": "Disable an operation or change its open mode and observe how the surface adapts."
          },
          {
            "pt": "Procure remote-filter no widget principal, altere somente a configuração associada e compare o efeito com a promessa de “Central de operações de pessoas”.",
            "en": "Find remote-filter in the primary widget, change only its associated configuration, and compare the effect with the “Central de operações de pessoas” promise."
          },
          {
            "pt": "Use “Restaurar baseline” depois do teste para comparar sua variação com a receita oficial.",
            "en": "Use “Restore baseline” after the test to compare your variation with the official recipe."
          }
        ],
        "productionNotes": [
          {
            "pt": "Os dados e as capacidades continuam pertencendo à API; o documento apenas materializa a experiência publicada.",
            "en": "Data and capabilities remain owned by the API; the document only materializes the published experience."
          },
          {
            "pt": "Autenticação, autorização, persistência e regras de negócio permanecem responsabilidades do backend e do app host.",
            "en": "Authentication, authorization, persistence and business rules remain responsibilities of the backend and host app."
          },
          {
            "pt": "A referência canônica está publicada em praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json.",
            "en": "The canonical reference is published at praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json."
          }
        ]
      },
      "envelope": {
        "id": "employee-operations-casework",
        "title": "Central de operações de pessoas",
        "summary": "Reúne carteira de funcionários, atualizações de vínculo e um dossiê completo com folha, carreira, dependentes, missões e equipamentos.",
        "i18n": {
          "pt": {
            "title": "Central de operações de pessoas",
            "summary": "Reúne carteira de funcionários, atualizações de vínculo e um dossiê completo com folha, carreira, dependentes, missões e equipamentos.",
            "demonstrates": [
              "Tabela corporativa com avatar, status, chips, badges, valores, filtros rápidos e avançados, atalhos salvos, exportação e ações por linha",
              "Cadastro, consulta e edição em gavetas laterais, sem interromper o contexto da carteira",
              "Inativação e reativação com motivo, vigência, validação e disponibilidade definida pelo backend",
              "Uma seleção atualiza o dossiê e sete conjuntos de dados relacionados sem lógica de negócio duplicada na aplicação",
              "O inspetor compara o plano semântico de autoria com o JSON executável já expandido pelo compilador",
              "Cinco abas carregadas sob demanda preservam o contexto e mantêm a jornada responsiva",
              "Folha, competências, carreira, dependentes, endereço, missões e equipamentos conectados à mesma pessoa selecionada"
            ],
            "promptSuggestions": [
              "Como o contrato JSON conecta a pessoa selecionada ao dossiê em abas?",
              "Quais regras o backend aplica ao inativar ou reativar um vínculo?",
              "Como os formulários preservam o contexto sem duplicar regras na interface?",
              "Qual é a diferença entre o plano de autoria e o JSON executável da página?"
            ]
          },
          "en": {
            "title": "People operations workspace",
            "summary": "Brings together the employee portfolio, employment updates, and a complete dossier covering payroll, career, dependents, missions, and equipment."
          }
        },
        "component": "praxis-dynamic-page",
        "category": "page",
        "primaryComponent": "praxis-crud",
        "runtime": {
          "mode": "remote-metadata-driven",
          "minPraxisUiPackage": "@praxisui/core"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/funcionarios",
          "resourceKey": "human-resources.funcionarios"
        },
        "requires": [
          "schemas.filtered",
          "filter",
          "surfaces",
          "actions",
          "capabilities",
          "resource.identity",
          "surface.relatedResource",
          "praxis-related-resource-outlet",
          "composition.links",
          "component-port.nestedPath",
          "remote-data"
        ],
        "tags": [
          "human-resources",
          "enterprise",
          "casework",
          "crud",
          "drawer",
          "workflow-actions",
          "master-detail",
          "tabs",
          "related-resource",
          "quickstart"
        ],
        "demonstrates": [
          "Rich employee table with avatar, status, chips, badges, currency, quick and advanced filters and row actions",
          "Saved filter shortcuts, visible-column export and density/column controls governed by the table contract",
          "Create, view and edit forms opened in drawers from canonical CRUD surface discovery",
          "Deactivate and reactivate forms materialized from backend workflow action request schemas",
          "Stable idempotency keys per action form attempt, allowing safe replay after network timeouts",
          "One employee selection driving a dossier form and seven related collections through composition.links",
          "A public inspector comparing the semantic authoring plan with the compiler-expanded executable JSON",
          "Five lazy tabs preserving context while controlling initial cost on a dense corporate journey",
          "Payroll, skills, career, dependents, address, missions and equipment custody resolved from surface.relatedResource",
          "Backend availability remaining authoritative even when JSON Logic hides irrelevant row affordances"
        ],
        "promptSuggestions": [
          "Show how the JSON connects table selection to the nested dossier tabs",
          "Where does the backend govern deactivate and reactivate forms?",
          "Compare CRUD drawers with workflow action forms"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "host-api-wiring",
          "remote-filter",
          "schema-driven-form",
          "crud.drawer",
          "workflow-action.discovery",
          "workflow-action.idempotency",
          "resource-action-open-adapter",
          "table.rich-renderers",
          "table.quick-filters",
          "table.advanced-filters",
          "table.saved-filter-shortcuts",
          "table.export",
          "table.columns-visibility",
          "table.density-toggle",
          "tabs.lazy-nested-widgets",
          "surface.relatedResource",
          "resource.identity",
          "praxis-related-resource-outlet",
          "composition.links",
          "authoring.ui-composition-plan",
          "component-port.nestedPath",
          "state.values"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered",
          "GET /schemas/surfaces?resource=human-resources.funcionarios",
          "GET /schemas/actions?resource=human-resources.funcionarios",
          "POST /api/human-resources/funcionarios/filter",
          "GET /api/human-resources/funcionarios/{id}",
          "GET /api/human-resources/funcionarios/{id}/surfaces",
          "GET /api/human-resources/funcionarios/{id}/actions",
          "GET /api/human-resources/funcionarios/{id}/capabilities",
          "POST /api/human-resources/funcionarios/{id}/actions/deactivate",
          "POST /api/human-resources/funcionarios/{id}/actions/reactivate",
          "GET /api/human-resources/funcionarios/{id}/payroll-history",
          "GET /api/human-resources/funcionarios/{id}/skills",
          "GET /api/human-resources/funcionarios/{id}/career-history",
          "GET /api/human-resources/funcionarios/{id}/dependents",
          "GET /api/human-resources/funcionarios/{id}/address",
          "GET /api/human-resources/funcionarios/{id}/mission-participations",
          "GET /api/human-resources/funcionarios/{id}/equipment-custody"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-crud-rendered",
            "rich-columns-rendered",
            "advanced-filter-modal-opens",
            "praxis-tabs-rendered",
            "nested-selection-propagates",
            "inspector-base-contract-visible"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [
            "schemas-surfaces-human-resources-funcionarios",
            "funcionarios-filter-basic",
            "funcionarios-get-by-id",
            "missao-participantes-stats-papel",
            "equipamento-alocacoes-filter-status-danificado",
            "employee-state-snapshot-actions",
            "employee-equipment-custody-surface",
            "employee-payroll-history-related-resource"
          ],
          "pendingHttpIds": [],
          "notes": [
            "Reference API: https://praxis-api-quickstart.onrender.com",
            "The published Quickstart resolves deactivate/reactivate availability from persisted employee state; the read-only action snapshot is confirmed for employee 194.",
            "The published equipment-custody relatedResource surface is confirmed for employee 194; an empty collection remains a valid governed custody state.",
            "The published payroll-history relatedResource surface is confirmed for employee 194 and returns governed nominal payroll rows.",
            "Recommended example: the public Quickstart evidence and the declared browser checks were verified together on 2026-08-02.",
            "The JSON tab remains the complete governing contract; the host only provides runtime services and drawer/surface bridges.",
            "Salary and employee identity are sensitive; production hosts must enforce backend authorization, field access, masking and audit."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.ui-composition-plan.artifact.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.employee-operations-casework.page.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-related-resource-outlet.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-crud.json"
        ],
        "page": {
          "i18n": {
            "fallbackLocale": "pt-BR",
            "dictionaries": {
              "pt-BR": {
                "employeeOperations.portfolio.shell.title": "Gestão de pessoas",
                "employeeOperations.portfolio.shell.subtitle": "Encontre funcionários, atualize vínculos e consulte o dossiê sem sair da carteira",
                "employeeOperations.portfolio.resource.title": "Funcionários",
                "employeeOperations.portfolio.resource.formTitle": "Cadastro do funcionário",
                "employeeOperations.portfolio.toolbar.title": "Carteira de funcionários",
                "employeeOperations.portfolio.toolbar.subtitle": "Dados cadastrais, área, vínculo e remuneração em uma única visão",
                "employeeOperations.portfolio.search.placeholder": "Buscar por nome, e-mail, cargo ou departamento",
                "employeeOperations.portfolio.quickFilter.active": "Ativos",
                "employeeOperations.portfolio.quickFilter.inactive": "Inativos",
                "employeeOperations.portfolio.column.person": "Pessoa",
                "employeeOperations.portfolio.column.employee": "Funcionário",
                "employeeOperations.portfolio.column.employment": "Vínculo",
                "employeeOperations.portfolio.column.role": "Cargo",
                "employeeOperations.portfolio.column.department": "Departamento",
                "employeeOperations.portfolio.column.hiredAt": "Admissão",
                "employeeOperations.portfolio.column.salary": "Salário base",
                "employeeOperations.portfolio.column.contact": "Contato",
                "employeeOperations.portfolio.status.active": "Ativo",
                "employeeOperations.portfolio.status.inactive": "Inativo",
                "employeeOperations.portfolio.actions.header": "Ações",
                "employeeOperations.portfolio.actions.tooltip": "Visualizar, editar ou atualizar o vínculo",
                "employeeOperations.portfolio.action.view": "Visualizar",
                "employeeOperations.portfolio.action.view.tooltip": "Ver dados do funcionário",
                "employeeOperations.portfolio.action.edit": "Editar",
                "employeeOperations.portfolio.action.edit.tooltip": "Editar dados do funcionário",
                "employeeOperations.portfolio.action.deactivate": "Inativar",
                "employeeOperations.portfolio.action.deactivate.tooltip": "Inativar vínculo e registrar motivo e vigência",
                "employeeOperations.portfolio.action.reactivate": "Reativar",
                "employeeOperations.portfolio.action.reactivate.tooltip": "Reativar vínculo e registrar motivo e vigência",
                "employeeOperations.dossier.shell.title": "Dossiê do funcionário",
                "employeeOperations.dossier.shell.subtitle": "Selecione uma pessoa para consultar dados, folha, carreira e atividades relacionadas",
                "employeeOperations.dossier.ariaLabel": "Perspectivas do dossiê operacional do funcionário",
                "employeeOperations.dossier.tab.summary": "Dossiê",
                "employeeOperations.dossier.tab.payroll": "Folha",
                "employeeOperations.dossier.tab.career": "Carreira",
                "employeeOperations.dossier.tab.people": "Pessoas",
                "employeeOperations.dossier.tab.operations": "Operação",
                "employeeOperations.dossier.context.meta": "Contexto ativo do dossiê",
                "employeeOperations.dossier.context.employeeId": "ID do funcionário",
                "employeeOperations.dossier.callout.title": "Comece por aqui",
                "employeeOperations.dossier.callout.message": "Selecione uma pessoa na carteira para atualizar todo o dossiê. Use as ações da linha para visualizar, editar, inativar ou reativar o vínculo.",
                "employeeOperations.payroll.title": "Histórico analítico de folha",
                "employeeOperations.payroll.subtitle": "Competência, composição e eventos do funcionário selecionado",
                "employeeOperations.column.period": "Competência",
                "employeeOperations.column.gross": "Bruto",
                "employeeOperations.column.discounts": "Descontos",
                "employeeOperations.column.net": "Líquido",
                "employeeOperations.column.events": "Eventos",
                "employeeOperations.column.composition": "Composição",
                "employeeOperations.skills.title": "Matriz de competências",
                "employeeOperations.column.skill": "Competência",
                "employeeOperations.column.proficiency": "Proficiência",
                "employeeOperations.column.origin": "Origem",
                "employeeOperations.career.title": "Histórico de cargos",
                "employeeOperations.column.start": "Início",
                "employeeOperations.column.end": "Fim",
                "employeeOperations.column.context": "Contexto",
                "employeeOperations.dependents.title": "Dependentes e elegibilidade",
                "employeeOperations.column.dependent": "Dependente",
                "employeeOperations.column.relationship": "Parentesco",
                "employeeOperations.column.birthDate": "Nascimento",
                "employeeOperations.address.title": "Endereço cadastral",
                "employeeOperations.column.street": "Logradouro",
                "employeeOperations.column.number": "Número",
                "employeeOperations.column.city": "Cidade",
                "employeeOperations.missions.title": "Participações em missões",
                "employeeOperations.column.mission": "Missão",
                "employeeOperations.column.assignment": "Papel",
                "employeeOperations.column.leadership": "Liderança",
                "employeeOperations.column.result": "Resultado",
                "employeeOperations.equipment.title": "Equipamentos sob custódia",
                "employeeOperations.column.equipment": "Equipamento",
                "employeeOperations.column.status": "Status",
                "employeeOperations.column.custodyStart": "Início da custódia",
                "employeeOperations.column.custodyEnd": "Encerramento"
              },
              "en-US": {
                "employeeOperations.portfolio.shell.title": "People operations",
                "employeeOperations.portfolio.shell.subtitle": "Find employees, update employment records, and review the dossier without leaving the portfolio",
                "employeeOperations.portfolio.resource.title": "Employees",
                "employeeOperations.portfolio.resource.formTitle": "Employee record",
                "employeeOperations.portfolio.toolbar.title": "Employee portfolio",
                "employeeOperations.portfolio.toolbar.subtitle": "Profile, department, employment, and compensation data in one view",
                "employeeOperations.portfolio.search.placeholder": "Search by name, email, role, or department",
                "employeeOperations.portfolio.quickFilter.active": "Active",
                "employeeOperations.portfolio.quickFilter.inactive": "Inactive",
                "employeeOperations.portfolio.column.person": "Person",
                "employeeOperations.portfolio.column.employee": "Employee",
                "employeeOperations.portfolio.column.employment": "Employment",
                "employeeOperations.portfolio.column.role": "Role",
                "employeeOperations.portfolio.column.department": "Department",
                "employeeOperations.portfolio.column.hiredAt": "Hire date",
                "employeeOperations.portfolio.column.salary": "Base salary",
                "employeeOperations.portfolio.column.contact": "Contact",
                "employeeOperations.portfolio.status.active": "Active",
                "employeeOperations.portfolio.status.inactive": "Inactive",
                "employeeOperations.portfolio.actions.header": "Actions",
                "employeeOperations.portfolio.actions.tooltip": "View, edit, or update the employment record",
                "employeeOperations.portfolio.action.view": "View",
                "employeeOperations.portfolio.action.view.tooltip": "View employee details",
                "employeeOperations.portfolio.action.edit": "Edit",
                "employeeOperations.portfolio.action.edit.tooltip": "Edit employee details",
                "employeeOperations.portfolio.action.deactivate": "Deactivate",
                "employeeOperations.portfolio.action.deactivate.tooltip": "Deactivate the employment record and provide reason and effective date",
                "employeeOperations.portfolio.action.reactivate": "Reactivate",
                "employeeOperations.portfolio.action.reactivate.tooltip": "Reactivate the employment record and provide reason and effective date",
                "employeeOperations.dossier.shell.title": "Employee dossier",
                "employeeOperations.dossier.shell.subtitle": "Select a person to review profile, payroll, career, and related activities",
                "employeeOperations.dossier.ariaLabel": "Operational employee dossier perspectives",
                "employeeOperations.dossier.tab.summary": "Dossier",
                "employeeOperations.dossier.tab.payroll": "Payroll",
                "employeeOperations.dossier.tab.career": "Career",
                "employeeOperations.dossier.tab.people": "People",
                "employeeOperations.dossier.tab.operations": "Operations",
                "employeeOperations.dossier.context.meta": "Active dossier context",
                "employeeOperations.dossier.context.employeeId": "Employee ID",
                "employeeOperations.dossier.callout.title": "Start here",
                "employeeOperations.dossier.callout.message": "Select a person in the portfolio to update the entire dossier. Use the row actions to view, edit, deactivate, or reactivate the employment record.",
                "employeeOperations.payroll.title": "Payroll history",
                "employeeOperations.payroll.subtitle": "Period, composition, and events for the selected employee",
                "employeeOperations.column.period": "Period",
                "employeeOperations.column.gross": "Gross",
                "employeeOperations.column.discounts": "Deductions",
                "employeeOperations.column.net": "Net",
                "employeeOperations.column.events": "Events",
                "employeeOperations.column.composition": "Composition",
                "employeeOperations.skills.title": "Skills matrix",
                "employeeOperations.column.skill": "Skill",
                "employeeOperations.column.proficiency": "Proficiency",
                "employeeOperations.column.origin": "Source",
                "employeeOperations.career.title": "Role history",
                "employeeOperations.column.start": "Start",
                "employeeOperations.column.end": "End",
                "employeeOperations.column.context": "Context",
                "employeeOperations.dependents.title": "Dependents and eligibility",
                "employeeOperations.column.dependent": "Dependent",
                "employeeOperations.column.relationship": "Relationship",
                "employeeOperations.column.birthDate": "Birth date",
                "employeeOperations.address.title": "Registered address",
                "employeeOperations.column.street": "Street",
                "employeeOperations.column.number": "Number",
                "employeeOperations.column.city": "City",
                "employeeOperations.missions.title": "Mission assignments",
                "employeeOperations.column.mission": "Mission",
                "employeeOperations.column.assignment": "Assignment",
                "employeeOperations.column.leadership": "Leadership",
                "employeeOperations.column.result": "Result",
                "employeeOperations.equipment.title": "Equipment in custody",
                "employeeOperations.column.equipment": "Equipment",
                "employeeOperations.column.status": "Status",
                "employeeOperations.column.custodyStart": "Custody started",
                "employeeOperations.column.custodyEnd": "Closed"
              }
            }
          },
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "20px"
          },
          "state": {
            "values": {},
            "schema": {
              "selection": {
                "persist": false,
                "mergeStrategy": "replace",
                "description": "Operational employee selection remains runtime-only and is never persisted with the authored page.",
                "tags": [
                  "runtime-context",
                  "employee-selection"
                ],
                "initial": null
              }
            }
          },
          "widgets": [
            {
              "key": "employeePortfolio",
              "shell": {
                "kind": "dashboard-card",
                "icon": "groups",
                "title": {
                  "key": "employeeOperations.portfolio.shell.title",
                  "text": "Gestão de pessoas"
                },
                "subtitle": {
                  "key": "employeeOperations.portfolio.shell.subtitle",
                  "text": "Encontre funcionários, atualize vínculos e consulte o dossiê sem sair da carteira"
                },
                "windowActions": {
                  "collapsible": false,
                  "fullscreen": true
                }
              },
              "definition": {
                "id": "praxis-crud",
                "bindingOrder": [
                  "crudId",
                  "componentInstanceId",
                  "tableConfigPersistenceStrategy",
                  "metadata"
                ],
                "inputs": {
                  "crudId": "employee-operations-casework",
                  "componentInstanceId": "employee-operations-casework",
                  "tableConfigPersistenceStrategy": "volatile",
                  "metadata": {
                    "component": "praxis-crud",
                    "resource": {
                      "path": "human-resources/funcionarios",
                      "idField": "id",
                      "endpointKey": "human-resources.funcionarios",
                      "title": {
                        "key": "employeeOperations.portfolio.resource.title",
                        "text": "Funcionários"
                      },
                      "formTitle": {
                        "key": "employeeOperations.portfolio.resource.formTitle",
                        "text": "Cadastro do funcionário"
                      }
                    },
                    "form": {
                      "actions": {
                        "placement": "afterSections",
                        "sticky": true
                      }
                    },
                    "table": {
                      "ai": {
                        "assistant": {
                          "enabled": false
                        }
                      },
                      "toolbar": {
                        "visible": true,
                        "title": {
                          "key": "employeeOperations.portfolio.toolbar.title",
                          "text": "Carteira de funcionários"
                        },
                        "subtitle": {
                          "key": "employeeOperations.portfolio.toolbar.subtitle",
                          "text": "Dados cadastrais, área, vínculo e remuneração em uma única visão"
                        },
                        "search": {
                          "enabled": true,
                          "placeholder": {
                            "key": "employeeOperations.portfolio.search.placeholder",
                            "text": "Buscar por nome, e-mail, cargo ou departamento"
                          }
                        },
                        "filters": {
                          "enabled": true,
                          "showAdvancedButton": true,
                          "quickFilters": [
                            {
                              "id": "active-employees",
                              "label": {
                                "key": "employeeOperations.portfolio.quickFilter.active",
                                "text": "Ativos"
                              },
                              "icon": "check_circle",
                              "filter": {
                                "ativo": true
                              }
                            },
                            {
                              "id": "inactive-employees",
                              "label": {
                                "key": "employeeOperations.portfolio.quickFilter.inactive",
                                "text": "Inativos"
                              },
                              "icon": "block",
                              "filter": {
                                "ativo": false
                              }
                            }
                          ]
                        },
                        "columnsVisibility": {
                          "enabled": true
                        },
                        "densityToggle": {
                          "enabled": true
                        }
                      },
                      "columns": [
                        {
                          "field": "avatarUrl",
                          "header": {
                            "key": "employeeOperations.portfolio.column.person",
                            "text": "Pessoa"
                          },
                          "type": "string",
                          "width": "64px",
                          "renderer": {
                            "type": "avatar",
                            "avatar": {
                              "srcField": "avatarUrl",
                              "altField": "nomeCompleto",
                              "initialsField": "nomeCompleto",
                              "shape": "circle",
                              "size": 36
                            }
                          }
                        },
                        {
                          "field": "nomeCompleto",
                          "header": {
                            "key": "employeeOperations.portfolio.column.employee",
                            "text": "Funcionário"
                          },
                          "type": "string",
                          "width": "180px",
                          "sticky": "start"
                        },
                        {
                          "field": "ativo",
                          "header": {
                            "key": "employeeOperations.portfolio.column.employment",
                            "text": "Vínculo"
                          },
                          "type": "boolean",
                          "format": "active-inactive",
                          "width": "104px",
                          "align": "center",
                          "conditionalRenderers": [
                            {
                              "condition": {
                                "==": [
                                  {
                                    "var": "ativo"
                                  },
                                  true
                                ]
                              },
                              "renderer": {
                                "type": "badge",
                                "badge": {
                                  "text": {
                                    "key": "employeeOperations.portfolio.status.active",
                                    "text": "Ativo"
                                  },
                                  "color": "success",
                                  "variant": "filled",
                                  "icon": "check_circle"
                                }
                              }
                            },
                            {
                              "condition": {
                                "==": [
                                  {
                                    "var": "ativo"
                                  },
                                  false
                                ]
                              },
                              "renderer": {
                                "type": "badge",
                                "badge": {
                                  "text": {
                                    "key": "employeeOperations.portfolio.status.inactive",
                                    "text": "Inativo"
                                  },
                                  "color": "warn",
                                  "variant": "outlined",
                                  "icon": "block"
                                }
                              }
                            }
                          ]
                        },
                        {
                          "field": "cargoNome",
                          "header": {
                            "key": "employeeOperations.portfolio.column.role",
                            "text": "Cargo"
                          },
                          "type": "string",
                          "width": "190px",
                          "renderer": {
                            "type": "chip",
                            "chip": {
                              "textField": "cargoNome",
                              "variant": "outlined",
                              "color": "primary"
                            }
                          }
                        },
                        {
                          "field": "departamentoNome",
                          "header": {
                            "key": "employeeOperations.portfolio.column.department",
                            "text": "Departamento"
                          },
                          "type": "string",
                          "width": "244px",
                          "renderer": {
                            "type": "badge",
                            "badge": {
                              "textField": "departamentoNome",
                              "variant": "soft",
                              "color": "accent"
                            }
                          }
                        },
                        {
                          "field": "dataAdmissao",
                          "header": {
                            "key": "employeeOperations.portfolio.column.hiredAt",
                            "text": "Admissão"
                          },
                          "type": "date",
                          "format": "dd/MM/yyyy",
                          "width": "132px"
                        },
                        {
                          "field": "salario",
                          "header": {
                            "key": "employeeOperations.portfolio.column.salary",
                            "text": "Salário base"
                          },
                          "type": "currency",
                          "format": "BRL|symbol|2",
                          "align": "end",
                          "width": "150px"
                        },
                        {
                          "field": "email",
                          "header": {
                            "key": "employeeOperations.portfolio.column.contact",
                            "text": "Contato"
                          },
                          "type": "string",
                          "width": "240px"
                        }
                      ],
                      "behavior": {
                        "pagination": {
                          "enabled": true,
                          "strategy": "server",
                          "pageSize": 8,
                          "pageSizeOptions": [
                            8,
                            16,
                            32
                          ],
                          "position": "bottom"
                        },
                        "sorting": {
                          "enabled": true,
                          "strategy": "server",
                          "defaultSort": {
                            "column": "id",
                            "direction": "asc"
                          }
                        },
                        "filtering": {
                          "enabled": true,
                          "strategy": "server",
                          "debounceTime": 300,
                          "advancedFilters": {
                            "enabled": true,
                            "settings": {
                              "alwaysVisibleFields": [
                                "departamentoIdsIn",
                                "dataAdmissaoRange",
                                "salarioBetween"
                              ],
                              "allowSaveTags": true,
                              "tags": [
                                {
                                  "id": "executive-pay-band",
                                  "label": "Faixa executiva",
                                  "patch": {
                                    "salarioBetween": [
                                      39000,
                                      40000
                                    ]
                                  }
                                }
                              ],
                              "advancedOpenMode": "modal",
                              "advancedClearButtonsEnabled": true,
                              "changeDebounceMs": 300
                            }
                          }
                        },
                        "selection": {
                          "enabled": true,
                          "type": "single",
                          "mode": "row",
                          "persistSelection": false
                        },
                        "drawer": {
                          "openOnRowClick": false
                        },
                        "density": "compact"
                      },
                      "actions": {
                        "row": {
                          "enabled": true,
                          "display": "icons",
                          "position": "end",
                          "sticky": "end",
                          "header": {
                            "label": {
                              "key": "employeeOperations.portfolio.actions.header",
                              "text": "Ações"
                            },
                            "icon": "bolt",
                            "tooltip": {
                              "key": "employeeOperations.portfolio.actions.tooltip",
                              "text": "Visualizar, editar ou atualizar o vínculo"
                            }
                          },
                          "behavior": {
                            "enabled": true,
                            "maxInline": {
                              "xs": 0,
                              "sm": 1,
                              "md": 2,
                              "lg": 1
                            },
                            "autoStrategy": "breakpoints"
                          },
                          "actions": [
                            {
                              "id": "view",
                              "label": {
                                "key": "employeeOperations.portfolio.action.view",
                                "text": "Visualizar"
                              },
                              "icon": "visibility",
                              "action": "view",
                              "tooltip": {
                                "key": "employeeOperations.portfolio.action.view.tooltip",
                                "text": "Ver dados do funcionário"
                              }
                            },
                            {
                              "id": "edit",
                              "label": {
                                "key": "employeeOperations.portfolio.action.edit",
                                "text": "Editar"
                              },
                              "icon": "edit",
                              "action": "edit",
                              "tooltip": {
                                "key": "employeeOperations.portfolio.action.edit.tooltip",
                                "text": "Editar dados do funcionário"
                              }
                            },
                            {
                              "id": "deactivate",
                              "label": {
                                "key": "employeeOperations.portfolio.action.deactivate",
                                "text": "Inativar"
                              },
                              "icon": "person_off",
                              "color": "warn",
                              "action": "deactivate",
                              "tooltip": {
                                "key": "employeeOperations.portfolio.action.deactivate.tooltip",
                                "text": "Inativar vínculo e registrar motivo e vigência"
                              },
                              "visibleWhen": {
                                "==": [
                                  {
                                    "var": "ativo"
                                  },
                                  true
                                ]
                              }
                            },
                            {
                              "id": "reactivate",
                              "label": {
                                "key": "employeeOperations.portfolio.action.reactivate",
                                "text": "Reativar"
                              },
                              "icon": "person_add",
                              "color": "primary",
                              "action": "reactivate",
                              "tooltip": {
                                "key": "employeeOperations.portfolio.action.reactivate.tooltip",
                                "text": "Reativar vínculo e registrar motivo e vigência"
                              },
                              "visibleWhen": {
                                "==": [
                                  {
                                    "var": "ativo"
                                  },
                                  false
                                ]
                              }
                            }
                          ]
                        }
                      },
                      "appearance": {
                        "density": "compact",
                        "stickyHeader": true,
                        "stripedRows": false,
                        "hoverHighlight": true,
                        "responsive": {
                          "breakpoints": {
                            "mobile": 640
                          },
                          "mobile": {
                            "horizontalScroll": false,
                            "cardMode": true,
                            "priorityColumns": [
                              "nomeCompleto",
                              "ativo",
                              "cargoNome"
                            ]
                          }
                        }
                      },
                      "export": {
                        "enabled": true,
                        "formats": [
                          "csv",
                          "excel"
                        ],
                        "general": {
                          "includeHeaders": true,
                          "respectFilters": true,
                          "applyFormatting": true,
                          "defaultFileName": "carteira-funcionarios",
                          "includeColumns": "visible",
                          "scope": "currentPage",
                          "maxRows": 500
                        },
                        "excel": {
                          "sheetName": "Funcionários",
                          "autoFitColumns": true,
                          "freezeHeaders": true
                        }
                      }
                    },
                    "defaults": {
                      "openMode": "drawer"
                    },
                    "actions": [
                      {
                        "action": "create",
                        "openMode": "drawer"
                      },
                      {
                        "action": "view",
                        "openMode": "drawer"
                      },
                      {
                        "action": "edit",
                        "openMode": "drawer"
                      }
                    ]
                  }
                },
                "outputs": {
                  "rowClick": "emit",
                  "rowAction": "emit",
                  "selectionChange": "emit",
                  "afterSave": "emit",
                  "afterDelete": "emit"
                }
              }
            },
            {
              "key": "employeeCaseTabs",
              "shell": {
                "kind": "dashboard-card",
                "icon": "folder_shared",
                "title": {
                  "key": "employeeOperations.dossier.shell.title",
                  "text": "Dossiê do funcionário"
                },
                "subtitle": {
                  "key": "employeeOperations.dossier.shell.subtitle",
                  "text": "Selecione uma pessoa para consultar dados, folha, carreira e atividades relacionadas"
                },
                "windowActions": {
                  "collapsible": false,
                  "fullscreen": true
                }
              },
              "definition": {
                "id": "praxis-tabs",
                "bindingOrder": [
                  "tabsId",
                  "componentInstanceId",
                  "configPersistenceStrategy",
                  "config",
                  "selectedIndex"
                ],
                "inputs": {
                  "tabsId": "employee-dossier-tabs",
                  "componentInstanceId": "employee-dossier-tabs",
                  "configPersistenceStrategy": "input-first",
                  "selectedIndex": 0,
                  "config": {
                    "appearance": {
                      "density": "comfortable"
                    },
                    "group": {
                      "dynamicHeight": true,
                      "fitInkBarToContent": true,
                      "stretchTabs": false,
                      "ariaLabel": {
                        "key": "employeeOperations.dossier.ariaLabel",
                        "text": "Perspectivas do dossiê operacional do funcionário"
                      }
                    },
                    "behavior": {
                      "lazyLoad": true,
                      "reorderable": false,
                      "closeable": false
                    },
                    "tabs": [
                      {
                        "id": "dossier",
                        "textLabel": {
                          "key": "employeeOperations.dossier.tab.summary",
                          "text": "Dossiê"
                        },
                        "icon": "badge",
                        "widgets": [
                          {
                            "id": "praxis-rich-content",
                            "childWidgetKey": "employee-dossier-context",
                            "bindingOrder": [
                              "document",
                              "context",
                              "layout"
                            ],
                            "inputs": {
                              "layout": "block",
                              "context": {
                                "selection": {
                                  "employee": null
                                }
                              },
                              "document": {
                                "kind": "praxis.rich-content",
                                "version": "1.0.0",
                                "nodes": [
                                  {
                                    "type": "lookupResult",
                                    "titleExpr": "${selection.employee.nomeCompleto}",
                                    "subtitleExpr": "${selection.employee.cargoNome}",
                                    "status": "resolved",
                                    "meta": {
                                      "key": "employeeOperations.dossier.context.meta",
                                      "text": "Contexto ativo do dossiê"
                                    },
                                    "fields": [
                                      {
                                        "label": {
                                          "key": "employeeOperations.portfolio.column.department",
                                          "text": "Departamento"
                                        },
                                        "valueExpr": "${selection.employee.departamentoNome}"
                                      },
                                      {
                                        "label": {
                                          "key": "employeeOperations.dossier.context.employeeId",
                                          "text": "ID do funcionário"
                                        },
                                        "valueExpr": "${selection.employee.id}"
                                      }
                                    ]
                                  },
                                  {
                                    "type": "callout",
                                    "visibleWhen": {
                                      "==": [
                                        {
                                          "var": "selection.employee"
                                        },
                                        null
                                      ]
                                    },
                                    "tone": "info",
                                    "icon": "touch_app",
                                    "title": {
                                      "key": "employeeOperations.dossier.callout.title",
                                      "text": "Comece por aqui"
                                    },
                                    "message": {
                                      "key": "employeeOperations.dossier.callout.message",
                                      "text": "Selecione uma pessoa na carteira para atualizar todo o dossiê. Use as ações da linha para visualizar, editar, inativar ou reativar o vínculo."
                                    }
                                  }
                                ]
                              }
                            }
                          },
                          {
                            "id": "praxis-dynamic-form",
                            "childWidgetKey": "employee-dossier-form",
                            "bindingOrder": [
                              "formId",
                              "componentInstanceId",
                              "resourcePath",
                              "resourceId",
                              "mode",
                              "config"
                            ],
                            "inputs": {
                              "formId": "employee-operations-dossier",
                              "componentInstanceId": "employee-operations-dossier",
                              "resourcePath": "human-resources/funcionarios",
                              "resourceId": null,
                              "mode": "view",
                              "config": {
                                "appearance": {
                                  "density": "comfortable"
                                }
                              }
                            },
                            "outputs": {
                              "customAction": "emit",
                              "initializationError": "emit"
                            }
                          }
                        ]
                      },
                      {
                        "id": "payroll",
                        "textLabel": {
                          "key": "employeeOperations.dossier.tab.payroll",
                          "text": "Folha"
                        },
                        "icon": "payments",
                        "widgets": [
                          {
                            "id": "praxis-related-resource-outlet",
                            "childWidgetKey": "employee-payroll-history",
                            "bindingOrder": [
                              "surfaceId",
                              "parentResourcePath",
                              "parentResourceId",
                              "parentIdentity",
                              "mode",
                              "tableId",
                              "tableConfig"
                            ],
                            "inputs": {
                              "surfaceId": "payroll-history",
                              "parentResourcePath": "human-resources/funcionarios",
                              "parentResourceId": null,
                              "mode": "inline",
                              "tableId": "employee-payroll-history",
                              "tableConfig": {
                                "toolbar": {
                                  "visible": true,
                                  "title": {
                                    "key": "employeeOperations.payroll.title",
                                    "text": "Histórico analítico de folha"
                                  },
                                  "subtitle": {
                                    "key": "employeeOperations.payroll.subtitle",
                                    "text": "Competência, composição e eventos do funcionário selecionado"
                                  }
                                },
                                "columns": [],
                                "behavior": {
                                  "pagination": {
                                    "enabled": true,
                                    "strategy": "server",
                                    "pageSize": 6,
                                    "pageSizeOptions": [
                                      6,
                                      12
                                    ]
                                  }
                                },
                                "columnProjection": {
                                  "source": "schema",
                                  "include": [
                                    "competencia",
                                    "salarioBruto",
                                    "totalDescontos",
                                    "salarioLiquido",
                                    "qtdEventos",
                                    "composicaoFolha"
                                  ],
                                  "overrides": {
                                    "competencia": {
                                      "header": {
                                        "key": "employeeOperations.column.period",
                                        "text": "Competência"
                                      },
                                      "format": "MM/yyyy",
                                      "width": "120px"
                                    },
                                    "salarioBruto": {
                                      "header": {
                                        "key": "employeeOperations.column.gross",
                                        "text": "Bruto"
                                      },
                                      "type": "currency",
                                      "format": "BRL|symbol|2",
                                      "align": "end"
                                    },
                                    "totalDescontos": {
                                      "header": {
                                        "key": "employeeOperations.column.discounts",
                                        "text": "Descontos"
                                      },
                                      "type": "currency",
                                      "format": "BRL|symbol|2",
                                      "align": "end"
                                    },
                                    "salarioLiquido": {
                                      "header": {
                                        "key": "employeeOperations.column.net",
                                        "text": "Líquido"
                                      },
                                      "type": "currency",
                                      "format": "BRL|symbol|2",
                                      "align": "end"
                                    },
                                    "qtdEventos": {
                                      "header": {
                                        "key": "employeeOperations.column.events",
                                        "text": "Eventos"
                                      },
                                      "align": "center",
                                      "width": "100px"
                                    },
                                    "composicaoFolha": {
                                      "header": {
                                        "key": "employeeOperations.column.composition",
                                        "text": "Composição"
                                      },
                                      "renderer": {
                                        "type": "badge",
                                        "badge": {
                                          "textField": "composicaoFolha",
                                          "variant": "soft",
                                          "color": "primary"
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "outputs": {
                              "widgetEvent": "emit",
                              "resourceEvent": "emit",
                              "surfaceOpen": "emit"
                            }
                          }
                        ]
                      },
                      {
                        "id": "career",
                        "textLabel": {
                          "key": "employeeOperations.dossier.tab.career",
                          "text": "Carreira"
                        },
                        "icon": "trending_up",
                        "widgets": [
                          {
                            "id": "praxis-related-resource-outlet",
                            "childWidgetKey": "employee-skills",
                            "bindingOrder": [
                              "surfaceId",
                              "parentResourcePath",
                              "parentResourceId",
                              "parentIdentity",
                              "mode",
                              "tableId",
                              "tableConfig"
                            ],
                            "inputs": {
                              "surfaceId": "skills",
                              "parentResourcePath": "human-resources/funcionarios",
                              "parentResourceId": null,
                              "mode": "inline",
                              "tableId": "employee-skill-matrix",
                              "tableConfig": {
                                "toolbar": {
                                  "visible": true,
                                  "title": {
                                    "key": "employeeOperations.skills.title",
                                    "text": "Matriz de competências"
                                  }
                                },
                                "columns": [],
                                "behavior": {
                                  "pagination": {
                                    "enabled": false
                                  }
                                },
                                "columnProjection": {
                                  "source": "schema",
                                  "include": [
                                    "habilidadeNome",
                                    "proficiencia",
                                    "origem"
                                  ],
                                  "overrides": {
                                    "habilidadeNome": {
                                      "header": {
                                        "key": "employeeOperations.column.skill",
                                        "text": "Competência"
                                      }
                                    },
                                    "proficiencia": {
                                      "header": {
                                        "key": "employeeOperations.column.proficiency",
                                        "text": "Proficiência"
                                      },
                                      "renderer": {
                                        "type": "progress",
                                        "progress": {
                                          "valueExpr": "proficiencia",
                                          "color": "primary",
                                          "showLabel": true
                                        }
                                      }
                                    },
                                    "origem": {
                                      "header": {
                                        "key": "employeeOperations.column.origin",
                                        "text": "Origem"
                                      },
                                      "renderer": {
                                        "type": "badge",
                                        "badge": {
                                          "textField": "origem",
                                          "variant": "outlined",
                                          "color": "accent"
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "outputs": {
                              "widgetEvent": "emit",
                              "resourceEvent": "emit",
                              "surfaceOpen": "emit"
                            }
                          },
                          {
                            "id": "praxis-related-resource-outlet",
                            "childWidgetKey": "employee-career-history",
                            "bindingOrder": [
                              "surfaceId",
                              "parentResourcePath",
                              "parentResourceId",
                              "parentIdentity",
                              "mode",
                              "tableId",
                              "tableConfig"
                            ],
                            "inputs": {
                              "surfaceId": "career-history",
                              "parentResourcePath": "human-resources/funcionarios",
                              "parentResourceId": null,
                              "mode": "inline",
                              "tableId": "employee-career-history",
                              "tableConfig": {
                                "toolbar": {
                                  "visible": true,
                                  "title": {
                                    "key": "employeeOperations.career.title",
                                    "text": "Histórico de cargos"
                                  }
                                },
                                "columns": [],
                                "behavior": {
                                  "pagination": {
                                    "enabled": false
                                  }
                                },
                                "columnProjection": {
                                  "source": "schema",
                                  "include": [
                                    "cargoNome",
                                    "dataInicio",
                                    "dataFim",
                                    "observacoes"
                                  ],
                                  "overrides": {
                                    "cargoNome": {
                                      "header": {
                                        "key": "employeeOperations.portfolio.column.role",
                                        "text": "Cargo"
                                      },
                                      "sticky": "start"
                                    },
                                    "dataInicio": {
                                      "header": {
                                        "key": "employeeOperations.column.start",
                                        "text": "Início"
                                      }
                                    },
                                    "dataFim": {
                                      "header": {
                                        "key": "employeeOperations.column.end",
                                        "text": "Fim"
                                      }
                                    },
                                    "observacoes": {
                                      "header": {
                                        "key": "employeeOperations.column.context",
                                        "text": "Contexto"
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "outputs": {
                              "widgetEvent": "emit",
                              "resourceEvent": "emit",
                              "surfaceOpen": "emit"
                            }
                          }
                        ]
                      },
                      {
                        "id": "people",
                        "textLabel": {
                          "key": "employeeOperations.dossier.tab.people",
                          "text": "Pessoas"
                        },
                        "icon": "family_restroom",
                        "widgets": [
                          {
                            "id": "praxis-related-resource-outlet",
                            "childWidgetKey": "employee-dependents",
                            "bindingOrder": [
                              "surfaceId",
                              "parentResourcePath",
                              "parentResourceId",
                              "parentIdentity",
                              "mode",
                              "tableId",
                              "tableConfig"
                            ],
                            "inputs": {
                              "surfaceId": "dependents",
                              "parentResourcePath": "human-resources/funcionarios",
                              "parentResourceId": null,
                              "mode": "inline",
                              "tableId": "employee-dependents",
                              "tableConfig": {
                                "toolbar": {
                                  "visible": true,
                                  "title": {
                                    "key": "employeeOperations.dependents.title",
                                    "text": "Dependentes e elegibilidade"
                                  }
                                },
                                "columns": [],
                                "behavior": {
                                  "pagination": {
                                    "enabled": false
                                  }
                                },
                                "columnProjection": {
                                  "source": "schema",
                                  "include": [
                                    "nomeCompleto",
                                    "parentesco",
                                    "dataNascimento"
                                  ],
                                  "overrides": {
                                    "nomeCompleto": {
                                      "header": {
                                        "key": "employeeOperations.column.dependent",
                                        "text": "Dependente"
                                      },
                                      "sticky": "start"
                                    },
                                    "parentesco": {
                                      "header": {
                                        "key": "employeeOperations.column.relationship",
                                        "text": "Parentesco"
                                      },
                                      "renderer": {
                                        "type": "chip",
                                        "chip": {
                                          "textField": "parentesco",
                                          "variant": "outlined",
                                          "color": "primary"
                                        }
                                      }
                                    },
                                    "dataNascimento": {
                                      "header": {
                                        "key": "employeeOperations.column.birthDate",
                                        "text": "Nascimento"
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "outputs": {
                              "widgetEvent": "emit",
                              "resourceEvent": "emit",
                              "surfaceOpen": "emit"
                            }
                          },
                          {
                            "id": "praxis-related-resource-outlet",
                            "childWidgetKey": "employee-address",
                            "bindingOrder": [
                              "surfaceId",
                              "parentResourcePath",
                              "parentResourceId",
                              "parentIdentity",
                              "mode",
                              "tableId",
                              "tableConfig"
                            ],
                            "inputs": {
                              "surfaceId": "address",
                              "parentResourcePath": "human-resources/funcionarios",
                              "parentResourceId": null,
                              "mode": "inline",
                              "tableId": "employee-address",
                              "tableConfig": {
                                "toolbar": {
                                  "visible": true,
                                  "title": {
                                    "key": "employeeOperations.address.title",
                                    "text": "Endereço cadastral"
                                  }
                                },
                                "columns": [],
                                "behavior": {
                                  "pagination": {
                                    "enabled": false
                                  }
                                },
                                "columnProjection": {
                                  "source": "schema",
                                  "include": [
                                    "logradouro",
                                    "numero",
                                    "cidade",
                                    "estado",
                                    "cep"
                                  ],
                                  "overrides": {
                                    "logradouro": {
                                      "header": {
                                        "key": "employeeOperations.column.street",
                                        "text": "Logradouro"
                                      },
                                      "sticky": "start"
                                    },
                                    "numero": {
                                      "header": {
                                        "key": "employeeOperations.column.number",
                                        "text": "Número"
                                      },
                                      "width": "100px"
                                    },
                                    "cidade": {
                                      "header": {
                                        "key": "employeeOperations.column.city",
                                        "text": "Cidade"
                                      }
                                    },
                                    "estado": {
                                      "header": "UF",
                                      "width": "80px"
                                    },
                                    "cep": {
                                      "header": "CEP",
                                      "width": "120px"
                                    }
                                  }
                                }
                              }
                            },
                            "outputs": {
                              "widgetEvent": "emit",
                              "resourceEvent": "emit",
                              "surfaceOpen": "emit"
                            }
                          }
                        ]
                      },
                      {
                        "id": "operations",
                        "textLabel": {
                          "key": "employeeOperations.dossier.tab.operations",
                          "text": "Operação"
                        },
                        "icon": "hub",
                        "widgets": [
                          {
                            "id": "praxis-related-resource-outlet",
                            "childWidgetKey": "employee-missions",
                            "bindingOrder": [
                              "surfaceId",
                              "parentResourcePath",
                              "parentResourceId",
                              "parentIdentity",
                              "mode",
                              "tableId",
                              "tableConfig"
                            ],
                            "inputs": {
                              "surfaceId": "mission-participations",
                              "parentResourcePath": "human-resources/funcionarios",
                              "parentResourceId": null,
                              "mode": "inline",
                              "tableId": "employee-mission-participations",
                              "tableConfig": {
                                "toolbar": {
                                  "visible": true,
                                  "title": {
                                    "key": "employeeOperations.missions.title",
                                    "text": "Participações em missões"
                                  }
                                },
                                "columns": [],
                                "behavior": {
                                  "pagination": {
                                    "enabled": true,
                                    "strategy": "server",
                                    "pageSize": 5,
                                    "pageSizeOptions": [
                                      5,
                                      10
                                    ]
                                  }
                                },
                                "columnProjection": {
                                  "source": "schema",
                                  "include": [
                                    "missaoTitulo",
                                    "papel",
                                    "principal",
                                    "resultado"
                                  ],
                                  "overrides": {
                                    "missaoTitulo": {
                                      "header": {
                                        "key": "employeeOperations.column.mission",
                                        "text": "Missão"
                                      },
                                      "sticky": "start"
                                    },
                                    "papel": {
                                      "header": {
                                        "key": "employeeOperations.column.assignment",
                                        "text": "Papel"
                                      },
                                      "renderer": {
                                        "type": "badge",
                                        "badge": {
                                          "textField": "papel",
                                          "variant": "soft",
                                          "color": "primary"
                                        }
                                      }
                                    },
                                    "principal": {
                                      "header": {
                                        "key": "employeeOperations.column.leadership",
                                        "text": "Liderança"
                                      },
                                      "format": "yes-no",
                                      "align": "center"
                                    },
                                    "resultado": {
                                      "header": {
                                        "key": "employeeOperations.column.result",
                                        "text": "Resultado"
                                      },
                                      "renderer": {
                                        "type": "badge",
                                        "badge": {
                                          "textField": "resultado",
                                          "variant": "outlined",
                                          "color": "accent"
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "outputs": {
                              "widgetEvent": "emit",
                              "resourceEvent": "emit",
                              "surfaceOpen": "emit"
                            }
                          },
                          {
                            "id": "praxis-related-resource-outlet",
                            "childWidgetKey": "employee-equipment-custody",
                            "bindingOrder": [
                              "surfaceId",
                              "parentResourcePath",
                              "parentResourceId",
                              "parentIdentity",
                              "mode",
                              "tableId",
                              "tableConfig"
                            ],
                            "inputs": {
                              "surfaceId": "equipment-custody",
                              "parentResourcePath": "human-resources/funcionarios",
                              "parentResourceId": null,
                              "mode": "inline",
                              "tableId": "employee-equipment-custody",
                              "tableConfig": {
                                "toolbar": {
                                  "visible": true,
                                  "title": {
                                    "key": "employeeOperations.equipment.title",
                                    "text": "Equipamentos sob custódia"
                                  }
                                },
                                "columns": [],
                                "behavior": {
                                  "pagination": {
                                    "enabled": false
                                  }
                                },
                                "columnProjection": {
                                  "source": "schema",
                                  "include": [
                                    "equipamentoId",
                                    "status",
                                    "inicio",
                                    "fim"
                                  ],
                                  "overrides": {
                                    "equipamentoId": {
                                      "header": {
                                        "key": "employeeOperations.column.equipment",
                                        "text": "Equipamento"
                                      },
                                      "sticky": "start"
                                    },
                                    "status": {
                                      "header": {
                                        "key": "employeeOperations.column.status",
                                        "text": "Status"
                                      },
                                      "renderer": {
                                        "type": "badge",
                                        "badge": {
                                          "textField": "status",
                                          "variant": "soft",
                                          "color": "accent"
                                        }
                                      }
                                    },
                                    "inicio": {
                                      "header": {
                                        "key": "employeeOperations.column.custodyStart",
                                        "text": "Início da custódia"
                                      }
                                    },
                                    "fim": {
                                      "header": {
                                        "key": "employeeOperations.column.custodyEnd",
                                        "text": "Encerramento"
                                      }
                                    }
                                  }
                                }
                              }
                            },
                            "outputs": {
                              "widgetEvent": "emit",
                              "resourceEvent": "emit",
                              "surfaceOpen": "emit"
                            }
                          }
                        ]
                      }
                    ]
                  }
                },
                "outputs": {
                  "selectedIndexChange": "emit"
                }
              }
            }
          ],
          "composition": {
            "version": "1.0.0",
            "links": [
              {
                "id": "employee-casework:portfolio.rowClick->state.selection.employeeId",
                "intent": "state-write",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeePortfolio",
                    "port": "rowClick",
                    "direction": "output",
                    "componentType": "praxis-crud"
                  }
                },
                "to": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeId",
                    "layer": "values",
                    "writable": true
                  }
                },
                "condition": {
                  ">": [
                    {
                      "var": "payload.row.id"
                    },
                    0
                  ]
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "employee-casework:pick-employee-id",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.row.id"
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true,
                  "debounceMs": 50
                }
              },
              {
                "id": "employee-casework:portfolio.rowClick->state.selection.employeeIdentity",
                "intent": "state-write",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeePortfolio",
                    "port": "rowClick",
                    "direction": "output",
                    "componentType": "praxis-crud"
                  }
                },
                "to": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeIdentity",
                    "layer": "values",
                    "writable": true
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "employee-casework:pick-employee-identity",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.resourceIdentity"
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true,
                  "debounceMs": 50
                }
              },
              {
                "id": "employee-casework:portfolio.rowClick->state.selection.employee",
                "intent": "state-write",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeePortfolio",
                    "port": "rowClick",
                    "direction": "output",
                    "componentType": "praxis-crud"
                  }
                },
                "to": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employee",
                    "layer": "values",
                    "writable": true
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "employee-casework:pick-employee-record",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.row"
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true,
                  "debounceMs": 50
                }
              },
              {
                "id": "employee-casework:portfolio.rowAction->state.selection.employeeId",
                "intent": "state-write",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeePortfolio",
                    "port": "rowAction",
                    "direction": "output",
                    "componentType": "praxis-crud"
                  }
                },
                "to": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeId",
                    "layer": "values",
                    "writable": true
                  }
                },
                "condition": {
                  ">": [
                    {
                      "var": "payload.row.id"
                    },
                    0
                  ]
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "employee-casework:pick-action-employee-id",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.row.id"
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true,
                  "debounceMs": 50
                }
              },
              {
                "id": "employee-casework:portfolio.rowAction->state.selection.employeeIdentity",
                "intent": "state-write",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeePortfolio",
                    "port": "rowAction",
                    "direction": "output",
                    "componentType": "praxis-crud"
                  }
                },
                "to": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeIdentity",
                    "layer": "values",
                    "writable": true
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "employee-casework:pick-action-employee-identity",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.resourceIdentity"
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true,
                  "debounceMs": 50
                }
              },
              {
                "id": "employee-casework:portfolio.rowAction->state.selection.employee",
                "intent": "state-write",
                "from": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeePortfolio",
                    "port": "rowAction",
                    "direction": "output",
                    "componentType": "praxis-crud"
                  }
                },
                "to": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employee",
                    "layer": "values",
                    "writable": true
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "single-value",
                  "sourceBindings": [
                    {
                      "source": "event"
                    }
                  ],
                  "steps": [
                    {
                      "id": "employee-casework:pick-action-employee-record",
                      "kind": "pick-path",
                      "phase": "link-propagation",
                      "input": {
                        "source": "event"
                      },
                      "config": {
                        "path": "payload.row"
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true,
                  "debounceMs": 50
                }
              },
              {
                "id": "employee-casework:state.employee->dossier-context.context",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employee",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "context",
                    "direction": "input",
                    "componentType": "praxis-rich-content",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "dossier",
                        "index": 0
                      },
                      {
                        "kind": "widget",
                        "key": "employee-dossier-context",
                        "componentType": "praxis-rich-content"
                      }
                    ]
                  }
                },
                "transform": {
                  "version": "2.0",
                  "phase": "link-propagation",
                  "mode": "object-fragment",
                  "sourceBindings": [
                    {
                      "source": "state",
                      "path": "selection.employee"
                    }
                  ],
                  "steps": [
                    {
                      "id": "employee-casework:employee-context",
                      "kind": "object-template",
                      "phase": "link-propagation",
                      "config": {
                        "template": {
                          "selection": {
                            "employee": "${source}"
                          }
                        }
                      }
                    }
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "employee-casework:state.employeeId->dossier-form.resourceId",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "resourceId",
                    "direction": "input",
                    "componentType": "praxis-dynamic-form",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "dossier",
                        "index": 0
                      },
                      {
                        "kind": "widget",
                        "key": "employee-dossier-form",
                        "componentType": "praxis-dynamic-form"
                      }
                    ]
                  }
                },
                "condition": {
                  ">": [
                    {
                      "var": "source"
                    },
                    0
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "employee-casework:state.employeeId->payroll.parentResourceId",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "parentResourceId",
                    "direction": "input",
                    "componentType": "praxis-related-resource-outlet",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "payroll",
                        "index": 1
                      },
                      {
                        "kind": "widget",
                        "key": "employee-payroll-history",
                        "componentType": "praxis-related-resource-outlet"
                      }
                    ]
                  }
                },
                "condition": {
                  ">": [
                    {
                      "var": "source"
                    },
                    0
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "employee-casework:state.employeeId->skills.parentResourceId",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "parentResourceId",
                    "direction": "input",
                    "componentType": "praxis-related-resource-outlet",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "career",
                        "index": 2
                      },
                      {
                        "kind": "widget",
                        "key": "employee-skills",
                        "componentType": "praxis-related-resource-outlet"
                      }
                    ]
                  }
                },
                "condition": {
                  ">": [
                    {
                      "var": "source"
                    },
                    0
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "employee-casework:state.employeeId->career.parentResourceId",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "parentResourceId",
                    "direction": "input",
                    "componentType": "praxis-related-resource-outlet",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "career",
                        "index": 2
                      },
                      {
                        "kind": "widget",
                        "key": "employee-career-history",
                        "componentType": "praxis-related-resource-outlet"
                      }
                    ]
                  }
                },
                "condition": {
                  ">": [
                    {
                      "var": "source"
                    },
                    0
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "employee-casework:state.employeeId->dependents.parentResourceId",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "parentResourceId",
                    "direction": "input",
                    "componentType": "praxis-related-resource-outlet",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "people",
                        "index": 3
                      },
                      {
                        "kind": "widget",
                        "key": "employee-dependents",
                        "componentType": "praxis-related-resource-outlet"
                      }
                    ]
                  }
                },
                "condition": {
                  ">": [
                    {
                      "var": "source"
                    },
                    0
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "employee-casework:state.employeeId->address.parentResourceId",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "parentResourceId",
                    "direction": "input",
                    "componentType": "praxis-related-resource-outlet",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "people",
                        "index": 3
                      },
                      {
                        "kind": "widget",
                        "key": "employee-address",
                        "componentType": "praxis-related-resource-outlet"
                      }
                    ]
                  }
                },
                "condition": {
                  ">": [
                    {
                      "var": "source"
                    },
                    0
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "employee-casework:state.employeeId->missions.parentResourceId",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "parentResourceId",
                    "direction": "input",
                    "componentType": "praxis-related-resource-outlet",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "operations",
                        "index": 4
                      },
                      {
                        "kind": "widget",
                        "key": "employee-missions",
                        "componentType": "praxis-related-resource-outlet"
                      }
                    ]
                  }
                },
                "condition": {
                  ">": [
                    {
                      "var": "source"
                    },
                    0
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "employee-casework:state.employeeId->equipment.parentResourceId",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeId",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "parentResourceId",
                    "direction": "input",
                    "componentType": "praxis-related-resource-outlet",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "operations",
                        "index": 4
                      },
                      {
                        "kind": "widget",
                        "key": "employee-equipment-custody",
                        "componentType": "praxis-related-resource-outlet"
                      }
                    ]
                  }
                },
                "condition": {
                  ">": [
                    {
                      "var": "source"
                    },
                    0
                  ]
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "employee-casework:state.employeeIdentity->payroll.parentIdentity",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeIdentity",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "parentIdentity",
                    "direction": "input",
                    "componentType": "praxis-related-resource-outlet",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "payroll",
                        "index": 1
                      },
                      {
                        "kind": "widget",
                        "key": "employee-payroll-history",
                        "componentType": "praxis-related-resource-outlet"
                      }
                    ]
                  }
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "employee-casework:state.employeeIdentity->skills.parentIdentity",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeIdentity",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "parentIdentity",
                    "direction": "input",
                    "componentType": "praxis-related-resource-outlet",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "career",
                        "index": 2
                      },
                      {
                        "kind": "widget",
                        "key": "employee-skills",
                        "componentType": "praxis-related-resource-outlet"
                      }
                    ]
                  }
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "employee-casework:state.employeeIdentity->career.parentIdentity",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeIdentity",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "parentIdentity",
                    "direction": "input",
                    "componentType": "praxis-related-resource-outlet",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "career",
                        "index": 2
                      },
                      {
                        "kind": "widget",
                        "key": "employee-career-history",
                        "componentType": "praxis-related-resource-outlet"
                      }
                    ]
                  }
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "employee-casework:state.employeeIdentity->dependents.parentIdentity",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeIdentity",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "parentIdentity",
                    "direction": "input",
                    "componentType": "praxis-related-resource-outlet",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "people",
                        "index": 3
                      },
                      {
                        "kind": "widget",
                        "key": "employee-dependents",
                        "componentType": "praxis-related-resource-outlet"
                      }
                    ]
                  }
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "employee-casework:state.employeeIdentity->address.parentIdentity",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeIdentity",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "parentIdentity",
                    "direction": "input",
                    "componentType": "praxis-related-resource-outlet",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "people",
                        "index": 3
                      },
                      {
                        "kind": "widget",
                        "key": "employee-address",
                        "componentType": "praxis-related-resource-outlet"
                      }
                    ]
                  }
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "employee-casework:state.employeeIdentity->missions.parentIdentity",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeIdentity",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "parentIdentity",
                    "direction": "input",
                    "componentType": "praxis-related-resource-outlet",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "operations",
                        "index": 4
                      },
                      {
                        "kind": "widget",
                        "key": "employee-missions",
                        "componentType": "praxis-related-resource-outlet"
                      }
                    ]
                  }
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              },
              {
                "id": "employee-casework:state.employeeIdentity->equipment.parentIdentity",
                "intent": "state-read",
                "from": {
                  "kind": "state",
                  "ref": {
                    "path": "selection.employeeIdentity",
                    "layer": "values"
                  }
                },
                "to": {
                  "kind": "component-port",
                  "ref": {
                    "widget": "employeeCaseTabs",
                    "port": "parentIdentity",
                    "direction": "input",
                    "componentType": "praxis-related-resource-outlet",
                    "nestedPath": [
                      {
                        "kind": "tab",
                        "id": "operations",
                        "index": 4
                      },
                      {
                        "kind": "widget",
                        "key": "employee-equipment-custody",
                        "componentType": "praxis-related-resource-outlet"
                      }
                    ]
                  }
                },
                "policy": {
                  "missingValuePolicy": "skip",
                  "distinct": true
                }
              }
            ]
          }
        }
      }
    },
    {
      "id": "stepper-onboarding-workflow",
      "title": "Stepper - onboarding workflow",
      "summary": "Combines intake, evidence, validation and approval review into a guided workflow that can evolve through step metadata instead of another wizard implementation.",
      "i18n": {
        "pt": {
          "title": "Stepper - workflow de onboarding",
          "summary": "Combina cadastro, evidência, validação e aprovação em um workflow guiado que evolui por metadata de etapas.",
          "demonstrates": [
            "Explore Stepper - workflow de onboarding e use os controles disponíveis para percorrer o cenário até o resultado visível.",
            "Observe como praxis-stepper materializa human-resources/onboarding-workflow com um contrato de runtime explícito.",
            "Compare o comportamento em runtime com a promessa do cenário: Combina cadastro, evidência, validação e aprovação em um workflow guiado que evolui por metadata de etapas.",
            "Confirme no resultado capacidades da plataforma como dynamic-widget-resolution, praxis-stepper.steps, praxis-stepper.linear-navigation.",
            "Verifique a conexão com as evidências canônicas filtered?schemaType=response e {id}&operation=get&schemaType=response."
          ]
        }
      },
      "publicRoute": "/examples/dynamic-page/stepper-onboarding-workflow",
      "publicUrl": "https://praxisui.dev/examples/dynamic-page/stepper-onboarding-workflow",
      "category": "feature",
      "mode": "local-only",
      "primaryComponent": "praxis-stepper",
      "resourcePath": "human-resources/onboarding-workflow",
      "resourceKey": "human-resources.onboarding-workflow",
      "requires": [
        "praxis-stepper.config",
        "steps.form",
        "stepBlocksBeforeForm",
        "steps.widgets",
        "praxis-files-upload",
        "praxis-list",
        "widgetEvent"
      ],
      "tags": [
        "stepper",
        "workflow",
        "form",
        "files-upload",
        "approval",
        "local-workflow",
        "ai-recipe"
      ],
      "demonstrates": [
        "Linear guided workflow with persisted stepperId and explicit navigation labels",
        "Step-local Dynamic Form config with sections, validators, conditional fields and actions",
        "RichContentDocument surfaces before and after step forms without legacy wizard-only blocks",
        "Nested host-owned widgets through steps[].widgets: files upload and approval checklist",
        "Workflow-level events exposed through selectionChange, stepFormReady, stepFormValueChange and widgetEvent"
      ],
      "platformFeatures": [
        "dynamic-widget-resolution",
        "praxis-stepper.steps",
        "praxis-stepper.linear-navigation",
        "praxis-stepper.stepBlocksBeforeForm",
        "praxis-stepper.form-config",
        "praxis-stepper.widgets",
        "praxis-files-upload.nested-widget",
        "praxis-list.approval-checklist",
        "widgetEvent.bubbling"
      ],
      "backendSurfaces": [
        "GET /schemas/filtered?schemaType=response",
        "GET /schemas/filtered?path=/api/human-resources/funcionarios/{id}&operation=get&schemaType=response",
        "Host files API: POST {baseUrl}/upload",
        "praxis-ui-angular/projects/praxis-stepper/docs/stepper-api-reference.md",
        "praxis-ui-angular/projects/praxis-stepper/docs/host-stepper-integration.md"
      ],
      "complexity": "advanced",
      "catalogRole": "runtime-widget",
      "learningStage": "enterprise",
      "variantFamilyId": "onboarding-journeys",
      "featuredRank": 6,
      "validation": {
        "level": "browser-smoke",
        "checks": [
          "json-envelope",
          "dynamic-page-rendered",
          "praxis-stepper-rendered",
          "step-form-rendered",
          "nested-upload-rendered",
          "nested-list-rendered"
        ]
      },
      "operationalEvidence": {
        "recommendedHttpIds": [],
        "pendingHttpIds": [],
        "notes": [
          "This example is local-only because it demonstrates a host-owned workflow contract rather than a quickstart mutation endpoint.",
          "The form step uses local config to show rules and validators without creating employee records in the reference API.",
          "The evidence step keeps the files API boundary explicit through the nested praxis-files-upload baseUrl input."
        ]
      },
      "sourceRecipes": [
        "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.stepper-onboarding-workflow.json",
        "praxis-ui-angular/examples/ai-recipes/praxis-stepper.json",
        "praxis-ui-angular/projects/praxis-stepper/docs/stepper-api-reference.md"
      ],
      "sourcePath": "docs/examples/dynamic-page/examples/stepper-onboarding-workflow.json",
      "documentation": {
        "story": {
          "pt": "People Ops precisa conduzir uma admissão que começa no cadastro, exige evidências e termina em aprovação. Em vez de criar outro wizard, o exemplo descreve a jornada como etapas governadas e combina componentes especializados dentro delas.",
          "en": "People Ops needs to run an onboarding journey that starts with intake, requires evidence and ends in approval. Instead of another wizard, the example describes governed steps and combines specialized components inside them."
        },
        "outcome": {
          "pt": "O visitante percorre formulário, upload e checklist dentro do mesmo workflow e pode identificar exatamente quais trechos do JSON controlam navegação, validação, conteúdo e eventos.",
          "en": "The visitor moves through form, upload and checklist in one workflow and can identify exactly which JSON sections control navigation, validation, content and events."
        },
        "componentRoles": [
          {
            "component": "praxis-stepper",
            "jsonPath": "page.widgets[employeeOnboardingStepper].definition.inputs.config",
            "role": {
              "pt": "Coordena identidade, ordem, progressão linear, navegação e estado das três etapas de onboarding.",
              "en": "Coordinates identity, order, linear progression, navigation and state for the three onboarding steps."
            },
            "rationale": {
              "pt": "Transforma a jornada em metadata revisável sem fazer o host programar um wizard específico para admissão.",
              "en": "Turns the journey into reviewable metadata without making the host program an onboarding-specific wizard."
            }
          },
          {
            "component": "praxis-dynamic-form",
            "jsonPath": "definition.inputs.config.steps[employee-intake].form",
            "role": {
              "pt": "Coleta identidade e alocação, executa validação reativa e revela a revisão de segurança quando necessária.",
              "en": "Collects identity and assignment, runs reactive validation and reveals security review when needed."
            },
            "rationale": {
              "pt": "Mantém campos e regras condicionais no componente proprietário, em vez de espalhá-los pela navegação do Stepper.",
              "en": "Keeps fields and conditional rules in the owning component instead of spreading them through Stepper navigation."
            }
          },
          {
            "component": "praxis-rich-content",
            "jsonPath": "definition.inputs.config.steps[].blocksBeforeForm",
            "role": {
              "pt": "Introduz cada tarefa com contexto editorial antes de pedir dados, evidências ou decisão.",
              "en": "Introduces each task with editorial context before asking for data, evidence or a decision."
            },
            "rationale": {
              "pt": "Explica objetivo e consequência no fluxo sem transformar o Stepper em proprietário de conteúdo narrativo.",
              "en": "Explains purpose and consequence in the flow without making Stepper own narrative content."
            }
          },
          {
            "component": "praxis-files-upload",
            "jsonPath": "definition.inputs.config.steps[evidence].widgets",
            "role": {
              "pt": "Coleta os documentos que sustentam a análise da admissão na etapa de evidências.",
              "en": "Collects the documents supporting the onboarding review in the evidence step."
            },
            "rationale": {
              "pt": "Preserva seleção, validação e eventos de arquivo no componente proprietário e deixa o Stepper coordenar apenas a sequência.",
              "en": "Keeps file selection, validation and events in the owning component while Stepper coordinates only the sequence."
            }
          },
          {
            "component": "praxis-list",
            "jsonPath": "definition.inputs.config.steps[approval].widgets",
            "role": {
              "pt": "Materializa o checklist que orienta a revisão final e torna o estado da aprovação legível.",
              "en": "Materializes the checklist that guides final review and makes approval state readable."
            },
            "rationale": {
              "pt": "Mantém itens, seleção e apresentação do checklist em um contrato de coleção, sem incorporá-los à navegação do wizard.",
              "en": "Keeps checklist items, selection and presentation in a collection contract rather than embedding them in wizard navigation."
            }
          }
        ],
        "jsonWalkthrough": [
          {
            "jsonPath": "definition.inputs.stepperId + componentInstanceId",
            "title": {
              "pt": "Identidade da jornada",
              "en": "Journey identity"
            },
            "explanation": {
              "pt": "Separa o workflow estável da instância materializada para persistência, eventos e autoria.",
              "en": "Separates the stable workflow from the materialized instance for persistence, events and authoring."
            }
          },
          {
            "jsonPath": "definition.inputs.stepperContext",
            "title": {
              "pt": "Contexto compartilhado",
              "en": "Shared context"
            },
            "explanation": {
              "pt": "Publica workflowId, resourcePath e base de evidências para os componentes internos sem reescrever seus contratos.",
              "en": "Publishes workflowId, resourcePath and evidence base for nested components without rewriting their contracts."
            }
          },
          {
            "jsonPath": "definition.inputs.config.linear + navigation",
            "title": {
              "pt": "Política de progressão",
              "en": "Progression policy"
            },
            "explanation": {
              "pt": "Declara sequência linear e controles anterior/próximo; validação determina prontidão, não o label do botão.",
              "en": "Declares linear sequence and previous/next controls while validation determines readiness rather than the button label."
            }
          },
          {
            "jsonPath": "definition.inputs.config.steps[employee-intake].form.config.sections",
            "title": {
              "pt": "Cadastro estruturado",
              "en": "Structured intake"
            },
            "explanation": {
              "pt": "Agrupa identidade, alocação e revisão condicional para que a primeira etapa conte uma tarefa completa.",
              "en": "Groups identity, assignment and conditional review so the first step represents a complete task."
            }
          },
          {
            "jsonPath": "definition.inputs.config.steps[employee-intake].form.config.fieldMetadata",
            "title": {
              "pt": "Regras condicionais",
              "en": "Conditional rules"
            },
            "explanation": {
              "pt": "requiresSecurityReview controla visibilidade e obrigatoriedade de risco e notas por JsonLogic declarativo.",
              "en": "requiresSecurityReview controls visibility and requiredness of risk and notes through declarative JsonLogic."
            }
          },
          {
            "jsonPath": "definition.inputs.config.steps[].widgets",
            "title": {
              "pt": "Componentes por etapa",
              "en": "Components by step"
            },
            "explanation": {
              "pt": "Files Upload e List entram como widgets registrados; o Stepper não absorve upload, checklist ou efeitos de aprovação.",
              "en": "Files Upload and List enter as registered widgets; Stepper does not absorb upload, checklist or approval effects."
            }
          }
        ],
        "experiments": [
          {
            "pt": "Ative Requires security review, preencha risco e notas e observe como a validação condicional altera a prontidão da etapa.",
            "en": "Enable Requires security review, fill risk and notes and observe how conditional validation changes step readiness."
          },
          {
            "pt": "Troque linear para false e compare liberdade de navegação com o risco de avançar sem evidências obrigatórias.",
            "en": "Set linear to false and compare navigation freedom with the risk of advancing without required evidence."
          },
          {
            "pt": "Altere orientation para vertical e valide legibilidade, ordem de foco e densidade no viewport estreito.",
            "en": "Change orientation to vertical and validate readability, focus order and density in the narrow viewport."
          }
        ],
        "productionNotes": [
          {
            "pt": "A progressão visual não aprova admissão; decisão, auditoria e persistência pertencem ao workflow e ao backend governados.",
            "en": "Visual progression does not approve onboarding; decision, auditing and persistence belong to the governed workflow and backend."
          },
          {
            "pt": "Arquivos exigem política de tamanho, tipo, malware, retenção e autorização publicada pelo host e pelo serviço proprietário.",
            "en": "Files require size, type, malware, retention and authorization policies published by the host and owning service."
          },
          {
            "pt": "stepperId, steps[].id, formId e actionId devem permanecer estáveis; traduções e ordem visual não substituem identidade.",
            "en": "stepperId, steps[].id, formId and actionId must remain stable; translations and visual order do not replace identity."
          }
        ]
      },
      "envelope": {
        "id": "stepper-onboarding-workflow",
        "title": "Stepper - onboarding workflow",
        "summary": "Combines intake, evidence, validation and approval review into a guided workflow that can evolve through step metadata instead of another wizard implementation.",
        "component": "praxis-dynamic-page",
        "category": "feature",
        "primaryComponent": "praxis-stepper",
        "runtime": {
          "mode": "local-only",
          "minPraxisUiPackage": "@praxisui/stepper"
        },
        "api": {
          "origin": "https://praxis-api-quickstart.onrender.com",
          "baseUrl": "https://praxis-api-quickstart.onrender.com/api",
          "schemasBaseUrl": "https://praxis-api-quickstart.onrender.com/schemas",
          "resourcePath": "human-resources/onboarding-workflow",
          "resourceKey": "human-resources.onboarding-workflow"
        },
        "requires": [
          "praxis-stepper.config",
          "steps.form",
          "stepBlocksBeforeForm",
          "steps.widgets",
          "praxis-files-upload",
          "praxis-list",
          "widgetEvent"
        ],
        "tags": [
          "stepper",
          "workflow",
          "form",
          "files-upload",
          "approval",
          "local-workflow",
          "ai-recipe"
        ],
        "demonstrates": [
          "Linear guided workflow with persisted stepperId and explicit navigation labels",
          "Step-local Dynamic Form config with sections, validators, conditional fields and actions",
          "RichContentDocument surfaces before and after step forms without legacy wizard-only blocks",
          "Nested host-owned widgets through steps[].widgets: files upload and approval checklist",
          "Workflow-level events exposed through selectionChange, stepFormReady, stepFormValueChange and widgetEvent"
        ],
        "platformFeatures": [
          "dynamic-widget-resolution",
          "praxis-stepper.steps",
          "praxis-stepper.linear-navigation",
          "praxis-stepper.stepBlocksBeforeForm",
          "praxis-stepper.form-config",
          "praxis-stepper.widgets",
          "praxis-files-upload.nested-widget",
          "praxis-list.approval-checklist",
          "widgetEvent.bubbling"
        ],
        "backendSurfaces": [
          "GET /schemas/filtered?schemaType=response",
          "GET /schemas/filtered?path=/api/human-resources/funcionarios/{id}&operation=get&schemaType=response",
          "Host files API: POST {baseUrl}/upload",
          "praxis-ui-angular/projects/praxis-stepper/docs/stepper-api-reference.md",
          "praxis-ui-angular/projects/praxis-stepper/docs/host-stepper-integration.md"
        ],
        "complexity": "advanced",
        "validation": {
          "level": "browser-smoke",
          "checks": [
            "json-envelope",
            "dynamic-page-rendered",
            "praxis-stepper-rendered",
            "step-form-rendered",
            "nested-upload-rendered",
            "nested-list-rendered"
          ]
        },
        "operationalEvidence": {
          "recommendedHttpIds": [],
          "pendingHttpIds": [],
          "notes": [
            "This example is local-only because it demonstrates a host-owned workflow contract rather than a quickstart mutation endpoint.",
            "The form step uses local config to show rules and validators without creating employee records in the reference API.",
            "The evidence step keeps the files API boundary explicit through the nested praxis-files-upload baseUrl input."
          ]
        },
        "sourceRecipes": [
          "praxis-ui-angular/examples/ai-recipes/praxis-dynamic-page.stepper-onboarding-workflow.json",
          "praxis-ui-angular/examples/ai-recipes/praxis-stepper.json",
          "praxis-ui-angular/projects/praxis-stepper/docs/stepper-api-reference.md"
        ],
        "page": {
          "layout": {
            "orientation": "columns",
            "columns": 1,
            "gap": "16px"
          },
          "widgets": [
            {
              "key": "employeeOnboardingStepper",
              "shell": {
                "kind": "dashboard-card",
                "icon": "assignment_turned_in",
                "title": "Employee onboarding workflow",
                "subtitle": "Stepper with form rules, evidence upload and approval checklist"
              },
              "definition": {
                "id": "praxis-stepper",
                "bindingOrder": [
                  "stepperId",
                  "componentInstanceId",
                  "config",
                  "stepperContext"
                ],
                "inputs": {
                  "stepperId": "employee-onboarding-workflow",
                  "componentInstanceId": "dynamic-page-showcase",
                  "enableCustomization": true,
                  "stepperContext": {
                    "workflowId": "employee-onboarding-demo",
                    "resourcePath": "human-resources/funcionarios",
                    "evidenceBaseUrl": "/api/files"
                  },
                  "config": {
                    "orientation": "horizontal",
                    "linear": true,
                    "labelPosition": "bottom",
                    "selectedIndex": 0,
                    "density": "comfortable",
                    "appearance": {
                      "preset": "ft-light",
                      "icons": {
                        "number": "radio_button_unchecked",
                        "done": "check_circle",
                        "edit": "edit_note",
                        "error": "error"
                      }
                    },
                    "navigation": {
                      "visible": true,
                      "prevLabel": "Back",
                      "nextLabel": "Continue",
                      "prevIcon": "arrow_back",
                      "nextIcon": "arrow_forward",
                      "variant": "stroked",
                      "color": "primary",
                      "align": "space-between"
                    },
                    "steps": [
                      {
                        "id": "employee-intake",
                        "label": "Employee",
                        "description": "Capture employee identity, assignment and workflow-only risk fields.",
                        "editable": true,
                        "stepBlocksBeforeForm": {
                          "kind": "praxis.rich-content",
                          "version": "1.0.0",
                          "nodes": [
                            {
                              "type": "text",
                              "text": "The step owns its local Dynamic Form config. Backend metadata can replace this config later without changing the Stepper host template."
                            },
                            {
                              "type": "badge",
                              "label": "form rules"
                            },
                            {
                              "type": "badge",
                              "label": "validators"
                            }
                          ]
                        },
                        "form": {
                          "mode": "create",
                          "formId": "employee-onboarding-intake-form",
                          "schemaSource": "resource",
                          "config": {
                            "metadata": {
                              "name": "Employee onboarding intake",
                              "version": "1.0.0"
                            },
                            "behavior": {
                              "reactiveValidation": true,
                              "reactiveValidationDebounceMs": 200
                            },
                            "sections": [
                              {
                                "id": "identity",
                                "title": "Identity",
                                "description": "Candidate identity and contact data.",
                                "appearance": "outlined",
                                "rows": [
                                  {
                                    "id": "identity-row",
                                    "columns": [
                                      {
                                        "id": "identity-main",
                                        "span": {
                                          "md": 6,
                                          "lg": 6
                                        },
                                        "fields": [
                                          "nomeCompleto",
                                          "email"
                                        ]
                                      },
                                      {
                                        "id": "identity-contact",
                                        "span": {
                                          "md": 6,
                                          "lg": 6
                                        },
                                        "fields": [
                                          "telefone",
                                          "dataNascimento"
                                        ]
                                      }
                                    ]
                                  }
                                ]
                              },
                              {
                                "id": "assignment",
                                "title": "Assignment",
                                "description": "Initial role and payroll policy.",
                                "appearance": "outlined",
                                "rows": [
                                  {
                                    "id": "assignment-row",
                                    "columns": [
                                      {
                                        "id": "assignment-main",
                                        "span": {
                                          "md": 6,
                                          "lg": 6
                                        },
                                        "fields": [
                                          "cargoId",
                                          "departamentoId"
                                        ]
                                      },
                                      {
                                        "id": "assignment-payroll",
                                        "span": {
                                          "md": 6,
                                          "lg": 6
                                        },
                                        "fields": [
                                          "salario",
                                          "requiresSecurityReview"
                                        ]
                                      }
                                    ]
                                  }
                                ]
                              },
                              {
                                "id": "security-review",
                                "title": "Security review",
                                "description": "Visible only when the role requires additional checks.",
                                "appearance": "outlined",
                                "rows": [
                                  {
                                    "id": "security-row",
                                    "columns": [
                                      {
                                        "id": "security-main",
                                        "fields": [
                                          "riskLevel",
                                          "securityNotes"
                                        ]
                                      }
                                    ]
                                  }
                                ]
                              }
                            ],
                            "fieldMetadata": [
                              {
                                "name": "nomeCompleto",
                                "label": "Nome Completo",
                                "controlType": "input",
                                "validators": {
                                  "required": true,
                                  "minLength": 3,
                                  "maxLength": 160
                                }
                              },
                              {
                                "name": "email",
                                "label": "Email",
                                "controlType": "email",
                                "validators": {
                                  "required": true,
                                  "email": true
                                }
                              },
                              {
                                "name": "telefone",
                                "label": "Telefone",
                                "controlType": "phone",
                                "validators": {
                                  "required": true
                                }
                              },
                              {
                                "name": "dataNascimento",
                                "label": "Data de Nascimento",
                                "controlType": "date",
                                "validators": {
                                  "required": true
                                }
                              },
                              {
                                "name": "cargoId",
                                "label": "Cargo",
                                "controlType": "select",
                                "validators": {
                                  "required": true
                                },
                                "options": [
                                  {
                                    "label": "Analista de Operacoes",
                                    "value": "analyst"
                                  },
                                  {
                                    "label": "Agente de Campo",
                                    "value": "field-agent"
                                  },
                                  {
                                    "label": "Diretor de P&D",
                                    "value": "director-rd"
                                  }
                                ]
                              },
                              {
                                "name": "departamentoId",
                                "label": "Departamento",
                                "controlType": "select",
                                "validators": {
                                  "required": true
                                },
                                "options": [
                                  {
                                    "label": "Operacoes",
                                    "value": "operations"
                                  },
                                  {
                                    "label": "Pesquisa",
                                    "value": "research"
                                  },
                                  {
                                    "label": "Seguranca",
                                    "value": "security"
                                  }
                                ]
                              },
                              {
                                "name": "salario",
                                "label": "Salario inicial",
                                "controlType": "currency",
                                "currencyCode": "BRL",
                                "locale": "pt-BR",
                                "validators": {
                                  "required": true,
                                  "min": 1800
                                }
                              },
                              {
                                "name": "requiresSecurityReview",
                                "label": "Requires security review",
                                "controlType": "toggle"
                              },
                              {
                                "name": "riskLevel",
                                "label": "Risk level",
                                "controlType": "select",
                                "options": [
                                  {
                                    "label": "Standard",
                                    "value": "STANDARD"
                                  },
                                  {
                                    "label": "Elevated",
                                    "value": "ELEVATED"
                                  },
                                  {
                                    "label": "Restricted",
                                    "value": "RESTRICTED"
                                  }
                                ],
                                "conditionalDisplay": {
                                  "===": [
                                    {
                                      "var": "requiresSecurityReview"
                                    },
                                    true
                                  ]
                                },
                                "conditionalRequired": {
                                  "===": [
                                    {
                                      "var": "requiresSecurityReview"
                                    },
                                    true
                                  ]
                                }
                              },
                              {
                                "name": "securityNotes",
                                "label": "Security notes",
                                "controlType": "textarea",
                                "rows": 3,
                                "validators": {
                                  "minLength": 12,
                                  "maxLength": 500
                                },
                                "conditionalDisplay": {
                                  "===": [
                                    {
                                      "var": "requiresSecurityReview"
                                    },
                                    true
                                  ]
                                },
                                "conditionalRequired": {
                                  "===": [
                                    {
                                      "var": "requiresSecurityReview"
                                    },
                                    true
                                  ]
                                }
                              }
                            ],
                            "formRules": [
                              {
                                "id": "security-review-section-visibility",
                                "name": "Security section visibility",
                                "targetType": "section",
                                "targetId": "security-review",
                                "condition": {
                                  "===": [
                                    {
                                      "var": "requiresSecurityReview"
                                    },
                                    true
                                  ]
                                },
                                "effect": {
                                  "propertiesWhenTrue": {
                                    "visible": true
                                  },
                                  "propertiesWhenFalse": {
                                    "visible": false
                                  }
                                }
                              }
                            ],
                            "actions": {
                              "submit": {
                                "id": "save-intake-draft",
                                "label": "Save draft",
                                "icon": "save",
                                "color": "primary",
                                "visible": true,
                                "type": "submit"
                              },
                              "reset": {
                                "id": "reset-intake",
                                "label": "Reset",
                                "visible": true,
                                "type": "reset"
                              },
                              "position": "right",
                              "placement": "afterSections"
                            }
                          }
                        },
                        "stepBlocksAfterForm": {
                          "kind": "praxis.rich-content",
                          "version": "1.0.0",
                          "nodes": [
                            {
                              "type": "badge",
                              "label": "stepFormReady"
                            },
                            {
                              "type": "badge",
                              "label": "stepFormValueChange"
                            }
                          ]
                        }
                      },
                      {
                        "id": "evidence",
                        "label": "Evidence",
                        "description": "Collect supporting files through a nested Files Upload widget.",
                        "optional": true,
                        "editable": true,
                        "stepBlocksBeforeForm": {
                          "kind": "praxis.rich-content",
                          "version": "1.0.0",
                          "nodes": [
                            {
                              "type": "text",
                              "text": "Use steps[].widgets when a step needs a real runtime component. Here the host keeps the files API boundary explicit through baseUrl."
                            },
                            {
                              "type": "badge",
                              "label": "steps[].widgets"
                            },
                            {
                              "type": "badge",
                              "label": "praxis-files-upload"
                            }
                          ]
                        },
                        "widgets": [
                          {
                            "id": "praxis-files-upload",
                            "inputs": {
                              "filesUploadId": "employee-onboarding-evidence",
                              "componentInstanceId": "stepper-evidence",
                              "baseUrl": "/api/files",
                              "displayMode": "compact",
                              "config": {
                                "strategy": "direct",
                                "ui": {
                                  "showDropzone": true,
                                  "accept": [
                                    "application/pdf",
                                    "image/png",
                                    "image/jpeg",
                                    ".pdf",
                                    ".png",
                                    ".jpg"
                                  ],
                                  "showConflictPolicySelector": true,
                                  "showMetadataForm": true,
                                  "showProgress": true,
                                  "manualUpload": true
                                },
                                "limits": {
                                  "maxFileSizeBytes": 10485760,
                                  "maxFilesPerBulk": 4,
                                  "maxBulkSizeBytes": 31457280
                                },
                                "options": {
                                  "defaultConflictPolicy": "MAKE_UNIQUE",
                                  "strictValidation": true,
                                  "allowedExtensions": [
                                    "pdf",
                                    "png",
                                    "jpg",
                                    "jpeg"
                                  ],
                                  "acceptMimeTypes": [
                                    "application/pdf",
                                    "image/png",
                                    "image/jpeg"
                                  ],
                                  "targetDirectory": "employee-onboarding",
                                  "enableVirusScanning": true
                                }
                              }
                            }
                          }
                        ]
                      },
                      {
                        "id": "approval",
                        "label": "Approval",
                        "description": "Review completion criteria before sending the workflow to the host.",
                        "editable": true,
                        "stepBlocksBeforeForm": {
                          "kind": "praxis.rich-content",
                          "version": "1.0.0",
                          "nodes": [
                            {
                              "type": "text",
                              "text": "The final step can combine local review state with events from previous steps. No custom Angular shell is required."
                            },
                            {
                              "type": "badge",
                              "label": "widgetEvent"
                            },
                            {
                              "type": "badge",
                              "label": "approval checklist"
                            }
                          ]
                        },
                        "widgets": [
                          {
                            "id": "praxis-list",
                            "inputs": {
                              "listId": "employee-onboarding-approval-checklist",
                              "config": {
                                "id": "employee-onboarding-approval-checklist-config",
                                "dataSource": {
                                  "data": [
                                    {
                                      "id": 1,
                                      "title": "Identity fields validated",
                                      "owner": "People Ops",
                                      "status": "Required",
                                      "priority": "P0"
                                    },
                                    {
                                      "id": 2,
                                      "title": "Evidence attached or waived",
                                      "owner": "Hiring Manager",
                                      "status": "Required",
                                      "priority": "P0"
                                    },
                                    {
                                      "id": 3,
                                      "title": "Security review completed",
                                      "owner": "Security",
                                      "status": "Conditional",
                                      "priority": "P1"
                                    }
                                  ]
                                },
                                "layout": {
                                  "variant": "list",
                                  "density": "compact",
                                  "lines": 2,
                                  "dividers": "between",
                                  "pageSize": 5
                                },
                                "selection": {
                                  "mode": "multiple",
                                  "compareBy": "id",
                                  "return": "id"
                                },
                                "templating": {
                                  "leading": {
                                    "type": "icon",
                                    "expr": "task_alt"
                                  },
                                  "primary": {
                                    "type": "text",
                                    "expr": "${item.title}"
                                  },
                                  "secondary": {
                                    "type": "text",
                                    "expr": "${item.owner}"
                                  },
                                  "meta": {
                                    "type": "chip",
                                    "expr": "${item.priority}",
                                    "variant": "filled"
                                  },
                                  "trailing": {
                                    "type": "chip",
                                    "expr": "${item.status}",
                                    "variant": "outlined"
                                  }
                                },
                                "ui": {
                                  "showSearch": false,
                                  "showSort": false,
                                  "showRange": false
                                }
                              }
                            }
                          }
                        ]
                      }
                    ]
                  }
                },
                "outputs": {
                  "selectionChange": "emit",
                  "selectedIndexChange": "emit",
                  "stepFormReady": "emit",
                  "stepFormValueChange": "emit",
                  "widgetEvent": "emit"
                }
              }
            }
          ]
        }
      }
    }
  ]
}
