If was to use an empty object for "schemaTwo" no error would be thrown. If I was to provide "identifier" with a a 2 digit number I would have an exception thrown. Also if I was to remove schemaTwo entirely I would get an exception thrown as well.
I've reviewed JSON Draft Schema 4 documentation and it does support a schema within a schema and the schema does pass validation.
Please correct me if I'm wrong but it seems that schemas within schemas are not having their "required" array validated.
If was to use an empty object for "schemaTwo" no error would be thrown. If I was to provide "identifier" with a a 2 digit number I would have an exception thrown. Also if I was to remove schemaTwo entirely I would get an exception thrown as well.
I've reviewed JSON Draft Schema 4 documentation and it does support a schema within a schema and the schema does pass validation.
Any insight would be greatly appreciated.