Right now the metadata describes a property type (string, int, etc) as a kind. This is a little overloaded with the concept of a Kind in datastore. Perhaps these could all be called type instead? Then metadata would look like:
registerKind('namespace', 'Author', {
name: { type: STRING, indexed: false },
tags: { type: STRING, multi: true }, // an array of string elements.
favArticles: { type: KEY, multi: true }
contact: {
kind: {
telephone: { type: STRING },
email: { type: STRING }
}
}
});
Right now the metadata describes a property type (string, int, etc) as a kind. This is a little overloaded with the concept of a Kind in datastore. Perhaps these could all be called
typeinstead? Then metadata would look like: