Forgejo · Schema

Duration

A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.

GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests
View JSON Schema on GitHub

JSON Schema

duration.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Duration",
  "description": "A Duration represents the elapsed time between two instants\nas an int64 nanosecond count. The representation limits the\nlargest representable duration to approximately 290 years.",
  "type": "integer",
  "format": "int64",
  "x-go-package": "time"
}