Closed
Description
SchemaWithMerge.txt contains the schema with merge, but it is not failing the schema validation if "name" is not passed for "entitities" but the same is working fine if merge is not used as per attached SchemaWithoutMerge.txt
Test Schema with Merging:
Test Schema without Merging:
SchemaWithoutMerge.txt
Test Json (This should fail as "name" is not available for the item of "entities"
{ "name":"test", "dataStoreType": "DOCUMENT", "entities": [ { "softDelete": true, "attributes": [ { "name": "parentMessageId", "type": "STRING" } ] } ] }
Activity
erosb commentedon Sep 15, 2017
Hello,
"$merge"
is not a standard keyword of json schema, and it isn't supported by this library."$merge"
and"$patch"
is currently a proposal which was early adopted by a few implementations.vkarthikesan commentedon Sep 15, 2017
Thanks for the reply