Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions schema/fmi2/fmi2Annotation.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<xs:annotation>
<xs:documentation>
Copyright(c) 2008-2011 MODELISAR consortium,
2012-2020 Modelica Association Project "FMI".
2012-2024 Modelica Association Project "FMI".
All rights reserved.

This schema file is part of the FMI 2.0.2 standard.
This schema file is part of the FMI 2.0.5 standard.

This file is licensed by the copyright holders under the 2-Clause BSD License
(https://opensource.org/licenses/BSD-2-Clause):
Expand Down
4 changes: 2 additions & 2 deletions schema/fmi2/fmi2AttributeGroups.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<xs:annotation>
<xs:documentation>
Copyright(c) 2008-2011 MODELISAR consortium,
2012-2020 Modelica Association Project "FMI".
2012-2024 Modelica Association Project "FMI".
All rights reserved.

This schema file is part of the FMI 2.0.2 standard.
This schema file is part of the FMI 2.0.5 standard.

This file is licensed by the copyright holders under the 2-Clause BSD License
(https://opensource.org/licenses/BSD-2-Clause):
Expand Down
4 changes: 2 additions & 2 deletions schema/fmi2/fmi2ModelDescription.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<xs:annotation>
<xs:documentation>
Copyright(c) 2008-2011 MODELISAR consortium,
2012-2020 Modelica Association Project "FMI".
2012-2024 Modelica Association Project "FMI".
All rights reserved.

This schema file is part of the FMI 2.0.2 standard.
This schema file is part of the FMI 2.0.5 standard.

This file is licensed by the copyright holders under the 2-Clause BSD License
(https://opensource.org/licenses/BSD-2-Clause):
Expand Down
4 changes: 2 additions & 2 deletions schema/fmi2/fmi2ScalarVariable.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<xs:annotation>
<xs:documentation>
Copyright(c) 2008-2011 MODELISAR consortium,
2012-2020 Modelica Association Project "FMI".
2012-2024 Modelica Association Project "FMI".
All rights reserved.

This schema file is part of the FMI 2.0.2 standard.
This schema file is part of the FMI 2.0.5 standard.

This file is licensed by the copyright holders under the 2-Clause BSD License
(https://opensource.org/licenses/BSD-2-Clause):
Expand Down
4 changes: 2 additions & 2 deletions schema/fmi2/fmi2Type.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<xs:annotation>
<xs:documentation>
Copyright(c) 2008-2011 MODELISAR consortium,
2012-2020 Modelica Association Project "FMI".
2012-2024 Modelica Association Project "FMI".
All rights reserved.

This schema file is part of the FMI 2.0.2 standard.
This schema file is part of the FMI 2.0.5 standard.

This file is licensed by the copyright holders under the 2-Clause BSD License
(https://opensource.org/licenses/BSD-2-Clause):
Expand Down
4 changes: 2 additions & 2 deletions schema/fmi2/fmi2Unit.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<xs:annotation>
<xs:documentation>
Copyright(c) 2008-2011 MODELISAR consortium,
2012-2020 Modelica Association Project "FMI".
2012-2024 Modelica Association Project "FMI".
All rights reserved.

This schema file is part of the FMI 2.0.2 standard.
This schema file is part of the FMI 2.0.5 standard.

This file is licensed by the copyright holders under the 2-Clause BSD License
(https://opensource.org/licenses/BSD-2-Clause):
Expand Down
4 changes: 2 additions & 2 deletions schema/fmi2/fmi2VariableDependency.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<xs:annotation>
<xs:documentation>
Copyright(c) 2008-2011 MODELISAR consortium,
2012-2020 Modelica Association Project "FMI".
2012-2024 Modelica Association Project "FMI".
All rights reserved.

This schema file is part of the FMI 2.0.2 standard.
This schema file is part of the FMI 2.0.5 standard.

This file is licensed by the copyright holders under the 2-Clause BSD License
(https://opensource.org/licenses/BSD-2-Clause):
Expand Down
66 changes: 27 additions & 39 deletions schema/fmi3/fmi3Annotation.xsd
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:annotation>
<xs:documentation>
<xs:annotation>
<xs:documentation>
Copyright(c) 2008-2011 MODELISAR consortium,
2012-2018 Modelica Association Project "FMI".
2012-2024 Modelica Association Project "FMI".
All rights reserved.
This file is licensed by the copyright holders under the BSD 2-Clause License
(http://www.opensource.org/licenses/bsd-license.html):

This file is licensed by the copyright holders under the 2-Clause BSD License
(https://opensource.org/licenses/BSD-2-Clause):

----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
this list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
- Neither the name of the copyright holders nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
Expand All @@ -32,32 +32,20 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
----------------------------------------------------------------------------

with the extension:

You may distribute or publicly perform any modification only under the
terms of this license.
(Note, this means that if you distribute a modified file,
the modified file must also be provided under this license).
</xs:documentation>
</xs:annotation>
<xs:complexType name="fmi3Annotation">
<xs:sequence maxOccurs="unbounded">
<xs:element name="Tool">
<xs:annotation>
<xs:documentation>Tool specific annotation (ignored by other tools).</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:any namespace="##any" processContents="lax" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="name" type="xs:normalizedString" use="required">
<xs:annotation>
<xs:documentation>Name of tool that can interpret the annotation. "name" must be unique with respect to all other elements of the VendorAnnotation list.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:documentation>
</xs:annotation>
<xs:complexType name="fmi3Annotations">
<xs:sequence maxOccurs="unbounded">
<xs:element name="Annotation">
<xs:complexType mixed="true">
<xs:sequence>
<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="type" type="xs:normalizedString" use="required">
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="Annotations" type="fmi3Annotations"/>
</xs:schema>
154 changes: 95 additions & 59 deletions schema/fmi3/fmi3AttributeGroups.xsd
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:annotation>
<xs:documentation>
<xs:annotation>
<xs:documentation>
Copyright(c) 2008-2011 MODELISAR consortium,
2012-2018 Modelica Association Project "FMI".
2012-2024 Modelica Association Project "FMI".
All rights reserved.
This file is licensed by the copyright holders under the BSD 2-Clause License
(http://www.opensource.org/licenses/bsd-license.html):

This file is licensed by the copyright holders under the 2-Clause BSD License
(https://opensource.org/licenses/BSD-2-Clause):

----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
this list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
- Neither the name of the copyright holders nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
Expand All @@ -32,52 +32,88 @@ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
----------------------------------------------------------------------------

with the extension:

You may distribute or publicly perform any modification only under the
terms of this license.
(Note, this means that if you distribute a modified file,
the modified file must also be provided under this license).
</xs:documentation>
</xs:annotation>
<xs:attributeGroup name="fmi3RealAttributes">
<xs:attribute name="quantity" type="xs:normalizedString"/>
<xs:attribute name="unit" type="xs:normalizedString"/>
<xs:attribute name="displayUnit" type="xs:normalizedString">
<xs:annotation>
<xs:documentation>Default display unit, provided the conversion of values in "unit" to values in "displayUnit" is defined in UnitDefinitions / Unit / DisplayUnit.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="relativeQuantity" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>If relativeQuantity=true, offset for displayUnit must be ignored.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="min" type="xs:double"/>
<xs:attribute name="max" type="xs:double">
<xs:annotation>
<xs:documentation>max >= min required</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="nominal" type="xs:double">
<xs:annotation>
<xs:documentation>nominal > 0.0 required</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="unbounded" type="xs:boolean" default="false">
<xs:annotation>
<xs:documentation>Set to true, e.g., for crank angle. If true and variable is a state, relative tolerance should be zero on this variable.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
<xs:attributeGroup name="fmi3IntegerAttributes">
<xs:attribute name="quantity" type="xs:normalizedString"/>
<xs:attribute name="min" type="xs:int"/>
<xs:attribute name="max" type="xs:int">
<xs:annotation>
<xs:documentation>max >= min required</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
</xs:documentation>
</xs:annotation>
<xs:attributeGroup name="fmi3RealBaseAttributes">
<xs:attribute name="quantity" type="xs:normalizedString"/>
<xs:attribute name="unit" type="xs:normalizedString"/>
<xs:attribute name="displayUnit" type="xs:normalizedString"/>
<xs:attribute name="relativeQuantity" type="xs:boolean" default="false"/>
<xs:attribute name="unbounded" type="xs:boolean" default="false"/>
</xs:attributeGroup>
<xs:attributeGroup name="fmi3Float64Attributes">
<xs:attribute name="min" type="xs:double"/>
<xs:attribute name="max" type="xs:double"/>
<xs:attribute name="nominal" type="xs:double"/>
</xs:attributeGroup>
<xs:attributeGroup name="fmi3Float32Attributes">
<xs:attribute name="min" type="xs:float"/>
<xs:attribute name="max" type="xs:float"/>
<xs:attribute name="nominal" type="xs:float"/>
</xs:attributeGroup>
<xs:attributeGroup name="fmi3IntegerBaseAttributes">
<xs:attribute name="quantity" type="xs:normalizedString"/>
</xs:attributeGroup>
<xs:attributeGroup name="fmi3Int8Attributes">
<xs:attribute name="min" type="xs:byte"/>
<xs:attribute name="max" type="xs:byte"/>
</xs:attributeGroup>
<xs:attributeGroup name="fmi3UInt8Attributes">
<xs:attribute name="min" type="xs:unsignedByte"/>
<xs:attribute name="max" type="xs:unsignedByte"/>
</xs:attributeGroup>
<xs:attributeGroup name="fmi3Int16Attributes">
<xs:attribute name="min" type="xs:short"/>
<xs:attribute name="max" type="xs:short"/>
</xs:attributeGroup>
<xs:attributeGroup name="fmi3UInt16Attributes">
<xs:attribute name="min" type="xs:unsignedShort"/>
<xs:attribute name="max" type="xs:unsignedShort"/>
</xs:attributeGroup>
<xs:attributeGroup name="fmi3Int32Attributes">
<xs:attribute name="min" type="xs:int"/>
<xs:attribute name="max" type="xs:int"/>
</xs:attributeGroup>
<xs:attributeGroup name="fmi3UInt32Attributes">
<xs:attribute name="min" type="xs:unsignedInt"/>
<xs:attribute name="max" type="xs:unsignedInt"/>
</xs:attributeGroup>
<xs:attributeGroup name="fmi3Int64Attributes">
<xs:attribute name="min" type="xs:long"/>
<xs:attribute name="max" type="xs:long"/>
</xs:attributeGroup>
<xs:attributeGroup name="fmi3UInt64Attributes">
<xs:attribute name="min" type="xs:unsignedLong"/>
<xs:attribute name="max" type="xs:unsignedLong"/>
</xs:attributeGroup>
<xs:attributeGroup name="fmi3RealVariableAttributes">
<xs:attribute name="derivative" type="xs:unsignedInt"/>
<xs:attribute name="reinit" type="xs:boolean" default="false"/>
</xs:attributeGroup>
<xs:attributeGroup name="fmi3EnumerationAttributes">
<xs:attribute name="min" type="xs:long"/>
<xs:attribute name="max" type="xs:long"/>
</xs:attributeGroup>
<xs:attributeGroup name="fmi3ClockAttributes">
<xs:attribute name="canBeDeactivated" type="xs:boolean" default="false"/>
<xs:attribute name="priority" type="xs:unsignedInt" use="optional"/>
<xs:attribute name="intervalVariability" use="required">
<xs:simpleType>
<xs:restriction base="xs:normalizedString">
<xs:enumeration value="constant"/>
<xs:enumeration value="fixed"/>
<xs:enumeration value="tunable"/>
<xs:enumeration value="changing"/>
<xs:enumeration value="countdown"/>
<xs:enumeration value="triggered"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="intervalDecimal" type="xs:double" use="optional"/>
<xs:attribute name="shiftDecimal" type="xs:double" default="0"/>
<xs:attribute name="supportsFraction" type="xs:boolean" default="false"/>
<xs:attribute name="resolution" type="xs:unsignedLong" use="optional"/>
<xs:attribute name="intervalCounter" type="xs:unsignedLong" use="optional"/>
<xs:attribute name="shiftCounter" type="xs:unsignedLong" default="0"/>
</xs:attributeGroup>
</xs:schema>
Loading