Module: Textus::Manifest::Schema
- Defined in:
- lib/textus/manifest/schema.rb,
lib/textus/manifest/schema/keys.rb,
lib/textus/manifest/schema/validator.rb,
lib/textus/manifest/schema/vocabulary.rb
Overview
The manifest schema. Its data is split across Schema::Vocabulary (the coordination vocabulary) and Schema::Keys (key whitelists + FIELD_REGISTRY) as of ADR 0109; the validation walk lives in Schema::Validator (ADR 0107). The constants are re-exported here so callers keep saying ‘Schema::LANES`.
Defined Under Namespace
Modules: Keys, Validator, Vocabulary
Constant Summary collapse
- LANES =
Re-export the vocabulary.
Vocabulary::LANES
- ZONE_KINDS =
Vocabulary::ZONE_KINDS
- CAPABILITIES =
Vocabulary::CAPABILITIES
- KIND_REQUIRES_VERB =
Vocabulary::KIND_REQUIRES_VERB
- ROOT_KEYS =
Re-export the keys + registry.
Keys::ROOT_KEYS
- ROLE_KEYS =
Keys::ROLE_KEYS
- ZONE_KEYS =
Keys::ZONE_KEYS
- ENTRY_KEYS =
Keys::ENTRY_KEYS
- PUBLISH_KEYS =
Keys::PUBLISH_KEYS
- SOURCE_KEYS =
Keys::SOURCE_KEYS
- RETENTION_KEYS =
Keys::RETENTION_KEYS
- AUDIT_KEYS =
Keys::AUDIT_KEYS
- FIELD_REGISTRY =
Keys::FIELD_REGISTRY
- RULE_KEYS =
Keys::RULE_KEYS
- OWNER_SUBJECT_PATTERN =
Keys::OWNER_SUBJECT_PATTERN
Class Method Summary collapse
-
.validate!(raw) ⇒ Object
Public entry points — the validation walk lives in Schema::Validator (ADR 0107).
- .validate_source_and_retention!(manifest) ⇒ Object
Class Method Details
.validate!(raw) ⇒ Object
Public entry points — the validation walk lives in Schema::Validator (ADR 0107). Kept here so callers keep speaking to ‘Schema`.
28 |
# File 'lib/textus/manifest/schema.rb', line 28 def self.validate!(raw) = Validator.validate!(raw) |
.validate_source_and_retention!(manifest) ⇒ Object
30 |
# File 'lib/textus/manifest/schema.rb', line 30 def self.validate_source_and_retention!(manifest) = Validator.validate_source_and_retention!(manifest) |