After calling the render method with the following schema and initial data, calling the validate method returns an incorrect result of true. schema: { "type": "object", "properties": { "id": { "type": "string", "enum": ["good"] } } } Data to be validated: { "id": "bad" }