Specify a data model
gemmaro opened this issue · comments
Currently, json-kifu-format only specifies JSON representation.
However, this format is not fully-strictly typed, and is somewhat looser than it actually is due to JSON's limited expressive power.
Therefore, I propose to specify the data model as well. That is, to provide a more strictly typed representation of the game record in TypeScript.
The possibilities probably vary depending on the programming language paradigm, and in JavaScript, for example, Shogi.js might be a candidate. Therefore, this question may not have been very meaningful. Sorry about that.