orion-server
orion-server copied to clipboard
use string enum instead of int
For read and write privileges, we use 0 and 1, respectively. This is not readable in the JSON output. Hence, we should use a string-based enum to make it expressive in the output.
Similarly, for the validation info, we use int rather than a string.