{
  "id": "edifact_message_type",
  "kind": "datatype",
  "status": "draft",
  "name": "UN/EDIFACT message type",
  "doc": "Six-letter code that names a standard message of UN/EDIFACT, the United Nations rules for electronic data interchange in trade, transport and administration, for example ORDERS for a purchase order or INVOIC for an invoice. The code is written in the message header (UNH segment) together with the directory version. UN/CEFACT publishes the message types in each release of the UN/EDIFACT directories.",
  "is_pii": false,
  "categories": [
    "ecommerce"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^[A-Z]{6}$",
  "examples": [
    {
      "value": "ORDERS",
      "description": "Purchase order message",
      "valid": true
    },
    {
      "value": "INVOIC",
      "description": "Invoice message",
      "valid": true
    },
    {
      "value": "DESADV",
      "description": "Despatch advice message",
      "valid": true
    },
    {
      "value": "APERAK",
      "description": "Application error and acknowledgement message",
      "valid": true
    },
    {
      "value": "ORDER",
      "description": "Five letters",
      "valid": false
    },
    {
      "value": "orders",
      "description": "Lowercase",
      "valid": false
    }
  ],
  "mappings": {
    "autotype": "EDIFACT_correct"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/EDIFACT"
    },
    {
      "type": "wikipedia",
      "url": "https://de.wikipedia.org/wiki/EDIFACT"
    },
    {
      "type": "other",
      "url": "https://github.com/congy/AutoType/blob/master/data_release/EDIFACT_correct.txt"
    }
  ],
  "translations": {
    "ru": {
      "name": "Тип сообщения UN/EDIFACT",
      "doc": "Код из шести заглавных букв, обозначающий стандартное сообщение UN/EDIFACT, например ORDERS (заказ) или INVOIC (счёт)."
    }
  },
  "detected_by": {
    "tools": [
      "autotype"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/any/ecommerce/edifact_message_type.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/ecommerce/edifact_message_type.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/ecommerce/edifact_message_type.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/edifact_message_type",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/edifact_message_type.json"
  }
}