Class: RosettAi::Validators::BehaviourValidator
- Inherits:
-
SchemaValidator
- Object
- SchemaValidator
- RosettAi::Validators::BehaviourValidator
- Defined in:
- lib/rosett_ai/validators/behaviour_validator.rb
Overview
Validates behaviour configuration files against the behaviour JSON Schema.
Thin wrapper around SchemaValidator. The SCHEMA_PATH constant is preserved for backward compatibility with existing specs and code that references it.
Constant Summary collapse
- SCHEMA_PATH =
'conf/schemas/behaviour_schema.json'
Instance Attribute Summary
Attributes inherited from SchemaValidator
Instance Method Summary collapse
-
#initialize ⇒ BehaviourValidator
constructor
A new instance of BehaviourValidator.
Methods inherited from SchemaValidator
Constructor Details
#initialize ⇒ BehaviourValidator
Returns a new instance of BehaviourValidator.
15 16 17 |
# File 'lib/rosett_ai/validators/behaviour_validator.rb', line 15 def initialize super(schema: 'behaviour_schema.json') end |