{"id":"duration-parse-clock","version":"1.0.0","description":"Parse an hh:mm:ss[.fraction] duration and return the exact nonnegative whole or decimal second count.","supported_operations":["clock duration to seconds","parse hh:mm:ss","turn elapsed time into decimal seconds","convert time string to seconds","read precise clock duration","hours minutes seconds to total seconds"],"unsupported_operations":["calendar times with time zones","negative durations","minutes or seconds above 59"],"semantics":["Accept exactly two to six hour digits, two minute digits and two second digits, plus up to nine fractional digits.","Minutes and seconds range from 00 through 59; hours are nonnegative and may exceed 23.","Return canonical decimal seconds without leading zeroes while preserving supplied fractional digits."],"limits":{"max_input_bytes":34},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["clock"],"properties":{"clock":{"type":"string","minLength":8,"maxLength":22,"pattern":"^[0-9]{2,6}:[0-5][0-9]:[0-5][0-9](\\.[0-9]{1,9})?$"}}},"output_schema":{"type":"object","additionalProperties":false,"required":["seconds","standard_version"],"properties":{"seconds":{"type":"string","minLength":1,"maxLength":20},"standard_version":{"type":"string","const":"packet-r90-clock-1.0.0"}}},"examples":[{"input":{"clock":"01:01:01.250"},"output":{"seconds":"3661.250","standard_version":"packet-r90-clock-1.0.0"}},{"input":{"clock":"24:00:00"},"output":{"seconds":"86400","standard_version":"packet-r90-clock-1.0.0"}}],"execute_url":"/v1/tools/duration-parse-clock/versions/1.0.0/execute"}