orthonym.rules.azaniumyl_zwitterions#

Note

Internal API. Names and behaviour may change between releases.

The zwitterion of a fully ionised carboxylic acid with one primary ammonium group and other nitrogen atoms.

“Anionic and cationic centers on different parent structures” (the Blue Book): “Zwitterionic

compounds with anionic and cationic centers on different parent structures may be named by prefixing the name of the cationic center… to the name of the anionic parent structure”; INTRODUCTION (:42411): “anionic centers are preferred for lower locants and become the parent structure, into which the cationic part is substituted”. The anion is the parent, the group -NH3(+) is the prefix ‘azaniumyl’ and every carboxylate that is not the suffix of the parent is the prefix ‘carboxylato’ “Prefixes for anionic centers derived from acid characteristic groups”,:41199: ‘-CO-O(-) carboxylato (preferred prefix)’,:41209), as in ‘pentanedioate’ with ‘4-azaniumyl-4-carboxylatobutanamido’.

When every carboxy group of the molecule is ionised, the parent of the anion is the parent of the neutral acid:

“Choice of an anionic parent structure” (:41261) takes first “the parent with the maximum number of anionic

centers” (:41265), the neutral acid takes the one with the maximum number of carboxy groups as suffixes, and the two counts are one count. The parent is therefore the neutral name’s, the acid ending becomes the anion’s, and each ‘carboxy’ and the ‘amino’ of the ammonium group are re-expressed as ‘carboxylato’ and ‘azaniumyl’.

charged_router._name_primary_amine_azaniumyl_zwitterion builds this name when every nitrogen atom of the molecule is an ammonium group, where the one ‘amino’ of the neutral name is the one to change. A neutral name with other ‘amino’ groups (‘{[(1-carboxyethyl)amino]…}’, ‘N-substituted amides’) has several, and the text does not say which stands for the ammonium nitrogen: each is offered, and the name that ships is the one that is cited in the order of (alphanumerical_order_check) and that OPSIN reads back with the hydron on the atom the input has it (charged_router._full_inchikey_rt_ok, which checks the protonation site). The neutral name is built inside naming_utils.amino_cited_as_azaniumyl, which orders and numbers its prefixes as the ion’s, so ‘anilino’ (which stands between ‘amino’ and ‘azaniumyl’) is cited before ‘azaniumyl’. A decline returns ‘’.

A phosphate monoester dianion in the molecule (‘(2S)-2-azaniumyl-3-(phosphonatooxy)propanoate’, phosphoserine) is cited as the prefix ‘phosphonatooxy’ of the carboxylate parent, and the name is recorded as no PIN: (:41261) takes “the parent with the maximum number of anionic centers, including anionic suffixes” (:41265), which would be the phosphate ester (two centres) if an ester were an anionic parent, and the book is silent on that (the maintainers’ ruling of 2026-11-01).

orthonym.rules.azaniumyl_zwitterions.fully_ionised_azaniumyl_zwitterion(mol, cations, anions, style)#

The name of a zwitterion of one primary -NH3(+) and carboxylates only, no carboxy group left un-ionised, with the anion as the parent, or ‘’.

The neutral molecule is named by the same route as the builder of the all-ammonium case; the acid suffix of that name becomes the anion’s, every ‘carboxy’ prefix ‘carboxylato’, and one ‘amino’ prefix ‘azaniumyl’. Each ‘amino’ is tried in order of position; the first name that reads back to the full InChIKey and to the protonation site of the input ships.