Skip to content

Commit

Permalink
enforce interger validation instead of number where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Sep 7, 2023
1 parent 286a1cc commit 4f57789
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions schema/core/reusable/atomic_orbital.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
"pattern": "^[1-7][sSpPdDfF]$"
},
"orbitalIndex": {
"type": "number",
"type": "integer",
"minimum": 1
},
"principalNumber": {
"type": "number",
"type": "integer",
"minimum": 1,
"maximum": 7
},
"angularMomentum": {
"type": "number",
"type": "integer",
"minimum": 0,
"maximum": 3
},
Expand Down
2 changes: 1 addition & 1 deletion schema/methods_directory/physical/psp/file.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"description": "explains the version of where this came from"
},
"exchangeCorrelation": {
"type": "object",
"properties": {
"approximation": {
"description": "DFT approximation",
Expand All @@ -39,7 +40,6 @@
"$ref": "../../../core/reusable/category_path.json"
}
}

},
"valenceConfiguration": {
"type": "array",
Expand Down

0 comments on commit 4f57789

Please sign in to comment.