Skip to content

Show info about a ShEx schema

Jose Emilio Labra Gayo edited this page Aug 12, 2024 · 5 revisions

Show info about a ShEx schema

Example

Read a ShEx schema in compact syntax and show its JSON representation:

rudox schema -s examples/user.shex

General command help

$ rudox schema --help
Usage: sx schema [OPTIONS] --schema <Schema file name>
Options:
  -s, --schema <Schema file name>
  -f, --schema-format <Schema format>
          [default: shexc] [possible values: internal, shexc, shexj, turtle]
  -r, --result-schema-format <Result schema format>
          [default: shexj] [possible values: internal, shexc, shexj, turtle]
  -o, --output-file <Output file name, default = terminal>
  -h, --help
          Print help
Clone this wiki locally