validate_properties: Validate Property Specification Against Known Field Registry

View source: R/schema_helpers.R

validate_propertiesR Documentation

Validate Property Specification Against Known Field Registry

Description

Validates a property list for a given data type.

Usage

validate_properties(properties, data_type, strict = TRUE)

Arguments

properties

Property list as used in data_fetcher() and generate_json_query().

data_type

RCSB data type.

strict

Logical. If TRUE, unknown fields/subfields raise errors. If FALSE, validation details are returned without error.

Value

Invisibly TRUE when valid in strict mode. In non-strict mode, a list with unknown fields/subfields.


rPDBapi documentation built on March 9, 2026, 5:08 p.m.