fprime/Autocoders/Python/schema/default/interface_schema.rng
Josh Soref 5be3b19881
Check spelling 0.0.24 (#3051)
* Change line endings

* link: Checklist

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* link: described in detail

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* link: F´ key features

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* link: `Fw::Buffer` documentation is available

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* link: installing cmake command line tools on a mac

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* link: Svc.StaticMemory is described in more detail

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* link: testing_fw/predicates.py

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* link: the source code

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: a

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: adhered

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: cannot

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: case-sensitive

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: deployment

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: filter events based on event severity

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: its

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: nonexistent

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: prepending

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: products

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: schema

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: stressful

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: the

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: valued

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* Add check-spelling

---------

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-12-17 10:02:50 -08:00

109 lines
3.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<grammar
xmlns="http://relaxng.org/ns/structure/1.0"
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<!-- This is a common file for both interface_schema and internal_interface_schema. These two were originally merged into this file, but had to be split as a workaround to keep the same definitions but not validate component files that had the interface tag in it. -->
<include href="common_elements.rng"/>
<start>
<ref name="interface_root_define"/>
</start>
<define name="interface_root_define">
<a:documentation>Used for interface files.</a:documentation>
<choice>
<!--Choice between interface or port root tag.-->
<element name="interface">
<a:documentation>Allows for one interface.</a:documentation>
<ref name="interface_define"/>
</element>
<element name="port">
<a:documentation>Allows for one interface.</a:documentation>
<ref name="interface_define"/>
</element>
</choice>
</define>
<define name="interface_define">
<interleave>
<!-- Required Attributes -->
<attribute name="name">
<a:documentation>Interface name.</a:documentation>
<text/>
</attribute>
<!-- Optional Attributes -->
<optional>
<attribute name="priority">
<data type="integer"/>
</attribute>
</optional>
<optional>
<attribute name="namespace">
<a:documentation>Namespace in which the interface is in.</a:documentation>
<text/>
</attribute>
</optional>
<!-- Elements -->
<zeroOrMore>
<element name="include_header">
<a:documentation>Defines the header file of the interface.</a:documentation>
<data type="anyURI"/>
</element>
</zeroOrMore>
<zeroOrMore>
<element name="import_serializable_type">
<a:documentation>Imports serializable types.</a:documentation>
<data type="anyURI"/>
</element>
</zeroOrMore>
<zeroOrMore>
<element name="import_enum_type">
<a:documentation>Imports enum types.</a:documentation>
<data type="anyURI"/>
</element>
</zeroOrMore>
<zeroOrMore>
<element name="import_array_type">
<a:documentation>Import array XML files.</a:documentation>
<data type="anyURI"/>
</element>
</zeroOrMore>
<zeroOrMore>
<ref name="args_define"/>
</zeroOrMore>
<optional>
<ref name="return_define"/>
</optional>
<optional>
<ref name="comment_define"/>
</optional>
</interleave>
</define>
<define name="args_define">
<element name="args">
<a:documentation>One or more arguments.</a:documentation>
<zeroOrMore>
<ref name="arg_define"/>
</zeroOrMore>
</element>
</define>
</grammar>