Open ghost opened 12 years ago
true. as I wrote in the doc, neither hyperlinking nor hyper schema is supported. I was wondering how many people would use it. can you tell me how you would use it?
The "extends" field has nothing to do with hyper schemas or hyperlinking; it allows inheritance of schemas. The idea is you can have a base schema, and then extend that schema to create a new more complex schema on top of it.
See http://tools.ietf.org/html/draft-zyp-json-schema-03#section-5.26 for more information.
I would personally find it useful to pass in a schema in a schema into the extends field instead of having to clone a schema and modify it every time I want to extend one.
I really liked the user friendly focus of the validation output, but lack of inheritance is a deal breaker for me.
good to know. I'll see if I can get to it.
Hi, I think "extends" based inheritance is nit supported yet, right?! So that would be nice. Thanks