-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhyperbrowser-agent-task-schema.json
More file actions
54 lines (54 loc) · 1.13 KB
/
hyperbrowser-agent-task-schema.json
File metadata and controls
54 lines (54 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/hyperbrowser/main/json-schema/hyperbrowser-agent-task-schema.json",
"title": "Hyperbrowser Agent Task",
"description": "JSON Schema for the Hyperbrowser Hyperbrowser Agent Task resource extracted from the official OpenAPI spec.",
"type": "object",
"properties": {
"jobId": {
"type": "string"
},
"status": {
"$ref": "#/$defs/JobStatus"
},
"data": {
"type": "object",
"properties": {
"steps": {
"type": "array",
"items": {
"type": "object"
}
},
"finalResult": {
"type": "string",
"nullable": true
}
}
},
"error": {
"type": "string",
"nullable": true
},
"liveUrl": {
"type": "string",
"nullable": true
}
},
"required": [
"jobId",
"status"
],
"$defs": {
"JobStatus": {
"type": "string",
"enum": [
"pending",
"running",
"completed",
"failed",
"stopped"
]
}
}
}