Files
reverse-engineering-anything/tests/fixtures/cli-parity/schema-command-json.txt
T

8 lines
2.3 KiB
Plaintext

$ rea inspect-byte-entropy --schema --format json
exit: 0
--- stdout
{"args":{"type":"object","properties":{"path":{"type":"string","minLength":1,"pattern":"^[^\\x00]*$","description":"Local file"}},"required":["path"],"additionalProperties":false},"options":{"type":"object","properties":{"blockSize":{"default":4096,"anyOf":[{"type":"integer","minimum":256,"maximum":65536},{"type":"string","pattern":"^0*(?:(?:2(?:5[6-9]|[6-8][0-9]|9[0-9])|[3-8][0-9]{2}|9[0-9]{2})|[1-9][0-9]{3}|(?:1[0-9]{4}|[2-5][0-9]{4}|6(?:0[0-9]{3}|[1-4][0-9]{3}|5(?:0[0-9]{2}|[1-4][0-9]{2}|5(?:0[0-9]|[1-2][0-9]|3[0-6])))))$"}],"description":"Power-of-two block size from 256 to 65536 bytes"},"offset":{"default":0,"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^0*(?:[0-9]|[1-9][0-9]|[1-9][0-9]{2}|[1-9][0-9]{3}|[1-9][0-9]{4}|[1-9][0-9]{5}|[1-9][0-9]{6}|[1-9][0-9]{7}|[1-9][0-9]{8}|[1-9][0-9]{9}|[1-9][0-9]{10}|[1-9][0-9]{11}|[1-9][0-9]{12}|[1-9][0-9]{13}|[1-9][0-9]{14}|(?:1[0-9]{15}|[2-8][0-9]{15}|900(?:0[0-9]{12}|[1-6][0-9]{12}|7(?:0[0-9]{11}|1(?:0[0-9]{10}|[1-8][0-9]{10}|9(?:0[0-9]{9}|[1-8][0-9]{9}|9(?:0[0-9]{8}|1[0-9]{8}|2(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-3][0-9]{4}|40(?:0[0-9]{2}|[1-8][0-9]{2}|9(?:0[0-9]|[1-8][0-9]|9[0-1])))))))))))))$"}],"description":"Window start as a decimal file byte offset"},"length":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"string","pattern":"^0*(?:[0-9]|[1-9][0-9]|[1-9][0-9]{2}|[1-9][0-9]{3}|[1-9][0-9]{4}|[1-9][0-9]{5}|[1-9][0-9]{6}|[1-9][0-9]{7}|[1-9][0-9]{8}|[1-9][0-9]{9}|[1-9][0-9]{10}|[1-9][0-9]{11}|[1-9][0-9]{12}|[1-9][0-9]{13}|[1-9][0-9]{14}|(?:1[0-9]{15}|[2-8][0-9]{15}|900(?:0[0-9]{12}|[1-6][0-9]{12}|7(?:0[0-9]{11}|1(?:0[0-9]{10}|[1-8][0-9]{10}|9(?:0[0-9]{9}|[1-8][0-9]{9}|9(?:0[0-9]{8}|1[0-9]{8}|2(?:0[0-9]{7}|[1-4][0-9]{7}|5(?:0[0-9]{6}|[1-3][0-9]{6}|4(?:0[0-9]{5}|[1-6][0-9]{5}|7(?:0[0-9]{4}|[1-3][0-9]{4}|40(?:0[0-9]{2}|[1-8][0-9]{2}|9(?:0[0-9]|[1-8][0-9]|9[0-1])))))))))))))$"}],"description":"Window length in bytes; omit to extend through EOF"}},"additionalProperties":false},"globals":{"type":"object","properties":{"timings":{"default":false,"description":"Write measured command timing to stderr.","type":"boolean"}},"required":["timings"],"additionalProperties":false}}
<end>
--- stderr
<end>