Molecule¶
A molecular graph — atoms, bonds and S-groups — with its attachment groups and properties.
A molecule object may hold several unconnected fragments; writers usually put each connected component in an object of its own. Atom indexes used by bonds, S-groups, attachment groups and connections are positions in this object’s atoms array.
Appears in¶
A top-level value under a key such as mol0, referenced from root.nodes as {"$ref": "mol0"}.
Identified by¶
"type": "molecule".
Attributes¶
type¶
Type: string
Required: yes
Values:
"molecule"
Object type; always molecule.
atoms¶
Type: array of one of Atom, R-group label, Atom list
Required: yes
The atoms of the molecule: plain atoms, R-group labels and atom lists.
bonds¶
Type: array of Bond
Required: no
The bonds of the molecule; may be omitted or empty.
sgroups¶
Type: array of one of Generic S-group, Multiple group, Structural repeating unit, Superatom, Data S-group, Copolymer, Query component
Required: no
S-groups defined on the atoms of the molecule; see S-groups.
stereoFlagPosition¶
Type: Stereo flag position
Required: no
Where the enhanced stereochemistry label of the molecule (ABS, AND, OR, Mixed) is drawn.
properties¶
Type: array of Property
Required: no
Key–value properties of the molecule, such as the data fields of an SD file record.
highlight¶
Type: array of Highlight
Required: no
Items: at most 2
Atoms and bonds shown highlighted.
attachmentGroups¶
Type: array of Attachment group
Required: no
Groups of atoms of this molecule that take part in haptic bonds as a whole.
Rules¶
typeandatomsare required.Every atom index — in bonds, S-groups and attachment groups — is a position in this molecule’s own
atomsarray.The molecule is listed in
root.nodes; a molecule no node references is not part of the document.