Skip to contents

Checks that all required fields are present and well-formed. Errors clearly on any violation so that downstream SORT / staged-CTA code can rely on the contract.

Usage

validate_sda_anchor(anchor, strict = TRUE)

Arguments

anchor

An object to validate.

strict

Logical (default TRUE). When TRUE, errors on any violation. When FALSE, returns a character vector of issue messages (empty if valid).

Value

anchor invisibly (on success).