Overview

All but one XB component are still using the old SDC module metadata.schema.json:

$schema: https://git.drupalcode.org/project/sdc/-/raw/1.x/src/metadata.schema.json

Note that this one is using the correct schema already: my-section.component.yml

Proposed resolution

Update to use the core schema:

$schema: https://git.drupalcode.org/project/drupal/-/raw/HEAD/core/assets/schemas/v1/metadata.schema.json

  • one_column.component.yml
  • shoe_tab_group.component.yml
  • two_column.component.yml
  • image.component.yml
  • deprecated.component.yml
  • experimental.component.yml
  • obsolete.component.yml
  • heading.component.yml
  • image.component.disabled.yml
  • shoe_badge.component.yml
  • shoe_button.component.yml
  • shoe_details.component.yml
  • shoe_icon.component.yml
  • shoe_tab.component.yml
  • shoe_tab_panel.component.yml
  • video.component.yml

User interface changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kristen pol created an issue. See original summary.

omkar-pd made their first commit to this issue’s fork.

omkar-pd’s picture

Status: Active » Needs review
kristen pol’s picture

Status: Needs review » Reviewed & tested by the community

Looks good, thanks

wim leers’s picture

Great catch!

This looks like yet another thing that would improve the SDC DX. Captured at #3462705-24: [META] Missing features in SDC needed for XB.

  • Wim Leers committed 97622a96 on 0.x authored by omkar-pd
    Issue #3470003 by omkar-pd, kristen pol: Update components to use core...
wim leers’s picture

Status: Reviewed & tested by the community » Fixed
wim leers’s picture

Component: Data model » Code

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.