Last active
August 2, 2019 08:29
-
-
Save rema7/e324d16a4f1ccf058b247e143d3d9e7f to your computer and use it in GitHub Desktop.
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
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"type": "object", | |
"additionalProperties": false, | |
"properties": { | |
"id": { | |
"type": "number" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"description": { | |
"type": "string" | |
}, | |
"content_type": { | |
"type": "string", | |
"enum": ["2d", "3d-ver", "3d-hor"] | |
}, | |
"vr_type": { | |
"type": "string", | |
"enum": ["180", "360"] | |
}, | |
"rating": { | |
"type": "string", | |
"enum": ["0", "2", "16", "18"] | |
}, | |
"source": { | |
"type": "string", | |
"enum": ["youtube", "storage", "link"] | |
}, | |
"is_downloadable": { | |
"type": "boolean" | |
}, | |
"free": { | |
"type": "boolean" | |
}, | |
"url": { | |
"type": "string" | |
}, | |
"start_position": { | |
"type": "number" | |
}, | |
"end_position": { | |
"type": "number" | |
}, | |
"thumbnails": { | |
"type": "object", | |
"properties": { | |
"small": { "type": "string" }, | |
"large": { "type": "string" } | |
} | |
} | |
}, | |
"required": [ | |
"id", | |
"name", | |
"description", | |
"content_type", | |
"vr_type", | |
"rating", | |
"source", | |
"url", | |
"is_downloadable", | |
"free", | |
"start_position", | |
"end_position", | |
"thumbnails" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment