-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #149 from reconciliation-api/134-query-to-property
Move 'query' field inside 'properties'
- Loading branch information
Showing
12 changed files
with
160 additions
and
81 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...query-batch/invalid/empty-properties.json → ...query-batch/invalid/empty-conditions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"queries": [ | ||
{ | ||
"properties": [] | ||
"conditions": [] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
draft/examples/reconciliation-query-batch/invalid/missing-match-type.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"queries": [ | ||
{ | ||
"conditions": [ | ||
{ | ||
"v": "Hans-Eberhard Urbaniak" | ||
} | ||
] | ||
}, | ||
{ | ||
"conditions": [ | ||
{ | ||
"v": "Ernst Schwanhold" | ||
} | ||
] | ||
} | ||
] | ||
} |
12 changes: 10 additions & 2 deletions
12
draft/examples/reconciliation-query-batch/invalid/multiple-types.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 14 additions & 2 deletions
16
draft/examples/reconciliation-query-batch/invalid/no-root-object.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
[ | ||
{ | ||
"properties": [{"pid":"uid", "v": "27eb892afbb2"}] | ||
"conditions": [ | ||
{ | ||
"match_type": "property", | ||
"pid": "uid", | ||
"v": "27eb892afbb2" | ||
} | ||
] | ||
}, | ||
{ | ||
"properties": [{"pid":"uid", "v": "ab09da9dd37e"}] | ||
"conditions": [ | ||
{ | ||
"match_type": "property", | ||
"pid": "uid", | ||
"v": "ab09da9dd37e" | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 12 additions & 2 deletions
14
draft/examples/reconciliation-query-batch/valid/example-min.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
{ | ||
"queries": [ | ||
{ | ||
"query": "Hans-Eberhard Urbaniak" | ||
"conditions": [ | ||
{ | ||
"match_type": "name", | ||
"v": "Hans-Eberhard Urbaniak" | ||
} | ||
] | ||
}, | ||
{ | ||
"query": "Ernst Schwanhold" | ||
"conditions": [ | ||
{ | ||
"match_type": "name", | ||
"v": "Ernst Schwanhold" | ||
} | ||
] | ||
} | ||
] | ||
} |
8 changes: 6 additions & 2 deletions
8
draft/examples/reconciliation-query-batch/valid/multi-values.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 22 additions & 8 deletions
30
draft/examples/reconciliation-query-batch/valid/no-query-string.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,22 @@ | ||
{"queries":[ | ||
{ | ||
"properties": [{"pid":"uid", "v": "27eb892afbb2"}] | ||
}, | ||
{ | ||
"properties": [{"pid":"uid", "v": "ab09da9dd37e"}] | ||
} | ||
]} | ||
{ | ||
"queries": [ | ||
{ | ||
"conditions": [ | ||
{ | ||
"match_type": "property", | ||
"pid": "uid", | ||
"v": "27eb892afbb2" | ||
} | ||
] | ||
}, | ||
{ | ||
"conditions": [ | ||
{ | ||
"match_type": "property", | ||
"pid": "uid", | ||
"v": "ab09da9dd37e" | ||
} | ||
] | ||
} | ||
] | ||
} |
9 changes: 7 additions & 2 deletions
9
draft/examples/reconciliation-query-batch/valid/text-processing-language.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.