This commit is contained in:
perro tuerto 2023-01-25 19:32:00 -08:00
parent f16ecab458
commit 9fa1234a4f
1 changed files with 2 additions and 26 deletions

View File

@ -1,5 +1,3 @@
\[TOC\]
# YASD, Yet Another Schema Definition
YASD is a YAML format for human writable XSDs (XML Schema Definition), humans
@ -36,6 +34,8 @@ To better understad what YASD does, see the inputs and outputs:
- Output: computer processable schema in [XSD].
- Output: human readable documentation in [Markdown].
[TOC]
## Structure
General structure:
@ -390,30 +390,6 @@ Indicates schema general information.
Mandatory.
## Command-Line Interface
usage: yasd [-h] [-q] [-l] [-n NUM] {convert,check,sample,document,man} [file]
YASD, Yet Another Schema Definition. YASD is a YAML format for human writable
XSDs (XML Schema Definition), humans declare what is indispensable, leaving
the machines to do the rest of the unreadable <syntaxis who_can_read_this="?"
/>.
positional arguments:
{convert,check,sample,document,man}
action to perform
file file in YAML format
options:
-h, --help show this help message and exit
-q, --quiet enable quiet mode
-l, --log write log
-n NUM, --num NUM number of XML samples; 1 by default
(c) 2023 Perro Tuerto <hi@perrotuerto.blog>. Founded by Mexican Academy of
Language <https://academia.org.mx>. Licensed under GPLv3
<https://www.gnu.org/licenses/gpl-3.0.en.html>.
[^1]: The following explanation is practically a copy-paste from "XSD - The
`<schema>`{=html} Element", W3Schools. Cfr.
<https://www.w3schools.com/xml/schema_schema.asp>.