Skip to content

Commit

Permalink
Merge pull request #166 from IATI/162-203-adjust-provider-receiver-or…
Browse files Browse the repository at this point in the history
…g-rules

(2.03) provider_org and receiver_org checked under atleast_one #162
  • Loading branch information
Ocre42 authored Mar 5, 2019
2 parents b5a07a2 + a40d5c2 commit 084c15c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rulesets/standard.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,8 @@
"if_then": {
"cases":[
{"if": "count(@lang) = 0", "then": "count(narrative/@lang) > 0 and (count(narrative) = count(narrative/@lang))"},
{"if": "count(transaction/provider-org/@ref) = 0", "then": "count(transaction/provider-org/narrative) > 0"},
{"if": "count(@default-currency) = 0", "then": "count(crs-add/loan-status/@currency) > 0"},
{"if": "count(@default-currency) = 0", "then": "count(fss/forecast/@currency) > 0"},
{"if": "count(transaction/receiver-org/@ref) = 0", "then": "count(transaction/provider-org/narrative) > 0"},
{"if": "count(other-identifier/owner-org/@ref) = 0", "then": "count(other-identifier/owner-org/narrative) > 0"},
{"if": "count(sector[@vocabulary=98 or @vocabulary=99]) > 0", "then": "count(sector/narrative) > 0"},
{"if": "result/indicator/baseline/@value", "then": "number(result/indicator/baseline/@value) = number(result/indicator/baseline/@value)"},
{"if": "result/indicator/period/target/@value", "then": "number(result/indicator/period/target/@value) = number(result/indicator/period/target/@value)"},
Expand Down

0 comments on commit 084c15c

Please sign in to comment.