Ajustes
This commit is contained in:
parent
f16ecab458
commit
9fa1234a4f
28
README.md
28
README.md
|
@ -1,5 +1,3 @@
|
||||||
\[TOC\]
|
|
||||||
|
|
||||||
# YASD, Yet Another Schema Definition
|
# YASD, Yet Another Schema Definition
|
||||||
|
|
||||||
YASD is a YAML format for human writable XSDs (XML Schema Definition), humans
|
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: computer processable schema in [XSD].
|
||||||
- Output: human readable documentation in [Markdown].
|
- Output: human readable documentation in [Markdown].
|
||||||
|
|
||||||
|
[TOC]
|
||||||
|
|
||||||
## Structure
|
## Structure
|
||||||
|
|
||||||
General structure:
|
General structure:
|
||||||
|
@ -390,30 +390,6 @@ Indicates schema general information.
|
||||||
|
|
||||||
Mandatory.
|
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
|
[^1]: The following explanation is practically a copy-paste from "XSD - The
|
||||||
`<schema>`{=html} Element", W3Schools. Cfr.
|
`<schema>`{=html} Element", W3Schools. Cfr.
|
||||||
<https://www.w3schools.com/xml/schema_schema.asp>.
|
<https://www.w3schools.com/xml/schema_schema.asp>.
|
||||||
|
|
Loading…
Reference in New Issue