---
title: "Product data V3.1 · unitOfMeasurementType"
canonical: "https://knowledge-hub.onetrail.com/space/docs/726106206/Product+data+V3.1+%C2%B7+unitOfMeasurementType"
format: markdown
---
**Complex type** in namespace `http://schema.onetrail.net/ns/receive-request-response` · part of [Product data V3.1](https://onetrail.atlassian.net/wiki/spaces/docs/pages/718700753)

## Diagram

![unitOfMeasurementType diagram](media://e86ad8af-1c4f-4599-9db7-354bfe55d3f0)

## Content

Text content of type `xsd:string`, with the attributes below.

## Attributes

| Attribute | Type | Use | Description |
| --- | --- | --- | --- |
| **@lang** | `xsd:string` | [required] | Lang is the language code (ISO 639-1 code 2) by the International Organization for Standardization (ISO), which represents names for language and language groups. The language code consists out of 2 letters. The default setting is "EN" for "English". |

## Used by

- [attributeType](https://onetrail.atlassian.net/wiki/spaces/docs/pages/726073488) / **unitOfMeasurement**

<details>
<summary>XSD source</summary>

```xml
<xsd:complexType name="unitOfMeasurementType">
        <xsd:simpleContent>
            <xsd:extension base="xsd:string">
                <xsd:attribute name="lang" type="xsd:string" use="required">
                    <xsd:annotation>
                        <xsd:documentation>Lang is the language code (ISO 639-1 code 2) by the International Organization for Standardization (ISO), which represents names for language and language groups. The language code consists out of 2 letters. The default setting is "EN" for "English".</xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
            </xsd:extension>
        </xsd:simpleContent>
    </xsd:complexType>

```
</details>