CAMP 1.0.0
Chemistry Across Multiple Phases
Input JSON Object Format: Reaction (general)

A json object containing information about a chemical reaction or physical process in the gas phase, in an aerosol phase, or between two phases (phase-transfer). Reactions are used to build mechanisms and are only found within an input mechanism object in an array labelled reactions.

{ "camp-data" : [
{
"name" : "my mechanism",
"type" : "MECHANISM",
"reactions" : [
{
"type" : "REACTION_TYPE",
"reactants" : {
"some species" : {},
"another species" : { "qty" : 2 }
},
"products" : {
"product species" : { "yield" : 0.42 },
"another prod species" : {}
},
"some parameter" : 123.34,
"some other parameter" : true,
"nested parameters" : {
"sub param 1" : 12.43,
"sub param other" : "some text"
},
...
},
{
"type" : "REACTION_TYPE",
"reactants" : {
"that one species" : { "qty" : 3 }
},
"some parameter" : 123.34,
...
},
...
]},
...
]}

The key-value pair type is required and its value must correspond to a valid reaction type. Valid reaction types include:

All remaining data are optional and may include any valid json value, including nested objects. However, extending types (i.e. reactions) will have specific requirements for the remaining data. Additionally it is recommended to use the above format for reactants and products when developing derived types that extend rxn_data_t, and to use type values that match the name of the extending derived-type. For example, the reaction type rxn_photolysis_t would have a type of PHOTOLYSIS.