Skip to content

Enum: DataType

The type of an element's values.

URI: [knowtation:enum/DataType](https://gitlab.tarkam.org/tarkam/knowtation/schema/enum/DataType) ## Permissible Values | Value | Meaning | Description | | --- | --- | --- | | string | None | Text | | integer | None | Whole numbers | | number | None | Numbers with decimals | | boolean | None | True or false | | date | None | A calendar date | | datetime | None | A date and time | | time | None | A time of day | | duration | None | A length of time | | geometry | None | A point, line or polygon | | object | None | A nested group of named values | | array | None | A list of values | | binary | None | Raw bytes | | unknown | None | Not known yet, for example an empty column | ## Slots | Name | Description | | --- | --- | | [data_type](../slots/data_type.md) | The type of the values | ## Identifier and Mapping Information ### Schema Source * from schema: https://gitlab.tarkam.org/tarkam/knowtation/schema ## LinkML Source
name: DataType
description: The type of an element's values.
from_schema: https://gitlab.tarkam.org/tarkam/knowtation/schema
rank: 1000
permissible_values:
  string:
    text: string
    description: 'Text. Example: Amberpur'
  integer:
    text: integer
    description: 'Whole numbers. Example: 1350'
  number:
    text: number
    description: 'Numbers with decimals. Example: 12.5'
  boolean:
    text: boolean
    description: 'True or false. Example: true'
  date:
    text: date
    description: 'A calendar date. Example: 2001-01-01'
  datetime:
    text: datetime
    description: 'A date and time. Example: 2024-06-01T00:15:00'
  time:
    text: time
    description: 'A time of day. Example: 08:20:00'
  duration:
    text: duration
    description: 'A length of time. Example: PT15M'
  geometry:
    text: geometry
    description: 'A point, line or polygon. Example: a village boundary polygon'
  object:
    text: object
    description: 'A nested group of named values. Example: a JSON object'
  array:
    text: array
    description: 'A list of values. Example: [1, 2, 3]'
  binary:
    text: binary
    description: 'Raw bytes. Example: an embedded image'
  unknown:
    text: unknown
    description: 'Not known yet, for example an empty column. Example: a column with
      only missing values'