Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 06 / gs1 element string predefined variable ai decimal date projection

Reconstruct GS1 element strings into ordered application identifiers, check digits, explicit-century dates and exact decimal measures.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-06/gs1-element-string-predefined-variable-ai-decimal-date-projection

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "gs1Elements"
      ],
      "properties": {
        "gs1Elements": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "element_string",
                "year_century"
              ],
              "properties": {
                "element_string": {
                  "type": "string",
                  "maxLength": 2048,
                  "minLength": 1
                },
                "year_century": {
                  "enum": [
                    1900,
                    2000,
                    2100
                  ]
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "elements",
                    "all_local_syntax_semantics_valid"
                  ],
                  "properties": {
                    "elements": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "ai",
                          "value",
                          "check_digit_valid",
                          "date",
                          "decimal_value",
                          "semantic_valid"
                        ],
                        "properties": {
                          "ai": {
                            "type": "string",
                            "maxLength": 4,
                            "minLength": 1
                          },
                          "value": {
                            "type": "string",
                            "maxLength": 20,
                            "minLength": 1
                          },
                          "check_digit_valid": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "boolean"
                              }
                            ]
                          },
                          "date": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string",
                                "maxLength": 10,
                                "minLength": 1
                              }
                            ]
                          },
                          "decimal_value": {
                            "anyOf": [
                              {
                                "type": "null"
                              },
                              {
                                "type": "string",
                                "maxLength": 24,
                                "minLength": 1
                              }
                            ]
                          },
                          "semantic_valid": {
                            "type": "boolean"
                          }
                        }
                      },
                      "maxItems": 64,
                      "minItems": 1
                    },
                    "all_local_syntax_semantics_valid": {
                      "type": "boolean"
                    }
                  }
                }
              ]
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →