I have the following definition:
type Entity Struct {
EntityName name; //name of the entity object
Struct value; //value of the entity
}
Entity e = new Entity().setName("test.entity").setValue(new Struct().with("key", "test"));
result = validator.validate(e, "Entity");
I get back failure: Not a valid Struct, com.yahoo.rdl.Struct in data.value expected