Use json as schema