From eb4293fee58571d57a08c110b6d404dd1920b80e Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Mon, 8 Sep 2014 13:02:39 -0700 Subject: [PATCH] Temp: ThangTypes don't require kind. --- app/schemas/models/thang_type.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/schemas/models/thang_type.coffee b/app/schemas/models/thang_type.coffee index c01c41878..78aee6075 100644 --- a/app/schemas/models/thang_type.coffee +++ b/app/schemas/models/thang_type.coffee @@ -143,7 +143,7 @@ _.extend ThangTypeSchema.properties, description: 'Snap to this many meters in the y-direction.' components: c.array {title: 'Components', description: 'Thangs are configured by changing the Components attached to them.', uniqueItems: true, format: 'thang-components-array'}, ThangComponentSchema # TODO: uniqueness should be based on 'original', not whole thing -ThangTypeSchema.required = ['kind'] +ThangTypeSchema.required = [] ThangTypeSchema.default = raw: {}