RehanSaeed / Schema.NET

Schema.org objects turned into strongly typed C# POCO classes for use in .NET. All classes can be serialized into JSON/JSON-LD and XML, typically used to represent structured data in the head section of html page.
MIT License
640 stars 80 forks source link

Support 2 Offers Properties: #589

Closed ollie10 closed 1 year ago

ollie10 commented 1 year ago

Describe the feature

Hello, I was wondering if you plan to support two properties of the Offer Object:

https://schema.org/hasMerchantReturnPolicy https://schema.org/shippingDetails

I'm referring in concrete to these two properties because Google Search Console is showing the lack of them in a Product -> Offers as an issue (not critical) and it would be nice to have them

Many thanks!

Schema objects

https://schema.org/Offer

Turnerj commented 1 year ago

Yeah, we're a bit behind with schema.org version updates. As far as I can tell, we're currently on version 12 with version 16 being released yesterday (which is great timing then for your issue).

I've got #590 open to update the schema.org version. One thing I will note though, both of those properties are new/pending on schema.org so they will only be in Schema.NET.Pending rather than the main library once my PR is merged and a new release is done.

Turnerj commented 1 year ago

I'm going to close this now that #590 is merged however there isn't a new release of Schema.NET just yet.