Skip to main content

color_v1_0.json

color.json Copy Json { "$schema": "http://json-schema.org/draft-04/schema#", "description": "Color object", "type": "object", "proper...

Updated over 3 weeks ago

color.json

Copy Json

{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"description": "Color object",
	"type": "object",
	"properties": {
		"name": {
			"type": "string"
		},
		"r": {
			"type": "number",
			"minimum": 0,
			"maximum": 1
		},
		"g": {
			"type": "number",
			"minimum": 0,
			"maximum": 1
		},
		"b": {
			"type": "number",
			"minimum": 0,
			"maximum": 1
		},
		"metadata": {
			"type": "object"
		}
	},
	"required": ["r", "g", "b"]
}
Did this answer your question?