Skip to content

Commit 5325e8d

Browse files
committed
update filter docs
1 parent 9fe70e7 commit 5325e8d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/source/nonStandardExtensions/filter.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,21 @@ If the implementation of a filter throws an exception this exception will be cau
2727

2828
If multiple filters are applied to a single property they will be executed in the order of their definition inside the JSON Schema.
2929

30-
If a list is used filters may include additional option parameters. In this case a single filter must be provided as an object with the key **filter** defining the filter:
30+
Filters may include additional option parameters. In this case a single filter must be provided as an object with the key **filter** defining the filter (possible as a single filter or as a list):
3131

3232
.. code-block:: json
3333
3434
{
3535
"type": "object",
3636
"properties": {
3737
"created": {
38+
"type": "string",
39+
"filter": {
40+
"filter": "dateTime",
41+
"denyEmptyValue": true
42+
}
43+
},
44+
"updated": {
3845
"type": "string",
3946
"filter": [
4047
{

0 commit comments

Comments
 (0)