gen-json-schemas
Version:
A Javascript package to generate JSON schemas dynamically
26 lines • 700 B
text/typescript
const Article = {
"@context": "https://schema.org",
"@type": "Article",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://anmol-fzr.web.app"
},
"headline": "The Headline",
"description": "Short Desc of the article",
"image": "https://i.imgur.com/D7gBu5Yl.jpg",
"author": {
"@type": "Person",
"name": "Author",
"url": "AuthorURL"
},
"publisher": {
"@type": "Organization",
"name": "Publisher",
"logo": {
"@type": "ImageObject",
"url": "publisherlogoURl"
}
},
"datePublished": "2023-06-13",
"dateModified": "2023-06-28"
}