Skip to content

Enum: TimespanTypeIdEnum

The normalized identifier for the time span duration type.

URI: ocsf:TimespanTypeIdEnum

Permissible Values

Value Meaning Description
UNKNOWN None Unknown
MILLISECONDS None Milliseconds
SECONDS None Seconds
MINUTES None Minutes
HOURS None Hours
DAYS None Days
WEEKS None Weeks
MONTHS None Months
YEARS None Years
TIME_INTERVAL None The start_time and end_time should be set
OTHER None Other

Slots

Name Description
type_id The normalized identifier for the time span duration type

Identifier and Mapping Information

Schema Source

LinkML Source

name: TimespanTypeIdEnum
description: The normalized identifier for the time span duration type.
from_schema: https://w3id.org/lmodel/ocsf
rank: 1000
permissible_values:
  UNKNOWN:
    text: UNKNOWN
    description: Unknown
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '0'
      caption:
        tag: caption
        value: Unknown
  MILLISECONDS:
    text: MILLISECONDS
    description: Milliseconds
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '1'
      caption:
        tag: caption
        value: Milliseconds
  SECONDS:
    text: SECONDS
    description: Seconds
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '2'
      caption:
        tag: caption
        value: Seconds
  MINUTES:
    text: MINUTES
    description: Minutes
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '3'
      caption:
        tag: caption
        value: Minutes
  HOURS:
    text: HOURS
    description: Hours
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '4'
      caption:
        tag: caption
        value: Hours
  DAYS:
    text: DAYS
    description: Days
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '5'
      caption:
        tag: caption
        value: Days
  WEEKS:
    text: WEEKS
    description: Weeks
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '6'
      caption:
        tag: caption
        value: Weeks
  MONTHS:
    text: MONTHS
    description: Months
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '7'
      caption:
        tag: caption
        value: Months
  YEARS:
    text: YEARS
    description: Years
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '8'
      caption:
        tag: caption
        value: Years
  TIME_INTERVAL:
    text: TIME_INTERVAL
    description: The <code>start_time</code> and <code>end_time</code> should be set.
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '9'
      caption:
        tag: caption
        value: Time Interval
  OTHER:
    text: OTHER
    description: Other
    annotations:
      ocsf_uid:
        tag: ocsf_uid
        value: '99'
      caption:
        tag: caption
        value: Other