Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
SchemaConverter
✓ from jambo import SchemaConverter
✗ from jambo import Jambo
Converts a JSON Schema to a Pydantic model class.
from jambo import Jambo
schema = {
"type": "object",
"properties": {
"name": {"type": "string"},
"age": {"type": "integer", "minimum": 0}
},
"required": ["name"]
}
converter = Jambo()
model = converter.convert(schema, name="Person")
print(model.schema_json(indent=2))
Debug
Known issues
breakingIn version 0.1.3, the error submodule was renamed from `errors` to `exceptions`. If upgrading from <0.1.3, change `from jambo.errors import ...` to `from jambo.exceptions import ...`. However, the latest 0.1.7 uses `errors` again (reverted in 0.1.6). Check your version.fixUse `from jambo.errors import JamboError` for >=0.1.6; for 0.1.3-0.1.5 use `from jambo.exceptions import ...`.
affects: <0.1.3, 0.1.3-0.1.5, >=0.1.6
gotchaJambo does not support all JSON Schema draft features. `$ref`, `allOf`, `oneOf`, and `if/then/else` are not yet implemented. Using unsupported keywords may raise errors or produce incorrect models.fixPre-resolve references before conversion, or flatten your schema.
affects: all <=0.1.7
deprecatedThe `converter.convert()` method in 0.1.6 and earlier returned a Pydantic model class directly. In 0.1.7 it now returns a `ModelResult` object with a `model` attribute. This is a non-breaking deprecation: the old return type is still accessible via `converter.convert(...).model`.fixAccess the model via `result.model` after calling `convert()`.
affects: 0.1.7+
Upgrade
Version history
0.1.7latest on PyPI · released Jan 14, 2026
Audit
Dependencies
pydanticrequiredJambo generates Pydantic models and uses them at runtime.
python-dateutilrequiredUsed for parsing date-time format strings.
Resources
No resource links recorded.