Converting plugins to schema type validator

Converting some plugins to new json schema