forked from skyciv/qd-calc-pack-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
100 lines (100 loc) · 2.46 KB
/
config.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"meta": {
"name": "Good Example",
"short_description": "A good example showing a range of inputs, calculations and ReportHelpers",
"long_description": "<p>This should be long format description (minimum of 500 words) which is REQUIRED to submit. This means free tools will rank better.. This should include:</p><ul><li>Headings</li><li>Instructions on how to use the tool</li><li>Technical information and info on input</li><li>Examples or Images of output</li></ul>",
"seo_content": "<h1>Aluminum Design Calculator</h1><p>The following calculator helps engineers run quick and easy alluminum calculations...</p>",
"tags": "tutorial, example, template, reporthelpers, sample",
"access": "public",
"contact": {
"name": "Sam",
"role": "Engineer",
"company": "SkyCiv",
"email": "[email protected]",
"logo": "https://skyciv.com/media/logos/logo-pack/SkyCiv_Logo_Dark_Poweredby.png"
}
},
"input_variables": {
"rect_image": {
"width": "50%",
"src": "https://skyciv.com/wp-content/uploads/2023/01/qd_rect_dims.png",
"type": "image",
"info": "Image showing the height and width of a rectangle",
"class": "rectangular-dims"
},
"circ_image": {
"width": "50%",
"src": "https://skyciv.com/wp-content/uploads/2023/01/qd_circ_dims.png",
"type": "image",
"info": "Image showing the height and width of a rectangle",
"class": "circular-dims"
},
"shape": {
"label": "Shape",
"default": "Rectangular",
"advanced": true,
"type": "dropdown",
"options": [
{
"selected": true,
"value": "Rectangular",
"name": "Rectangular"
},
{
"value": "Circular",
"name": "Circular"
}
],
"visible_variables": {
"Rectangular": [
[
"hide",
"all"
],
[
"show",
".rectangular-dims"
]
],
"Circular": [
[
"hide",
"all"
],
[
"show",
".circular-dims"
]
]
}
},
"h": {
"type": "number",
"label": "Height",
"units": "mm",
"info": "The height of the section.",
"default": 80,
"min": 0,
"max": 10000,
"class": "rectangular-dims"
},
"b": {
"type": "number",
"label": "Width",
"units": "mm",
"info": "The width of the section.",
"default": 40,
"min": 0,
"max": 10000,
"class": "rectangular-dims"
},
"d": {
"type": "number",
"label": "Diameter",
"units": "mm",
"info": "The diameter of the section.",
"default": 40,
"class": "circular-dims"
}
}
}