Closed tom-sherman closed 5 years ago
Certainly. I'd perhaps recommend using AJV to validate your model attributes using JSON Schema in your model.validate()
function.
@jashkenas thanks, but I'm looking at generating some structured data from the models. I've got a fairly large code base I want to create types for.
Is it possible to generate some form of schema in a structured format using backbone models?