๐ฆ subflow-logycalibrary-prod-shared-func-parameter-validation¶
Overview¶
๐ Subworkflow: Parameter Validation (Shared Function)
This subworkflow provides a reusable parameter validation utility designed to be invoked by other workflows and subflows.
It validates input payloads against declarative rules and returns a boolean result.
Purpose¶
- Centralize and standardize parameter validation
- Avoid duplicated validation logic
- Enforce consistent validation rules across workflows
Design Principles¶
- Single Responsibility โ Validation only
- StructureโArtifact Alignment โ Behavior driven by shared contracts and rules
- Declarative Rules โ Validation logic defined as data
- Reusable & Side-Effect Free
High-Level Flow¶
- Subworkflow is invoked by a parent workflow
- Payload and validation rules are received
- Input is extracted and normalized
- Rules are applied
- Validation result is returned
Table of Contents¶
| Convention Name | Documentation Link |
|---|---|
| ๐ Main Description | README |
| ๐ Metadata sticky note | References |
| ๐ CONTRACTS | API response schema |
| ๐ CONTRACTS | User input schema |
| ๐ Change log | CHANGELOG |