-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsession.hello.request.json
More file actions
70 lines (70 loc) · 1.95 KB
/
session.hello.request.json
File metadata and controls
70 lines (70 loc) · 1.95 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"$id": "https://gabp.dev/schema/1.0/methods/session.hello.request.json",
"$schema": "https://json-schema.org/draft-07/schema#",
"title": "session/hello Request",
"description": "Request schema for session initialization",
"type": "object",
"required": ["v", "id", "type", "method", "params"],
"properties": {
"v": {
"const": "gabp/1",
"description": "Protocol version identifier"
},
"id": {
"type": "string",
"format": "uuid",
"description": "Unique request identifier"
},
"type": {
"const": "request",
"description": "Message type"
},
"method": {
"const": "session/hello",
"description": "Method name"
},
"params": {
"type": "object",
"required": ["token", "bridgeVersion", "platform", "launchId"],
"properties": {
"token": {
"type": "string",
"minLength": 32,
"description": "Authentication token (minimum 128-bit hex)"
},
"bridgeVersion": {
"type": "string",
"minLength": 1,
"description": "Bridge software version"
},
"platform": {
"type": "string",
"enum": ["windows", "macos", "linux"],
"description": "Operating system platform"
},
"launchId": {
"type": "string",
"format": "uuid",
"description": "Unique session launch identifier"
},
"clientInfo": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Client application name"
},
"version": {
"type": "string",
"description": "Client application version"
}
},
"additionalProperties": false,
"description": "Optional client application information"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}