{
  "id": "datetime",
  "kind": "datatype",
  "status": "stable",
  "name": "Date and time",
  "doc": "Date and time of day. The regexp covers the ISO 8601 extended form YYYY-MM-DDThh:mm[:ss[.fff]] with an optional time zone (Z or an offset), and the RFC 3339 variant with a space instead of T. Some data sets store plain dates as timestamps at midnight local time, for example 2021-05-24T21:00:00.000Z for 25 May 2021 in Moscow.",
  "is_pii": false,
  "categories": [
    "datetime"
  ],
  "langs": [
    "common"
  ],
  "regexp": "^\\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\\d|3[01])[T ](?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:[.,]\\d+)?)?(?:Z|[+-](?:[01]\\d|2[0-3])(?::?[0-5]\\d)?)?$",
  "examples": [
    {
      "value": "2024-08-30T12:00:00.000Z",
      "description": "UTC timestamp with milliseconds",
      "valid": true
    },
    {
      "value": "2018-10-10T12:58:52Z",
      "valid": true
    },
    {
      "value": "2024-11-29 12:00:00",
      "description": "Space separator, as allowed by RFC 3339",
      "valid": true
    },
    {
      "value": "2019-07-19T09:00:00+03:00",
      "description": "Local time with an offset",
      "valid": true
    },
    {
      "value": "2024-08-30",
      "description": "A date without a time is the datatype date",
      "valid": false
    }
  ],
  "mappings": {
    "autotype": [
      "date-R",
      "date-chinese2",
      "date-f",
      "date-g",
      "date-german",
      "date-mixed",
      "date-o",
      "date-s",
      "date-spanish",
      "date-u",
      "date5",
      "date6",
      "date7",
      "date8",
      "date9"
    ],
    "d3m": "http://schema.org/DateTime"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Date_and_time_notation"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/ISO_8601"
    },
    {
      "type": "schema.org",
      "url": "https://schema.org/DateTime"
    }
  ],
  "translations": {
    "ru": {
      "name": "Дата и время",
      "doc": "Дата и время суток. Регулярное выражение описывает форму ISO 8601 ГГГГ-ММ-ДДTчч:мм[:сс[.fff]] с необязательным часовым поясом (Z или смещение) и вариант RFC 3339 с пробелом вместо T."
    }
  },
  "detected_by": {
    "tools": [
      "alteryxdesignercloud",
      "auctus",
      "autotype",
      "awscomprehend",
      "collibra",
      "csvdetective",
      "dataiku",
      "dataprep",
      "dataprofiler",
      "googledatastudio",
      "metabase",
      "metacrafter",
      "metacrafterpro",
      "talend",
      "woodwork"
    ],
    "metacrafter_rules": [
      {
        "rule": "datetimeknown",
        "type": "field",
        "match": "text",
        "file": "common/dateandtime.yaml"
      },
      {
        "rule": "dedatetimename",
        "type": "field",
        "match": "text",
        "file": "de/de_datetime.yaml"
      },
      {
        "rule": "esdatetimename",
        "type": "field",
        "match": "text",
        "file": "es/es_datetime.yaml"
      },
      {
        "rule": "frdatetimename",
        "type": "field",
        "match": "text",
        "file": "fr/fr_datetime.yaml"
      },
      {
        "rule": "nldatetimepattern",
        "type": "data",
        "match": "ppr",
        "file": "nl/nl_datetime.yaml"
      },
      {
        "rule": "rusdatetimename",
        "type": "field",
        "match": "text",
        "file": "ru/ru_datetime.yaml"
      }
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/any/datetime/datetime.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/datetime/datetime.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/datetime/datetime.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/datetime",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/datetime.json"
  }
}