If there are only a few options for a variable, could you have them be expressed as part of the object returned by
http://api.thriftdb.com/api.hnsearch.com/items?pretty_print=...
Example: Type. Although it is a string, it isn't really a string field. It is a binary choice between two preset strings (comment or submission).
It would make using the schema for things much easier.
It would make using the schema for things much easier.