---
title: "gs1:NutrientBasisQuantityCode"
label: "Nutrient Basis Quantity Code"
id: "https://ref.gs1.org/voc/NutrientBasisQuantityCode"
kind: "Code list"
status: "stable"
vocabulary: "GS1 Web Vocabulary"
version: "1.19"
modified: "2026-11-23"
url: "https://ns-gs1-org-service/voc/NutrientBasisQuantityCode"
---

# gs1:NutrientBasisQuantityCode

**Nutrient Basis Quantity Code**

| Field | Value |
| --- | --- |
| IRI | <https://ref.gs1.org/voc/NutrientBasisQuantityCode> |
| Kind | Code list |
| Status | stable |
| Subclass of | [`gs1:TypeCode`](https://ns-gs1-org-service/voc/TypeCode) |
| Defined by | [`http://apps.gs1.org/GDD/Pages/clDetails.aspx?semanticURN=urn:gs1:gdd:cl:NutrientBasisQuantityTypeCode&release=1`](http://apps.gs1.org/GDD/Pages/clDetails.aspx?semanticURN=urn:gs1:gdd:cl:NutrientBasisQuantityTypeCode&release=1) |
| Equivalent class | [`https://gs1.org/voc/NutrientBasisQuantityCode`](https://gs1.org/voc/NutrientBasisQuantityCode), [`https://www.gs1.org/voc/NutrientBasisQuantityCode`](https://www.gs1.org/voc/NutrientBasisQuantityCode) |

## Inherited properties

| Property | Expected value | Defined on | Definition |
| --- | --- | --- | --- |
| [`gs1:originalCodeValue`](https://ns-gs1-org-service/voc/originalCodeValue) | [`xsd:string`](http://www.w3.org/2001/XMLSchema#string) | [`gs1:TypeCode`](https://ns-gs1-org-service/voc/TypeCode) | Links to the alphanumeric code value defined elsewhere in GS1 or the GS1 Global Data Dictionary |

## Used as the value of

| Property | Label | Definition |
| --- | --- | --- |
| [`gs1:nutrientBasisQuantityType`](https://ns-gs1-org-service/voc/nutrientBasisQuantityType) | Nutrient Basis Quantity Type Code | The type of quantity specified in the nutrientBasisQuantity for example measurement, serving size, or container. |

## Code values

| Code value | Label | Definition |
| --- | --- | --- |
| [`gs1:NutrientBasisQuantityCode-BY_MEASURE`](https://ns-gs1-org-service/voc/NutrientBasisQuantityCode-BY_MEASURE) | By Measure | Nutrient measurement is based on a measurement value for example grams or ounces. |
| [`gs1:NutrientBasisQuantityCode-BY_SERVING`](https://ns-gs1-org-service/voc/NutrientBasisQuantityCode-BY_SERVING) | By Serving | Nutrient measurement is based on a specified serving amount. |

## Other formats

- [HTML](https://ns-gs1-org-service/voc/NutrientBasisQuantityCode)
- [JSON-LD (application/ld+json)](https://ns-gs1-org-service/voc/NutrientBasisQuantityCode?format=jsonld)
- [Turtle (text/turtle)](https://ns-gs1-org-service/voc/NutrientBasisQuantityCode?format=turtle)

## JSON-LD

The authoritative definition of this term. Prefixes are those of the [vocabulary context](https://ns-gs1-org-service/voc/?format=jsonld).

```json
{
    "@id": "gs1:NutrientBasisQuantityCode",
    "rdfs:isDefinedBy": {
        "@id": "http://apps.gs1.org/GDD/Pages/clDetails.aspx?semanticURN=urn:gs1:gdd:cl:NutrientBasisQuantityTypeCode&release=1"
    },
    "rdfs:label": {
        "@language": "en",
        "@value": "Nutrient Basis Quantity Code"
    },
    "rdfs:subClassOf": {
        "@id": "gs1:TypeCode"
    },
    "owl:equivalentClass": [
        {
            "@id": "https://gs1.org/voc/NutrientBasisQuantityCode"
        },
        {
            "@id": "https://www.gs1.org/voc/NutrientBasisQuantityCode"
        }
    ]
}
```
