func (k *ClaimKey) Validate() error {
	return stick.Validate(k, func(v *stick.Validator) {
		v.Value("File", false, stick.IsNotZero)
		v.Value("Size", false, stick.IsMinInt(1))
		v.Value("Name", false, stick.IsMaxLen(maxFileNameLength))
		v.Value("Type", false, func(stick.Subject) error {
			return ValidateType(k.Type)
		})
	})
}
Validate will validate the claim key.
package blaze
import (
	"github.com/256dpi/fire/coal"
	"github.com/256dpi/fire/heat"
	"github.com/256dpi/fire/stick"
)
type ClaimKey struct {
	heat.Base `json:"-" heat:"fire/blaze.claim,1h"`
	File coal.ID `json:"file"`
	Name string `json:"name"`
	Size int64 `json:"size"`
	Type string `json:"type"`
}