`$inputSpec['required'] = isset($metadata['nullable']) ? ! $metadata['nullable'] : true;`