aromanovich / jsl

A Python DSL for describing JSON schemas
http://jsl.readthedocs.org/
Other
218 stars 21 forks source link

hyperschema #10

Closed ArtemShapovalov closed 8 years ago

ArtemShapovalov commented 9 years ago

Please tell me whether it is possible to use the library for generating hyperschema? Or it is possible somehow expand the basic attributes?

aromanovich commented 8 years ago

Sorry for not answering earlier.

Currently JSL doesn't provide any means to generate hyperschemas and I don't plan to implement them unless someone makes a pull request.

However, it's possible to subclass Document (and DocumentMeta if necessary) or any of the fields to make them accept new parameters and produce hyperschemas.