pub fn parse_descriptor_value(
toml_src: &str,
source: &str,
) -> Result<Value, DescriptorError>Expand description
Parse one descriptor file’s TOML into a JSON value and schema-check it.
This is the per-file gate every layered source passes individually — the
schema requires only label, so partial override files validate here too,
while unknown fields and bad capability names are still rejected with the
file’s own path in the message.