protected function extractOne(array $json, array $data)
    {
        if ($this->dataHasType($data)) {
            return $this->createInstanceWithRelations($json, $data);
        }
        throw new JsonApiExtractException('No data type provided');
    }