# Different schema type for Topics and Posts

**URL:** https://meta.discourse.org/t/different-schema-type-for-topics-and-posts/71471
**Category:** Feature
**Created:** [October 5, 2017, 3:02pm UTC](https://meta.discourse.org/t/different-schema-type-for-topics-and-posts/71471 "2017-10-05T15:02:58Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [February 11, 2019, 11:29am UTC](https://meta.discourse.org/t/different-schema-type-for-topics-and-posts/71471/11 "2019-02-11T11:29:28Z")

</div>

We previously only used `created_at` date in `datePublished` schema property. Now if a post is updated then the `updated_at` date will used in `dateModified` schema property along with existing `datePublished` property. I did it for all the posts. Since we now including both the dates it won’t be a issue. Google search already [respecting the both](https://developers.google.com/search/docs/data-types/article#article_types).

[https://github.com/discourse/discourse/commit/2c12336c6b7c8223d4fa00b2e928e276224f05a5](https://github.com/discourse/discourse/commit/2c12336c6b7c8223d4fa00b2e928e276224f05a5)

---

_[View the full topic](https://meta.discourse.org/t/different-schema-type-for-topics-and-posts/71471)._
