forked from AllenInstitute/render
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrenderRequest.schema.json
64 lines (64 loc) · 1.97 KB
/
renderRequest.schema.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
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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Render Request",
"description": "specification of a render request",
"type": "object",
"properties" : {
"res" : {
"description" : "Mesh resolution, specified by the desired size of a triangle in pixels",
"type" : "number"
},
"in" : {
"description" : "Path to the input image if any",
"type" : "string"
},
"out" : {
"description" : "Path to the output image",
"type" : "string"
},
"x" : {
"description" : "Target image left coordinate",
"type" : "number"
},
"y" : {
"description" : "Target image top coordinate",
"type" : "number"
},
"width" : {
"description" : "Target image width",
"type" : "number"
},
"height" : {
"description" : "Target image height",
"type" : "number"
},
"scale" : {
"description" : "scale factor applied to the target image",
"type" : "number"
},
"areaOffset" : {
"description" : "add bounding box offset",
"type" : "boolean"
},
"quality" : {
"description" : "JPEG quality float [0, 1]",
"type" : "number"
},
"skipInterpolation" : {
"description" : "enable sloppy but faster rendering by skipping interpolation",
"type" : "boolean"
},
"parametersUrl" : {
"description" : "URL to base JSON parameters file (to be applied to any unspecified or default parameters)",
"type" : "string"
},
"tileSpecUrl" : {
"description" : "URL to JSON tile spec",
"type" : "string"
},
"tileSpecs" : {
"type": "array",
"items": { "$ref": "tileSpec.schema.json" }
}
}
}