From 88e7062297b3863bbf1801770f59f68dce79bdf9 Mon Sep 17 00:00:00 2001 From: Lars Willighagen Date: Wed, 1 Sep 2021 12:37:13 +0200 Subject: [PATCH] remove document::(description, schema-url) --- SCHEMA-SPEC.md | 3 +-- examples/kdl-schema.kdl | 8 +------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/SCHEMA-SPEC.md b/SCHEMA-SPEC.md index 9264f7e..6298c72 100644 --- a/SCHEMA-SPEC.md +++ b/SCHEMA-SPEC.md @@ -24,8 +24,7 @@ None. #### Properties -* `description` (optional): An informational description of the purpose of this schema. -* `schema-url` (optional): A URL where someone may go to find more information about this schema. It is not meant for mechanical processing. +None. #### Children diff --git a/examples/kdl-schema.kdl b/examples/kdl-schema.kdl index 76d699f..7ab3a2d 100644 --- a/examples/kdl-schema.kdl +++ b/examples/kdl-schema.kdl @@ -1,13 +1,7 @@ -document description="KDL Schema KDL schema in KDL" schema-url="https://github.com/zkat/kdl" { +document { node "document" { min 1 max 1 - prop "schema-url" description="URL where you can find this schema. Informational only." { - type "url" - } - prop "description" description="General purpose and description for this document schema." { - type "string" - } children id="node-children" { node "node-names" description="Validations to apply specifically to arbitrary node names" { children ref="#validations"