Functionality for creating global JSON-LD definitions, e.g. for an organization

Created on 7 December 2023, 12 months ago
Updated 7 April 2024, 8 months ago

Problem/Motivation

This may be possible already, but I couldn't find it.

When setting up a project we often need to define common objects, e.g.:

  "publisher": {
    "@type": "Organization",
    "name": "Our Swanky Organization",
    "logo": {
      "@type": "ImageObject",
      "url": "https://www.example.com/images/logo.svg"
    }
  }

While this could be achieved using JSON-LD Custom, it would be useful to be able to define certain global objects that can be assigned from the "Drupal field" selector.

Proposed resolution

Come up with a solution for defining global definitions.
Allow the the global definitions to be assigned via the "Drupal field" selector.

Alternatively..
Document how to do this using existing functionality.

Remaining tasks

Work out how to do this.

User interface changes

TBD

API changes

TBD

Data model changes

TBD

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States DamienMcKenna NH, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024