From e94c16fd0ddfb9b4bd67778b4373d0fa40b9d220 Mon Sep 17 00:00:00 2001 From: Alexander Stein Date: Thu, 28 Jul 2022 13:13:38 -0400 Subject: [PATCH] Implement default values for flags and fields. (#220) During pairing on usnistgov/OSCAL#1160, we determined there will be a lot of utility to have default values when enhancing the draft version of the Rules Model. This PR implements that functionality in the Metaschema core syntax defined in the XSD. Co-authored-by: David Waltermire --- schema/xml/metaschema.xsd | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/schema/xml/metaschema.xsd b/schema/xml/metaschema.xsd index 75ea0514..23683982 100644 --- a/schema/xml/metaschema.xsd +++ b/schema/xml/metaschema.xsd @@ -264,7 +264,7 @@ - + @@ -286,8 +286,7 @@ - - + @@ -318,7 +317,6 @@ - In JSON, an object with a nominal string value (potentially with internal @@ -339,7 +337,7 @@ - + @@ -363,8 +361,7 @@ - - + @@ -507,6 +504,17 @@ + + + + + + + + + + +