-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
57 changed files
with
2,099 additions
and
2,432 deletions.
There are no files selected for viewing
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
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
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
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,12 @@ | ||
{ | ||
"Site": { | ||
"SiteID": { | ||
"allowed": ["Ottawa Site", "Montreal Site"] | ||
"anyof": [ | ||
{ | ||
"allowed": ["Ottawa Site", "Montreal Site"], | ||
"empty": true | ||
} | ||
] | ||
} | ||
} | ||
} |
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,11 @@ | ||
{ | ||
"samples": { | ||
"collection": { | ||
"allowed": ["comp3", "comp3dep"] | ||
"anyof": [ | ||
{ | ||
"allowed": ["comp3", "comp3dep"] | ||
} | ||
] | ||
} | ||
} | ||
} |
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,6 @@ | ||
siteID,allowedField | ||
1, | ||
2,"" | ||
3," " | ||
4,NA | ||
5,a |
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,7 @@ | ||
siteID,minlengthField | ||
1, | ||
2,"" | ||
3," " | ||
4,NA | ||
5,x | ||
6,xxxxx |
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,66 @@ | ||
{ | ||
"warnings": [ | ||
{ | ||
"columnName": "allowedField", | ||
"invalidValue": "", | ||
"message": "missing_values_found rule triggered in table sites, column allowedField, row(s) 1: Empty string found", | ||
"row": {"allowedField": "", "siteID": "1"}, | ||
"rowNumber": 1, | ||
"tableName": "sites", | ||
"validationRuleFields": [], | ||
"warningType": "missing_values_found" | ||
}, | ||
{ | ||
"columnName": "allowedField", | ||
"invalidValue": "", | ||
"message": "missing_values_found rule triggered in table sites, column allowedField, row(s) 2: Empty string found", | ||
"row": {"allowedField": "", "siteID": "2"}, | ||
"rowNumber": 2, | ||
"tableName": "sites", | ||
"validationRuleFields": [], | ||
"warningType": "missing_values_found" | ||
}, | ||
{ | ||
"columnName": "allowedField", | ||
"invalidValue": " ", | ||
"message": "missing_values_found rule triggered in table sites, column allowedField, row(s) 3: Missing value \" \"", | ||
"row": {"allowedField": " ", "siteID": "3"}, | ||
"rowNumber": 3, | ||
"tableName": "sites", | ||
"validationRuleFields": [], | ||
"warningType": "missing_values_found" | ||
}, | ||
{ | ||
"columnName": "allowedField", | ||
"invalidValue": "NA", | ||
"message": "missing_values_found rule triggered in table sites, column allowedField, row(s) 4: Missing value \"NA\"", | ||
"row": {"allowedField": "NA", "siteID": "4"}, | ||
"rowNumber": 4, | ||
"tableName": "sites", | ||
"validationRuleFields": [], | ||
"warningType": "missing_values_found" | ||
} | ||
], | ||
"errors": [ | ||
{ | ||
"columnName": "allowedField", | ||
"errorType": "invalid_category", | ||
"invalidValue": " ", | ||
"message": "invalid_category rule violated in table sites, column allowedField, row(s) 3: Invalid category \" \"", | ||
"row": {"allowedField": " ", "siteID": "3"}, | ||
"rowNumber": 3, | ||
"tableName": "sites", | ||
"validationRuleFields": [] | ||
}, | ||
{ | ||
"columnName": "allowedField", | ||
"errorType": "invalid_category", | ||
"invalidValue": "NA", | ||
"message": "invalid_category rule violated in table sites, column allowedField, row(s) 4: Invalid category \"NA\"", | ||
"row": {"allowedField": "NA", "siteID": "4"}, | ||
"rowNumber": 4, | ||
"tableName": "sites", | ||
"validationRuleFields": [] | ||
} | ||
] | ||
} |
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,75 @@ | ||
{ | ||
"warnings": [ | ||
{ | ||
"warningType": "missing_values_found", | ||
"tableName": "sites", | ||
"columnName": "minlengthField", | ||
"validationRuleFields": [], | ||
"message": "missing_values_found rule triggered in table sites, column minlengthField, row(s) 1: Empty string found", | ||
"rowNumber": 1, | ||
"row": {"siteID": "1", "minlengthField": ""}, | ||
"invalidValue": "" | ||
}, | ||
{ | ||
"warningType": "missing_values_found", | ||
"tableName": "sites", | ||
"columnName": "minlengthField", | ||
"validationRuleFields": [], | ||
"message": "missing_values_found rule triggered in table sites, column minlengthField, row(s) 2: Empty string found", | ||
"rowNumber": 2, | ||
"row": {"siteID": "2", "minlengthField": ""}, "invalidValue": "" | ||
}, | ||
{ | ||
"warningType": "missing_values_found", | ||
"tableName": "sites", | ||
"columnName": "minlengthField", | ||
"validationRuleFields": [], | ||
"message": "missing_values_found rule triggered in table sites, column minlengthField, row(s) 3: Missing value \" \"", | ||
"rowNumber": 3, | ||
"row": {"siteID": "3", "minlengthField": " "}, | ||
"invalidValue": " " | ||
}, | ||
{ | ||
"warningType": "missing_values_found", | ||
"tableName": "sites", | ||
"columnName": "minlengthField", | ||
"validationRuleFields": [], | ||
"message": "missing_values_found rule triggered in table sites, column minlengthField, row(s) 4: Missing value \"NA\"", | ||
"rowNumber": 4, | ||
"row": {"siteID": "4", "minlengthField": "NA"}, | ||
"invalidValue": "NA" | ||
} | ||
], | ||
"errors": [ | ||
{ | ||
"errorType": "less_than_min_length", | ||
"tableName": "sites", | ||
"columnName": "minlengthField", | ||
"validationRuleFields": [], | ||
"message": "less_than_min_length rule violated in table sites, column minlengthField, row(s) 3: Value \" \" (of length 3) is less than the min length of \"5\"", | ||
"rowNumber": 3, | ||
"row": {"siteID": "3", "minlengthField": " "}, | ||
"invalidValue": " " | ||
}, | ||
{ | ||
"errorType": "less_than_min_length", | ||
"tableName": "sites", | ||
"columnName": "minlengthField", | ||
"validationRuleFields": [], | ||
"message": "less_than_min_length rule violated in table sites, column minlengthField, row(s) 4: Value \"NA\" (of length 2) is less than the min length of \"5\"", | ||
"rowNumber": 4, | ||
"row": {"siteID": "4", "minlengthField": "NA"}, | ||
"invalidValue": "NA" | ||
}, | ||
{ | ||
"errorType": "less_than_min_length", | ||
"tableName": "sites", | ||
"columnName": "minlengthField", | ||
"validationRuleFields": [], | ||
"message": "less_than_min_length rule violated in table sites, column minlengthField, row(s) 5: Value \"x\" (of length 1) is less than the min length of \"5\"", | ||
"rowNumber" : 5, | ||
"row": {"siteID": "5", "minlengthField": "x"}, | ||
"invalidValue": "x" | ||
} | ||
] | ||
} |
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,16 @@ | ||
schemaVersion: 2.0.0 | ||
schema: | ||
sites: | ||
type: list | ||
schema: | ||
type: dict | ||
schema: | ||
allowedField: | ||
anyof: | ||
- allowed: | ||
- a | ||
- b | ||
empty: true | ||
emptyTrimmed: false | ||
forbidden: | ||
- NA |
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,14 @@ | ||
schemaVersion: 2.0.0 | ||
schema: | ||
sites: | ||
type: list | ||
schema: | ||
type: dict | ||
schema: | ||
minlengthField: | ||
anyof: | ||
- minlength: 5 | ||
empty: true | ||
emptyTrimmed: false | ||
forbidden: | ||
- NA |
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.