SCHEMA-SALAD-TOOL3(1)
π SCHEMA-SALAD-TOOL3(1) β like, the manual page but make it make sense π
okay bestie, sit down, hydrate, because we're learning schema-salad-tool and honestly? it's giving main character energy. this is the User Commands manual page for <rainbow>schema-salad-tool</rainbow>, aka Schema Annotations for Linked Avro Data (SALAD). yes that's a real acronym. yes the tools are iconic. let's go π
β¨ NAME β¨
schema-salad-tool β Schema Annotations for Linked Avro Data (SALAD) π₯
πΈ DESCRIPTION πΈ
okay so the literal usage line, no edits, no notes, just vibes:
usage: python3 -m schema_salad [-h] [--rdf-serializer RDF_SERIALIZER]
[--skip-schemas] [--strict-foreign-properties]
[--version] [--print-jsonld-context | --print-rdfs | --print-avro
| --print-rdf | --print-pre | --print-index | --print-metadata |
--print-inheritance-dot | --print-fieldrefs-dot | --codegen
LANGUAGE | --print-oneline | --print-doc] [--codegen-target
CODEGEN_TARGET] [--codegen-examples DIRECTORY] [--codegen-package
DOTTED.PACKAGE] [--codegen-copyright COPYRIGHT_STRING]
[--codegen-spdx-copyright-text SPDX_COPYRIGHT_TEXT
[SPDX_COPYRIGHT_TEXT ...]] [--codegen-spdx-license-identifier
SPDX_LICENSE_IDENTIFIER] [--codegen-parser-info PARSER_INFO]
[--strict | --non-strict] [--verbose | --quiet | --debug] [--only
ONLY] [--redirect REDIRECT] [--brand BRAND] [--brandlink
BRANDLINK] [--brandstyle BRANDSTYLE] [--brandinverse] [--primtype
PRIMTYPE] [schema] [document ...]
and what does it do, you ask? Validate Salad schemas or documents. that's it. that's the whole job. protecting your schemas from chaos, one validation at a time π«Ά
π positional arguments
schemaβ the schema. the blueprint. the blueprint-iest blueprint.documentβ one or more documents to run against it, because why send just one when you can send many π
π¦ options
-h,--helpβ show this help message and exit. classic. never change.--rdf-serializer RDF_SERIALIZERβ the RDF serialization format that--print-rdfuses. pick one ofturtle(that's the default, obvi),n3,nt,xml.--skip-schemasβ if you say so, it literally ignores$schemassections. bye schemas π--strict-foreign-propertiesβ strict checking of foreign properties. no slacking allowed.--version,-vβ Print version. short and sweet.
π₯ Output type and format
this is the "what do you want me to PRINT" section and honestly it ate:
--print-jsonld-contextβ Print JSON-LD context for schema.--print-rdfsβ Print RDF schema.--print-avroβ Print Avro schema.--print-rdfβ Print corresponding RDF graph for document.--print-preβ Print document after preprocessing.--print-indexβ Print node index.--print-metadataβ Print document metadata.--print-inheritance-dotβ Print graphviz file of inheritance. (graphviz!!! πΈοΈ)--print-fieldrefs-dotβ Print graphviz file of field refs.--codegen LANGUAGEβ Generate classes in a target language. currently supported:python,java,typescript,dotnet,cpp,dlang. pick your fighter β¨--print-onelineβ Print each error message in oneline. compact queen.--print-docβ Print HTML schema documentation page.
π Code generation configuration
heads up bestie: this whole group Requires --codegen LANGUAGE. no codegen, no party.
--codegen-target CODEGEN_TARGETβ Defaults tosys.stdoutfor Python/C++/Dlang and./for Java/TypeScript/.Net. (yes, exactly like that.)--codegen-examples DIRECTORYβ Directory of example documents for test case generation (Java/TypeScript/.Net/Dlang only).--codegen-package DOTTED.PACKAGEβ Optional override of the package name which is otherwise derived from the base URL (Java/TypeScript/.Net/Dlang only).--codegen-copyright COPYRIGHT_STRINGβ Optional copyright of the input schema.--codegen-spdx-copyright-text SPDX_COPYRIGHT_TEXT [SPDX_COPYRIGHT_TEXT ...]β List of copyright text. Each entry will show up asSPDX-FileCopyrightText: ...(Currently C++ only).--codegen-spdx-license-identifier SPDX_LICENSE_IDENTIFIERβ Optional spdx license identifier, e.g.:GPL-3.0-only(Currently C++ only).--codegen-parser-info PARSER_INFOβ Optional parser name which is accessible via resulted parser API (Python and Dlang only).
π Validation strictness
choose your chaos level:
--strictβ Strict validation (unrecognized or out of place fields are error). zero tolerance, no notes.--non-strictβ Lenient validation (ignore unrecognized fields). live and let live π
β Logging detail level
how much do you want to hear about it:
--verboseβ Default logging.--quietβ Only print warnings and errors.--debugβ Print even more logging. maximum yapping mode π
π§ Documentation generation options
reminder bestie: these Requires --print-doc. that's the entry fee.
--only ONLYβ Document only listed types.--redirect REDIRECTβ Override default link for type.--brand BRANDβ Set the 'brand' text in nav bar.--brandlink BRANDLINKβ Set the link for 'brand' in nav bar.--brandstyle BRANDSTYLEβ HTML code to link to an external style sheet.--brandinverseβ Set to use the dark navigation bar style. dark mode supremacy, no cap.--primtype PRIMTYPEβ Link to use for primitive types (string, int etc).
and that's the whole page, bestie, you made it π₯Ήπ no skipped options, no missing flags, every default preserved like it's precious cargo (because it is). go validate something and slay π β¨
this was schema-salad-tool 8.9.202604171..., dated April 2026, and yeah it lives under the SCHEMA-SALAD-TOOL3(1) banner β mwah, iconic, periodt π
π¦ where this page comes from
- ubuntu stonking: python3-schema-salad 8.9.20260417192335-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms