Skip to content
Snippets Groups Projects
Verified Commit b7826991 authored by Jan Loewe's avatar Jan Loewe :speech_balloon:
Browse files

feat(attributes): add refType and refId to further elements

add refType to equipmentClassType, byteDataType, hashType, respPersonType and itemType
add refId to byteDataType
parent bb7cd761
No related branches found
No related tags found
1 merge request!4Update to DCC Schema V3.2
...@@ -157,7 +157,7 @@ export class MeasurementResultListType extends DCCXMLElement { ...@@ -157,7 +157,7 @@ export class MeasurementResultListType extends DCCXMLElement {
/** The byteDataType defines a type which allows to add binary encoded files to the measurement result /** The byteDataType defines a type which allows to add binary encoded files to the measurement result
* section. */ * section. */
export class ByteDataType extends DCCXMLElement { export class ByteDataType extends DCCXMLElement {
_attr: IIdAttributes; _attr: IIdAndRefIdAndRefTypeAttributes;
name?: TextType; name?: TextType;
description?: RichContentType; description?: RichContentType;
...@@ -436,7 +436,7 @@ export class MeasuringEquipmentListType extends DCCXMLElement { ...@@ -436,7 +436,7 @@ export class MeasuringEquipmentListType extends DCCXMLElement {
/** Clear name(s) of the item(s) and identifier(s). */ /** Clear name(s) of the item(s) and identifier(s). */
export class EquipmentClassType extends DCCXMLElement { export class EquipmentClassType extends DCCXMLElement {
_attr: IIdAttributes; _attr: IIdAndRefTypeAttributes;
reference: DCCXMLElement; reference: DCCXMLElement;
classID: DCCXMLElement; classID: DCCXMLElement;
...@@ -485,7 +485,7 @@ export class MeasuringEquipmentType extends DCCXMLElement { ...@@ -485,7 +485,7 @@ export class MeasuringEquipmentType extends DCCXMLElement {
} }
export class HashType extends DCCXMLElement { export class HashType extends DCCXMLElement {
_attr: IIdAttributes; _attr: IIdAndRefTypeAttributes;
referral: TextType; referral: TextType;
referralID: DCCXMLElement; referralID: DCCXMLElement;
...@@ -700,7 +700,7 @@ export class PrimitiveQuantityType extends DCCXMLElement { ...@@ -700,7 +700,7 @@ export class PrimitiveQuantityType extends DCCXMLElement {
/** A item that is calibrated in this DCC. */ /** A item that is calibrated in this DCC. */
export class ItemType extends DCCXMLElement { export class ItemType extends DCCXMLElement {
_attr: IIdAttributes; _attr: IIdAndRefTypeAttributes;
name: TextType; name: TextType;
equipmentClass?: EquipmentClassType[]; equipmentClass?: EquipmentClassType[];
...@@ -752,7 +752,7 @@ export class IdentificationType extends DCCXMLElement { ...@@ -752,7 +752,7 @@ export class IdentificationType extends DCCXMLElement {
/** A person responsible for a DCC. */ /** A person responsible for a DCC. */
export class RespPersonType extends DCCXMLElement { export class RespPersonType extends DCCXMLElement {
_attr: IIdAttributes; _attr: IIdAndRefTypeAttributes;
person: ContactNotStrictType; person: ContactNotStrictType;
description?: RichContentType; description?: RichContentType;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment