You are here

public function UuidLinkEnhancer::getJsonSchema in JSON:API Extras 8

Get the JSON Schema for the new output.

Return value

array An structured array representing the JSON Schema of the new output.

Overrides ResourceFieldEnhancerInterface::getJsonSchema

File

src/Plugin/jsonapi/FieldEnhancer/UuidLinkEnhancer.php, line 104

Class

UuidLinkEnhancer
Use UUID for internal link field value.

Namespace

Drupal\jsonapi_extras\Plugin\jsonapi\FieldEnhancer

Code

public function getJsonSchema() {
  return [
    'type' => 'object',
  ];
}