ICML, ICMA, and snippets (idms) are variants (or extension) of IDML.
The above are standalone XML files rather than a package.
Snippet file: <?aid SnippetType="PageItem"?>
ICML file: <?aid SnippetType="InCopyInterchange"?>
Assignment file: <?aid type="assignment"?>
The schema for ICML, ICMA and IDMS can be found in SDK (docs/references/idml-schema.zip) or here:
idml-schema.zip -> idml-schema/single
Also, in Appendix B of following pdf contains some details on ICML schema:
https://www.adobe.com/content/dam/Adobe/en/devnet/indesign/cs55-docs/IDML/idml-specification.pdf