-
Notifications
You must be signed in to change notification settings - Fork 1
/
BinaryEncoding.json
36 lines (36 loc) · 1.13 KB
/
BinaryEncoding.json
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
{
"$schema":"http://json-schema.org/draft-03/schema#",
"id":"FIXME/swe/BinaryEncoding.json",
"title":"BinaryEncoding",
"description":"Parameters of the binary encoding method",
"type":"object",
"properties":{
"byteLength":{
"title":"byteLength",
"description":"Total length in bytes of the binary stream (if known in advance)",
"type":"any"
},
"byteEncoding":{
"title":"byteEncoding",
"description":"Byte encoding method used to encode the binary data (raw or base 64)",
"type":"string",
"enum":["base64","raw"],
"required":true
},
"byteOrder":{
"title":"byteOrder",
"description":"Byte order convention used to encode this binary data (big endian = most significant byte first, MSB or little endian = least significant byte first, LSB)",
"type":"string",
"enum":["bigEndian","littleEndian"],
"required":true
},
"member":{
"title":"member",
"description":"Each member contains detailed parameters for encoding a scalar value or a block of values",
"type":"array",
"items":{
"$ref":"FIXME/swe/ComponentOrBlock.json"
}
}
}
}