diff --git a/dcc-2019-75056_mod.xml b/dcc-2019-75056_mod.xml deleted file mode 100644 index db83482eb25dc672dd0dca5c11dbb15dcba3f4d5..0000000000000000000000000000000000000000 --- a/dcc-2019-75056_mod.xml +++ /dev/null @@ -1,658 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<dcc:digitalCalibrationCertificate - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="https://ptb.de/dcc https://ptb.de/dcc/v2.2.0/dcc.xsd" - xmlns:dcc="https://ptb.de/dcc" - xmlns:si="https://ptb.de/si"> - - - <dcc:administrativeData> - - <dcc:coreData> - <dcc:countryCodeISO3166_1>DE</dcc:countryCodeISO3166_1> - <dcc:usedLangCodeISO639_1>de</dcc:usedLangCodeISO639_1> - <dcc:usedLangCodeISO639_1>en</dcc:usedLangCodeISO639_1> - <dcc:mandatoryLangCodeISO639_1>de</dcc:mandatoryLangCodeISO639_1> - <dcc:uniqueIdentifier>75056PTB19</dcc:uniqueIdentifier> - <dcc:receiptDate>2019-05-28</dcc:receiptDate> - <dcc:beginPerformanceDate>2019-05-17</dcc:beginPerformanceDate> - <dcc:endPerformanceDate>2019-05-17</dcc:endPerformanceDate> -</dcc:coreData> - <dcc:items> - <dcc:name> - <dcc:content lang="de"> - Membranvakuummeter - </dcc:content> - </dcc:name> - <dcc:description> - <dcc:content lang="de">Prüfling</dcc:content> - <dcc:content lang="en">device under test</dcc:content> - </dcc:description> - <dcc:item> - <dcc:name> - <dcc:content lang="de"> - Messkopf: 627B.1TDD1B - </dcc:content> - </dcc:name> - <dcc:description> - <dcc:content lang="de">Prüfling</dcc:content> - <dcc:content lang="en">device under test</dcc:content> - </dcc:description> - <dcc:manufacturer> - <dcc:name> - <dcc:content lang="de"> - MKS Instruments - </dcc:content> - </dcc:name> - </dcc:manufacturer> - <dcc:identifications> - <dcc:identification> - <dcc:issuer>manufacturer</dcc:issuer> - <dcc:description> - <dcc:content lang="de">Kennnummer</dcc:content> - <dcc:content lang="en">Serial No.</dcc:content> - </dcc:description> - <dcc:value> - Messkopf: 07XX12017604340 - </dcc:value> - </dcc:identification> - </dcc:identifications> - </dcc:item> -</dcc:items> - <dcc:calibrationLaboratory> - <dcc:contact> - <dcc:name> - <dcc:content lang="de">Physikalisch-Technische Bundesanstalt (PTB)</dcc:content> - </dcc:name> - <dcc:eMail>vacuum.cal@ptb.de</dcc:eMail> - <dcc:location> - <dcc:further> - <dcc:content lang="de">Abteilung 7 Temperatur und Synchrotronstrahlung</dcc:content> - <dcc:content lang="en">Division 7 Mechanics and Acoustics</dcc:content> - </dcc:further> - <dcc:further> - <dcc:content>4711</dcc:content> - </dcc:further> - <dcc:street>Bundesallee</dcc:street> - <dcc:streetNo>2-12</dcc:streetNo> - <dcc:postCode>10178</dcc:postCode> - <dcc:city>Berlin</dcc:city> - <dcc:countryCode>DE</dcc:countryCode> - </dcc:location> - </dcc:contact> -</dcc:calibrationLaboratory> - <dcc:respPersons> <!--00160--> - <dcc:respPerson id="Responsible"> <!--1600M--> - <dcc:person></dcc:person> <!--16010--> - <dcc:mainSigner>true</dcc:mainSigner> <!--16020--> - </dcc:respPerson> - <dcc:respPerson id="Technician"> <!--1600M--> - <dcc:person>Thomas Bock</dcc:person> <!--16010--> - </dcc:respPerson> -</dcc:respPersons> - <dcc:customer> - <dcc:name> - <dcc:content lang="de">PTB AG 7.43</dcc:content> - </dcc:name> - <dcc:eMail>Christian.Guenz@ptb.de</dcc:eMail> - <dcc:location> - <dcc:street>Abbestr. 2-12</dcc:street> - <dcc:postCode>10587</dcc:postCode> - <dcc:city>Berlin</dcc:city> - <dcc:countryCode>DE</dcc:countryCode> - </dcc:location> -</dcc:customer> - <dcc:dccSoftware> <!--00110--> - <dcc:software> <!--1100M--> - <dcc:name> - <dcc:content>xmlSchemal</dcc:content> - </dcc:name> <!--11010--> - <dcc:release>1.0.9</dcc:release> <!--11030--> - </dcc:software> - <dcc:software> <!--1100M--> - <dcc:name> - <dcc:content>Jinja2l</dcc:content> - </dcc:name> <!--11010--> - <dcc:release>2.10</dcc:release> <!--11030--> - </dcc:software> - <dcc:software> <!--1100M--> - <dcc:name> - <dcc:content>call</dcc:content> - </dcc:name> <!--11010--> - <dcc:release>99c82dd3f36f7735f29201c1e96571ddde1a1e1e</dcc:release> <!--11030--> - </dcc:software> -</dcc:dccSoftware> - </dcc:administrativeData> - <dcc:measurementResults> - <dcc:measurementResult> - <dcc:usedMethods> <!--00170--> - <dcc:usedMethod> <!--1700M--> - <dcc:name> - <dcc:content>Beschreibung zum Kalibriergegenstand</dcc:content> - </dcc:name> <!--17010--> - <dcc:description id="Method1"> <!--17020--> - <dcc:content>Das Messgerät war mit einem pneumatischen Ventil des Herstellers Nor-Cal Products Inc. ausgestattet. Es wurde vor dem Transport evakuiert.</dcc:content> <!--92110--> - - <dcc:content>Das Gerät wurde über seine RS232-Schnittstelle mit Hilfe eines Steuergeräts des Typs MKS PR 4000B ausgelesen. </dcc:content> <!--92110--> - </dcc:description> - </dcc:usedMethod> - - <dcc:usedMethod> <!--1700M--> - <dcc:name> - <dcc:content>Versuchsbedingungen und Versuchsdurchführung</dcc:content> - </dcc:name> <!--17010--> - <dcc:description id="Method2"> <!--17020--> - <dcc:content>\label{sec:procedure} Die Kalibrierung des Geräts wurde am Fachlaboratorium für Vakuummetrologie der Physikalisch-Technischen Bundesanstalt (PTB) durchgeführt. Im Bereich von \(\SI{0.13}{Pa}\) bis \(\SI{13}{Pa}\) wurde das Verfahren der stufenweisen Druckerniedrigung durch Expansion (statisches Verfahren) angewandt. Benutzt wurde das Primärnormal SE3. Die Gastemperatur bei der Kalibrierung nach dem statischen Verfahren mit Stickstoff betrug \SI{295.72+-0.15}{\kelvin} bei einer Raumtemperatur von \SI{295.8+-0.3}{\kelvin}. </dcc:content> <!--92110--> - - <dcc:content> Das Gerät wurde mit folgenden Einstellungen kalibriert: \begin{itemize} \item[ \textbf{\texttt{Heater}:}] \texttt{on} \item[ \textbf{\texttt{TypeHead}:}] \texttt{0.1Torr} \item[ \textbf{\texttt{Channel}:}] \texttt{1} \item[ \textbf{\texttt{Unit}:}] \texttt{mbar} \end{itemize}</dcc:content> <!--92110--> - - <dcc:content> Die Nullanzeige \(p_\text{r}\) wurde vor jedem Kalibrierpunkt unter Restgasbedingungen (\(\SI{<1E-6}{\pascal}\)) gemessen und von der Anzeige beim Kalibrierdruck abgezogen.</dcc:content> <!--92110--> - </dcc:description> - </dcc:usedMethod> - - <dcc:usedMethod> <!--1700M--> - <dcc:name> - <dcc:content>Relativer Fehler der Anzeige und Korrekturfaktor</dcc:content> - </dcc:name> <!--17010--> - <dcc:description id="Method3"> <!--17020--> - <dcc:content> Die relative Abweichung \(e\) der Druckanzeige ist definiert als angezeigter Wert \(p_\text{ind}\) (korrigiert um die Restdruckanzeige) minus richtiger Wert \(p_\text{cal}\), bezogen auf den richtigen Wert:\[e = \frac{p_\text{ind} - p_\text{r}}{p_\text{cal}} - 1\] Bei einer Druckmessung ergibt sich der Druck \(p\) aus: \[p = \frac{p_\text{ind} - p_\text{r}}{e + 1}\]</dcc:content> <!--92110--> - - <dcc:content> Der in der Tabelle angegebene Korrekturfaktor \(CF\) wird wie folgt berechnet: \[CF =\frac{p_\text{cal}}{p_\text{ind} - p_\text{r}}\] \(CF\) kann mittels: \[p = CF (p_\text{ind} - p_{r})\] zur Korrektur des angezeigten Drucks benutzt werden.</dcc:content> <!--92110--> - </dcc:description> - </dcc:usedMethod> - - <dcc:usedMethod> <!--1700M--> - <dcc:name> - <dcc:content>Ergebnis der Kalibrierung</dcc:content> - </dcc:name> <!--17010--> - <dcc:description id="Method4"> <!--17020--> - <dcc:content>Das Ergebnis der Messungen ist im Folgenden tabellarisch dargestellt. In den letzten Spalten der Tabelle ist die Unsicherheit \(U\) von \(e\) und \(U\) von \(CF\) zum Zeitpunkt der Kalibrierung gegeben. Einbezogen ist die Wiederholbarkeit der Messung unter sonst gleichen Bedingungen (\(p_\text{cal}\), \(T\)).\printResultTable</dcc:content> <!--92110--> - </dcc:description> - </dcc:usedMethod> - - <dcc:usedMethod> <!--1700M--> - <dcc:name> - <dcc:content>Temperaturkorrektur</dcc:content> - </dcc:name> <!--17010--> - <dcc:description id="Method5"> <!--17020--> - <dcc:content> Im Übergangsbereich zwischen molekularer Strömung (gasartunabhängige thermomolekulare Druckdifferenz) und viskoser Strömung (gasartunabhängiger Druckausgleich) hängt die Abweichung von der Temperaturdifferenz zwischen dem auf \(T_2\) thermostatierten Meßkopf und dem Rezipienten und von der Gasart ab. Das Membranvakuummeter wurde bei der Gastemperatur \(T_1\) (s. Abschnitt \ref{sec:procedure}) kalibriert. Weicht die Temperatur des Messgases beim Betreiber \({T_1\!}'\) signifikant (\(\SI{1}{\kelvin}\) oder mehr) von \(T_1\) ab, muss für die Berechnung von \(p\) die relative Abweichung \(e'\) nach folgender Beziehung ermittelt und in die oben stehende Gleichung statt \(e\) eingesetzt werden: \[e' = e_\text{vis} + (e - e_\text{vis}) \frac{ \sqrt{T_2/{T_1\!}'}-1 }{ \sqrt{T_2/T_1}-1} \] Wird der Faktor \(CF\) benutzt ist: \[CF' = CF_\text{vis} + (CF - CF_\text{vis}) \frac{ \sqrt{T_2/{T_1\!}'}-1 }{ \sqrt{T_2/T_1}-1} \] \(e_\text{vis}\) ist die mittlere relative Abweichung im Bereich viskoser Strömung. Für die Messung mit dem Gas Stickstoff wurden folgende Werte abgeschätzt: \(e_\text{vis}=\SI{0.0050}{}\) und \(CF_\text{vis} = \SI{0.9950}{}\). </dcc:content> <!--92110--> - </dcc:description> - </dcc:usedMethod> - - <dcc:usedMethod> <!--1700M--> - <dcc:name> - <dcc:content>Unsicherheit der Kalibrierung</dcc:content> - </dcc:name> <!--17010--> - <dcc:description id="Method6"> <!--17020--> - <dcc:content>Angegeben ist die erweiterte Messunsicherheit, die sich aus der Standardmessunsicherheit durch Multiplikation mit dem Erweiterungsfaktor \(k = 2\) ergibt. Sie wurde gemäß dem ``Guide to the Expression of Uncertainty in Measurement (GUM)'' ermittelt. Der Wert der Messgröße liegt dann im Regelfall mit einer Wahrscheinlichkeit von annähernd \SI{95}{\percent} im zugeordneten Überdeckungsintervall.</dcc:content> <!--92110--> - </dcc:description> - </dcc:usedMethod> - </dcc:usedMethods> - <dcc:influenceConditions> - <dcc:influenceCondition> - <dcc:name> - <dcc:content lang="de">Umgebungsbedingungen für die Messung mit dem Messgas N2</dcc:content> - <dcc:content lang="en">Ambient conditions for the measurement with the test gas N2</dcc:content> - </dcc:name> - - <dcc:data> - - <dcc:dccList> - <dcc:name> - <dcc:content lang="de">Die Kalibrierung wurde bei folgenden Umgebungsbedingungen ausgeführt: </dcc:content> - <dcc:content lang="en">The calibration was carried out under the following ambient conditions:</dcc:content> - </dcc:name> - <dcc:dccList id="temperatur-gas"> - <dcc:name> - <dcc:content lang="de">Temperatur des Messgases</dcc:content> - <dcc:content lang="en">gas temperature</dcc:content> - </dcc:name> - <dcc:quantity> - <si:real> - <si:value> </si:value> - <si:unit>\kelvin</si:unit> - <si:uncertainty></si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - </dcc:quantity> - </dcc:dccList> - <dcc:dccList id="temperatur-room"> - <dcc:name> - <dcc:content lang="de">Raumtemperatur</dcc:content> - <dcc:content lang="en">room temperature</dcc:content> - </dcc:name> - <dcc:quantity> - <si:real> - <si:value> </si:value> - <si:unit>\kelvin</si:unit> - <si:uncertainty></si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - </dcc:quantity> - </dcc:dccList> - </dcc:dccList> - </dcc:data> - </dcc:influenceCondition> - </dcc:influenceConditions> - - - -<dcc:results> -<dcc:result> - <dcc:name> - <dcc:content lang="de">Stickstoff, Kalibrierung nach dem statischen Verfahren</dcc:content> - </dcc:name> - <dcc:description> - <dcc:content lang="en">Name: calibration pressure, Quantity: Pressure</dcc:content> - </dcc:description> - <dcc:data> - <dcc:dccList> - <dcc:quantity > - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>1.3183e-01</si:value> - <si:uncertainty>0.00026</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>2.0094e-01</si:value> - <si:uncertainty>0.00040</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>2.9988e-01</si:value> - <si:uncertainty>0.00058</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>5.0151e-01</si:value> - <si:uncertainty>0.00092</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>9.0888e-01</si:value> - <si:uncertainty>0.0016</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>1.3134e+00</si:value> - <si:uncertainty>0.0023</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>1.9986e+00</si:value> - <si:uncertainty>0.0034</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>2.9946e+00</si:value> - <si:uncertainty>0.0052</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>4.9865e+00</si:value> - <si:uncertainty>0.0086</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>8.9981e+00</si:value> - <si:uncertainty>0.015</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>1.29834e+01</si:value> - <si:uncertainty>0.019</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - </dcc:quantity> - </dcc:dccList> - </dcc:data> - </dcc:result> -<dcc:result> - <dcc:name> - <dcc:content lang="de">Stickstoff, Kalibrierung nach dem statischen Verfahren</dcc:content> - </dcc:name> - <dcc:description> - <dcc:content lang="en">Name: offset corrected indicated pressure, Quantity: Pressure</dcc:content> - </dcc:description> - <dcc:data> - <dcc:dccList> - <dcc:quantity > - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>1.350e-01</si:value> - <si:uncertainty>0.0080</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>2.100e-01</si:value> - <si:uncertainty>0.0066</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>3.100e-01</si:value> - <si:uncertainty>0.0060</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>5.150e-01</si:value> - <si:uncertainty>0.0056</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>9.300e-01</si:value> - <si:uncertainty>0.0055</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>1.3450e+00</si:value> - <si:uncertainty>0.0056</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>2.0305e+00</si:value> - <si:uncertainty>0.0061</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>3.0400e+00</si:value> - <si:uncertainty>0.0070</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>5.0400e+00</si:value> - <si:uncertainty>0.0095</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>9.070e+00</si:value> - <si:uncertainty>0.015</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\kilogram\metre\tothe{-1}\second\tothe{-2}</si:unit> - <si:value>1.3080e+01</si:value> - <si:uncertainty>0.0093</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - </dcc:quantity> - </dcc:dccList> - </dcc:data> - </dcc:result> -<dcc:result> - <dcc:name> - <dcc:content lang="de">Stickstoff, Kalibrierung nach dem statischen Verfahren</dcc:content> - </dcc:name> - <dcc:description> - <dcc:content lang="en">Name: relative error of indication, Quantity: Error</dcc:content> - </dcc:description> - <dcc:data> - <dcc:dccList> - <dcc:quantity > - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.024</si:value> - <si:uncertainty>0.062</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.045</si:value> - <si:uncertainty>0.034</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.034</si:value> - <si:uncertainty>0.021</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.027</si:value> - <si:uncertainty>0.012</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.0232</si:value> - <si:uncertainty>0.0064</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.0241</si:value> - <si:uncertainty>0.0047</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.0160</si:value> - <si:uncertainty>0.0036</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.0151</si:value> - <si:uncertainty>0.0030</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.0107</si:value> - <si:uncertainty>0.0026</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.0080</si:value> - <si:uncertainty>0.0025</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.0074</si:value> - <si:uncertainty>0.0017</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - </dcc:quantity> - </dcc:dccList> - </dcc:data> - </dcc:result> -<dcc:result> - <dcc:name> - <dcc:content lang="de">Stickstoff, Kalibrierung nach dem statischen Verfahren</dcc:content> - </dcc:name> - <dcc:description> - <dcc:content lang="en">Name: correction factor, Quantity: Correction</dcc:content> - </dcc:description> - <dcc:data> - <dcc:dccList> - <dcc:quantity > - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.978</si:value> - <si:uncertainty>0.059</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.957</si:value> - <si:uncertainty>0.031</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.967</si:value> - <si:uncertainty>0.019</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.974</si:value> - <si:uncertainty>0.011</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.9773</si:value> - <si:uncertainty>0.0061</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.9765</si:value> - <si:uncertainty>0.0045</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.9843</si:value> - <si:uncertainty>0.0034</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.9851</si:value> - <si:uncertainty>0.0029</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.9894</si:value> - <si:uncertainty>0.0026</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.9921</si:value> - <si:uncertainty>0.0024</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - <si:real> - <si:unit>\one</si:unit> - <si:value>0.9926</si:value> - <si:uncertainty>0.0017</si:uncertainty> - <si:coverageFactor>2</si:coverageFactor> - <si:coverageProbability>0.95</si:coverageProbability> - </si:real> - - </dcc:quantity> - </dcc:dccList> - </dcc:data> - </dcc:result> -</dcc:results> - </dcc:measurementResult> - </dcc:measurementResults> -</dcc:digitalCalibrationCertificate> diff --git a/utils.py b/utils.py index a211a339527636c62768863963c8b6e4334d5d6a..0258184549f550c18fc8a39e4a0da11611b80841 100644 --- a/utils.py +++ b/utils.py @@ -25,9 +25,6 @@ def get_config_dict(): def git_cmd(config): return git.cmd.Git(config['git']['dir']) -def get_xsd_path_file(config, file_name): - return "{dir}/{file_name}".format(dir=config['xsd']['dir'], file_name=file_name) - def get_xsd(cfg, xsd_version=None, xml_str = None): filename = cfg['xsd']['filename'] baseURL = cfg['xsd']['externalBaseURL'] diff --git a/xsd/DCC_v1.8.1.xsd b/xsd/DCC_v1.8.1.xsd deleted file mode 100644 index 209e094a0fa81fec0671559ed43d406d5029f592..0000000000000000000000000000000000000000 --- a/xsd/DCC_v1.8.1.xsd +++ /dev/null @@ -1,688 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dcc="https://intranet.ptb.de/fileadmin/dokumente/intranet/abteilungen/abteilung_1/Digitaler_Kalibrierschein/DCC" xmlns:si="https://intranet.ptb.de/fileadmin/dokumente/intranet/abteilungen/abteilung_1/Digitaler_Kalibrierschein/SI" targetNamespace="https://intranet.ptb.de/fileadmin/dokumente/intranet/abteilungen/abteilung_1/Digitaler_Kalibrierschein/DCC" elementFormDefault="qualified"> - - <xs:import namespace="https://intranet.ptb.de/fileadmin/dokumente/intranet/abteilungen/abteilung_1/Digitaler_Kalibrierschein/SI" - schemaLocation="https://intranet.ptb.de/fileadmin/dokumente/intranet/abteilungen/abteilung_1/Digitaler_Kalibrierschein/SI/SI_Format_v1.0.0.xsd"/> - - <xs:element name="digitalCalibrationCertificate"><!--00010--> - - <xs:complexType> - <xs:sequence> - <xs:element name="administrativeData"><!--00100--> - <xs:complexType> - <xs:all> - <xs:element name="usedSoftware" type="dcc:usedSoftwareParameter"/><!--00110--> - <xs:element name="coreData" type="dcc:coreDataParameter"/><!--00120--> - <xs:element name="items" type="dcc:itemParameter"/><!--00130--> - <xs:element name="calibrationLaboratory" type="dcc:calibrationLaboratoryParameter"/><!--00140--> - <xs:element name="calibrationLocations" type="dcc:calibrationLocationParameter"/><!--00150--> - <xs:element name="respPersons" type="dcc:respPersonParameter"/><!--00160--> - <xs:element name="usedMethods" type="dcc:usedMethodParameter"/><!--00170--> - <xs:element name="customer" type="dcc:contact"/><!--00180--> - <xs:element name="owner" type="dcc:contact" minOccurs="0"/><!--00200--> - <xs:element name="externals" type="dcc:externalParameter" minOccurs="0"/><!--00210--> - <xs:element name="sampledMaterials" type="dcc:sampledMaterialParameter" minOccurs="0"/><!--00220--> - <xs:element name="statements" type="dcc:statementParameter" minOccurs="0"/><!--00230--> - <xs:element name="metrologicallyTraceable" type="dcc:metrologicallyTraceableParameter" minOccurs="0"/><!--00240--> - </xs:all> - </xs:complexType> - </xs:element> - - <xs:element name="measurementResults"><!--00300--> - <xs:complexType> - <xs:sequence> - <xs:element name="influenceConditions" type="dcc:influenceConditionParameter"/><!--00301--> - <xs:element name="adjustmentBeforeConditions" type="dcc:adjustmentConditionParameter" minOccurs="0" /><!--003020--> - <xs:element name="adjustmentAfterConditions" type="dcc:adjustmentConditionParameter" minOccurs="0" /><!--00303--> - <xs:element name="repairBeforeConditions" type="dcc:repairConditionParameter" minOccurs="0" /><!--00304--> - <xs:element name="repairAfterConditions" type="dcc:repairConditionParameter" minOccurs="0" /><!--003050--> - <xs:element name="results" type="dcc:resultParameter"/><!--00306--> - </xs:sequence> - </xs:complexType> - </xs:element> - - <xs:element name="comments" type="xs:string" minOccurs="0"/><!--00700--> - - <xs:element name="document" type="dcc:humanReadable" minOccurs="0"/><!--00800--> - - </xs:sequence> - </xs:complexType> - </xs:element> - - <!-- ##################################################################################### - - Elements of the administrativeData part of the DCC ---> - <xs:complexType name="usedSoftwareParameter"><!--11000--> - <xs:annotation> - <xs:documentation> - Clear description of the software-version and the creator of the software used to create and process the DCC - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="software" maxOccurs="unbounded"><!--1100M--> - <xs:complexType> - <xs:sequence> - <xs:element name="name" type="xs:string"/><!--11010--> - <xs:element name="release" type="xs:string"/><!--11020--> - <xs:element name="addOns" minOccurs="0"><!--11030--> - <xs:complexType> - <xs:sequence> - <xs:element name="addOn" type="xs:string" maxOccurs="unbounded"/><!--11031--> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="langCodeISO639_1" type="dcc:elementStringISO639" minOccurs="0"/><!--11040--> - <xs:element name="source" type="xs:string" minOccurs="0"/><!--11050--> - <xs:element name="parameters" minOccurs="0"><!--11060--> - <xs:complexType> - <xs:sequence> - <xs:element name="parameter" type="xs:string" maxOccurs="unbounded"/><!--11061--> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--1100M_A_I--> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="coreDataParameter"><!--12000--> - <xs:annotation> - <xs:documentation> - Basic parameters of the Digital Calibration Certificate (DCC) - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="countryCodeISO3166_1" type="dcc:elementStringISO3166"/><!--12010--> - <xs:element name="deltaUnivTimeCoord" type="xs:time"/><!--12020--> - <xs:element name="langCodeISO639_1" type="dcc:elementStringISO639" maxOccurs="unbounded"/><!--12030--> - <xs:element name="mandatoryLangISO639_1" type="dcc:elementStringISO639" maxOccurs="unbounded"/><!--12040--> - <xs:element name="calibrationMark" type="xs:string"/><!--12050--> - <xs:element name="receiptDate" type="xs:date"/><!--12060--> - <xs:element name="samplingDate" type="xs:date" minOccurs="0"/><!--12070--> - <xs:element name="beginPerformanceDate" type="xs:date"/><!--12080--> - <xs:element name="endPerformanceDate" type="xs:date"/><!--12090--> - <xs:element name="previousReport" type="dcc:hash" minOccurs="0"/><!--12100--> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="itemParameter"><!--13000--> - <xs:annotation> - <xs:documentation> - Clear description of the calibration items - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="item" maxOccurs="unbounded"><!--1300M--> - <xs:complexType> - <xs:sequence> - <xs:element name="name" type="dcc:elementStringWithLang" maxOccurs="unbounded"/><!--13010--> - <xs:element name="description" type="dcc:textBlock"/><!--13020--> - <xs:element name="condition" type="dcc:textBlock" minOccurs="0"/><!--13030--> - <xs:element name="descriptionData" type="dcc:byteDataBlock" minOccurs="0" maxOccurs="unbounded"/><!--13040--> - <xs:element name="manufacturer" type="dcc:contact"/><!--13110--> - <xs:element name="identNumber"><!--13050--> - <xs:complexType> - <xs:sequence> - <xs:element name="manufacturer" type="xs:string" maxOccurs="unbounded"/><!--13060--> - <xs:element name="calibrationLaboratory" type="xs:string" minOccurs="0" maxOccurs="unbounded"/><!--13070--> - <xs:element name="customer" type="xs:string" minOccurs="0" maxOccurs="unbounded"/><!--13080--> - <xs:element name="owner" type="xs:string" minOccurs="0" maxOccurs="unbounded"/><!--13090--> - <xs:element name="other" type="xs:string" minOccurs="0" maxOccurs="unbounded"/><!--13100--> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--1300M_A_I--> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="calibrationLaboratoryParameter"><!--14000--> - <xs:annotation> - <xs:documentation> - Informations about the calibration laboratory - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="calibrationLaboratoryCode" type="xs:string" minOccurs="0"/><!--14010--> - <xs:element name="contact" type="dcc:contact"/><!--14020--> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="calibrationLocationParameter"><!--15000--> - <xs:annotation> - <xs:documentation> - Locations, where the calibration was done - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="calibrationLocation" maxOccurs="unbounded"><!--1500M--> - <xs:complexType> - <xs:sequence> - <xs:element name="calibrationLocationSites" type="dcc:elementStringWithLang" maxOccurs="unbounded"/><!--15010--> - <xs:element name="beginLocationCalDateTime" type="xs:dateTime" minOccurs="0"/><!--15020--> - <xs:element name="endLocationCalDateTime" type="xs:dateTime" minOccurs="0"/><!--15030--> - <xs:element name="location" type="dcc:location"/><!--15040--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--1500M_A_I--> - </xs:complexType> - </xs:element> - </xs:sequence> - - </xs:complexType> - - <xs:complexType name="respPersonParameter"><!--16000--> - <xs:annotation> - <xs:documentation> - List of responsible persons for the DCC - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="respPerson" maxOccurs="unbounded"><!--1600M--> - <xs:complexType> - <xs:sequence> - <xs:element name="responsiblePerson" type="xs:string"/><!--16010--> - <xs:element name="kryptElectronicSeal" type="xs:boolean" minOccurs="0"/><!--16020--> - <xs:element name="kryptElectronicSignature" type="xs:boolean" minOccurs="0"/><!--16030--> - <xs:element name="kryptElectronicTimeStamp" type="xs:boolean" minOccurs="0"/><!--16040--> - <xs:element name="eMailResponsiblePerson" type="xs:string" minOccurs="0"/><!--16050--> - <xs:element name="furtherResponsiblePerson" type="dcc:elementStringWithLang" minOccurs="0" maxOccurs="unbounded"/><!--16060--> - <xs:element name="location" type="dcc:location" minOccurs="0"/><!--16070--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--1600M_A_I--> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="usedMethodParameter"><!--17000--> - <xs:annotation> - <xs:documentation> - Clear description of the used method - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="usedMethod" maxOccurs="unbounded"><!--1700M--> - <xs:complexType> - <xs:sequence> - <xs:element name="name" type="dcc:elementStringWithLang" maxOccurs="unbounded"/><!--17010--> - <xs:element name="description" type="dcc:textBlock"/><!--17020--> - <xs:element name="norm" type="xs:string" minOccurs="0" maxOccurs="unbounded"/><!--17030--> - <xs:element name="descriptionData" type="dcc:byteDataBlock" minOccurs="0" maxOccurs="unbounded"/><!--17040--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--1700M_A_I--> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="externalParameter"><!--21000--> - <xs:annotation> - <xs:documentation> - Information about the external partners - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="external" type="dcc:contact" maxOccurs="unbounded"/><!--2100M--> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="sampledMaterialParameter"><!--22000--> - <xs:annotation> - <xs:documentation> - Information about the sampled material - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="sampledMaterial" maxOccurs="unbounded"><!--2200M--> - <xs:complexType> - <xs:sequence> - <xs:element name="plan" type="dcc:textBlock"/><!--22010--> - <xs:element name="method" type="dcc:textBlock"/><!--22020--> - <xs:element name="descriptionData" type="dcc:byteDataBlock" minOccurs="0" maxOccurs="unbounded"/><!--22030--> - <xs:element name="externalSampler" type="dcc:contact" minOccurs="0" maxOccurs="unbounded"/><!--22040--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--2200M_A_I--> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="statementParameter"><!--23000--> - <xs:annotation> - <xs:documentation> - Elements for the statements - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="statement" maxOccurs="unbounded"><!--2300M--> - <xs:complexType> - <xs:sequence> - <xs:element name="countryCodeISO3166_1" type="dcc:elementStringISO3166" minOccurs="0" maxOccurs="unbounded"/><!--23010--> - <xs:element name="convention" type="xs:string" minOccurs="0"/><!--23020--> - <xs:element name="norm" type="xs:string" minOccurs="0"/><!--23030--> - <xs:element name="reference" type="xs:string" minOccurs="0"/><!--23040--> - <xs:element name="value" type="xs:string" minOccurs="0"/><!--23040--> - <xs:element name="valueBool" type="xs:boolean" minOccurs="0"/><!--23060--> - </xs:sequence> - <xs:attribute name="lang" type="dcc:elementStringISO639" use="optional"/><!--2300M_A_L--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--2300M_A_I--> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="metrologicallyTraceableParameter"><!--24000--> - <xs:annotation> - <xs:documentation> - Elements for metrologically traceable measurements - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="chainLinkOfCalibrations" type="dcc:hash" maxOccurs="unbounded"/><!--24010--> - <xs:element name="chainLinkUncertaincy" type="xs:boolean" minOccurs="0"/><!--24020--> - <xs:element name="chainLinkProcedure" type="xs:boolean" minOccurs="0"/><!--24030--> - <xs:element name="chainLinkCompetence" type="xs:boolean" minOccurs="0"/><!--24040--> - </xs:sequence> - </xs:complexType> - - <!-- ##################################################################################### - - Elements of the measurementResult part of the DCC - --> - - <xs:complexType name="influenceConditionParameter"><!--30100--> - <xs:annotation> - <xs:documentation> - Elements for the conditions (e.g. environmental) under which the calibrations were - made that have an influence on the measurement results - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="influenceCondition" type="dcc:analysis" maxOccurs="unbounded"/><!--3010M--> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="adjustmentConditionParameter"><!--30200--> - <xs:annotation> - <xs:documentation> - Elements for the adjustment conditions (e.g. before and after adjustment) under which the - calibrations were made that have an influence on the measurement results - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="adjustmentCondition" type="dcc:analysis" maxOccurs="unbounded"/><!--3020M--> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="repairConditionParameter"><!--30400--> - <xs:annotation> - <xs:documentation> - Elements for the repair conditions (e.g. before and after repair) under which the - calibrations were made that have an influence on the measurement results - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="repairCondition" type="dcc:analysis" maxOccurs="unbounded"/><!--3040M--> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="resultParameter"><!--30600--> - <xs:annotation> - <xs:documentation> - Elements for the measurement results - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="result" type="dcc:analysis" maxOccurs="unbounded"/><!--3060M--> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="analysis"><!--31000--> - <xs:annotation> - <xs:documentation> - All neccessary informations for one part of a measurement - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="name" type="dcc:elementStringWithLang" maxOccurs="unbounded"/><!--31010--> - <xs:element name="description" type="dcc:textBlock" minOccurs="0"/><!--31020--> - <xs:element name="condition" type="dcc:textBlock" minOccurs="0"/><!--31030--> - <xs:element name="descriptionData" type="dcc:byteDataBlock" minOccurs="0" maxOccurs="unbounded"/><!--31040--> - <xs:element name="outcome" type="dcc:outcomeBlock"/><!--31050--> - </xs:sequence> - <xs:attribute name="lang" type="dcc:elementStringISO639" use="optional"/><!--3100M_A_L--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--3100M_A_I--> - </xs:complexType> - - <xs:complexType name="outcomeBlock"><!--32000--> - <xs:annotation> - <xs:documentation> - In the Element "outcome", any of the elements - "text", "formula", "byteData", "chart", "image", "data" and "xml" - can be used multiple times in an arbitrary order. The usage of each element - is optional. At least one of the elements must be provided. - </xs:documentation> - </xs:annotation> - <xs:choice maxOccurs="unbounded"> - <xs:element name="text" type="dcc:textBlock"/><!--32010--> - <xs:element name="formula" type="dcc:formulaBlock"/><!--32020--> - <xs:element name="byteData" type="dcc:byteDataBlock"/><!--32030--> - <xs:element name="chart" type="dcc:byteDataBlock"/><!--32040--> - <xs:element name="image" type="dcc:byteDataBlock"/><!--32050--> - <xs:element name="data" type="dcc:dataBlock"/><!--32060--> - <xs:element name="xml" type="dcc:xmlBlock"/><!--32070--> - </xs:choice> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--3200M_A_I--> - </xs:complexType> - - <xs:complexType name="dataBlock"><!--33000--> - <xs:annotation> - <xs:documentation> - The 'si:dataBlock' type is the element of the DCC that provides measured quantities - based on the International System of Units (SI). It can contain a single - SI measurement quantity or a list of SI quantities. - Furthermore, it can define a hybrid quantity element which allows to - append a non-SI quantity to a SI measurement quantity. - The optional attribute ID is for a uniqueID of this block in the DCC. - </xs:documentation> - </xs:annotation> - <xs:choice> - <xs:element name="quantity" type="dcc:quantity"/><!--33010--> - <!--00000--> - <xs:element name="dccList" type="dcc:dccList"/><!--33020--> - <!--00000--> - </xs:choice> - <xs:attribute name="comment" type="xs:string" use="optional"/><!--33000_A_C--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--33000_A_I--> - </xs:complexType> - - <!-- ##################################################################################### - - Elements for the specification of measurement data (quantities) in the DCC - (XMl Schema for the secure exchange of measurement data in ICT applications) - --> - - <xs:complexType name="quantity"><!--34000--> - <xs:annotation> - <xs:documentation> - Basic element for the statement of measurement values in a DCC. - The measurement value, its unit and uncertainty are defined by type 'si:real'. - The 'unit' must be defined in the SI-system (siunitx format). - Additional information can be made according to MRA, Ilac and external - measurements in the 'measurementMetaData' element. - In addition, the 'quantity' can contain a comma separated list of independent real quantities ('si:realCS'). - The 'quantity' has an optional 'name' element and it can have a unique ID. - The 'name' element can be repeated with different languages. - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="name" type="dcc:elementStringWithLang" minOccurs="0" maxOccurs="unbounded"/><!--34010--> - <xs:choice> - <xs:element ref="si:real"/><!--34020--> - <xs:element ref="si:realCS"/><!--34030--> - <xs:element ref="si:list"/><!--34040--> - <xs:element ref="si:hybrid"/><!--34050--> - </xs:choice> - <xs:element name="ambientConditions" type="dcc:ambientConditionType" minOccurs="0"/><!--34060--> - <xs:element name="measurementMetaData" type="dcc:measurementMetaDataType" minOccurs="0"/><!--34070--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--34000_A_I--> - </xs:complexType> - - <xs:complexType name="dccList"><!--35000--> - <xs:annotation> - <xs:documentation> - The 'list' element allows to define a collection of measurement results - which are subject to structures with integrity. Basic structures are - vector quantities. A recursive usage of 'list' allows the creation of - matrix and tensor structures as well as structures of higher dimension. The 'list' - may also be used to give measurement results in combination with some - ambient conditions at the measurement. - In this version of the data format, the 'list' supports a global definition of uncertainties - that are binding for all quantities inside the 'list' element. - For future versions it is planned to add uncertainty elements for vector quantities - (e.g. covariance matrix). - The 'list' element can have a unique ID and several name elements. - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="name" type="dcc:elementStringWithLang" minOccurs="0" maxOccurs="unbounded"/><!--35010--> - <xs:element name="dateTime" type="xs:dateTime" minOccurs="0"/><!--35020--> - <xs:choice> - <xs:element name="dccList" type="dcc:dccList"/><!--35030--> - <xs:element name="quantity" type="dcc:quantity"/><!--35040--> - <xs:element name="offSysQuantity" type="dcc:offSysQuantity"/><!--35050--> - </xs:choice> - <xs:element name="ambientConditions" type="dcc:ambientConditionType" minOccurs="0"/><!--35060--> - <xs:element name="measurementMetaData" type="dcc:measurementMetaDataType" minOccurs="0"/><!--35070--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--35000_A_I--> - </xs:complexType> - - - <xs:complexType name="ambientConditionType"><!--36100--> - <xs:annotation> - <xs:documentation> - A simple structure which is based on atomic measured quantities and lists for - the statement of ambient conditions at the measurement. - </xs:documentation> - </xs:annotation> - <xs:choice> - <xs:element name="quantity" type="dcc:quantity"/><!--36110--> - <xs:element name="dccList" type="dcc:dccList"/><!--36120--> - </xs:choice> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--36100_A_I--> - </xs:complexType> - - <xs:complexType name="measurementMetaDataType"><!--36200--> - <xs:annotation> - <xs:documentation> - TODO: noch anpassen an neue Struktur - - - The measurement meta data comprises optional information that lead to a measurement result. - The sub-elements should reference the specific and detailed information in the administrative part. - Each element is optional and the user should only provide the elements that are relevant - for the measurement result. - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="metaData" maxOccurs="unbounded"><!--36210--> - <xs:complexType> - <xs:sequence> - <xs:element name="name" type="xs:string"/><!--36211--> - <xs:element name="value" type="xs:string" minOccurs="0"/><!--36212--> - <xs:element name="idRef" type="xs:IDREF" minOccurs="0"/><!--36213--> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="offSysQuantity"><!--37000--> - <xs:annotation> - <xs:documentation> - Unrecommended element for stating measured quantities outside the SI-system (off system quantity). - The statement of measurement units is unchecked and 'offSysQuantities' are not part of the - quality infrastructure that is provided for DCCs. The unit inside the 'real' element - is not regulated. - The 'offSysQuantity' has an optional 'name' element and it can have a unique ID. - The 'name' element can be repeated with different languages. - In addition the quantity can contain a comma separated list of independent real quantities ('si:realCS'). - Furthermore, 'offSysQuantity' can be appended by any additional XML elements that - is not listed in the DCC schema and data exchange format. Here it is possible to - add user specific data structures that are already in use. - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="name" type="dcc:elementStringWithLang" minOccurs="0" maxOccurs="unbounded"/><!--37010--> - <xs:choice> - <xs:element ref="si:real"/><!--37020--> - <xs:element ref="si:realCS"/><!--37030--> - <xs:element ref="si:list"/><!--37040--> - </xs:choice> - <xs:element name="ambientConditions" type="dcc:ambientConditionType" minOccurs="0"/><!--37060--> - <xs:element name="measurementMetaData" type="dcc:measurementMetaDataType" minOccurs="0"/><!--37070--> - <xs:any namespace="##other" minOccurs="0"/> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--37000_A_I--> - </xs:complexType> - - - <!-- ##################################################################################### - - Definition of the human readable part of the DCC ---> - <xs:complexType name="humanReadable"><!--80000--> - <xs:annotation> - <xs:documentation> - The human readable part of the DCC (not regulated and not mandatory) - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="fileName" type="xs:string"/><!--80010--> - <xs:element name="mimeType" type="xs:string"/><!--80020--> - <xs:element name="humanReadablePDFBase64" type="xs:base64Binary"/><!--80030--> - </xs:sequence> - </xs:complexType> - - - <!-- ##################################################################################### - - Useful elements with the numbers .gt. 90000 ---> - - <xs:simpleType name="elementStringISO3166"><!--90010--> - <xs:restriction base="xs:string"> - <xs:pattern value="[A-Z]{2}"/> - </xs:restriction> - </xs:simpleType> - - <xs:simpleType name="elementStringISO639"><!--90020--> - <xs:restriction base="xs:string"> - <xs:pattern value="[a-z]{2}"/> - </xs:restriction> - </xs:simpleType> - - <xs:complexType name="elementStringWithLang"><!--90030--> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="lang" type="dcc:elementStringISO639" use="optional"/><!--90030_A_L--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--90030_A_I--> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - - <xs:complexType name="location"><!--91100--> - <xs:choice maxOccurs="unbounded"> - <xs:element name="further" type="dcc:elementStringWithLang"/><!--91110--> - <xs:element name="street" type="dcc:elementStringWithLang"/><!--91120--> - <xs:element name="streetNo" type="dcc:elementStringWithLang"/><!--91130--> - <xs:element name="postOfficeBox" type="dcc:elementStringWithLang"/><!--91140--> - <xs:element name="postCode" type="dcc:elementStringWithLang"/><!--91150--> - <xs:element name="city" type="dcc:elementStringWithLang"/><!--91160--> - <xs:element name="state" type="dcc:elementStringWithLang"/><!--91170--> - <xs:element name="countryCode" type="dcc:elementStringISO3166"/><!--91180--> - <xs:element name="descriptionData" type="dcc:byteDataBlock"/><!--91190--> - </xs:choice> - </xs:complexType> - - <xs:complexType name="contact"><!--91300--> - <xs:sequence> - <xs:element name="name" type="xs:string"/><!--91310--> - <xs:element name="eMail" type="xs:string"/><!--91320--> - <xs:element name="location" type="dcc:location"/><!--91330--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--91300_A_I--> - </xs:complexType> - - <xs:complexType name="hash"><!--91400--> - <xs:sequence> - <xs:element name="reference" type="dcc:textBlock"/><!--91410--> - <xs:element name="referenceID" type="dcc:textBlock"/><!--91420--> - <xs:element name="procedure" type="xs:string"/><!--91430--> - <xs:element name="value" type="xs:string"/><!--914430--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--ai91400--> - </xs:complexType> - - <xs:complexType name="textBlock"><!--92100--> - <xs:annotation> - <xs:documentation> - The textBlock defines the type for writing text in the DCC. - In this block, the element content can be used many times with different language definition (attribute lang). - The optional attribute ID is for a unique ID. - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="content" type="dcc:elementStringWithLang" maxOccurs="unbounded"/><!--92110--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--92100_A_I--> - </xs:complexType> - - <xs:complexType name="byteDataBlock"><!--92200--> - <xs:annotation> - <xs:documentation> - The byteDataBlock defines a type which allows to add - binary encoded files to the measurement result section. - It is a good practise to use the Base64 - Data Encodings standard (see RFC 4648). - The file must be encoded as base64Binary, see RFC 4648. - Examples for the content are image files or ZIP archives. - The element fileName gives the name of the original file. - Element mimeType is the underlying file type (e.g. zip, jpeg, png). - Element data contains the base64Binary encoded file. - The optional attribute ID is for a unique ID of this data block. - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="fileName" type="xs:string"/><!--92210--> - <xs:element name="mimeType" type="xs:string"/><!--92220--> - <xs:element name="data" type="xs:base64Binary"/><!--92230--> - </xs:sequence> - <xs:attribute name="lang" type="xs:string" use="optional"/><!--92200_A_L--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--92200_A_I--> - </xs:complexType> - - <xs:complexType name="formulaBlock"><!--92300--> - <xs:annotation> - <xs:documentation> - <!-- DH: Dokumentation eingefügt --> - This data block is used to add formulas and equations to the measurement result section of the DCC. - A formula is expected to by written by means of the LaTeX ams math formalism. All units in the - LaTeX expression must follow the siunitx LaTeX standard. - The formula is written to the siunitx element. - The optional attribute ID is for a unique ID of this block. - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="siunitx" type="xs:string"/><!--92310--> - </xs:sequence> - <xs:attribute name="lang" type="xs:string" use="optional"/><!--92300_A_L--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--92300_A_I--> - </xs:complexType> - - <xs:complexType name="xmlBlock"><!--92400--> - <xs:annotation> - <xs:documentation> - <!-- DH: Dokumentation angepasst --> - This data block is used to add user or application specific XML content to the - measurement result section of the DCC. - The optional attribute ID is for a unique ID of this block. - </xs:documentation> - </xs:annotation> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="lang" type="xs:string" use="optional"/><!--92400_A_L--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--92400_A_I--> - </xs:extension> - </xs:simpleContent> -<!-- SH <xs:any namespace="##other" minOccurs="0"/> --> - </xs:complexType> - -</xs:schema> diff --git a/xsd/DCC_v1.8.3.xsd b/xsd/DCC_v1.8.3.xsd deleted file mode 100644 index f04874979d75bb5bfda43753bb2f044bd2212f0d..0000000000000000000000000000000000000000 --- a/xsd/DCC_v1.8.3.xsd +++ /dev/null @@ -1,698 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dcc="https://intranet.ptb.de/fileadmin/dokumente/intranet/abteilungen/abteilung_1/Digitaler_Kalibrierschein/DCC" xmlns:si="https://intranet.ptb.de/fileadmin/dokumente/intranet/abteilungen/abteilung_1/Digitaler_Kalibrierschein/SI" targetNamespace="https://intranet.ptb.de/fileadmin/dokumente/intranet/abteilungen/abteilung_1/Digitaler_Kalibrierschein/DCC" elementFormDefault="qualified"> - -<xs:import namespace="https://intranet.ptb.de/fileadmin/dokumente/intranet/abteilungen/abteilung_1/Digitaler_Kalibrierschein/SI" -schemaLocation="https://intranet.ptb.de/fileadmin/dokumente/intranet/abteilungen/abteilung_1/Digitaler_Kalibrierschein/SI/SI_Format_v1.0.1.xsd"/> - - <xs:element name="digitalCalibrationCertificate"><!--00010--> - - <xs:complexType> - <xs:sequence> - <xs:element name="administrativeData"><!--00100--> - <xs:complexType> - <xs:all> - <xs:element name="usedSoftware" type="dcc:usedSoftwareParameter"/><!--00110--> - <xs:element name="coreData" type="dcc:coreDataParameter"/><!--00120--> - <xs:element name="items" type="dcc:itemParameter"/><!--00130--> - <xs:element name="calibrationLaboratory" type="dcc:calibrationLaboratoryParameter"/><!--00140--> - <xs:element name="calibrationLocations" type="dcc:calibrationLocationParameter"/><!--00150--> - <xs:element name="respPersons" type="dcc:respPersonParameter"/><!--00160--> - <xs:element name="usedMethods" type="dcc:usedMethodParameter"/><!--00170--> - <xs:element name="customer" type="dcc:contact"/><!--00180--> - <xs:element name="owner" type="dcc:contact" minOccurs="0"/><!--00200--> - <xs:element name="externals" type="dcc:externalParameter" minOccurs="0"/><!--00210--> - <xs:element name="sampledMaterials" type="dcc:sampledMaterialParameter" minOccurs="0"/><!--00220--> - <xs:element name="statements" type="dcc:statementParameter" minOccurs="0"/><!--00230--> - <xs:element name="metrologicallyTraceable" type="dcc:metrologicallyTraceableParameter" minOccurs="0"/><!--00240--> - </xs:all> - </xs:complexType> - </xs:element> - - <xs:element name="measurementResults"><!--00300--> - <xs:complexType> - <xs:sequence> - <xs:element name="influenceConditions" type="dcc:influenceConditionParameter"/><!--00301--> - <xs:element name="adjustmentBeforeConditions" type="dcc:adjustmentConditionParameter" minOccurs="0" /><!--00302--> - <xs:element name="adjustmentAfterConditions" type="dcc:adjustmentConditionParameter" minOccurs="0" /><!--00303--> - <xs:element name="repairBeforeConditions" type="dcc:repairConditionParameter" minOccurs="0" /><!--00304--> - <xs:element name="repairAfterConditions" type="dcc:repairConditionParameter" minOccurs="0" /><!--003050--> - <xs:element name="results" type="dcc:resultParameter"/><!--00306--> - </xs:sequence> - </xs:complexType> - </xs:element> - - <xs:element name="comments" type="xs:string" minOccurs="0"/><!--00700--> - - <xs:element name="document" type="dcc:humanReadable" minOccurs="0"/><!--00800--> - - </xs:sequence> - </xs:complexType> - </xs:element> - - <!-- ##################################################################################### - - Elements of the administrativeData part of the DCC ---> - <xs:complexType name="usedSoftwareParameter"><!--11000--> - <xs:annotation> - <xs:documentation> - Clear description of the software-version and the creator of the software used to create and process the DCC - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="software" maxOccurs="unbounded"><!--1100M--> - <xs:complexType> - <xs:sequence> - <xs:element name="name" type="xs:string"/><!--11010--> - <xs:element name="purposes"><!--11020--> - <xs:complexType> - <xs:sequence> - <xs:element name="purpose" type="xs:string" maxOccurs="unbounded"/><!--11021--> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="release" type="xs:string"/><!--11030--> - <xs:element name="addOns" minOccurs="0"><!--11040--> - <xs:complexType> - <xs:sequence> - <xs:element name="addOn" type="xs:string" maxOccurs="unbounded"/><!--11041--> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="langCodeISO639_1" type="dcc:elementStringISO639" minOccurs="0"/><!--11050--> - <xs:element name="source" type="xs:string" minOccurs="0"/><!--11060--> - <xs:element name="parameters" minOccurs="0"><!--11070--> - <xs:complexType> - <xs:sequence> - <xs:element name="parameter" type="xs:string" maxOccurs="unbounded"/><!--11071--> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:sequence> - <xs:attribute name="lang" type="xs:string" use="optional"/><!--1100M_A_L--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--1100M_A_I--> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="coreDataParameter"><!--12000--> - <xs:annotation> - <xs:documentation> - Basic parameters of the Digital Calibration Certificate (DCC) - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="countryCodeISO3166_1" type="dcc:elementStringISO3166"/><!--12010--> - <xs:element name="langCodeISO639_1" type="dcc:elementStringISO639" maxOccurs="unbounded"/><!--12020--> - <xs:element name="mandatoryLangISO639_1" type="dcc:elementStringISO639" maxOccurs="unbounded"/><!--12030--> - <xs:element name="uniqueIdentifier" type="xs:string"/><!--12040--> - <xs:element name="receiptDate" type="xs:date"/><!--12050--> - <xs:element name="samplingDate" type="xs:date" minOccurs="0"/><!--12060--> - <xs:element name="beginPerformanceDate" type="xs:date"/><!--12070--> - <xs:element name="endPerformanceDate" type="xs:date"/><!--12080--> - <xs:element name="previousReport" type="dcc:hash" minOccurs="0"/><!--12090--> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="itemParameter"><!--13000--> - <xs:annotation> - <xs:documentation> - Clear description of the calibration items - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="item" maxOccurs="unbounded"><!--1300M--> - <xs:complexType> - <xs:sequence> - <xs:element name="name" type="dcc:elementStringWithLang" maxOccurs="unbounded"/><!--13010--> - <xs:element name="description" type="dcc:textBlock" maxOccurs="unbounded"/><!--13020--> - <xs:element name="condition" type="dcc:textBlock" minOccurs="0"/><!--13030--> - <xs:element name="descriptionData" type="dcc:byteDataBlock" minOccurs="0" maxOccurs="unbounded"/><!--13040--> - <xs:element name="manufacturer" type="dcc:contact"/><!--13050--> - <xs:element name="identNumber" maxOccurs="unbounded"><!--13060--> - <xs:complexType> - <xs:sequence> - <xs:element name="manufacturer" type="xs:string" maxOccurs="unbounded"/><!--13061--> - <xs:element name="calibrationLaboratory" type="xs:string" minOccurs="0" maxOccurs="unbounded"/><!--13062--> - <xs:element name="customer" type="xs:string" minOccurs="0" maxOccurs="unbounded"/><!--13063--> - <xs:element name="owner" type="xs:string" minOccurs="0" maxOccurs="unbounded"/><!--13064--> - <xs:element name="other" type="xs:string" minOccurs="0" maxOccurs="unbounded"/><!--13065--> - </xs:sequence> - <xs:attribute name="lang" type="xs:string" use="optional"/><!--13060_A_L--> - </xs:complexType> - </xs:element> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--1300M_A_I--> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="calibrationLaboratoryParameter"><!--14000--> - <xs:annotation> - <xs:documentation> - Informations about the calibration laboratory - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="calibrationLaboratoryCode" type="xs:string" minOccurs="0"/><!--14010--> - <xs:element name="contact" type="dcc:contact" maxOccurs="unbounded"/><!--14020--> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="calibrationLocationParameter"><!--15000--> - <xs:annotation> - <xs:documentation> - Locations, where the calibration was done - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="calibrationLocation" maxOccurs="unbounded"><!--1500M--> - <xs:complexType> - <xs:sequence> - <xs:element name="calibrationLocationSites" type="dcc:elementStringWithLang" maxOccurs="unbounded"/><!--15010--> - <xs:element name="beginLocationCalDateTime" type="xs:dateTime" minOccurs="0"/><!--15020--> - <xs:element name="endLocationCalDateTime" type="xs:dateTime" minOccurs="0"/><!--15030--> - <xs:element name="location" type="dcc:location" minOccurs="0" maxOccurs="unbounded"/><!--15040--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--1500M_A_I--> - </xs:complexType> - </xs:element> - </xs:sequence> - - </xs:complexType> - - <xs:complexType name="respPersonParameter"><!--16000--> - <xs:annotation> - <xs:documentation> - List of responsible persons for the DCC - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="respPerson" maxOccurs="unbounded"><!--1600M--> - <xs:complexType> - <xs:sequence> - <xs:element name="responsiblePerson" type="xs:string"/><!--16010--> - <xs:element name="mainSigner" type="xs:boolean" minOccurs="0"/><!--16020--> - <xs:element name="kryptElectronicSeal" type="xs:boolean" minOccurs="0"/><!--16030--> - <xs:element name="kryptElectronicSignature" type="xs:boolean" minOccurs="0"/><!--16040--> - <xs:element name="kryptElectronicTimeStamp" type="xs:boolean" minOccurs="0"/><!--16050--> - <xs:element name="eMailResponsiblePerson" type="xs:string" minOccurs="0"/><!--16060--> - <xs:element name="furtherResponsiblePerson" type="dcc:elementStringWithLang" minOccurs="0" maxOccurs="unbounded"/><!--16070--> - <xs:element name="location" type="dcc:location" minOccurs="0" maxOccurs="unbounded"/><!--16070--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--1600M_A_I--> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="usedMethodParameter"><!--17000--> - <xs:annotation> - <xs:documentation> - Clear description of the used method - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="usedMethod" maxOccurs="unbounded"><!--1700M--> - <xs:complexType> - <xs:sequence> - <xs:element name="name" type="dcc:elementStringWithLang" maxOccurs="unbounded"/><!--17010--> - <xs:element name="description" type="dcc:textBlock" maxOccurs="unbounded"/><!--17020--> - <xs:element name="norm" type="xs:string" minOccurs="0" maxOccurs="unbounded"/><!--17030--> - <xs:element name="descriptionData" type="dcc:byteDataBlock" minOccurs="0" maxOccurs="unbounded"/><!--17040--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--1700M_A_I--> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="externalParameter"><!--21000--> - <xs:annotation> - <xs:documentation> - Information about the external partners - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="external" type="dcc:contact" maxOccurs="unbounded"/><!--2100M--> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="sampledMaterialParameter"><!--22000--> - <xs:annotation> - <xs:documentation> - Information about the sampled material - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="sampledMaterial" maxOccurs="unbounded"><!--2200M--> - <xs:complexType> - <xs:sequence> - <xs:element name="plan" type="dcc:textBlock"/><!--22010--> - <xs:element name="method" type="dcc:textBlock"/><!--22020--> - <xs:element name="descriptionData" type="dcc:byteDataBlock" minOccurs="0" maxOccurs="unbounded"/><!--22030--> - <xs:element name="externalSampler" type="dcc:contact" minOccurs="0" maxOccurs="unbounded"/><!--22040--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--2200M_A_I--> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="statementParameter"><!--23000--> - <xs:annotation> - <xs:documentation> - Elements for the statements - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="statement" maxOccurs="unbounded"><!--2300M--> - <xs:complexType> - <xs:sequence> - <xs:element name="countryCodeISO3166_1" type="dcc:elementStringISO3166" minOccurs="0" maxOccurs="unbounded"/><!--23010--> - <xs:element name="convention" type="xs:string" minOccurs="0"/><!--23020--> - <xs:element name="norm" type="xs:string" minOccurs="0"/><!--23030--> - <xs:element name="reference" type="xs:string" minOccurs="0"/><!--23040--> - <xs:element name="value" type="xs:string" minOccurs="0"/><!--23040--> - <xs:element name="valueBool" type="xs:boolean" minOccurs="0"/><!--23060--> -<!-- SH expireDate duration ... --> - </xs:sequence> - <xs:attribute name="lang" type="dcc:elementStringISO639" use="optional"/><!--2300M_A_L--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--2300M_A_I--> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="metrologicallyTraceableParameter"><!--24000--> - <xs:annotation> - <xs:documentation> - Elements for metrologically traceable measurements - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="chainLinkOfCalibrations" type="dcc:hash" maxOccurs="unbounded"/><!--24010--> - <xs:element name="chainLinkUncertaincy" type="xs:boolean" minOccurs="0"/><!--24020--> - <xs:element name="chainLinkProcedure" type="xs:boolean" minOccurs="0"/><!--24030--> - <xs:element name="chainLinkCompetence" type="xs:boolean" minOccurs="0"/><!--24040--> - </xs:sequence> - </xs:complexType> - - <!-- ##################################################################################### - - Elements of the measurementResult part of the DCC - --> - - <xs:complexType name="influenceConditionParameter"><!--30100--> - <xs:annotation> - <xs:documentation> - Elements for the conditions (e.g. environmental) under which the calibrations were - made that have an influence on the measurement results - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="influenceCondition" type="dcc:analysis" maxOccurs="unbounded"/><!--3010M--> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="adjustmentConditionParameter"><!--30200--> - <xs:annotation> - <xs:documentation> - Elements for the adjustment conditions (e.g. before and after adjustment) under which the - calibrations were made that have an influence on the measurement results - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="adjustmentCondition" type="dcc:analysis" maxOccurs="unbounded"/><!--3020M--> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="repairConditionParameter"><!--30400--> - <xs:annotation> - <xs:documentation> - Elements for the repair conditions (e.g. before and after repair) under which the - calibrations were made that have an influence on the measurement results - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="repairCondition" type="dcc:analysis" maxOccurs="unbounded"/><!--3040M--> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="resultParameter"><!--30600--> - <xs:annotation> - <xs:documentation> - Elements for the measurement results - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="result" type="dcc:analysis" maxOccurs="unbounded"/><!--3060M--> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="analysis"><!--31000--> - <xs:annotation> - <xs:documentation> - All neccessary informations for one part of a measurement - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="name" type="dcc:elementStringWithLang" maxOccurs="unbounded"/><!--31010--> - <xs:element name="description" type="dcc:textBlock" minOccurs="0" maxOccurs="unbounded"/><!--31020--> - <xs:element name="condition" type="dcc:textBlock" minOccurs="0"/><!--31030--> - <xs:element name="descriptionData" type="dcc:byteDataBlock" minOccurs="0" maxOccurs="unbounded"/><!--31040--> - <xs:element name="outcome" type="dcc:outcomeBlock"/><!--31050--> - </xs:sequence> - <xs:attribute name="lang" type="dcc:elementStringISO639" use="optional"/><!--3100M_A_L--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--3100M_A_I--> - </xs:complexType> - - <xs:complexType name="outcomeBlock"><!--32000--> - <xs:annotation> - <xs:documentation> - In the Element "outcome", any of the elements - "text", "formula", "byteData", "chart", "image", "data" and "xml" - can be used multiple times in an arbitrary order. The usage of each element - is optional. At least one of the elements must be provided. - </xs:documentation> - </xs:annotation> - <xs:choice maxOccurs="unbounded"> - <xs:element name="text" type="dcc:textBlock"/><!--32010--> - <xs:element name="formula" type="dcc:formulaBlock"/><!--32020--> - <xs:element name="byteData" type="dcc:byteDataBlock"/><!--32030--> - <xs:element name="chart" type="dcc:byteDataBlock"/><!--32040--> - <xs:element name="image" type="dcc:byteDataBlock"/><!--32050--> - <xs:element name="data" type="dcc:dataBlock"/><!--32060--> - <xs:element name="xml" type="dcc:xmlBlock"/><!--32070--> - </xs:choice> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--3200M_A_I--> - </xs:complexType> - - <xs:complexType name="dataBlock"><!--33000--> - <xs:annotation> - <xs:documentation> - The 'si:dataBlock' type is the element of the DCC that provides measured quantities - based on the International System of Units (SI). It can contain a single - SI measurement quantity or a list of SI quantities. - Furthermore, it can define a hybrid quantity element which allows to - append a non-SI quantity to a SI measurement quantity. - The optional attribute ID is for a uniqueID of this block in the DCC. - </xs:documentation> - </xs:annotation> - <xs:choice> - <xs:element name="quantity" type="dcc:quantity"/><!--33010--> - <xs:element name="dccList" type="dcc:dccList"/><!--33020--> - </xs:choice> - <xs:attribute name="comment" type="xs:string" use="optional"/><!--33000_A_C--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--33000_A_I--> - </xs:complexType> - - <!-- ##################################################################################### - - Elements for the specification of measurement data (quantities) in the DCC - (XMl Schema for the secure exchange of measurement data in ICT applications) - --> - - <xs:complexType name="quantity"><!--34000--> - <xs:annotation> - <xs:documentation> - Basic element for the statement of measurement values in a DCC. - The measurement value, its unit and uncertainty are defined by type 'si:real'. - The 'unit' must be defined in the SI-system (siunitx format). - Additional information can be made according to MRA, Ilac and external - measurements in the 'measurementMetaData' element. - In addition, the 'quantity' can contain a comma separated list of independent real quantities ('si:realCS'). - The 'quantity' has an optional 'name' element and it can have a unique ID. - The 'name' element can be repeated with different languages. - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="name" type="dcc:elementStringWithLang" minOccurs="0" maxOccurs="unbounded"/><!--34010--> - <xs:choice> - <xs:element ref="si:real"/><!--34020--> - <xs:element ref="si:realCS"/><!--34030--> - <xs:element ref="si:list"/><!--34040--> - <xs:element ref="si:hybrid"/><!--34050--> - </xs:choice> - <xs:element name="ambientConditions" type="dcc:ambientConditionType" minOccurs="0"/><!--34060--> - <xs:element name="measurementMetaData" type="dcc:measurementMetaDataType" minOccurs="0"/><!--34070--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--34000_A_I--> - </xs:complexType> - - <xs:complexType name="dccList"><!--35000--> - <xs:annotation> - <xs:documentation> - The 'list' element allows to define a collection of measurement results - which are subject to structures with integrity. Basic structures are - vector quantities. A recursive usage of 'list' allows the creation of - matrix and tensor structures as well as structures of higher dimension. The 'list' - may also be used to give measurement results in combination with some - ambient conditions at the measurement. - In this version of the data format, the 'list' supports a global definition of uncertainties - that are binding for all quantities inside the 'list' element. - For future versions it is planned to add uncertainty elements for vector quantities - (e.g. covariance matrix). - The 'list' element can have a unique ID and several name elements. - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="name" type="dcc:elementStringWithLang" minOccurs="0" maxOccurs="unbounded"/><!--35010--> - <xs:element name="dateTime" type="xs:dateTime" minOccurs="0"/><!--35020--> - <xs:choice> - <xs:element name="dccList" type="dcc:dccList" maxOccurs="unbounded" /><!--35030--> - <xs:element name="quantity" type="dcc:quantity" maxOccurs="unbounded" /><!--35040--> - <xs:element name="offSysQuantity" type="dcc:offSysQuantity" maxOccurs="unbounded" /><!--35050--> - </xs:choice> - <xs:element name="ambientConditions" type="dcc:ambientConditionType" minOccurs="0"/><!--35060--> - <xs:element name="measurementMetaData" type="dcc:measurementMetaDataType" minOccurs="0"/><!--35070--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--35000_A_I--> - </xs:complexType> - - - <xs:complexType name="ambientConditionType"><!--36100--> - <xs:annotation> - <xs:documentation> - A simple structure which is based on atomic measured quantities and lists for - the statement of ambient conditions at the measurement. - </xs:documentation> - </xs:annotation> - <xs:choice> - <xs:element name="quantity" type="dcc:quantity"/><!--36110--> - <xs:element name="dccList" type="dcc:dccList"/><!--36120--> - </xs:choice> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--36100_A_I--> - </xs:complexType> - - <xs:complexType name="measurementMetaDataType"><!--36200--> - <xs:annotation> - <xs:documentation> - TODO: noch anpassen an neue Struktur - - - The measurement meta data comprises optional information that lead to a measurement result. - The sub-elements should reference the specific and detailed information in the administrative part. - Each element is optional and the user should only provide the elements that are relevant - for the measurement result. - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="metaData" maxOccurs="unbounded"><!--36210--> - <xs:complexType> - <xs:sequence> - <xs:element name="name" type="xs:string"/><!--36211--> - <xs:element name="value" type="xs:string" minOccurs="0"/><!--36212--> - <xs:element name="idRef" type="xs:IDREF" minOccurs="0"/><!--36213--> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="offSysQuantity"><!--37000--> - <xs:annotation> - <xs:documentation> - Unrecommended element for stating measured quantities outside the SI-system (off system quantity). - The statement of measurement units is unchecked and 'offSysQuantities' are not part of the - quality infrastructure that is provided for DCCs. The unit inside the 'real' element - is not regulated. - The 'offSysQuantity' has an optional 'name' element and it can have a unique ID. - The 'name' element can be repeated with different languages. - In addition the quantity can contain a comma separated list of independent real quantities ('si:realCS'). - Furthermore, 'offSysQuantity' can be appended by any additional XML elements that - is not listed in the DCC schema and data exchange format. Here it is possible to - add user specific data structures that are already in use. - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="name" type="dcc:elementStringWithLang" minOccurs="0" maxOccurs="unbounded"/><!--37010--> - <xs:choice> - <xs:element ref="si:real"/><!--37020--> - <xs:element ref="si:realCS"/><!--37030--> - <xs:element ref="si:list"/><!--37040--> - </xs:choice> - <xs:element name="ambientConditions" type="dcc:ambientConditionType" minOccurs="0"/><!--37060--> - <xs:element name="measurementMetaData" type="dcc:measurementMetaDataType" minOccurs="0"/><!--37070--> - <xs:any namespace="##other" minOccurs="0"/> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--37000_A_I--> - </xs:complexType> - - - <!-- ##################################################################################### - - Definition of the human readable part of the DCC ---> - <xs:complexType name="humanReadable"><!--80000--> - <xs:annotation> - <xs:documentation> - The human readable part of the DCC (not regulated and not mandatory) - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="fileName" type="xs:string"/><!--80010--> - <xs:element name="mimeType" type="xs:string"/><!--80020--> - <xs:element name="humanReadablePDFBase64" type="xs:base64Binary"/><!--80030--> - </xs:sequence> - </xs:complexType> - - - <!-- ##################################################################################### - - Useful elements with the numbers .gt. 90000 ---> - - <xs:simpleType name="elementStringISO3166"><!--90010--> - <xs:restriction base="xs:string"> - <xs:pattern value="[A-Z]{2}"/> - </xs:restriction> - </xs:simpleType> - - <xs:simpleType name="elementStringISO639"><!--90020--> - <xs:restriction base="xs:string"> - <xs:pattern value="[a-z]{2}"/> - </xs:restriction> - </xs:simpleType> - - <xs:complexType name="elementStringWithLang"><!--90030--> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="lang" type="dcc:elementStringISO639" use="optional"/><!--90030_A_L--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--90030_A_I--> - </xs:extension> - </xs:simpleContent> - </xs:complexType> - - <xs:complexType name="location"><!--91100--> - <xs:choice maxOccurs="unbounded"> - <xs:element name="further" type="dcc:elementStringWithLang"/><!--91110--> - <xs:element name="street" type="dcc:elementStringWithLang"/><!--91120--> - <xs:element name="streetNo" type="dcc:elementStringWithLang"/><!--91130--> - <xs:element name="postOfficeBox" type="dcc:elementStringWithLang"/><!--91140--> - <xs:element name="postCode" type="dcc:elementStringWithLang"/><!--91150--> - <xs:element name="city" type="dcc:elementStringWithLang"/><!--91160--> - <xs:element name="state" type="dcc:elementStringWithLang"/><!--91170--> - <xs:element name="countryCode" type="dcc:elementStringISO3166"/><!--91180--> - <xs:element name="descriptionData" type="dcc:byteDataBlock"/><!--91190--> - </xs:choice> - <xs:attribute name="lang" type="xs:string" use="optional"/><!--91100_A_L--> - </xs:complexType> - - <xs:complexType name="contact"><!--91300--> - <xs:sequence> - <xs:element name="name" type="xs:string"/><!--91310--> - <xs:element name="eMail" type="xs:string"/><!--91320--> - <xs:element name="location" type="dcc:location" maxOccurs="unbounded"/><!--91330--> - </xs:sequence> - <xs:attribute name="lang" type="xs:string" use="optional"/><!--91300_A_L--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--91300_A_I--> - </xs:complexType> - - <xs:complexType name="hash"><!--91400--> - <xs:sequence> - <xs:element name="reference" type="dcc:textBlock"/><!--91410--> - <xs:element name="referenceID" type="dcc:textBlock"/><!--91420--> - <xs:element name="procedure" type="xs:string"/><!--91430--> - <xs:element name="value" type="xs:string"/><!--91440--> - <xs:element name="linkedReports" type="dcc:hash" minOccurs="0"/><!--91450--> - </xs:sequence> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--91400_A_I--> - </xs:complexType> - - <xs:complexType name="textBlock"><!--92100--> - <xs:annotation> - <xs:documentation> - The textBlock defines the type for writing text in the DCC. - In this block, the element content can be used many times with different language definition (attribute lang). - The optional attribute ID is for a unique ID. - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="content" type="dcc:elementStringWithLang" maxOccurs="unbounded"/><!--92110--> - </xs:sequence> - <xs:attribute name="lang" type="xs:string" use="optional"/><!--92100_A_L--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--92100_A_I--> - </xs:complexType> - - <xs:complexType name="byteDataBlock"><!--92200--> - <xs:annotation> - <xs:documentation> - The byteDataBlock defines a type which allows to add - binary encoded files to the measurement result section. - It is a good practise to use the Base64 - Data Encodings standard (see RFC 4648). - The file must be encoded as base64Binary, see RFC 4648. - Examples for the content are image files or ZIP archives. - The element fileName gives the name of the original file. - Element mimeType is the underlying file type (e.g. zip, jpeg, png). - Element data contains the base64Binary encoded file. - The optional attribute ID is for a unique ID of this data block. - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="fileName" type="xs:string"/><!--92210--> - <xs:element name="mimeType" type="xs:string"/><!--92220--> - <xs:element name="data" type="xs:base64Binary"/><!--92230--> - </xs:sequence> - <xs:attribute name="lang" type="xs:string" use="optional"/><!--92200_A_L--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--92200_A_I--> - </xs:complexType> - - <xs:complexType name="formulaBlock"><!--92300--> - <xs:annotation> - <xs:documentation> - This data block is used to add formulas and equations to the measurement result section of the DCC. - A formula is expected to by written by means of the LaTeX ams math formalism. All units in the - LaTeX expression must follow the siunitx LaTeX standard. - The formula is written to the siunitx element. - The optional attribute ID is for a unique ID of this block. - </xs:documentation> - </xs:annotation> - <xs:sequence> - <xs:element name="siunitx" type="xs:string"/><!--92310--> - </xs:sequence> - <xs:attribute name="lang" type="xs:string" use="optional"/><!--92300_A_L--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--92300_A_I--> - </xs:complexType> - - <xs:complexType name="xmlBlock"><!--92400--> - <xs:annotation> - <xs:documentation> - This data block is used to add user or application specific XML content to the - measurement result section of the DCC. - The optional attribute ID is for a unique ID of this block. - </xs:documentation> - </xs:annotation> - <xs:simpleContent> - <xs:extension base="xs:string"> - <xs:attribute name="lang" type="xs:string" use="optional"/><!--92400_A_L--> - <xs:attribute name="id" type="xs:ID" use="optional"/><!--92400_A_I--> - </xs:extension> - </xs:simpleContent> -<!-- SH <xs:any namespace="##other" minOccurs="0"/> --> - </xs:complexType> - -</xs:schema>