-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathresources.read.response.json
More file actions
43 lines (43 loc) · 1.18 KB
/
Copy pathresources.read.response.json
File metadata and controls
43 lines (43 loc) · 1.18 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
{
"$id": "https://gabp.dev/schema/1.0/methods/resources.read.response.json",
"$schema": "https://json-schema.org/draft-07/schema#",
"title": "resources/read Response",
"description": "Response schema for reading resource content",
"type": "object",
"required": ["v", "id", "type", "result"],
"properties": {
"v": {
"const": "gabp/1",
"description": "Protocol version identifier"
},
"id": {
"type": "string",
"format": "uuid",
"description": "Request identifier this response corresponds to"
},
"type": {
"const": "response",
"description": "Message type"
},
"result": {
"type": "object",
"required": ["content"],
"properties": {
"content": {
"description": "Resource content (string for text, base64 for binary)"
},
"mimeType": {
"type": "string",
"description": "MIME type of the content"
},
"encoding": {
"type": "string",
"enum": ["utf-8", "base64", "ascii", "binary"],
"description": "Content encoding"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}