dpcs 0.8.0

Reference implementation of the Data Pipeline Contract Standard (DPCS)
Documentation
//! Extension helpers.

/// Returns `true` when `key` is a reserved DPCS root field name.
pub fn is_reserved_root_field(key: &str) -> bool {
    matches!(
        key,
        "dpcsVersion"
            | "id"
            | "name"
            | "version"
            | "metadata"
            | "interface"
            | "graph"
            | "steps"
            | "contractReferences"
            | "dataFlow"
            | "controlFlow"
            | "execution"
            | "scheduling"
            | "qualityGates"
            | "failureSemantics"
            | "lineage"
            | "compatibility"
    )
}