Expand description
Named constants for every raw JSON-schema and CloudFormation provider-schema
keyword the compiler reads, grouped by how the compiled model represents
them. This module is the single source of truth for the vocabulary shared
between the build-time compilation pipeline and the runtime overlay
preflight in schema-validator.
Constantsยง
- ADDITIONAL_
PROPERTIES - ALL_OF
- ANY_OF
- BOOL_
CONSTRAINTS - Keywords compiled into
Option<bool>flags. - COMPILE_
CONDITION_ SCHEMA_ FIELDS - Fields read by
compile_condition_schema: what a conditionalifblock may contain. - COMPILE_
SUB_ READS_ ALL_ PROP_ FIELDS - Fields read by
compile_sub: sinceSubSchemais nowPropSchema, this is the full set of property-schema keywords. - COMPOSITION
- The full set of composition array keywords the compiler handles.
- CONDITIONALS
- The set of conditional branch keywords the compiler recognizes inside
allOfentries. - CONDITIONAL_
CREATE_ ONLY_ PROPERTIES - CONST
- CREATE_
ONLY_ PROPERTIES - DEFINITIONS
- DEFINITIONS_
REF_ PREFIX - The JSON pointer prefix under which definition references live.
- DEPENDENCIES
- DEPENDENCY_
MAPS - Keywords compiled into
BTreeMap<String, Vec<String>>dependency maps. - DEPENDENT_
EXCLUDED - DEPENDENT_
REQUIRED - DEPRECATED_
PROPERTIES - DESCRIPTION
- DOCUMENTATION_
URL - ELSE
- ENUM
- ENUM_
CASE_ INSENSITIVE - ENUM_
KEYWORDS - The two enum array keywords (exact and case-insensitive).
- EXCLUSIVE_
MAXIMUM - EXCLUSIVE_
MINIMUM - FORMAT
- IF
- ITEMS
- MAXIMUM
- MAX_
ITEMS - MAX_
LENGTH - MAX_
PROPERTIES - METADATA_
POINTER_ ARRAYS - Metadata pointer arrays that carry
/properties/...paths. - MINIMUM
- MIN_
ITEMS - MIN_
LENGTH - MIN_
PROPERTIES - MULTIPLE_
OF - NOT
- NUMERIC_
CONSTRAINTS - Keywords compiled into
Option<f64>numeric bounds. - ONE_OF
- PATTERN
- PATTERN_
PROPERTIES - PRIMARY_
IDENTIFIER - PROPERTIES
- PROPERTIES_
PATH_ PREFIX - The JSON pointer prefix that metadata path arrays (
readOnlyProperties, etc.) use to indicate a property path. - READ_
ONLY_ PROPERTIES - REF
- The
$refkeyword, pointing at a definition. - REF_
ANNOTATION_ KEYWORDS - RELATIONSHIP_
REF - REPLACEMENT_
STRATEGY - REQUIRED
- REQUIRED_
OR - REQUIRED_
XOR - SCHEMA_
MAPS - The set of keywords naming schema-level maps compiled into keyed
BTreeMap<String, PropSchema>fields. - SOURCE_
URL - STRING_
ARRAY_ CONSTRAINTS - Keywords whose value is a JSON array of property-name strings, validated
as
Vec<String>. - STRING_
CONSTRAINTS - Keywords compiled into
Option<String>string values. - THEN
- TYPE
- TYPE_
NAME - U64_
CONSTRAINTS - Keywords compiled into
Option<u64>length/count bounds. - UNIQUE_
ITEMS - UNREPRESENTED_
VALIDATION_ KEYWORDS - WRITE_
ONLY_ PROPERTIES