Skip to content
Snippets Groups Projects

Update to DCC Schema V3.2

Merged Jan Loewe requested to merge feat-dcc-v-3-2 into master
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
+ 4
0
@@ -777,6 +777,8 @@ export class RespPersonType extends DCCXMLElement {
@@ -777,6 +777,8 @@ export class RespPersonType extends DCCXMLElement {
export class StatementMetaDataType extends DCCXMLElement {
export class StatementMetaDataType extends DCCXMLElement {
_attr: IIdAndRefIdAndRefTypeAttributes;
_attr: IIdAndRefIdAndRefTypeAttributes;
 
name?: TextType;
 
description?: RichContentType;
countryCodeISO3166_1?: DCCXMLElement[];
countryCodeISO3166_1?: DCCXMLElement[];
convention?: DCCXMLElement;
convention?: DCCXMLElement;
traceable?: DCCXMLBoolean;
traceable?: DCCXMLBoolean;
@@ -805,6 +807,8 @@ export class StatementMetaDataType extends DCCXMLElement {
@@ -805,6 +807,8 @@ export class StatementMetaDataType extends DCCXMLElement {
constructor(el: Partial<StatementMetaDataType> = {}) {
constructor(el: Partial<StatementMetaDataType> = {}) {
super(el);
super(el);
 
if (el.name) this.name = new TextType(el.name);
 
if (el.description) this.description = new RichContentType(el.description);
if (el.countryCodeISO3166_1) this.countryCodeISO3166_1 = ensureArray(el.countryCodeISO3166_1).map((x) => new DCCXMLElement(x));
if (el.countryCodeISO3166_1) this.countryCodeISO3166_1 = ensureArray(el.countryCodeISO3166_1).map((x) => new DCCXMLElement(x));
if (el.convention) this.convention = new DCCXMLElement(el.convention);
if (el.convention) this.convention = new DCCXMLElement(el.convention);
if (el.traceable) this.traceable = new DCCXMLBoolean(el.traceable);
if (el.traceable) this.traceable = new DCCXMLBoolean(el.traceable);
Loading