Share feedback
Answers are generated based on the documentation.

Experimental

Schema

Duration

Type: string

Seconds with a trailing s, for example 30s or 1.5s.
All schema constraints and annotations
{
  "description": "Seconds with a trailing s, for example 30s or 1.5s.",
  "examples": [
    "30s",
    "1.5s"
  ],
  "pattern": "^-?\\d+(\\.\\d{1,9})?s$",
  "type": "string"
}