Pub.schema:validate using document type

I think you must inspect the conformsTo value you are setting, this value affects the result:

Hope this give you a hint :smiley: