G-Cubed
Python G-Cubed 5.0.2.0 · build 1
Generation details
Source revision
4c4a95aded1b5ca5e8f9c292ad8250440cd9c18b (modified inputs)
Source fingerprint
e2c719b38e03c6b1748f10e26bc1caf1ead5674dd1beee6628a6ccf7b90fd39b
Generated (UTC)
2026-11-11T03:06:22.844261+00:00
Generator
pdoc 16.0.0, CPython 3.14.8
Generation metadata

gcubed.schemas

Packaged JSON Schemas and validated runtime access to them.

@lru_cache(maxsize=None)
def validator_for(resource_name: str) -> jsonschema.validators.Draft202012Validator:

Return a cached Draft 2020-12 validator for a packaged schema.

Missing, malformed, or invalid schemas indicate a broken package rather than invalid user input, so they deliberately raise RuntimeError.

def design_file_validator() -> jsonschema.validators.Draft202012Validator:

Return the packaged design-file version-1 validator.

def chartpack_validator() -> jsonschema.validators.Draft202012Validator:

Return the packaged chartpack validator through version 1.4.0.

def setup_configuration_validator() -> jsonschema.validators.Draft202012Validator:

Return the packaged setup-configuration version-1 validator.

def model_configuration_validator(schema_version: int = 1) -> jsonschema.validators.Draft202012Validator:

Return the validator for a supported model-configuration schema.

Version 1 is the only released YAML model-configuration grammar. Keeping selection here gives the parser one explicit dispatch boundary without implying support for an unshipped version.