Thing > CreativeWork
= component 'seo/schema', type: :creative_work, headline: 'Title'
This translates to:
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "CreativeWork",
"headline" : "Title"
}
</script>
You can pass options to the 'seo/schema'
component to define values for properties. Values can either be a string, an integer, a hash (for nested types) or an array of strings, integers and/or hashes. Reference the official documentation to see what types are appropriate for which property.