json-ld icon indicating copy to clipboard operation
json-ld copied to clipboard

Extremely simple JSON-LD generator.

Results 17 json-ld issues
Sort by recently updated
recently updated
newest added

1. Create new auto inherit structure for context attributes ($structure). Attributes in the $structure property are now automatically merged with all parent classes 2. The setProperty() function has been renamed...

AggregateOffer (https://schema.org/AggregateOffer) isn't supported and result in a normal Offer. Could this be added? ```php return Context::create('product', [ 'name' => 'some name', 'image' => [ 'https://site.com/image1.png', 'https://site.com/image2.png' ], 'description' =>...

Is passing one jsonld ContextType into another officially supported? I assumed it would be, but none of the examples show it and I'm having loads of problems. I've tried a...

To be conform with schema.org LocalBusiness type should extend Organization type and Place type (https://schema.org/LocalBusiness). This will make implementation of further specific organization types much easier and consistent.

this PR allows to add multiple reviews to product type

We have to modifiy this line: $properties = array_filter($properties, 'strlen'); Because this line removes all arrays from product, which es added bei isSimilarTo property. For example: it removes "offers" ,...

AggregateRating should contain itemReviewed property. WebPage is not a known valid target type for the itemReviewed property. Packers and Movers Indore Review 5 Rating value 5 Best rating Total Reviews...

Hi Thanks for providing this library. Would it be possible to support the new VirtualLocation feature? https://developers.google.com/search/docs/data-types/event#virtual-location (Make sure the page is displayed in english). Or is this already possible...

Since PHP support for 5.6 has stopped long ago and even version 7.1 only has security support (until December 1st), I would like to propose to set the required PHP...