---
title: "gs1:DietTypeCodeDetails"
label: "Diet Type Code Details"
id: "https://ref.gs1.org/voc/DietTypeCodeDetails"
type: ["rdfs:Class","owl:Class"]
kind: "Class"
status: "stable"
vocabulary: "GS1 Web Vocabulary"
version: "1.19"
modified: "2026-11-23"
url: "https://ns-gs1-org-service/voc/DietTypeCodeDetails"
---

# gs1:DietTypeCodeDetails

**Diet Type Code Details**

A set of diet type code details (diet type code and diet type sub code) for the product.

| Field | Value |
| --- | --- |
| IRI | <https://ref.gs1.org/voc/DietTypeCodeDetails> |
| Kind | Class |
| Status | stable |
| Defined by | [`gs1:`](https://ref.gs1.org/voc/) |
| Equivalent class | [`https://gs1.org/voc/DietTypeCodeDetails`](https://gs1.org/voc/DietTypeCodeDetails), [`https://www.gs1.org/voc/DietTypeCodeDetails`](https://www.gs1.org/voc/DietTypeCodeDetails) |

## Properties

Properties that can be used on `gs1:DietTypeCodeDetails`.

| Property | Expected value | Definition |
| --- | --- | --- |
| [`gs1:dietType`](https://ns-gs1-org-service/voc/dietType) | [`gs1:DietTypeCode`](https://ns-gs1-org-service/voc/DietTypeCode) | Code indicating the diet the product is suitable for example Kosher. |
| [`gs1:dietTypeSubcode`](https://ns-gs1-org-service/voc/dietTypeSubcode) | [`rdf:langString`](http://www.w3.org/1999/02/22-rdf-syntax-ns#langString) | Indicates a set of agreements or a certificate name that guarantees the product is permitted in a particular diet. |

## Used as the value of

| Property | Label | Definition |
| --- | --- | --- |
| [`gs1:dietCode`](https://ns-gs1-org-service/voc/dietCode) | Diet Code | Links to multiple pairs of gs1:DietTypeCode and diet type sub code (free-form text string). |

## Other formats

- [HTML](https://ns-gs1-org-service/voc/DietTypeCodeDetails)
- [JSON-LD (application/ld+json)](https://ns-gs1-org-service/voc/DietTypeCodeDetails?format=jsonld)
- [Turtle (text/turtle)](https://ns-gs1-org-service/voc/DietTypeCodeDetails?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:DietTypeCodeDetails",
    "@type": [
        "rdfs:Class",
        "owl:Class"
    ],
    "rdfs:comment": {
        "@language": "en",
        "@value": "A set of diet type code details (diet type code and diet type sub code) for the product."
    },
    "rdfs:isDefinedBy": {
        "@id": "gs1:"
    },
    "rdfs:label": {
        "@language": "en",
        "@value": "Diet Type Code Details"
    },
    "rdfs:subClassOf": {
        "@id": "owl:Thing"
    },
    "sw:term_status": "stable",
    "owl:equivalentClass": [
        {
            "@id": "https://gs1.org/voc/DietTypeCodeDetails"
        },
        {
            "@id": "https://www.gs1.org/voc/DietTypeCodeDetails"
        }
    ]
}
```
