confluentinc / confluentinc/confluent-kafka-python
Not support validating fields with the `format: email` in JSON Schema.
- Dominant language
- Python
- Stars
- 509
- Forks
- 964
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 14
Description
Description
===========
https://github.com/confluentinc/confluent-kafka-python/blob/5a87879681d28375a55203c4839338b13b668046/src/confluent_kafka/schema_registry/json_schema.py#L272-L279
When validating certain special types, modifications to the 'validate' method are required, as shown below:
```python
from jsonschema import validate, ValidationError, RefResolver, Draft202012Validator
validate(instance=value, schema=self._parsed_schema, format_checker=Draft202012Validator.FORMAT_CHECKER)
```
How to reproduce
================
Checklist
=========
Please provide the following information:
- [ ] confluent-kafka-python and librdkafka version (`v2.3.0` and `confluent_kafka.libversion()`):
- [ ] Apache Kafka broker version: 5.5.11
- [ ] Client configuration: `{'auto.register.schemas': False, 'subject.name.strategy': record_subject_name_strategy}`
- [ ] Operating system:
- [ ] Provide client logs (with `'debug': '..'` as necessary)
- [ ] Provide broker log excerpts
- [ ] Critical issue
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.