Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ead43ba

Browse files
subtree added to schema
1 parent 24f0d5c commit ead43ba

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

behaviortree_schema.xsd

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@
3535
<xs:anyAttribute />
3636
</xs:complexType>
3737
<xs:complexType name="DecoratorType">
38-
<xs:group minOccurs="1" maxOccurs="unbounded" ref="BuiltInMultipleTypes" />
38+
<xs:group ref="BuiltInMultipleTypes" />
39+
<xs:attribute name="name" type="xs:string" use="optional" />
40+
<xs:attribute name="ID" type="xs:string" use="required" />
41+
<xs:anyAttribute />
42+
</xs:complexType>
43+
<xs:complexType name="SubtreeType">
44+
<xs:group ref="BuiltInMultipleTypes" />
3945
<xs:attribute name="name" type="xs:string" use="optional" />
4046
<xs:attribute name="ID" type="xs:string" use="required" />
4147
<xs:anyAttribute />
@@ -118,6 +124,7 @@
118124
<xs:element name="Condition" type="ConditionType" />
119125
<xs:element name="Control" type="ControlType" />
120126
<xs:element name="Decorator" type="DecoratorType" />
127+
<xs:element name="Subtree" type="SubtreeType" />
121128
<xs:element name="Sequence" type="SequenceType" />
122129
<xs:element name="SequenceStar" type="SequenceStarType" />
123130
<xs:element name="Fallback" type="FallbackType" />

0 commit comments

Comments
 (0)