Last active
September 17, 2021 12:48
-
-
Save marcocastignoli/720b13a82e9c8e7b04954d35276722f7 to your computer and use it in GitHub Desktop.
hello
This file contains hidden or 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
| { | |
| "name": "Marco Casti", | |
| "age": 26, | |
| "favorite_color": "#ffa500", | |
| "gender": "male", | |
| "date": "", | |
| "pets": [ | |
| { | |
| "type": "dog", | |
| "name": "Walter" | |
| }, | |
| { | |
| "type": "dog", | |
| "name": "pippo" | |
| }, | |
| { | |
| "type": "other", | |
| "name": "ciao" | |
| } | |
| ] | |
| } |
This file contains hidden or 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
| { | |
| "title": "Volley", | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string", | |
| "description": "First and Last name", | |
| "minLength": 4, | |
| "default": "Jeremy Dorn" | |
| }, | |
| "age": { | |
| "type": "integer", | |
| "default": 25, | |
| "minimum": 18, | |
| "maximum": 99 | |
| }, | |
| "favorite_color": { | |
| "type": "string", | |
| "format": "color", | |
| "title": "favorite color", | |
| "default": "#ffa500" | |
| }, | |
| "gender": { | |
| "type": "string", | |
| "enum": [ | |
| "male", | |
| "female", | |
| "other" | |
| ] | |
| }, | |
| "date": { | |
| "type": "string", | |
| "format": "date", | |
| "options": { | |
| "flatpickr": {} | |
| } | |
| }, | |
| "pets": { | |
| "type": "array", | |
| "format": "table", | |
| "title": "Pets", | |
| "uniqueItems": true, | |
| "items": { | |
| "type": "object", | |
| "title": "Pet", | |
| "properties": { | |
| "type": { | |
| "type": "string", | |
| "enum": [ | |
| "cat", | |
| "dog", | |
| "bird", | |
| "reptile", | |
| "other", | |
| "marco" | |
| ], | |
| "default": "dog" | |
| }, | |
| "name": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "default": [ | |
| { | |
| "type": "dog", | |
| "name": "Walter" | |
| } | |
| ] | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment