file definition

 Each defined input or output file is specified in the inputFiles or outputFiles section using the following fields
 

 field name

 type

 definition

 name

string

unique file identifier. If the name ends in .zip then the file is assumed to be a zip archive. Users are allowed to select on the command invocation for zip output files either a file destination (which will get the entire archive) or a folder destination, in which case the archive will be unpacked into the folder. 

 description     string  describes the file contents
 optional  boolean  specifies if the file may be optionally available. Always false for output files, may be true or false for input files.

  

Figure 1. Simple n3phele command definition 
 

1 {
2    "command" : {
3        "uri" : "",
4        "name" : "mycommand",
5        "description" : "insert description here",
6        "public" : "false",
7        "preferred" : "false",
8        "version" : "0.0",
9        "icon" : https://www.n3phele.com/icons/custom,
10       "inputFiles" : {
11       "name" : "input1",
12       "description" : "Input file1",
13        "optional" : "false"
14     },
15     "outputFiles" : {
16         "name" : "output1",
17         "description" : "output file1",
18          "optional" : "false"
19     },
20     "executionParameters" : {
21           ...... 

 
 
 
 
 
 
Comments