diff --git a/docs/03.reference/01.functions/ConfigSchema/_arguments/strict.md b/docs/03.reference/01.functions/ConfigSchema/_arguments/strict.md new file mode 100644 index 000000000..24c4c169f --- /dev/null +++ b/docs/03.reference/01.functions/ConfigSchema/_arguments/strict.md @@ -0,0 +1 @@ +`true` : canonical Lucee pse when creating or editing a config (e.g. in an IDE). `false` : also includes compatibility aliases for other CFML engines (e.g. ACF's componentPaths alonroperty names only — ugside Lucee's componentMappings) — use when reading/validating an existing config that may originate from another engine. \ No newline at end of file diff --git a/docs/03.reference/01.functions/ConfigSchema/_returnTypeDesc.md b/docs/03.reference/01.functions/ConfigSchema/_returnTypeDesc.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/03.reference/01.functions/ConfigSchema/_usageNotes.md b/docs/03.reference/01.functions/ConfigSchema/_usageNotes.md new file mode 100644 index 000000000..e69de29bb diff --git a/docs/03.reference/01.functions/ConfigSchema/examples.md b/docs/03.reference/01.functions/ConfigSchema/examples.md new file mode 100644 index 000000000..9c9c349fe --- /dev/null +++ b/docs/03.reference/01.functions/ConfigSchema/examples.md @@ -0,0 +1,9 @@ +```luceescript+trycf + +schema = ConfigSchema(); // strict=true + +schema = ConfigSchema(false); + +dump(serializeJson(schema)); + +``` diff --git a/docs/03.reference/01.functions/ConfigSchema/function.md b/docs/03.reference/01.functions/ConfigSchema/function.md new file mode 100644 index 000000000..2f35580d9 --- /dev/null +++ b/docs/03.reference/01.functions/ConfigSchema/function.md @@ -0,0 +1,9 @@ +--- +title: ConfigSchema +id: function-configSchema +related: +- function-configSchema +categories: +- server +--- +It returns the JSON Schema (Draft 2020-12) describing all supported Lucee configuration properties (.CFConfig.json), including types, defaults, and allowed values. Useful for validation and IDE autocompletion. \ No newline at end of file