Search or ask Docker

Duration

Duration schema in Docker Sandboxes API v1.

View Markdown

Experimental

Schema

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"
}