Json Schema Python Validate Function