JP2 (JPEG 2000 Part 1) validator and properties extractor. Jpylyzer was specifically created to check that a JP2 file really conforms to the format's specifications. Additionally jpylyzer is able to extract technical characteristics.
Validation against specific profiles within JP2 is already possible by post-processing jpylyzer's output with Schematron rules. See this old blog post I once wrote about this (note that the Schematron examples provided there are slightly outdated because of some changes to jpylyzer's output format in version 2.0):
Based on a quick glance at the IMF profile specs that I found here, you could simply define the profiles you're interested in as a set of Schematron rules.
Validation against specific profiles within JP2 is already possible by post-processing jpylyzer's output with Schematron rules. See this old blog post I once wrote about this (note that the Schematron examples provided there are slightly outdated because of some changes to jpylyzer's output format in version 2.0):
Automated assessment of JP2 against a technical profile
Based on a quick glance at the IMF profile specs that I found here, you could simply define the profiles you're interested in as a set of Schematron rules.