| 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "title": "Process", |
| 4 | "type": "object", |
| 5 | "properties": { |
| 6 | "command_line": { |
| 7 | "type": "string" |
| 8 | }, |
| 9 | "durations": { |
| 10 | "type": "array", |
| 11 | "items": { |
| 12 | "$ref": "#/$defs/Duration" |
| 13 | } |
| 14 | }, |
| 15 | "wall_time": { |
| 16 | "$ref": "#/$defs/Duration" |
| 17 | } |
| 18 | }, |
| 19 | "required": [ |
| 20 | "command_line", |
| 21 | "wall_time", |
| 22 | "durations" |
| 23 | ], |
| 24 | "$defs": { |
| 25 | "Duration": { |
| 26 | "type": "object", |
| 27 | "properties": { |
| 28 | "nanos": { |
| 29 | "type": "integer", |
| 30 | "format": "int32" |
| 31 | }, |
| 32 | "secs": { |
| 33 | "type": "integer", |
| 34 | "format": "int64" |
| 35 | } |
| 36 | }, |
| 37 | "required": [ |
| 38 | "secs", |
| 39 | "nanos" |
| 40 | ] |
| 41 | } |
| 42 | } |
| 43 | } |