commit f5d491154163169f41d5b6119f1ecbf4355bf80c Author: github-action[bot] <> Date: Wed Sep 2 10:18:07 2026 +0000 Create Flex endpoint diff --git a/index.json b/index.json new file mode 100644 index 00000000..1d93e4a3 --- /dev/null +++ b/index.json @@ -0,0 +1,21 @@ +{ + "aliases": [], + "recipes": { + "outcomer/symfony-json-schema-validation": [ + "1.0", + "4.0" + ] + }, + "recipe-conflicts": [], + "versions": [], + "branch": "main", + "is_contrib": true, + "_links": { + "repository": "github.com/symfony/recipes-contrib", + "origin_template": "{package}:{version}@github.com/symfony/recipes-contrib:main", + "recipe_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2042/{package_dotted}.{version}.json", + "recipe_template_relative": "{package_dotted}.{version}.json", + "archived_recipes_template": "https://raw.githubusercontent.com/symfony/recipes-contrib/flex/pull-2042/archived/{package_dotted}/{ref}.json", + "archived_recipes_template_relative": "archived/{package_dotted}/{ref}.json" + } +} diff --git a/outcomer.symfony-json-schema-validation.1.0.json b/outcomer.symfony-json-schema-validation.1.0.json new file mode 100644 index 00000000..c42152a2 --- /dev/null +++ b/outcomer.symfony-json-schema-validation.1.0.json @@ -0,0 +1,46 @@ +{ + "manifests": { + "outcomer/symfony-json-schema-validation": { + "manifest": { + "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" + ] + }, + "files": { + "config/packages/outcomer_validation.yaml": { + "contents": [ + "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", + "" + ], + "executable": false + } + }, + "ref": "36a335e3a139ff6bdd33cad99c5f8d42b572a6d9" + } + } +} diff --git a/outcomer.symfony-json-schema-validation.4.0.json b/outcomer.symfony-json-schema-validation.4.0.json new file mode 100644 index 00000000..dc7ed816 --- /dev/null +++ b/outcomer.symfony-json-schema-validation.4.0.json @@ -0,0 +1,50 @@ +{ + "manifests": { + "outcomer/symfony-json-schema-validation": { + "manifest": { + "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" + ] + }, + "files": { + "config/packages/outcomer_validation.yaml": { + "contents": [ + "outcomer_validation:", + " # Path/domain pairs for your JSON Schema files", + " schemas:", + " -", + " path: '%kernel.project_dir%/config/validation/schemas'", + " domain: 'https://example.com'", + "", + " # Automatically cast numeric/boolean strings before validation", + " auto_cast_query: true", + " auto_cast_path: true", + "", + " # Custom filters (optional)", + " # Uncomment and add your custom filters here", + " #filters:", + " # uuid: App\\Validation\\Filter\\UuidFilter", + " # date: App\\Validation\\Filter\\DateFilter", + "" + ], + "executable": false + } + }, + "ref": "dcb00654c46ff2207bc80441c18699fe3fe985e5" + } + } +}