Skip to contents

Reads inst/schemas/<name>.json and returns its contents as a single character scalar. The JSON is not parsed – callers either pass the string straight to validate_against_schema or substitute it into a prompt template via load_prompt.

Usage

load_schema(name)

Arguments

name

Schema base name, e.g. "horizon", "site".

Value

Character scalar containing the schema JSON.