Edit on GitHub

Moment Duration

A schema that is used to validate a part of Laboperator workflow templates.

Duration formatting is based on the momentjs momentjs library. Head over to docs for a full reference and examples.

one of
  • strings or numbers
  • number
  • string
  • object
Array
one of
  • string
  • number
string
one of: years y months M weeks w days d hours h minutes m seconds s milliseconds ms
Examples:
- 2
- minute
P2M
seconds: 2
minutes: 2
Where is this used?
Other schemas that have a reference ($ref) to this schema.

No references found.