diff --git a/config/schemas/creature.json b/config/schemas/creature.json index cc0a41b68..a57766839 100644 --- a/config/schemas/creature.json +++ b/config/schemas/creature.json @@ -227,7 +227,34 @@ }, "ray": { "type":"array", - "description": "Colors of ray projectile animation" + "description": "Colors of ray projectile animation", + "minItems" : 1, + "items": { + "type":"object", + "required" : [ "start", "end" ], + "properties":{ + "start": { + "type":"array", + "minItems" : 4, + "maxItems" : 4, + "items": { + "minimum" : 0, + "maximum" : 255, + "type":"number" + } + }, + "end": { + "type":"array", + "minItems" : 4, + "maxItems" : 4, + "items": { + "minimum" : 0, + "maximum" : 255, + "type":"number" + } + } + } + } }, "frameAngles": { "type":"array",