You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
937 B
39 lines
937 B
{ |
|
"$schema": "http://json-schema.org/draft-04/schema#", |
|
|
|
"definitions": { |
|
"vector3": { |
|
"type": "object", |
|
"properties": { |
|
"x": { "type": "number" }, |
|
"y": { "type": "number" }, |
|
"z": { "type": "number" } |
|
}, |
|
"required": ["x", "y", "z"] |
|
} |
|
}, |
|
|
|
"type": "object", |
|
"properties": { |
|
"hex_size": {"type": "number"}, |
|
"layout_mode": {"type": "string"}, |
|
"world_position": {"$ref": "#/definitions/vector3"}, |
|
"world_normal": {"$ref": "#/definitions/vector3"}, |
|
"hexes": { |
|
"type": "array", |
|
"items": { |
|
"XPos": {"type": "number"}, |
|
"YPos": {"type": "number"}, |
|
"q": {"type": "integer"}, |
|
"r": {"type": "integer"}, |
|
"s": {"type": "integer"}, |
|
"vertices": { |
|
"type": "array", |
|
"items": {"$ref": "#definitions/vector3"} |
|
} |
|
}, |
|
"required": ["XPos", "YPos", "q", "r", "s", "vertices"] |
|
} |
|
}, |
|
"required": ["hex_size", "layout_mode", "world_position", "world_normal", "hexes"] |
|
}
|
|
|