• JMap.Form.checkAndCorrectSchemas

    Checks if the schemas are valid, corrects them when possible, throws for non-repairable errors

    Parameters

    Returns void

    Example

    const schema = ...
    const uiSchema = ...
    // checks the schemas, corrects them when possible, throws for non-repairable errors
    JMap.Form.checkAndCorrectSchemas(schema, uiSchema)