Apply the Polymorphic Pattern

Hi All,

I am not sure if i am doing this right or not but i am getting this message while validating
$ ./validate_m320 pattern_polymorphic --file pattern_polymorphic.json --verbose=2
Doing checks on filename: pattern_polymorphic.json
Answer Filename: D:/Data modelling/pattern_polymorphic.json

Processing document: 1

… against solution: 1
The document passes validation

At least one of your solutions is not passing validation.

Can someone please help because no old post are helpful to me

PFB my solution

“_id”: “”,
“product_id”: “”,
“title”: “”,
“description”: “”,
“authors”: [""],
“publisher”: “”,
“language”: “”,
“pages”: “”,
“catalogues”: [{
“k”: “”,
“v”: “”

We do not see your schema validation correctly as the schema language uses less-than and greater-than characters for the type specification. Please read Formatting code and log snippets in posts to publish your schema for us to see it.

Hey Steeve,

Thank you for quick reply i found the issue i forgot that i need to do it for all book, ebook and audiobook… I was just putting for book

Thank you :slight_smile: