quintype / quintype-validator

Quintype validators, currently has website validator and migration validator
https://validator.quintype.com/
0 stars 0 forks source link

Fix the SEO interface with stricter types #111

Closed Robert-Christopher closed 3 years ago

Robert-Christopher commented 3 years ago

As a user, seo key of story should not accept any random values. It should follow the below format.

"seo":{
    "meta-description":"Some meta description",
    "meta-title":"Some title",
    "meta-keywords":["keyword1", "keyword2"]
  }

All fields are optional, the data types are as follows,

meta-description should be string meta-title should be string meta-keywords should be Array of strings

RashmiMelagiri commented 3 years ago

Tested the issue in production env. Closing the issue