Skip to content

Commit

Permalink
Schema-47.0 (#393)
Browse files Browse the repository at this point in the history
* bump schema version to 47.0

* add scenario_47.xsd
  • Loading branch information
acavelan authored Jul 15, 2024
1 parent 476e63a commit 2ea120e
Show file tree
Hide file tree
Showing 59 changed files with 6,606 additions and 65 deletions.
2 changes: 1 addition & 1 deletion model/util/DocumentLoader.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace OM
{
namespace util
{
static const int SCHEMA_VERSION = 46;
static const int SCHEMA_VERSION = 47;

unique_ptr<scnXml::Scenario> loadScenario(std::string lXmlFile);
}
Expand Down
2 changes: 1 addition & 1 deletion schema/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ foreach (XSD_NAME ${SCHEMA_NAMES})
COMMAND ${XSD_EXECUTABLE} cxx-tree
--std c++11
--type-naming ucc --function-naming java
--namespace-map http://openmalaria.org/schema/scenario_46=scnXml
--namespace-map http://openmalaria.org/schema/scenario_47=scnXml
# --generate-serialization
--generate-doxygen
--generate-intellisense
Expand Down
4 changes: 2 additions & 2 deletions schema/demography.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- Schema for OpenMalaria input documents
Copyright © 2005-2011 Swiss Tropical Institute and Liverpool School Of Tropical Medicine
Licence: GNU General Public Licence version 2 or later (see COPYING) -->
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_46"
xmlns:om="http://openmalaria.org/schema/scenario_46"
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_47"
xmlns:om="http://openmalaria.org/schema/scenario_47"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!---HumanPopulationStructure-->
<xs:complexType name="Demography">
Expand Down
4 changes: 2 additions & 2 deletions schema/entomology.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- Schema for OpenMalaria input documents
Copyright © 2005-2011 Swiss Tropical Institute and Liverpool School Of Tropical Medicine
Licence: GNU General Public Licence version 2 or later (see COPYING) -->
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_46"
xmlns:om="http://openmalaria.org/schema/scenario_46"
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_47"
xmlns:om="http://openmalaria.org/schema/scenario_47"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="util.xsd"/>
<xs:complexType name="Entomology">
Expand Down
2 changes: 1 addition & 1 deletion schema/healthSystem.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Copyright © 2005-2011 Swiss Tropical Institute and Liverpool School Of Tropical Medicine
Licence: GNU General Public Licence version 2 or later (see COPYING) -->
<!-- HealthSystem & Clinical data -->
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_46" xmlns:om="http://openmalaria.org/schema/scenario_46" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_47" xmlns:om="http://openmalaria.org/schema/scenario_47" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="util.xsd"/>
<!-- root element for clinical data outside the healthSystem element -->
<xs:complexType name="Clinical">
Expand Down
2 changes: 1 addition & 1 deletion schema/interventions.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!-- Schema for OpenMalaria input documents
Copyright © 2005-2012 Swiss Tropical Institute and Liverpool School Of Tropical Medicine
Licence: GNU General Public Licence version 2 or later (see COPYING) -->
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_46" xmlns:om="http://openmalaria.org/schema/scenario_46" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_47" xmlns:om="http://openmalaria.org/schema/scenario_47" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="healthSystem.xsd"/>
<xs:include schemaLocation="entomology.xsd"/>
<xs:include schemaLocation="util.xsd"/>
Expand Down
4 changes: 2 additions & 2 deletions schema/monitoring.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- Schema for OpenMalaria input documents
Copyright © 2005-2011 Swiss Tropical Institute and Liverpool School Of Tropical Medicine
Licence: GNU General Public Licence version 2 or later (see COPYING) -->
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_46"
xmlns:om="http://openmalaria.org/schema/scenario_46"
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_47"
xmlns:om="http://openmalaria.org/schema/scenario_47"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="util.xsd"/>
<xs:complexType name="Monitoring">
Expand Down
2 changes: 1 addition & 1 deletion schema/pharmacology.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Copyright © 2005-2011 Swiss Tropical Institute and Liverpool School Of Tropical Medicine
Licence: GNU General Public Licence version 2 or later (see COPYING) -->
<!-- Drug parameters — PK, PD and resistance -->
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_46" xmlns:om="http://openmalaria.org/schema/scenario_46" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_47" xmlns:om="http://openmalaria.org/schema/scenario_47" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="util.xsd"/>
<xs:complexType name="Pharmacology">
<xs:annotation>
Expand Down
4 changes: 2 additions & 2 deletions schema/scenario.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<!-- Schema for OpenMalaria input documents
Copyright © 2005-2011 Swiss Tropical Institute and Liverpool School Of Tropical Medicine
Licence: GNU General Public Licence version 2 or later (see COPYING) -->
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_46"
xmlns:om="http://openmalaria.org/schema/scenario_46"
<xs:schema targetNamespace="http://openmalaria.org/schema/scenario_47"
xmlns:om="http://openmalaria.org/schema/scenario_47"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:include schemaLocation="demography.xsd"/>
<xs:include schemaLocation="monitoring.xsd"/>
Expand Down
2 changes: 1 addition & 1 deletion schema/scenario_46.xsd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<xs:schema xmlns:om="http://openmalaria.org/schema/scenario_46" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://openmalaria.org/schema/scenario_46">
<xs:schema xmlns:om="http://openmalaria.org/schema/scenario_46" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://openmalaria.org/schema/scenario_47">



Expand Down
Loading

0 comments on commit 2ea120e

Please sign in to comment.