mirror of https://github.com/kdl-org/kdl.git
review: fix ref strings
This commit is contained in:
parent
240acc7c47
commit
ba31be1617
|
|
@ -20,7 +20,7 @@ document {
|
|||
max 1
|
||||
children id="node-children" {
|
||||
node "node-names" id="node-names-node" description="Validations to apply specifically to arbitrary node names" {
|
||||
children ref=r"[id="validations"]"
|
||||
children ref=r#"[id="validations"]"#
|
||||
}
|
||||
node "other-nodes-allowed" id="other-nodes-allowed-node" description="Whether to allow child nodes other than the ones explicitly listed. Defaults to 'false'." {
|
||||
max 1
|
||||
|
|
@ -31,7 +31,7 @@ document {
|
|||
}
|
||||
}
|
||||
node "tag-names" description="Validations to apply specifically to arbitrary type tag names" {
|
||||
children ref=r"[id="validations"]"
|
||||
children ref=r#"[id="validations"]"#
|
||||
}
|
||||
node "other-tags-allowed" description="Whether to allow child node tags other than the ones explicitly listed. Defaults to 'false'." {
|
||||
max 1
|
||||
|
|
@ -59,7 +59,7 @@ document {
|
|||
min 1
|
||||
max 1
|
||||
}
|
||||
prop ref=r"[id="info-lang"]"
|
||||
prop ref=r#"[id="info-lang"]"#
|
||||
}
|
||||
node "author" description="Author of the schema" {
|
||||
value id="info-person-name" description="Person name" {
|
||||
|
|
@ -72,12 +72,12 @@ document {
|
|||
pattern r"\d{4}-\d{4}-\d{4}-\d{4}"
|
||||
}
|
||||
children {
|
||||
node ref=r"[id="info-link"]"
|
||||
node ref=r#"[id="info-link"]"#
|
||||
}
|
||||
}
|
||||
node "contributor" description="Contributor to the schema" {
|
||||
value ref=r"[id="info-person-name"]"
|
||||
prop ref=r"[id="info-orcid"]"
|
||||
value ref=r#"[id="info-person-name"]"#
|
||||
prop ref=r#"[id="info-orcid"]"#
|
||||
}
|
||||
node "link" id="info-link" description="Links to itself, and to sources describing it" {
|
||||
value description="A URL that the link points to" {
|
||||
|
|
@ -90,7 +90,7 @@ document {
|
|||
type "string"
|
||||
enum "self" "documentation"
|
||||
}
|
||||
prop ref=r"[id="info-lang"]"
|
||||
prop ref=r#"[id="info-lang"]"#
|
||||
}
|
||||
node "license" description="The license(s) that the schema is licensed under" {
|
||||
value description="Name of the used license" {
|
||||
|
|
@ -102,7 +102,7 @@ document {
|
|||
type "string"
|
||||
}
|
||||
children {
|
||||
node ref=r"[id="info-link"]"
|
||||
node ref=r#"[id="info-link"]"#
|
||||
}
|
||||
}
|
||||
node "published" description="When the schema was published" {
|
||||
|
|
@ -124,7 +124,7 @@ document {
|
|||
min 1
|
||||
max 1
|
||||
}
|
||||
prop ref=r"[id="info-time"]"
|
||||
prop ref=r#"[id="info-time"]"#
|
||||
}
|
||||
node "version" description="The version number of this version of the schema" {
|
||||
value description="Semver version number" {
|
||||
|
|
@ -152,9 +152,9 @@ document {
|
|||
format "kdl-query"
|
||||
}
|
||||
children {
|
||||
node ref=r"[id="node-names-node"]"
|
||||
node ref=r"[id="other-nodes-allowed-node"]"
|
||||
node ref=r"[id="node-node"]"
|
||||
node ref=r#"[id="node-names-node"]"#
|
||||
node ref=r#"[id="other-nodes-allowed-node"]"#
|
||||
node ref=r#"[id="node-node"]"#
|
||||
}
|
||||
}
|
||||
node "node" id="node-node" description="A child node belonging either to `document` or to another `node`. Nodes may be anonymous." {
|
||||
|
|
@ -174,7 +174,7 @@ document {
|
|||
}
|
||||
children {
|
||||
node "prop-names" description="Validations to apply specifically to arbitrary property names" {
|
||||
children ref=r"[id="validations"]"
|
||||
children ref=r#"[id="validations"]"#
|
||||
}
|
||||
node "other-props-allowed" description="Whether to allow properties other than the ones explicitly listed. Defaults to 'false'." {
|
||||
max 1
|
||||
|
|
@ -200,7 +200,7 @@ document {
|
|||
type "number"
|
||||
}
|
||||
}
|
||||
node ref=r"[id="value-tag-node"]"
|
||||
node ref=r#"[id="value-tag-node"]"#
|
||||
node "prop" id="prop-node" description="A node property key/value pair." {
|
||||
value description="The property key." {
|
||||
type "string"
|
||||
|
|
@ -324,7 +324,7 @@ document {
|
|||
prop "description" description="A description of this property's purpose." {
|
||||
type "string"
|
||||
}
|
||||
children ref=r"[id="validations"]"
|
||||
children ref=r#"[id="validations"]"#
|
||||
children description="Node value-specific validations" {
|
||||
node "min" description="minimum number of values for this node." {
|
||||
max 1
|
||||
|
|
@ -355,17 +355,17 @@ document {
|
|||
prop "description" description="A description of this these children's purpose." {
|
||||
type "string"
|
||||
}
|
||||
children ref=r"[id="node-children"]"
|
||||
children ref=r#"[id="node-children"]"#
|
||||
}
|
||||
}
|
||||
}
|
||||
node "definitions" description="Definitions to reference in parts of the top-level nodes" {
|
||||
children {
|
||||
node ref=r"[id="node-node"]"
|
||||
node ref=r"[id="value-node"]"
|
||||
node ref=r"[id="prop-node"]"
|
||||
node ref=r"[id="children-node"]"
|
||||
node ref=r"[id="tag-node"]"
|
||||
node ref=r#"[id="node-node"]"#
|
||||
node ref=r#"[id="value-node"]"#
|
||||
node ref=r#"[id="prop-node"]"#
|
||||
node ref=r#"[id="children-node"]"#
|
||||
node ref=r#"[id="tag-node"]"#
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue