From 6df4bd5c310bd0e2924744b4edd7a9b685c6b13d Mon Sep 17 00:00:00 2001 From: Jeremy Fiel <32110157+jeremyfiel@users.noreply.github.com> Date: Fri, 21 Jan 2022 04:44:23 -0500 Subject: [PATCH] docs(repo): update schema table formatting and available dialects to match table content (#2024) --- docs/reference/functions.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/reference/functions.md b/docs/reference/functions.md index 38ee3a4af..984d1d639 100644 --- a/docs/reference/functions.md +++ b/docs/reference/functions.md @@ -155,15 +155,15 @@ camel-case-name: ## schema -Use JSON Schema (draft 4, 6 or 7) to treat the contents of the \$given JSON Path as a JSON instance. +Use JSON Schema (draft 4, 6, 7, 2019-09, or 2020-12) to treat the contents of the \$given JSON Path as a JSON instance. -| name | description | type | required? | -| --------- | ---------------------------------------------------------------------- | ------------ | --------- | --------------------------------------------------- | --- | -| schema | a valid JSON Schema document | `JSONSchema` | yes | -| dialect | the JSON Schema draft used by function. "auto" by default | `'auto' | 'draft4' | 'draft6', 'draft7', 'draft2019-09', 'draft2020-12'` | no | -| allErrors | returns all errors when `true`; otherwise only returns the first error | `boolean` | no | +| name | description | type | required? | +| --------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------- | +| schema | a valid JSON Schema document | `JSONSchema` | yes | +| dialect | the JSON Schema draft used by function. "auto" by default | `'auto', 'draft4', 'draft6', 'draft7', 'draft2019-09', 'draft2020-12'` | no | +| allErrors | returns all errors when `true`; otherwise only returns the first error | `boolean` | no |