Change record status: 
Project: 
Introduced in branch: 
11.5.x
Introduced in version: 
11.5.0
Description: 

SDC API no longer adds the object JSON schema type to all props..

A component prop like:

heading_level:
  title: "Heading level"
  type: integer

is not automatically transformed into:

heading_level:
  title: "Heading level"
  type: ['integer', 'object']

This has no impact for themers but module developers will not need to circumvent this addition anymore. Example:

Before After
$form['value'] = [
  '#type' => 'number',
   '#step' => 0.01,
];
if (is_array($schema['type'])
  && in_array('integer', $schema['type'])) {
  $form['value']['#step'] = 1;
}
$form['value'] = [
  '#type' => 'number',
   '#step' => 0.01,
];
if ($schema['type'] === 'integer')  {
  $form['value']['#step'] = 1;
}

If a mechanism relies on this addition, it must be adapted.

Impacts: 
Module developers