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
{
"lexicon": 1,
"id": "com.publicdomainrelay.temp.compute.vm",
"description": "A requested virtual machine: the payload of a compute RFP.",
"defs": {
"main": {
"type": "record",
"key": "any",
"record": {
"type": "object",
"required": ["role"],
"properties": {
"role": { "type": "string", "description": "The VM name within the requester's contract." },
"kind": { "type": "string", "knownValues": ["vm", "deno"], "description": "What the bidder runs for this request: a firecracker virtual machine (the default when absent), or a deno sandbox that runs user_data as its program and reports its output as a guest event." },
"cpus": { "type": "integer", "minimum": 1 },
"mem": { "type": "string", "description": "Memory size, such as 4G." },
"disk": { "type": "string", "description": "Disk size, such as 50G." },
"network": { "type": "string", "description": "Network transfer allowance, such as 500G." },
"location": { "type": "ref", "ref": "#location" },
"user_data": { "type": "string", "description": "cloud-init user data." },
"createdAt": { "type": "string", "format": "datetime" }
}
}
},
"location": {
"type": "object",
"properties": {
"country": { "type": "string" },
"region": { "type": "string" }
}
}
}
}