From 54081de74fd109221f48a8da07458b2370f1b5ce Mon Sep 17 00:00:00 2001 From: David Waltermire <david.waltermire@nist.gov> Date: Fri, 15 Jul 2022 13:16:05 -0400 Subject: [PATCH] added support for properties on definitions and instances (#217) --- schema/xml/metaschema.xsd | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/schema/xml/metaschema.xsd b/schema/xml/metaschema.xsd index cfc90035e..75ea05141 100644 --- a/schema/xml/metaschema.xsd +++ b/schema/xml/metaschema.xsd @@ -165,8 +165,15 @@ <xs:sequence> <xs:element name="formal-name" type="FormalNameType" minOccurs="0"/> <xs:element name="description" type="DescriptionType" minOccurs="0"/> + <xs:element name="prop" type="PropertyType" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:group> + + <xs:complexType name="PropertyType"> + <xs:attribute name="namespace" type="URIDatatype" default="http://csrc.nist.gov/ns/oscal/metaschema/1.0"/> + <xs:attribute name="name" type="TokenDatatype" use="required"/> + <xs:attribute name="value" type="TokenDatatype" use="required"/> + </xs:complexType> <xs:simpleType name="ModelNameType"> <xs:annotation>