mirror of https://github.com/kdl-org/kdl.git
make all info child nodes optional
Fix https://github.com/kdl-org/kdl/pull/120#discussion_r700310576
This commit is contained in:
parent
5bf0251bc8
commit
ad5a45373d
|
|
@ -48,9 +48,9 @@ None.
|
|||
|
||||
#### Children
|
||||
|
||||
* [`title`](#title-node): one or more titles
|
||||
* [`title`](#title-node) (optional): zero or more titles
|
||||
* [`description`](#description-node) (optional): zero or more descriptions
|
||||
* [`author`](#author-and-contributor-nodes): one or more authors
|
||||
* [`author`](#author-and-contributor-nodes) (optional): zero or more authors
|
||||
* [`contributor`](#author-and-contributor-nodes) (optional): zero or more contributors
|
||||
* [`link`](#link-node) (optional): zero or more URLs
|
||||
* [`license`](#license-node) (optional): zero or more licenses
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ document {
|
|||
node "info" description="A child node that describes the schema itself." {
|
||||
children {
|
||||
node "title" description="The title of the schema or the format it describes" {
|
||||
min 1
|
||||
value description="The title text" {
|
||||
type "string"
|
||||
min 1
|
||||
|
|
@ -52,7 +51,6 @@ document {
|
|||
prop ref="#info-lang"
|
||||
}
|
||||
node "author" description="Author of the schema" {
|
||||
min 1
|
||||
value id="info-person-name" description="Person name" {
|
||||
type "string"
|
||||
min 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue