Structs§
- Validation
Error - Represents a validation error
- Validation
Result - Represents the result of a validation operation
Enums§
- Validation
Rule - Enumerates the types of validation rules
Functions§
- is_
json_ pointer_ or_ runtime_ expr - Checks if a string value is a valid JSON Pointer or a valid runtime expression Matches Go SDK’s json_pointer_or_runtime_expr validator RFC 6901: “” references the whole document, “/foo/bar” references a path Escape sequences: ~0 = ~, ~1 = /
- is_
non_ empty_ string - Checks if a value is a non-empty string.
Per the Go SDK’s
string_or_runtime_exprvalidator, any non-empty string is valid (either a plain string or a runtime expression). - is_
uri_ or_ runtime_ expr - Checks if a string value is a valid URI or a valid runtime expression Matches Go SDK’s uri_template_or_runtime_expr validator Uses Go SDK’s LiteralUriPattern and LiteralUriTemplatePattern for validation
- is_
valid_ hostname - Validates an RFC 1123 hostname
- is_
valid_ json_ pointer - Checks if a string value is a valid JSON Pointer (RFC 6901)
Matches Go SDK’s JSONPointerPattern:
^(/([^/~]|~[01])*)*$ - is_
valid_ semver - Validates a semantic version string
- is_
valid_ uri - Checks if a string value is a valid literal URI (no placeholders)
Matches Go SDK’s LiteralUriPattern:
^[A-Za-z][A-Za-z0-9+\-.]*://[^{}\s]+$ - is_
valid_ uri_ template - Checks if a string value is a valid URI template (with placeholders)
Matches Go SDK’s LiteralUriTemplatePattern:
^[A-Za-z][A-Za-z0-9+\-.]*://.*\{.*}.*$ - validate_
asyncapi_ protocol - Validates an AsyncAPI protocol value
- validate_
auth_ policy - Validates an authentication policy definition
- validate_
auth_ policy_ one_ of - Validates an authentication policy for oneOf constraint
- validate_
backoff_ one_ of - Validates a backoff strategy definition for oneOf constraint
- validate_
basic_ auth - Validates a Basic authentication scheme for mutual exclusivity
- validate_
bearer_ auth - Validates a Bearer authentication scheme for mutual exclusivity
Bearer auth must have either
use(secret reference) OR token, not both - validate_
container_ cleanup - Validates a container’s cleanup policy value
- validate_
container_ lifetime - Validates container lifetime: when cleanup is “eventually”, the ‘after’ field is required
- validate_
digest_ auth - Validates a Digest authentication scheme for mutual exclusivity
- validate_
extension_ task_ type - Validates an extension’s task type value
- validate_
http_ method - Validates an HTTP method value (case-insensitive)
- validate_
http_ output - Validates an HTTP call output format value
- validate_
oauth2_ auth - Validates an OAuth2 authentication scheme for mutual exclusivity
- validate_
oauth2_ client_ auth_ method - Validates an OAuth2 client authentication method value
- validate_
oauth2_ grant_ type - Validates an OAuth2 grant type value
- validate_
oauth2_ request_ encoding - Validates an OAuth2 token request encoding value
- validate_
oidc_ auth - Validates an OIDC authentication scheme for mutual exclusivity
- validate_
process_ type_ one_ of - Validates a process type definition for oneOf constraint
- validate_
pull_ policy - Validates a container’s pull policy value
- validate_
required_ hostname - Validates a required string field as an RFC 1123 hostname. Adds a Required error if empty, or a Hostname error if invalid format.
- validate_
required_ semver - Validates a required string field as a semantic version. Adds a Required error if empty, or a Semver error if invalid format.
- validate_
schedule_ one_ of - Validates a workflow schedule definition for oneOf constraint
- validate_
schema_ one_ of - Validates a schema definition for oneOf constraint
- validate_
script_ language - Validates a script’s language value
- validate_
set_ task - Validates a set task’s value Matches Go SDK’s validate:“required,min=1,dive” Set must have at least 1 key-value pair
- validate_
switch_ task - Validates a switch task definition Matches Go SDK’s SwitchTask validation:
- validate_
task_ map - Validates a map of task definitions
- validate_
workflow - Validates a complete workflow definition
- validate_
workflow_ process - Validates a WorkflowProcessDefinition (sub-workflow reference) Matches Go SDK’s validation tags: