Last active
February 10, 2021 17:25
-
-
Save sujinleeme/d6015239f60c80600798e6f38d82fec9 to your computer and use it in GitHub Desktop.
sample.json
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
{ | |
"type":"object", | |
"require": true, | |
"patternProperties":{ | |
"[A-Za-z:0-9]":{ | |
"type":"object", | |
"additionalProperties":false, | |
"required":[ | |
"time", | |
"timestamp", | |
"value" | |
], | |
"properties":{ | |
"time":{ | |
"id":"time", | |
"type":"number" | |
}, | |
"timestamp":{ | |
"id":"timestamp", | |
"type":"integer" | |
}, | |
"value":{ | |
"id":"value", | |
"type":[ | |
"integer", | |
"string", | |
"boolean", | |
"object", | |
"array" | |
] | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment