Complete JSONSchema manifest validation plus some procedural validation

Please review