aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/schema_schema.rs4
-rw-r--r--tests/kdl-schema.kdl3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/schema_schema.rs b/src/schema_schema.rs
index 07ff463..11ccb4e 100644
--- a/src/schema_schema.rs
+++ b/src/schema_schema.rs
@@ -623,6 +623,10 @@ fn make_info_node() -> Node {
description: s("Contributor to the schema"),
values: vec![ref_to_id("info-person-name")],
props: vec![ref_to_id("info-orcid")],
+ children: vec![Children {
+ nodes: vec![ref_to_id("info-link")],
+ ..Children::default()
+ }],
..Node::default()
},
Node {
diff --git a/tests/kdl-schema.kdl b/tests/kdl-schema.kdl
index 4315199..76a1080 100644
--- a/tests/kdl-schema.kdl
+++ b/tests/kdl-schema.kdl
@@ -78,6 +78,9 @@ document {
node "contributor" description="Contributor to the schema" {
value ref=r#"[id="info-person-name"]"#
prop ref=r#"[id="info-orcid"]"#
+ children {
+ node ref=r#"[id="info-link"]"#
+ }
}
node "link" id="info-link" description="Links to itself, and to sources describing it" {
value description="A URL that the link points to" {