Skip to content
This repository has been archived by the owner on Feb 15, 2021. It is now read-only.

Commit

Permalink
fixed some issues with benchmark schema
Browse files Browse the repository at this point in the history
  • Loading branch information
gregsdennis committed Mar 6, 2020
1 parent 167f750 commit fe9ba8e
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions Manatee.Json.Tests.Benchmark/TestData/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,13 @@
{
"if": { "properties": { "@type": { "const": "ViewAccountCondition" } } },
"then": {
"prod_base": {
"type": [ "string", "null" ],
"pattern": "^[0-9\\+]+$"
"properties": {
"prod_base": {
"type": [ "string", "null" ],
"pattern": "^[0-9\\+]+$"
}
}

}

},

{
Expand Down Expand Up @@ -364,19 +364,23 @@
"if": { "properties": { "@type": { "const": "SignerGroup" } } },
"then": {
"required": [ "req_sign" ],
"req_sign": {
"type": "string",
"pattern": "^[0-9]+$"
"properties": {
"req_sign": {
"type": "string",
"pattern": "^[0-9]+$"
}
}
}
},
{
"if": { "properties": { "@type": { "const": "CancelGroup" } } },
"then": {
"required": [ "req_sign" ],
"req_sign": {
"type": "string",
"pattern": "^[0-9]+$"
"properties": {
"req_sign": {
"type": "string",
"pattern": "^[0-9]+$"
}
}
}
}
Expand All @@ -397,10 +401,11 @@
"if": { "properties": { "@type": { "const": "Account" } } },
"then": {
"required": [ "bban", "acct_hier_tp", "curr_code", "account_owner", "ldgr_syst_name", "parc_ar_id" ],

"ldgr_syst_name": {
"type": "string",
"minLength": 1
"properties": {
"ldgr_syst_name": {
"type": "string",
"minLength": 1
}
}
}
},
Expand Down

0 comments on commit fe9ba8e

Please sign in to comment.