diff --git a/outcomer/symfony-json-schema-validation/1.0/config/packages/outcomer_validation.yaml b/outcomer/symfony-json-schema-validation/1.0/config/packages/outcomer_validation.yaml new file mode 100644 index 000000000..dfe2a2cf8 --- /dev/null +++ b/outcomer/symfony-json-schema-validation/1.0/config/packages/outcomer_validation.yaml @@ -0,0 +1,12 @@ +outcomer_validation: + # Path to your JSON Schema files + schemas_path: '%kernel.project_dir%/config/validation/schemas' + + # Base domain for auto-generated schema IDs + schema_domain: 'https://example.com' + + # Custom filters (optional) + # Uncomment and add your custom filters here + #filters: + # uuid: App\Validation\Filter\UuidFilter + # date: App\Validation\Filter\DateFilter diff --git a/outcomer/symfony-json-schema-validation/1.0/manifest.json b/outcomer/symfony-json-schema-validation/1.0/manifest.json new file mode 100644 index 000000000..7cfdf4229 --- /dev/null +++ b/outcomer/symfony-json-schema-validation/1.0/manifest.json @@ -0,0 +1,17 @@ +{ + "bundles": { + "Outcomer\\ValidationBundle\\OutcomerValidationBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "post-install-output": [ + " ", + " What's next? ", + " ", + "", + " * Configure your JSON Schema validation in config/packages/outcomer_validation.yaml", + " * Create your first schema in config/validation/schemas/", + " * Read the documentation at https://github.com/outcomer/symfony-json-schema-validation" + ] +}