Package com.inductiveautomation.ignition.common.jsonschema.config
@NullMarked
package com.inductiveautomation.ignition.common.jsonschema.config
Schema-and-extraction pairing for JSON config objects: a hand-authored JSON schema describing a
config's structure, bound to the extraction that turns config JSON into its typed model.
The central type is ConfigSchema, which a config model
exposes as a constant next to its schema resource. It serves two audiences with deliberately
different contracts: validate is the strict, authoring-time gate — schema violations and
semantic problems are collected as path-qualified ConfigProblems suitable for display or
for feeding back to an automated author — while fromJson is the lenient runtime path,
preserving whatever historical leniencies (case-insensitive enums, deprecated aliases) live in
the extractor. Schemas are authored strictly so the same document doubles as the specification
handed to an AI model; leniency belongs only in extraction.
-
ClassDescriptionOne problem found in a proposed config object, anchored to the JSON path where it was found.The collected results of validating a config object against a
ConfigSchema: oneConfigProblemper violation, ordered by path.ConfigSchema<T>The authoritative specification of one config object: a hand-authored JSON schema describing its structure, paired with the extraction that turns config JSON into a typed model.Turns config JSON into a typed model.Thrown when a proposed configuration object cannot be turned into its typed model — a missing required member, an unparseable value, or a semantic rule the JSON schema cannot express.