Interface JsonSchemaIdValidator

    • Method Detail

      • validate

        boolean validate​(String id,
                         boolean rootSchema,
                         SchemaLocation schemaLocation,
                         SchemaLocation resolvedSchemaLocation,
                         ValidationContext validationContext)
        Validates if the $id value is valid.
        Parameters:
        id - the $id or id
        rootSchema - true if this is a root schema
        schemaLocation - the schema location
        resolvedSchemaLocation - the schema location after resolving with the id
        validationContext - the validation context for instance to get the meta schema
        Returns:
        true if valid