Skip to main content

Module keywords

Module keywords 

Source
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 conditional if block may contain.
COMPILE_SUB_READS_ALL_PROP_FIELDS
Fields read by compile_sub: since SubSchema is now PropSchema, 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 allOf entries.
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 $ref keyword, 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