This seems to have a lot in common what we already tried with the validator api/module.

https://github.com/apache/sling-org-apache-sling-validation-api


Carsten


Bertrand Delacretaz wrote
On Thu, Jan 10, 2019 at 4:33 AM Christanto Leonardo
<[email protected]> wrote:
...BTW I rename things to use "type" instead of "model"...

Great!

Would it be ok for you to extract the key interfaces into a separate module?

I'm thinking of Types, DataType, AttributeDefinition and maybe a few
others - just a minimal core that can be used to use the types,
without considering how they are actually defined and with ideally no
implementation details.

My angle is to try to reduce the amount of things on which we need to
agree on at this point - I'd then be able to recreate my minimal
resource-schemas example based on these APIs, to verify that they
provide what I need there, and you could pursue explorations
independently on your side.

-Bertrand

--
Carsten Ziegeler
Adobe Research Switzerland
[email protected]

Reply via email to