LT-92: Adding schema validation for JSON criteria

This commit is contained in:
Bruno Alves de Faria committed 2017-01-18 11:01:52 -02:00
1 parent ed2f0ee36b
commit 697b4e7ff8
7 files changed
+42 -29

No files matched your search

@@ -1,7 +1,8 @@
import { BaseCriterion } from './BaseCriterion';
import Ajv from 'ajv';
export const NonTargetResponseSchema = {
};
export const NonTargetResponseValidator = new Ajv().compile({
});
/* NonTargetResponseCriterion
* Check if the there are non-target measurements with response different than "present" on baseline