pub fn validate_registry_document(
value: &Value,
extensible_columns: &[String],
path_segment: &str,
) -> Result<ExtensibleRegistry, AppError>Expand description
Validate a raw registry document intended for entity: it must be a JSON object whose
top-level keys are all extensible columns on the entity, and whose values parse as field
definition lists. Returns the validated registry on success (HTTP 422 on any problem).