Change schemas definitions to pydantic ones
- Rewrite of api schemas from jsonschema library to pydantic (which can be easily converted to jsonschema one)
- Add schemas for each operation and virtual operation
- Add schemas for transaction
- Add factory for building jsonrpc responses
- Maintained backward compatibility for
get_schema(endpoint: str) -> model
interface - Add tests for every endpoint and operation
requires:
reviewers: @mzebrak @kmochocki
Edited by Krzysztof Mochocki