-
Notifications
You must be signed in to change notification settings - Fork 1
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
Paul Meems
committed
Feb 15, 2019
1 parent
d10ba76
commit 0f9ae5e
Showing
7 changed files
with
167 additions
and
327 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "https://raw.githubusercontent.com/andrejellema/GlobalCoffeeDataStandard/master/schema/general.definitions.json", | ||
"title": "General definitions", | ||
"definitions": { | ||
"percentage": { | ||
"title": "The percentage, 0-100", | ||
"description": "The percentage, from 0 to 100 with decimals allowed", | ||
"$comment": "Duplicate in /productionCosts.json", | ||
"type": "number", | ||
"minimum": 0, | ||
"maximum": 100 | ||
}, | ||
"positiveNumber": { | ||
"title": "A positive number > 0", | ||
"description": "A positive number starting at 0 with decimals allowed", | ||
"type": "number", | ||
"minimum": 0 | ||
}, | ||
"greaterThanZero": { | ||
"title": "The positive number, greater than 0", | ||
"description": "A positive number starting at greater than 0 with decimals allowed", | ||
"type": "number", | ||
"exclusiveMinimum": 0 | ||
}, | ||
"yesNo": { | ||
"title": "Yes-No enumeration", | ||
"type": "string", | ||
"enum": [ | ||
"Yes", | ||
"No" | ||
] | ||
} | ||
} | ||
} |
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.