Debian Codegraph @

data/input-schema.json

raw
1 {
2 "$schema": "http://json-schema.org/draft-04/schema#",
3 "$id": "https://json.schemastore.org/apbs-input.json",
4 "title": "APBS input",
5 "description": "Input file schema for APBS electrostatics software (https://apbs.readthedocs.io/)",
6 "type": "object",
7 "properties": {
8 "read": {
9 "description": "Specify input files for APBS calculation.",
10 "type": "object",
11 "properties": {
12 "charge": {
13 "description": "Specify input file for fixed (molecular) charge density function mapped to a mesh. The inputs are maps of charge densities; these values have units of e_c Å^{-3}, where e_c is the electron charge.",
14 "type": "object",
15 "properties": {
16 "format": {
17 "description": "Input file format",
18 "type": "object",
19 "oneOf": [
20 { "$ref": "#/$defs/dx" },
21 { "$ref": "#/$defs/gz" }
22 ]
23 },
24 "path": {
25 "description": "Path to input file",
26 "type": "string"
27 }
28 },
29 "required": [
30 "format",
31 "path"
32 ]
33 },
34 "dielectric": {
35 "description": "Specify input file for dielectric maps, the dielectric function mapped to 3 meshes shifted by one-half grid spacing in the x, y, and z directions. The inputs are maps of dielectric variables between the solvent and biomolecular dielectric constants; these values are unitless. If you choose this option and have a non-zero ionic strength, you must also include a kappa input map.",
36 "type": "object",
37 "properties": {
38 "format": {
39 "description": "Input file format",
40 "type": "object",
41 "oneOf": [
42 {
43 "$ref": "#/$defs/dx"
44 },
45 {
46 "$ref": "#/$defs/gz"
47 }
48 ]
49 },
50 "path-x": {
51 "description": "x-shifted dielectric map",
52 "type": "string"
53 },
54 "path-y": {
55 "description": "y-shifted dielectric map",
56 "type": "string"
57 },
58 "path-z": {
59 "description": "z-shifted dielectric map",
60 "type": "string"
61 }
62 },
63 "required": [
64 "format",
65 "path-x",
66 "path-y",
67 "path-z"
68 ]
69 },
70 "ion accessibility": {
71 "description": "Specify input file for ion-accessibility function mapped to a mesh. The inputs are maps of ion accessibility values which range between 0 and the value of the Debye-Hückel screening parameter; these values have units of Å^{-2}.",
72 "type": "object",
73 "properties": {
74 "format": {
75 "description": "Input file format",
76 "type": "object",
77 "oneOf": [
78 {
79 "$ref": "#/$defs/dx"
80 },
81 {
82 "$ref": "#/$defs/gz"
83 }
84 ]
85 },
86 "path": {
87 "description": "Path to input file",
88 "type": "string"
89 }
90 },
91 "required": [
92 "format",
93 "path"
94 ]
95 },
96 "molecule": {
97 "description": "Specify input file for molecular structure data.",
98 "type": "object",
99 "properties": {
100 "format": {
101 "description": "Input file format",
102 "type": "object",
103 "oneOf": [
104 {
105 "$ref": "#/$defs/pqr"
106 },
107 {
108 "$ref": "#/$defs/pdb"
109 }
110 ]
111 },
112 "path": {
113 "description": "Path to input file",
114 "type": "string"
115 }
116 },
117 "required": [
118 "format",
119 "path"
120 ]
121 },
122 "parameter": {
123 "description": "Specify the charge and radius data to be used with PDB-format molecule files.",
124 "type": "object",
125 "properties": {
126 "format": {
127 "description": "Input file format",
128 "type": "object",
129 "oneOf": [
130 {
131 "$ref": "#/$defs/xml"
132 },
133 {
134 "$ref": "#/$defs/flat"
135 }
136 ]
137 },
138 "path": {
139 "description": "Path to input file",
140 "type": "string"
141 }
142 },
143 "required": ["format", "path"]
144 },
145 "potential": {
146 "description": "Specify the electrostatic potential data (in units of k T/e_c) from previous calculations.",
147 "type": "object",
148 "properties": {
149 "format": {
150 "description": "Input file format",
151 "type": "object",
152 "oneOf": [
153 {
154 "$ref": "#/$defs/dx"
155 },
156 {
157 "$ref": "#/$defs/gz"
158 }
159 ]
160 },
161 "path": {
162 "description": "Path to input file",
163 "type": "string"
164 }
165 },
166 "required": ["format", "path"]
167 }
168 },
169 "required": [
170 "mol"
171 ]
172 },
173 "polar": {
174 "description": "Specify configuration of an electrostatics (polar solvation) calculation",
175 "type": "object",
176 "properties": {
177 "name": {
178 "description": "A name for your calculation.",
179 "type": "string"
180 },
181 "type": {
182 "description": "The type of calculation to perform"
183 }
184 }
185 }
186 },
187 "$defs": {
188 "dx": {
189 "description": "OpenDX scalar data format"
190 },
191 "flat": {
192 "description": "Flat-format parameter file"
193 },
194 "gz": {
195 "description": "Gzip-compressed OpenDX scalar data format"
196 },
197 "pdb": {
198 "description": "Protein DataBank (PDB) old format"
199 },
200 "pqr": {
201 "description": "PQR (PDB with charge and radius information) format"
202 },
203 "xml": {
204 "description": "XML format parameter file"
205 }
206 },
207 "required": [
208 "read"
209 ]
210 }